@php $total_colspan = 11; $no = 0; @endphp @php $grand = 0; @endphp @foreach ($data as $key => $items) @php $grand += $items->harga_akhir @endphp @endforeach
LAPORAN LAUNDRY
{{strtoupper(Auth::user()->name)}}
 
No Customer Jenis Laundry Status Pembayaran Jenis Pembayaran Total
{{$key+1}} {{$items->customer}} {{$items->price->jenis}} {{$items->status_payment}} {{$items->jenis_pembayaran}} Rp {{number_format($items->harga_akhir)}}
GRAND TOTAL Rp {{number_format($grand)}}