{{-- POS receipt — designed for 80mm thermal printer width. When the seller clicks "Print receipt" in the POS UI, the browser opens this view in a new tab and triggers print. The CSS forces a narrow page width so that on a typical thermal printer driver the receipt comes out cleanly with no cropping. Auto-print fires once the document is loaded. --}}
| Item | Qty | Amount |
|---|---|---|
|
{{ $item->title }}
@if(!empty($item->variant_title) && strcasecmp($item->variant_title, 'Default') !== 0)
@endif
{{ $pricingLine }}
@if($item->relationLoaded('addons') && $item->addons->isNotEmpty())
@foreach($item->addons as $addon)
@endforeach
@endif
|
{{ rtrim(rtrim(number_format((float)$item->quantity, 2, '.', ''), '0'), '.') }} | {{ $receiptMoney($item->subtotal) }} |