@foreach($invoices as $invoice)
| {{ $invoice->company_name }} |
{{ $invoice->invoice_no }} |
{{ date('d M, Y', strtotime($invoice->date)) }} |
£{{ number_format($invoice->amount, 2) }} |
£{{ number_format($invoice->vat, 2) }} |
£{{ number_format($invoice->vat+$invoice->amount, 2) }}
|
@if($invoice->status=='passed')
Passed
@else
Not Passed
@endif
|
|
@endforeach