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;">

Sold Products 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_amount = 0; @endphp @foreach($records as $record) @php $sl++; $total_qty = $total_qty + $record->qty; $total_amount = $total_amount + $record->total; @endphp @endforeach @endif
SL# Date Name Descriptoin Serial/Chassis no Type Inv No Qty Unit Price({{$settings->currency_symbol}}) Total({{$settings->currency_symbol}}) Sold By
{{ $sl }} {{ date_format(date_create($record->sales_date),"d-M-Y") }} {{ $record->item_name }} {{ $record->description }} {{ $record->serial_no }} {{ $record->type }} {{ $record->inv_no }} {{ $record->qty }} {{ number_format($record->price,2) }} {{ number_format(($record->total),2) }} {{ $record->sold_by }}
Total Qty: {{ $total_qty }}
Total Amount({{$settings->currency_symbol}}): {{ number_format($total_amount,2) }}