{{-- HEADER --}}
{{ $company->company_name }}
LAPORAN SALES MEMBER - REKAP BULANAN
Periode Januari - Desember {{ $year }}
{{-- MEMBER --}}
{{ $member->member_name ?? '-' }}
Username: {{ $member->username ?? '-' }}
{{-- SUMMARY --}}
TOTAL TRANSAKSI
{{ number_format($totalTransaction, 0, ',', '.') }}
TOTAL BELANJA
Rp {{ number_format($totalSales, 0, ',', '.') }}
TOTAL EPV
{{ number_format($totalEpv, 2, ',', '.') }}
{{-- REKAP BULANAN --}}
Rekap Belanja Bulanan
@foreach ($monthlyReport as $row) @endforeach
No Bulan Transaksi Total Belanja Total EPV
{{ $loop->iteration }} {{ $row['month_name'] }} {{ number_format($row['transaction_count'], 0, ',', '.') }} Rp {{ number_format($row['total_sales'], 0, ',', '.') }} {{ number_format($row['total_epv'], 2, ',', '.') }}
TOTAL {{ $year }} {{ number_format($totalTransaction, 0, ',', '.') }} Rp {{ number_format($totalSales, 0, ',', '.') }} {{ number_format($totalEpv, 2, ',', '.') }}
{{-- DETAIL --}}
Detail Transaksi
@forelse ($sales as $sale) @empty @endforelse
No Tanggal Receipt Sales Type Total Belanja EPV
{{ $loop->iteration }} {{ \Carbon\Carbon::parse($sale->sales_date)->format('d-m-Y') }} {{ $sale->receipt_no }} {{ $sale->sales_type ?? '-' }} Rp {{ number_format((float) ($sale->total_price ?? 0), 0, ',', '.') }} {{ number_format((float) ($sale->epv ?? 0), 2, ',', '.') }}
Tidak ada transaksi.