@extends('layouts.app') @section('title', 'Struk Transaksi') @section('content') @php $isNarrowPaper = ($printerSettings['paper_size'] ?? '80mm') === '58mm'; $receiptLogo = $printerLogo ?? $storeLogo ?? null; @endphp
{{ $transaction->branch->address ?? '' }}
Telp: {{ $transaction->branch->phone ?? '-' }}
| 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, ',', '.') }} |
{{ $printerSettings['footer_text'] ?? 'Terima kasih!' }}
Barang yang sudah dibeli tidak dapat ditukar/dikembalikan