@php $total = 0; @endphp @forelse($details as $item) @php $row_total = $item->unit_price * $item->quantity; $total += $row_total; @endphp @empty

No data found

@endforelse
Invoice No Customer Phone Address Product Quantity Total
#{{$item->order->invoice_no}} {{$item->order->first_name}} {{$item->order->mobile}} {{$item->order->shipping_address}} {{$item->product->name}} {{$item->quantity}}{{ $row_total }}
Total Amount : {{ $total }}