No Faktur: {{ $transaksi->no_faktur }}
Tanggal: {{ date('d-m-Y', strtotime($transaksi->tanggal_faktur)) }}
Supplier: {{ $transaksi->supplier->nama_perusahaan }}
No | Kode Barang | Nama Barang | Jumlah | Harga | Subtotal |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $detail->barang->kode ?? '-' }} | {{ $detail->barang->nama ?? '-' }} | {{ $detail->jumlah ?? '-' }} | Rp {{ number_format($detail->harga_beli, 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_beli, 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, ',', '.') }}