{{ $loop->index + 1 }}. |
{{ strtoupper(optional($shed_waybill->sales_advice)->mk_number) }} |
{{ strtoupper(optional($shed_waybill->contract)->number) }} |
{{ $shed_waybill->shed_evac->wpo_evacuation?->fac->vessel->name }}
|
{{ $shed_waybill->waybill_no }} |
{{ $shed_waybill->waybill_date }} |
{{ $shed_waybill->quantity }} |
{{ $shed_waybill->cocoa_type ? $shed_waybill->cocoa_type : strtoupper(App\Model\cocoa_type::find($shed_waybill->cocoa_type_id)?->type_name) }}
|
{{ $shed_waybill->specialty ? $shed_waybill->specialty : strtoupper(App\Model\specialty_type::find($shed_waybill->specialty_type_id)?->specialty_name) }}
|
{{ strtoupper(App\Model\client_type::find($shed_waybill->client_type_id)?->name) }} |
{{ App\Model\category::find($shed_waybill->category_id)->name }} |
{{ $shed_waybill->issued_by }} |
|
quantity == $shed_waybill->waybill_stacks->sum('bags_quantity_evacuated')) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @elseif($shed_waybill->quantity == $shed_waybill->stack_records->sum('quantity_evacuated')) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @endif>
STACK |
quantity == $shed_waybill->waybill_stacks->sum('bags_quantity_evacuated')) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @elseif($shed_waybill->quantity == $shed_waybill->stack_records->sum('quantity_evacuated')) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @endif>EDIT
|
stack_records->sum('quantity_evacuated') > 0) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @elseif ($shed_waybill->quantity == $shed_waybill->waybill_stacks->sum('bags_quantity_evacuated')) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;"@else onclick="return confirm('Are you sure you want to reverse this waybill?')" @endif>Undo
Waybill
|
@if (Auth::user()->shed_id != 48)
Gang Activities |
@endif
@endforeach