Periode : All Time
Jenis : Semua
{{$tab++}}
--}} @php $tanggal = date('d/m/Y',strtotime($p->created_at)); $jenis = $p->is_paid; $total = $p->total; $discount = $p->discount; if ($discount > 100) { $totalall = $total - $discount; }else { $totalall = $total - ($total * $discount/100); } $hasil_rupiah =number_format($totalall,0,',','.'); if ($jenis) { $trans = "Cash"; }else { $trans = "Credit"; } @endphp|
No Faktur : {{$p->code}}
Sales : {{$p->salesman->name}} Tanggal Penjualan : {{date('d/m/Y',strtotime($p->created_at))}} Pelanggan : {{$p->customer->name}} |
Pembayaran : {{$trans}} | ||||||
| No | Barcode | Nama Barang | Merk | Jenis | Harga | Qty | Total |
|---|---|---|---|---|---|---|---|
| {{ $i++ }} | {{!empty($x->item) ? $x->item->code : '-'}} | {{!empty($x->item) ? $x->item->name : $x->item_name}} | {{!empty($x->item) ? $x->item->item_brand->name : $x->item_brand}} | {{!empty($x->item) ? $x->item->item_type->name : '-'}} | {{!empty($x->item) ? number_format($x->item->price,0,',','.') : number_format($x->custom_price,0,',','.')}} | {{$x->qty}} | {{number_format($totalperbarang,0,',','.')}} |
| Grand Total : | {{$hasil_rupiah}} | ||||||
{{$jsonencode}}
--}} @endforeach {{--{{$tgl}}
--}}Dicetak Pada : {{date('d/m/Y')}}