Print date: {{ date('Y-m-d h:i:s A') }}

@if($settings->company_address) {!! nl2br($settings->company_address)!!}
@endif PH: {{ $settings->company_phone }}

logo }}" style="margin-top: 10px; width:150px;">

Local Invoices Report

@if($dateFrom)Date From:  {{ date_format(date_create($dateFrom),"d-M-Y") }}    @endif @if($dateTo)Date To: {{ date_format(date_create($dateTo),"d-M-Y") }}   @endif Sold By:  {{$employee}}

@if($records) @php $sl=1; $total_qty = 0; $total_tax = 0; $total_amount = 0; @endphp @foreach($records as $record) @php $sl++; $total_qty = $total_qty + $record->total_qty; $total_tax = $total_tax + $record->tax_amount; $total_amount = $total_amount + $record->totalAmount; @endphp @endforeach @endif
SL# Date Inv No Reference Customer Details Pay-on-to Advice to T. Qty Subtotal Discount(%) GST(%) Total Note Sold By
{{ $sl }} {{ date_format(date_create($record->sales_date),"d-M-Y") }} {{ $record->inv_no }} {{ $record->tracking_ref }} {{ $record->ship_to }} {{ $record->pay_on_to }} {{ $record->advice_to }} {{ $record->total_qty }} {{ number_format($record->sub_total,2) }} {{ $record->dis_percent ? $record->dis_percent : 0 }}% {{ $record->tax_percent ? $record->tax_percent : 0 }}% {{ number_format(($record->totalAmount),2) }} {{ $record->salesNote }} {{ $record->sold_by }}
Total Qty: {{ $total_qty }}
Total GST({{$settings->currency_symbol}}): {{ number_format($total_tax,2) }}
Total Amount({{$settings->currency_symbol}}): {{ number_format($total_amount,2) }}