{{Session::get('company')}} |
|
{{$voucherhead}}
| |
Date From: {{($fromdate=='')?date('d-m-Y',strtotime($settings->from_date)):$fromdate}} To: {{($todate=='')?date('d-m-Y'):$todate}}
@if($type=="summary")
| SI.No |
GR# |
GR.Date |
Job Code |
Job Name |
Engineer |
Description |
Total Amount |
@foreach($reports as $row)
@php
$net_total = isset($net_total) ? $net_total + $row->net_amount : $row->net_amount;
@endphp
| {{ ++$i }} |
{{$row->voucher_no}} |
{{date('d-m-Y',strtotime($row->voucher_date))}} |
{{$row->code}} |
{{$row->jobname}} |
{{$row->salesman}} |
{{$row->description}} |
{{number_format($row->net_amount,2)}} |
@endforeach
|
Net Total |
{{number_format($net_total,2)}} |
@endif
@if($type=="summary_pending")
| SI.No |
GR# |
GR.Date |
Job Code |
Job Name |
Engineer |
Description |
Total Amount |
@foreach($reports as $row)
@php
$net_total = isset($net_total) ? $net_total + $row->net_amount : $row->net_amount;
@endphp
| {{ ++$i }} |
{{$row->voucher_no}} |
{{date('d-m-Y',strtotime($row->voucher_date))}} |
{{$row->code}} |
{{$row->jobname}} |
{{$row->salesman}} |
{{$row->description}} |
{{number_format($row->net_amount,2)}} |
@endforeach
|
Net Total |
{{number_format($net_total,2)}} |
@endif
@if($type=="detail")
@foreach($reports as $row)
| SI.No: {{ ++$i }} |
MR#:{{$reports[0]->voucher_no}} |
Engineer Name:{{$reports[0]->salesman}} |
Job Name: {{$reports[0]->jobname}} |
| Item Code |
Description |
MR.Qty. |
Rate |
Total Amt. |
Net Amt. |
Net Total Amt. |
@foreach($reports as $row)
| {{$row->item_code}} |
{{ $row->item_name }} |
{{$row->quantity}} |
{{number_format($unit_price,2)}} |
{{number_format($total_price,2)}} |
{{number_format($net_amount,2)}} |
{{number_format($net_amount,2)}} |
@endforeach
|
Total: |
{{$qty_total}} |
|
|
|
{{number_format($net_total,2)}} |
|
@endforeach
@endif
@if($type=="detail_pending")
@foreach($reports as $row)
| SI.No: {{ ++$i }} |
MR#:{{$reports[0]->voucher_no}} |
Engineer Name:{{$reports[0]->salesman}} |
Job Name: {{$reports[0]->jobname}} |
| Item Code |
Description |
MR.Qty. |
Rate |
Total Amt. |
Net Amt. |
Net Total Amt. |
@foreach($reports as $row)
| {{$row->item_code}} |
{{ $row->item_name }} |
{{$row->quantity}} |
{{number_format($unit_price,2)}} |
{{number_format($total_price,2)}} |
{{number_format($net_amount,2)}} |
{{number_format($net_amount,2)}} |
@endforeach
|
Total: |
{{$qty_total}} |
|
|
|
{{number_format($net_total,2)}} |
|
@endforeach
@endif