Pelanggan : {{$datacust === null ? $faktur[0]->customer->name : $datacust->name}}
Tanggal : {{$tgl}}
@if(count($faktur) > 0) @foreach($data as $p) @php $tanggal = date('d/m/Y',strtotime($p->created_at)); @endphp|
No Faktur : {{$p->code}}
Sales : {{$p->salesman->name}} Tanggal Penjualan : {{$tanggal}} |
Tipe Pembayaran : {{$p->is_paid ? "Cash" : "Credit"}} |
||||
| No | Barcode | Nama Barang | Harga | Qty | Total |
|---|---|---|---|---|---|
| {{$i++}} | {{!empty($item) ? $item->code : '-'}} | {{!empty($item) ? $item->name : $details->item_name}} | {{!empty($item) ? number_format($item->price,0,',','.') : number_format($details->custom_price,0,',','.')}} | {{$details->qty}} | {{$hasil_rupiahshow}} |
| Grand Total : | {{number_format($grandtotal,0,',','.')}} | ||||
Tidak ada data
@endif {{-- {{$jsonencode}} --}}Dicetak Pada : {{date('d/m/Y')}}