{{$title}}

@foreach($users as $dt) @endforeach
Tanggal Ref No Customer Status Bayar Status Pengerjaan Total Diskon Tax Grand Total
{{date('Y-m-d',strtotime($dt->tanggal))}} {{$dt->reference_no}} {{$dt->customer->name}} {{$dt->status_bayar_r->nama}} {{$dt->status_pengerjaan_r->nama}} {{ number_format($dt->total,0) }} {{ number_format($dt->diskon,0) }} {{ number_format($dt->order_tax,0) }} {{ number_format($dt->grand_total_amount,0) }}
Total {{number_format($grand_total,2)}}