/* NOTE: Orientasi landscape, gunakan setPaper('a3', 'landscape') di controller! */
No Faktur: {{ $transaksi->no_faktur }}
Tanggal: {{ date('d-m-Y', strtotime($transaksi->tanggal_faktur)) }}
Customer: {{ $transaksi->customer->nama ?? 'N/A' }}
No | Kode Barang | Nama Barang | Jumlah | Harga | Subtotal |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $detail->barang->kode }} | {{ $detail->barang->nama }} | {{ $detail->jumlah }} | Rp {{ number_format($detail->harga_jual, 0, ',', '.') }} | Rp {{ number_format($detail->harga_total, 0, ',', '.') }} |
Total: Rp {{ number_format($transaksi->total_harga, 0, ',', '.') }}
No | Kode Barang | Nama Barang | Jumlah | Harga | Subtotal | Tipe Retur |
---|---|---|---|---|---|---|
{{ $no++ }} | {{ $kode_barang }} | {{ $barang->barang->nama ?? '-' }} | {{ $barang->jumlah ?? '-' }} | {{ $barang->tipe_retur == 'potong_nota' ? 'Rp ' . number_format($barang->harga_jual, 0, ',', '.') : 'Rp ' . number_format(0, 0, ',', '.') }} | {{ $barang->tipe_retur == 'potong_nota' ? 'Rp ' . number_format($barang->harga_total, 0, ',', '.') : 'Rp ' . number_format(0, 0, ',', '.') }} | {{ str_replace('_', ' ', $barang->tipe_retur) }} |
{{ $kode }} - {{ $data['nama_barang'] }}:
Unit Tukar Barang: {{ number_format($data['jumlah_tukar_nota'], 0, ',', '.') }}
Total Potong Nota: Rp {{ number_format($data['total_potong_nota'], 0, ',', '.') }}