@section('page-script') @endsection
| # | Invoice No | Date | Total | Status | Actions |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $invoice->invoice_number }} | {{ \Carbon\Carbon::parse($invoice->date)->format('d-m-Y') }} | ₹{{ number_format($invoice->total_amount, 2) }} | {{ ucfirst($invoice->status) }} | {{-- Actions: Preview, Edit, Modal trigger, etc. --}} {{-- Envelope Print Button --}} Envelope {{-- Other buttons --}} @php $hasRevisedCopy = \App\Models\ProformaInvoice::where('revision_of_id', $invoice->id)->exists(); @endphp @if (!$hasRevisedCopy) @endif |