Data {{ $title }}
No | No Penjualan | Tanggal Penjualan | Total | |||
---|---|---|---|---|---|---|
Cash | Laba | Kredit | Laba | |||
{{ $no++ }} | {{ $data->no_penjualan }} | {{ $data->tgl_penjualan }} | ||||
Kode Barang | Nama Barang | |||||
{{ $detail->harga_barang->kd_barang }} | {{ $detail->harga_barang->barang->nm_barang }} | @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 |