@extends('layouts.app') @section('content')

Data {{ $title }}

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

Warning: Attempt to read property "harga" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 151

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 151

Warning: Attempt to read property "diskon" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 151

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 167

Warning: Attempt to read property "qty" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 167

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 170

Warning: Attempt to read property "harga" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 170

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 170

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

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

Warning: Undefined variable $detail in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 170

Warning: Attempt to read property "qty" on null in /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/laporan/penjualan/penjualan_etalase.blade.php on line 170
@endforeach @endforeach
No No Nota Tanggal penjualan Pelanggan
{{ $no++ }} {{ $data->no_penjualan }} {{ $data->tgl_penjualan }} {{ $data->nama_pelanggan }}
Kode Barang Nama Barang Kategori Harga Beli Harga Jual Jumlah Total Laba
{{ $detail->harga_barang->kd_barang }} {{ $detail->harga_barang->barang->nm_barang }} {{ $detail->harga_barang->barang->kategori->nm_kategori }} Rp.{{ number_format($detail->harga_barang->harga_beli) }} Rp.{{ number_format($detail->harga) }} {{ $detail->qty }} Rp.{{ number_format($detail->qty * $hargaDiskon) }} Rp. {{ number_format(($detail->harga - $detail->harga_barang->harga_beli) * $detail->qty ) }}
Total Beli Total Jual Total QTY Grand Total Total Laba
Rp. {{ number_format($total_beli) }} Rp. {{ number_format($total_jual)}} {{ $total_jumlah}} Rp. {{number_format($total)}} Rp. {{number_format($total_laba)}}
@endsection