@extends('layouts.master') @section('header-title') Delivery Schedule - Current Orders @endsection @section('content')
Here you can see all the listings uploaded, and its history .
--}}
•
•
Listing Id | @endifSupplier | Uploaded By | Uploaded Date | Part No. | Description | Units | Plant | EXW | Service Part | Standard Pack | @foreach($current_orders->custom_columns as $key => $value){{$key}} | @endforeachPriority | Transit | Urgent | @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{{$key}} {{$text}} |
@endforeach
Total General |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Listing Id | @endifSupplier | Uploaded By | Uploaded Date | Part No. | Description | Units | Plant | EXW | Service Part | Standard Pack | @foreach($current_orders->custom_columns as $key => $value){{$key}} | @endforeachPriority | Transit | Urgent | @foreach($current_orders->dates_quantity_columns as $key => $value){{$key}} | @endforeachTotal General |