33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
|
|
<table>
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th>Invoice No</th>
|
||
|
|
<th>Invoice Date</th>
|
||
|
|
<th>Mark No</th>
|
||
|
|
<th>Container No</th>
|
||
|
|
<th>Container Date</th>
|
||
|
|
<th>Company</th>
|
||
|
|
<th>Customer</th>
|
||
|
|
<th>Amount</th>
|
||
|
|
<th>Amount + GST</th>
|
||
|
|
<th>Status</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
@foreach($invoices as $inv)
|
||
|
|
<tr>
|
||
|
|
<td>{{ $inv->invoice_number }}</td>
|
||
|
|
<td>{{ $inv->invoice_date ? \Carbon\Carbon::parse($inv->invoice_date)->format('d-m-Y') : '' }}</td>
|
||
|
|
<td>{{ $inv->mark_no }}</td>
|
||
|
|
<td>{{ $inv->container_number }}</td>
|
||
|
|
<td>{{ $inv->container_date ? \Carbon\Carbon::parse($inv->container_date)->format('d-m-Y') : '' }}</td>
|
||
|
|
<td>{{ $inv->company_name }}</td>
|
||
|
|
<td>{{ $inv->customer_name }}</td>
|
||
|
|
<td>{{ $inv->final_amount }}</td>
|
||
|
|
<td>{{ $inv->final_amount_with_gst }}</td>
|
||
|
|
<td>{{ $inv->invoice_status }}</td>
|
||
|
|
</tr>
|
||
|
|
@endforeach
|
||
|
|
</tbody>
|
||
|
|
</table>
|