@php $customer = $sale->customer; $products = $sale->getProducts() ?? []; $cashReceived = (float) $sale->ledgerAmount(); $balanceDue = max(0, (float) $sale->net_total - $cashReceived); @endphp Invoice {{ $sale->bill_no }}
Back to Sales

INVOICE

Darzi Shop
Darzi Shop

Bill To:

{{ $customer->name ?? 'Walk-in Customer' }}

@if(!empty($customer?->address))

{{ $customer->address }}

@endif @if(!empty($customer?->phone))

{{ $customer->phone }}

@endif @if(!empty($customer?->email))

{{ $customer->email }}

@endif
Invoice Number {{ $sale->bill_no }}
Invoice Date {{ $sale->date ? \Carbon\Carbon::parse($sale->date)->format('F j, Y') : '-' }}
Status {{ $sale->status }}

Service Details:

@forelse ($products as $key => $product) @empty @endforelse
No Description of Service SKU Quantity Rate Total
{{ $key + 1 }} {{ $product['name'] ?? '-' }} {{ $product['sku'] ?? '-' }} {{ $product['quantity'] ?? 0 }} {{ number_format((float) ($product['unit_price'] ?? 0), 2) }} {{ number_format((float) ($product['quantity'] ?? 0) * (float) ($product['unit_price'] ?? 0), 2) }}
No items found.

Terms and Conditions:

  • Payment is due upon receipt of this invoice.
  • Please make checks payable to Darzi Shop.
  • Goods once sold are subject to shop policy.
  • For any discrepancy, contact us within 7 days.
@if(!empty($sale->description))

Note: {{ $sale->description }}

@endif
Subtotal {{ number_format((float) $sale->sub_total, 2) }}
Labour Cost {{ number_format((float) $sale->labour_cost, 2) }}
Discount {{ number_format((float) $sale->discount, 2) }}
Total Amount Due {{ number_format((float) $sale->net_total, 2) }}
Cash Received {{ number_format($cashReceived, 2) }}
Balance Due {{ number_format($balanceDue, 2) }}
Payment Information: