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

Listing {{$listing->id}}

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

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

--}}



{{$listing->plant->name}}
Plant
{{$listing->created_at_dmy}}
Created At
{{$listing->uploader->full_name}}
Uploaded By
@foreach($listing->custom_columns as $key => $value) @endforeach @php $firm_period = $listing->orders->first() ? $listing->orders->first()->created_at->addMonths(1)->endOfDay() : false; @endphp @foreach($listing->dates_quantity 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 @foreach($listing->custom_columns as $key => $value) @endforeach @foreach($listing->dates_quantity as $key => $value) @endforeach {{-- @foreach($listing->custom_columns as $key => $value) @endforeach @foreach($listing->dates_quantity as $key => $value) @endforeach --}}
Supplier Part No Description Units Supplier's Plant EXW Service Part Standard Pack{{$key}}Priority Transit Urgent{{$key}}
{{$text}}
Total General
Supplier Part No Description Units Supplier's 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