@extends('layouts.master') @section('header-title') Delivery Schedule - Current Orders @endsection @section('content')

Current Orders

{{-- More Info --}}
{{--

Here you can see all the listings uploaded, and its history .

--}}



@if($user->is_internal)
@endif
@component('components.button', ['type'=>'download'])@endcomponent
- Columns with background in blue color are the firm period. Following columns are forecast quantities.
- Firm Period will still have changes, these should be within the period and not to exceed a certain %, monitor each release to have the most updated information.
- Urgent Column: Orders in this column are additional to x date quantity.
- All products shipped must be PPAP approved.
- The day is according to Katcon Plant's Timezone.
@if($user->is_internal) @endif @foreach($current_orders->custom_columns as $key => $value) @endforeach @php $firm_period = $current_orders->orders->first() ? $current_orders->orders->first()->created_at->addMonths(1)->endOfDay() : false; @endphp @foreach($current_orders->dates_quantity_columns as $key => $value) @php $class = ''; $text = 'Forecast'; if($firm_period){ if(\Carbon\Carbon::createFromFormat('d/m/Y',$key)->lte($firm_period)) { $text = 'Firm Period'; $class = 'alpha-primary text-primary-800 font-weight-semibold'; } } @endphp @endforeach @if($user->is_internal) @endif @foreach($current_orders->custom_columns as $key => $value) @endforeach @foreach($current_orders->dates_quantity_columns as $key => $value) @endforeach
Listing IdSupplier Uploaded By Uploaded Date Part No. Description Units Plant EXW Service Part Standard Pack{{$key}}Priority Transit Urgent{{$key}}
{{$text}}
Total General
Listing IdSupplier Uploaded By Uploaded Date Part No. Description Units Plant EXW Service Part Standard Pack{{$key}}Priority Transit Urgent{{$key}}Total General
@endsection @section('plugin-scripts') @include('scripts.datatablesjs') @endsection @section('app-scripts') @endsection