| Ref.No. |
Item Code |
Description |
Tr.Date |
Party Name |
Qty |
Unit Cost |
Balance Qty |
@foreach($results as $key => $result)
@if(count($result) > 0) @php $ctotal =$total_qty=$total_ucost= 0; @endphp
| {{$key}} |
@foreach($result as $row)
@php $ctotal += $row->sale_reference; $total_qty += $row->quantity; $total_ucost += $row->unit_cost; @endphp
| {{$row->voucher_no}} |
{{$row->item_code}} |
{{$row->description}} |
{{date('d-m-Y',strtotime($row->voucher_date))}} |
{{$row->master_name}} |
{{$row->quantity}} |
{{$row->unit_cost}} |
{{$row->sale_reference}} |
@endforeach
| Total: |
{{$total_qty}} |
{{$total_ucost}} |
{{$ctotal}} |
@endif
@endforeach
|