@if($shopLogo ?? false) {{ $shopName }} @endif

{{ $shopName }}

@if($shopAddress)

{{ $shopAddress }}

@endif

LAPORAN KLIK

Periode: {{ \Carbon\Carbon::parse($startDate)->format('d M Y') }} - {{ \Carbon\Carbon::parse($endDate)->format('d M Y') }}
Total Order
{{ number_format($summary['total_orders']) }}
Total Qty
{{ number_format($summary['total_qty']) }}
Total Klik
{{ number_format($summary['total_clicks']) }}
Total Biaya
Rp {{ number_format($summary['total_cost'] ?? 0, 0, ',', '.') }}
@if(count($machineStats) > 0)
Rincian per Mesin
@foreach($machineStats as $stat) @endforeach
Mesin Total Klik Biaya/Klik Total Biaya
{{ $stat['name'] }} {{ number_format($stat['total_clicks']) }} Rp {{ number_format($stat['cost_per_click'] ?? 0, 0, ',', '.') }} Rp {{ number_format($stat['total_cost'] ?? 0, 0, ',', '.') }}
@endif
Detail Penjualan per Produk & Bahan
@forelse($reportData as $index => $row) @empty @endforelse @if($reportData->count() > 0) @endif
No Produk Bahan Mesin Order Qty Total Klik
{{ $index + 1 }} {{ $row->product_name ?: '-' }} {{ $row->material_name ?: '-' }} {{ $materialMachines[$row->material_id] ?? '-' }} {{ number_format($row->total_orders) }} {{ number_format($row->total_qty) }} {{ number_format($row->total_clicks) }}
Tidak ada data
TOTAL {{ number_format($summary['total_orders']) }} {{ number_format($summary['total_qty']) }} {{ number_format($summary['total_clicks']) }}