@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

OPERATIONS MANAGEMENT SYSTEM

STACK TO STACK TRANSFER

{{-- --}} {{-- @if (Auth::user()->shed_id != 48) @endif --}} @foreach ($shed_waybills as $shed_waybill) {{-- --}} {{-- @if (Auth::user()->shed_id != 48) @endif --}} @endforeach {{-- --}} {{-- @if (Auth::user()->shed_id != 48) @endif --}}
No. TYPE DATE QUANTITY ORIGINATING SHED DESTINATION SHED COCOA TYPE SPECIALTY CLIENT CATEGORY SEASONSTACKSTACK RECORDSGang Activities
{{ $loop->index + 1 }} {{ strtoupper($shed_waybill->type) }} {{ strtoupper($shed_waybill->waybill_date) }} {{ strtoupper($shed_waybill->quantity) }} {{ strtoupper(App\Model\shed::find($shed_waybill->originating_shed_id)->warehouse->name) }} ({{ strtoupper(App\Model\shed::find($shed_waybill->originating_shed_id)->name) }}) {{ strtoupper(App\Model\shed::find($shed_waybill->destination_shed_id)->warehouse->name) }} ({{ strtoupper(App\Model\shed::find($shed_waybill->destination_shed_id)->name) }}) {{ strtoupper(App\Model\cocoa_type::find($shed_waybill->cocoa_type_id)?->type_name) }} {{ 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) }} {{ strtoupper($shed_waybill->category?->name) }} {{ strtoupper($shed_waybill->season?->name) }}stack_records->sum('quantity_evacuated') == $shed_waybill->quantity) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @endif>STACK @foreach ($shed_waybill->stack_records()->where('shed_id', $shed_waybill->originating_shed_id)->whereNotNull('quantity_evacuated')->get() as $stack_record) @endforeach
STACK QTY RE-STACK
{{ $stack_record->mini_shed_stack()->withTrashed()->value('mini_name') }} CAT : {{ $stack_record->category->name }} {{ $stack_record->quantity_evacuated }} stack_records->sum('quantity_evacuated') > 0) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @elseif($stack_record->mini_shed_stack()->withTrashed()->value('deleted_at') != null) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @elseif($stack_record->main_stack_status == 'evacuated') onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @endif>Re-Stack
Gang Activities
No. TYPE DATE QUANTITY ORIGINATING SHED DESTINATION SHED COCOA TYPE SPECIALTY CLIENT CATEGORY SEASONSTACKSTACK RECORDSGang Activities
@endsection @section('more-scripts') @endsection