LAPORAN DATA PENJUALAN BARANG PER PELANGGAN

@foreach($datas as $data) @foreach($data->detail as $detail)
Warning: Undefined variable $data in /home/aplikasiposinfo/public_html/ayam-canton.aplikasipos.info/resources/views/laporan/penjualan/cetak_penjualan_pelanggan.blade.php on line 71

Warning: Attempt to read property "jumlah" on null in /home/aplikasiposinfo/public_html/ayam-canton.aplikasipos.info/resources/views/laporan/penjualan/cetak_penjualan_pelanggan.blade.php on line 71
@endforeach @endforeach
No No Penjualan Nama Pelanggan Tanggal Penjualan Total
Cash Laba Kredit Laba
{{ $no++ }} {{ $data->kd_pelanggan }} {{ @$data->pelanggan->nm_pelanggan }} {{ @$data->tgl_penjualan }} @if($data->keterangan == "Cash") Rp.{{ number_format($ttl) }} @else Rp.0 @endif @if($data->keterangan == "Cash") Rp.{{ number_format($laba) }} @else Rp.0 @endif @if($data->keterangan == "Kredit") Rp.{{ number_format($ttl) }} @else Rp.0 @endif @if($data->keterangan == "Kredit") Rp.{{ number_format($laba) }} @else Rp.0 @endif