Quick Phone
Mobile Phone Store
Manama, Bahrain
Phone: +973 1234 5678 | Email: info@quickphone.com
Invoice No: INV-{{ $sale->id }}
Date: {{ $sale->created_at->format('d/m/Y') }}
Time: {{ $sale->created_at->format('H:i:s') }}
Payment Method: {{ ucfirst($sale->payment_method) }}
Payment Status: {{ ucfirst($sale->payment_status) }}
Bill To:
{{ $sale->customer->name ?? 'Walk-in Customer' }}
@if ($sale->customer && $sale->customer->phone) Phone: {{ $sale->customer->phone }}
@endif @if ($sale->customer && $sale->customer->address) Address: {{ $sale->customer->address }} @endif
@php $itemCount = 1; @endphp @foreach ($sale->sellTransactions as $transaction) @endforeach @if ($sale->exchanges && $sale->exchanges->count() > 0) @foreach ($sale->exchanges as $exchange) @endforeach @endif
# Product Brand Model IMEI/SN Qty Price Subtotal
{{ $itemCount++ }} {{ $transaction->name ?? 'N/A' }} {{ $transaction->product->ProductBrand->name ?? 'N/A' }} {{ $transaction->product->ProductModel->name ?? 'N/A' }} {{ $transaction->product->imei_or_sn ?? 'N/A' }} {{ $transaction->sold_quantity ?? 0 }} BHD {{ number_format($transaction->sell_price, 2) }} BHD {{ number_format($transaction->sell_price * $transaction->sold_quantity, 2) }}
{{ $itemCount++ }} Exchanged: {{ $exchange->brand->name ?? 'N/A' }} {{ $exchange->mobileModel->name ?? 'N/A' }} {{ $exchange->brand->name ?? 'N/A' }} {{ $exchange->mobileModel->name ?? 'N/A' }} {{ $exchange->imei ?? 'N/A' }} 1 BHD {{ number_format($exchange->price, 2) }} BHD {{ number_format($exchange->price, 2) }}
@if ($sale->discount > 0) @endif @if ($sale->due_amount > 0) @endif
Subtotal: BHD {{ number_format($sale->total_amount, 2) }}
Exchange Discount: -BHD {{ number_format($sale->discount, 2) }}
Net Amount: BHD {{ number_format($sale->net_amount, 2) }}
Paid Amount: BHD {{ number_format($sale->paid_amount, 2) }}
Due Amount: BHD {{ number_format($sale->due_amount, 2) }}