Laporan Data Penjualan

Filter

@if(!empty($_GET['date_start']) && !empty($_GET['date_end'])) Unduh Laporan @endif

Data

@if($sum)
Total Jumlah Dana : Rp. {{ number_format($sum->total_jumlah_dana) }}
Total Jumlah Credit : {{ number_format($sum->total_gram, 4) }} Gram
LE BELI
Total Jumlah Dana : Rp. {{ number_format($sum->total_jumlah_dana_type_1) }}
Total Jumlah Credit : {{ number_format($sum->total_gram_type_1, 4) }} Gram
LE Palace Beli
Total Jumlah Dana : Rp. {{ number_format($sum->total_jumlah_dana_type_22) }}
Total Jumlah Credit : {{ number_format($sum->total_gram_type_22, 4) }} Gram
LE Merchant Beli
Total Jumlah Dana : Rp. {{ number_format($sum->total_jumlah_dana_type_29) }}
Total Jumlah Credit : {{ number_format($sum->total_gram_type_29, 4) }} Gram
@endif
@if(count($transactions) === 0) @else @foreach($transactions as $key => $transaction) @php $tabungan_transaksi = $transaction->tabungan_transaksi; $credit = 0; $jml_dana = 0; $tax_percent = 0; $tax_nominal = 0; $voucher_code = 0; $voucher_nominal = 0; $total_dana_setor = 0; if(count($tabungan_transaksi) > 0) { $credit = $tabungan_transaksi[0]->credit; $jml_dana = $tabungan_transaksi[0]->jumlah_dana; $tax_percent = $tabungan_transaksi[0]->pajak_terhitung; $tax_nominal = $tabungan_transaksi[0]->pajak_asli; $voucher = $tabungan_transaksi[0]->transaksi_voucher_lakuemasbeli; if($voucher) { $voucher_code = $voucher->voucher_code; $voucher_nominal = $voucher->voucher_nominal; } $total_dana_setor = $tabungan_transaksi[0]->total_dana_setor; } $bg = ''; if($transaction->type === 1) { $bg = 'bg-color-type-1'; } elseif($transaction->type === 22) { $bg = 'bg-color-type-22'; } elseif($transaction->type === 29) { $bg = 'bg-color-type-29'; } @endphp @endforeach @endif
No Code Tipe Transaksi Date Approve Customer Credit Jumlah Dana Tax Voucher Total Dana Setor
Name Email % Nominal Code Nominal
Tidak ada data
{{ $key + $transactions->firstItem() }} {{ $transaction->code }} {{ $transaction->transaksi_type->type }} {{ date('d M Y', strtotime($transaction->date_approved)) }} {{ $transaction->customer ? $transaction->customer->name : '-' }} {{ $transaction->customer ? $transaction->customer->email : '-' }} {{ number_format($credit, 4) }} {{ number_format($jml_dana) }} {{ $tax_percent }} {{ number_format($tax_nominal) }} {{ $voucher_code }} {{ number_format($voucher_nominal) }} {{ number_format($total_dana_setor) }}
@if(count($transactions) > 0) {{ $transactions->appends(request()->query())->links() }} @endif