LAPORAN DATA REALISASI PEMBELIAN

@foreach ($datas as $data) @foreach ($data->detail as $detail)
Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Attempt to read property "harga_barang" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Attempt to read property "harga_beli" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Attempt to read property "harga_barang" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Attempt to read property "harga_beli" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115

Warning: Attempt to read property "diskon" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/pembelian/cetak_realisasi_pembelian.blade.php on line 115
@php $gttl += $hargaDiskon * $detail->jumlah; $ttlb += $detail->jumlah; @endphp @endforeach @endforeach
No No Pembelian Supplier Tanggal Pembelian Tanggal Realisasi Prepared By Approved By Reviewed By Keterangan
{{ $no++ }} {{ $data->no_pembelian }} {{ $data->pembelian->supplier->nm_supplier }} {{ $data->pembelian->tgl_pembelian }} {{ $data->tgl_realisasi }} {{ $data->prepared->name }} {{ $data->approved->name ?? '-' }} {{ $data->reviewed->name ?? '-' }} {{ $data->keterangan }}
Kode Barang Nama Barang Harga Jumlah Disc Total
{{ $detail->harga_barang->kd_barang }} {{ $detail->harga_barang->barang->nm_barang }} Rp.{{ number_format($detail->harga_barang->harga_beli) }} {{ $detail->jumlah }} {{ $detail->diskon }}% Rp.{{ number_format($hargaDiskon * $detail->jumlah) }}
Grand Total : Rp. {{ number_format($gttl) }}
Total Qty : {{ $ttlb }}