{{-- Logo --}} @php $logo = $profile?->logo ? public_path('storage/' . $profile->logo) : null; @endphp @if($logo)
Logo
@endif {{-- Judul --}}
INVOICE #{{ $transaction->id }}
{{-- Informasi Perusahaan --}}

{{ $profile->nama_perusahaan ?? 'Aleena' }}
{{ $profile->alamat ?? 'Alamat belum diatur' }}
Telepon: {{ $profile->telepon ?? '-' }}


{{-- Info Pembeli --}}

Nama Pelanggan: {{ auth()->user()->name }}

Tanggal Transaksi: {{ $transaction->created_at->translatedFormat('d F Y H:i') }}

Status Pembayaran: {{ ucfirst(str_replace('_', ' ', $transaction->status)) }}

{{-- Tabel Produk --}} @foreach ($transaction->items as $item) @endforeach
Produk Harga Satuan Jumlah Subtotal
{{ $item->catalog->name }} Rp {{ number_format($item->price, 0, ',', '.') }} {{ $item->quantity }} Rp {{ number_format($item->subtotal, 0, ',', '.') }}
Total Rp {{ number_format($transaction->total, 0, ',', '.') }}
{{-- QR Code --}} @if(isset($qrImage))

🔳 Scan QR untuk verifikasi transaksi:

QR Code
@endif {{-- Bukti Pembayaran --}} @if($transaction->payment_proof)

Bukti Pembayaran

Bukti Pembayaran
@endif {{-- Footer --}}