@extends('portal.layout') @section('title', 'Invoices') @section('content')
View all your purchase invoices
| Invoice | Date | Items | Total | Paid | Status | |
|---|---|---|---|---|---|---|
| {{ $sale->invoice_no }} | {{ displayDate($sale->created_at) }} | {{ $sale->items->count() }} | {{ number_format($sale->total_amount, 2) }} | {{ number_format($sale->paid_amount, 2) }} | @if($sale->payment_status === 'paid') Paid @elseif($sale->payment_status === 'partial') Partial @else Unpaid @endif | View Details @if($gatewayEnabled && $sale->payment_status !== 'paid') Pay Now @endif |
No invoices found.