@if(is_object($itemSales) && count($itemSales) > 0) @php $i = $lastIndex; $count = count($itemSales); @endphp @if(isset($inputs['is_download'])) @endif @foreach($itemSales as $row) @php $lastItemId = $row->item_id; @endphp @endforeach @if($count > 29 && !isset($inputs['is_download'])) @endif @if(isset($inputs['is_download']))

{{ __('report.inventory_item_sale') }}

@if( (isset($inputs['from_date']) && $inputs['from_date'] != '') && (isset($inputs['to_date']) && $inputs['to_date'] != '') ) {{ __('report.from') }}: {{ dateFormat($inputs['from_date'], SHOW_DATE2) }}, {{ __('report.to') }}:  {{ dateFormat($inputs['to_date'], SHOW_DATE2) }}
@endif
{{ __('common.sr-no')}} {{ __('report.product_no')}} {{ __('report.item_name')}} {{ __('report.quantity')}} {{ __('report.item_sale')}} {{ __('report.issued_quantity')}} {{ __('report.issue_quantity_sales')}}
{!! $i++ !!} {!! $row->code !!} {!! $row->name !!} {!! numberFormat($row->quantity,false,false) !!} {!! numberFormat($row->total_price) !!} {!! numberFormat($row->issued_quantity,false,false) !!} {!! numberFormat($row->issued_quantity_price) !!}
{!! __('common.load_more') !!}
@endif @endif