@if($invoices->total()) Records {{ ( $invoices->currentPage() - 1 ) * $invoices->perPage() + 1 }} to {{ ( $invoices->currentPage() - 1 ) * $invoices->perPage() + $invoices->count() }} from {{ $invoices->total() }} Records @else No Record @endif
| Invoice# | Date | Customer | Customer PO | AWB | Sub Total | Total Price | File | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->date }} | {{ $invoice->customerPO->customer->name }} | {{ $invoice->customerPO->customer_po_number }} | {{ $invoice->awb }} | {{ number_format( $invoice_parts->total, 2) }} | {{ number_format( $invoice_parts->total + $invoice->shipping_cost + $invoice->clearance + $invoice->sales_tax, 2) }} |
@php
if( is_file(public_path('storage/' . $invoice->file_path)) ){
echo "";
@endphp
|