@can('bush_waybills', Auth::user()) @endcan @foreach ($rejected_bushs as $bush_waybill) @can('bush_waybills', Auth::user()) @endcan @endforeach
No. District Station LBC Company Bush Waybill No. Expected No. of Bags Bush Waybill Date Bush Grade Category Seal no. QCC Evacuation Date QCC Evacuation No. Transaction Code Type of CocoaINTERNAL WAYBILL INFO. DISCREPANT WAYBILL INFO.
{{$loop->index + 1}}. {{strtoupper($bush_waybill->district->district_name)}} {{strtoupper($bush_waybill->station->station_name)}} {{$bush_waybill->lbc->name}} {{$bush_waybill->bush_waybill_no}} {{$bush_waybill->bush_no_of_bags}} {{$bush_waybill->bush_waybill_date}} {{$bush_waybill->bush_grade}} {{$bush_waybill->category->name}} {{$bush_waybill->seal_no}} {{$bush_waybill->qcc_evac_date}} {{$bush_waybill->qcc_evac_cert_no}} {{$bush_waybill->bush_delivery->transaction_code}} {{optional($bush_waybill->cocoa_type)->type_name}} @foreach ($bush_waybill->internal_waybills as $int_way_bill) @if ($int_way_bill->rejections > 0)
BAGS Waybill No. Shed Assigned Bags Rejected ADD WAYBILL
{{$int_way_bill->internal_no_of_bags}} {{$int_way_bill->internal_waybill_no}} @if ($int_way_bill->shed_id > 0) {{$int_way_bill->shed->name}} @endif {{$int_way_bill->rejections}}
{{csrf_field()}} {{method_field('POST')}}
@endif @endforeach
@foreach ($bush_waybill->internal_waybills as $int_way_bill) @php $nwbs = App\Model\internal_waybill::where('ref_int_waybill_id',$int_way_bill->id)->get(); @endphp @if ($int_way_bill->new_waybill_id != NULL) @if (!($nwbs->isEmpty())) @foreach ($nwbs as $nwb) @endforeach @endif
BAGS Waybill No. Shed Assigned Bags Rejected ADD WAYBILL
{{$nwb->internal_no_of_bags}} {{$nwb->internal_waybill_no}} @if ($nwb->shed_id > 0) {{$nwb->shed->name}} @endif {{$nwb->rejections}}
{{csrf_field()}} {{method_field('POST')}} EDIT WAYBILL
@endif @endforeach