Work Order Report

@foreach($soresult as $row) @endforeach @if (count($result)!= 0) @foreach($reports as $report) @foreach($report as $rw) @endforeach @endforeach @endif
SO No: {{$soresult[0]->voucher_no}} Customer {{$soresult[0]->customer}}
Item Code Item Name SO Qty.
{{$row->itmcode}} {{$row->item_name}} {{$row->so_qty}}
WO No: {{$report[0]->wvoucher_no}}
Item Code Item Name WO Qty. Delivered Qty. Balance Qty.
{{$rw->item_code}} {{$rw->description}} {{$rw->quantity}} {{($rw->balance_quantity==0 && $rw->is_transfer==0)?0:$rw->quantity-$rw->balance_quantity}} {{($rw->balance_quantity==0 && $rw->is_transfer==0)?$rw->quantity:$rw->balance_quantity}}