@php $branchId = $transaction->branch_id ?? null; $faviconLogo = \App\Services\SettingsService::get('store_logo', null, $branchId); $faviconPath = $faviconLogo ? public_path('uploads/logo/' . $faviconLogo) : null; $faviconUrl = $faviconLogo ? asset('uploads/logo/' . $faviconLogo) . (file_exists($faviconPath) ? '?v=' . filemtime($faviconPath) : '') : null; $faviconMime = match (strtolower(pathinfo($faviconLogo ?? '', PATHINFO_EXTENSION))) { 'png' => 'image/png', 'jpg', 'jpeg' => 'image/jpeg', 'gif' => 'image/gif', 'webp' => 'image/webp', 'svg' => 'image/svg+xml', default => 'image/x-icon', }; @endphp @if($faviconLogo) @else @endif
{{ $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, ',', '.') }} |