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

OPERATIONS MANAGEMENT SYSTEM

INTRA-WAREHOUSE WAYBILLS

@if (Auth::user()->shed->type != 'discrepant') @endif {{-- --}} @if (Auth::user()->shed_id != 48) @endif @foreach ($shed_waybills as $shed_waybill) @if (Auth::user()->shed->type != 'discrepant') @endif @if (Auth::user()->shed_id != 48) @endif {{-- --}} @endforeach @if (Auth::user()->shed->type != 'discrepant') @endif {{-- --}} @if (Auth::user()->shed_id != 48) @endif
No. TYPE TRANS. CODE WAYBILL NO. WAYBILL DATE QUANTITY ORIGINATING SHED DESTINATION SHED COCOA TYPE SPECIALTY CLIENT CATEGORY SEASONQUANTITIES EVAUATE FROM
STACK
EDITDELETEGang Activities
{{ $loop->index + 1 }} {{ strtoupper($shed_waybill->type) }} {{ strtoupper(optional($shed_waybill->bush_delivery)->transaction_code) }} {{ strtoupper($shed_waybill->waybill_no) }} {{ 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) }} @if ($shed_waybill->waybill_stacks->count() > 0) @foreach ($shed_waybill->waybill_stacks()->where('shed_id', $shed_waybill->originating_shed_id) as $waybill_stack) @endforeach @else @foreach ($shed_waybill->stack_records()->where('shed_id', $shed_waybill->originating_shed_id)->get() as $stack_record) @endforeach @endif
Quantity Stack Re-stack
{{ $waybill_stack->bags_quantity_evacuated }} {{ $waybill_stack->stack->stack_name }} stack_records->sum('quantity_evacuated') > 0) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @endif>Re-Stack
{{ $stack_record->quantity_evacuated }} {{ $stack_record->mini_shed_stack()->withTrashed()->value('mini_name') }} CAT : {{ $stack_record->category->name }} 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
STACKstack_records->sum('quantity_evacuated') > 0) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @elseif ($shed_waybill->waybill_stacks->count() > 0) onclick="event.preventDefault();" disabled='disabled' oncontextmenu="return false;" @endif>EDIT Gang Activities
No. TYPE TRANS. CODE WAYBILL NO. WAYBILL DATE QUANTITY ORIGINATING SHED DESTINATION SHED COCOA TYPE SPECIALTY CLIENT CATEGORY SEASONQUANTITIES EVAUATE FROM
STACK
EDITDELETEGang Activities
@endsection @section('more-scripts') @endsection