{{ $storeName ?? $transaction->branch->name }}

{{ $transaction->branch->address ?? '' }}

Telp: {{ $transaction->branch->phone ?? '-' }}

No. Struk {{ $transaction->invoice_number }}
Tanggal {{ $transaction->created_at->format('d/m/Y H:i') }}
Kasir {{ $transaction->user->name }}
@if($transaction->customer_name)
Pelanggan {{ $transaction->customer_name }}
@endif
@foreach($transaction->details as $detail) @endforeach
Item Qty Subtotal
{{ $detail->product_name }}
@if($transaction->type === 'pos') Rp {{ number_format($detail->price, 0, ',', '.') }} @else {{ $detail->product_sku ?? '-' }} @endif
{{ $detail->quantity }} Rp {{ number_format($detail->total, 0, ',', '.') }}
@if($transaction->tax > 0)
Pajak ({{ $transaction->tax_rate }}%) Rp {{ number_format($transaction->tax, 0, ',', '.') }}
@endif
Total Bayar Rp {{ number_format($transaction->total, 0, ',', '.') }}
@if($printerSettings['show_footer']) @endif