@extends('m3::liberty-theme.layout.main') @section('title') Closed order lines report @endsection @section('content')

Closed order lines report

@php $REPORTDATEDisp = old('REPORTDATEDisp') ?? \DateTime::createFromFormat('Ymd',$REPORTDATEDisp)->format('Y-m-d'); @endphp
{{-- --}} @foreach($ICM688M2 as $key=>$ICM688M2R) {{-- --}} @endforeach {{-- --}}
Close Date Delivery # Order # Terms Weight Carrier Mode Order Type Part # Reserved Packed Back Order Qty Value Packed $ Customer nameDate TimeFailure Reason Currency Code Freight
{{ $ICM688M2R->SHDT }} {{ $ICM688M2R->SHTIME }} {{ $ICM688M2R->A5MACPKR }} {{ $ICM688M2R->A5ONO }} {{ $ICM688M2R->A4OFSTRM }} {{ number_format($ICM688M2R->WEIGHT, 2, '.', ',') }} {{ $ICM688M2R->A4SCAC }} {{ $ICM688M2R->A4SHIPTYPE }} {{ $ICM688M2R->A4REFORD }} {{ $ICM688M2R->A5PART }} {{ number_format($ICM688M2R->A5RSVQTY, 0, '.', ',') }} {{ number_format($ICM688M2R->A5PACKED, 0, '.', ',') }} {{ number_format($ICM688M2R->CALCULATED_COLUMN, 0, '.', ',') }} {{ number_format($ICM688M2R->ANOTHER_CALCULATED_COLUMN, 2, '.', ',') }} {{ $ICM688M2R->A4SHSHNM }} {{ $ICM688M2R->SHDT }} {{ $ICM688M2R->SHTIME }} {{ substr($ICM688M2R->REASON,0,150) }} {{ $ICM688M2R->A1SHCURR }} {{ $ICM688M2R->FREIGHT }}
Total:
@php $todayDate = today()->format('Ymd'); $reportDate = old('REPORTDATE') ?? \DateTime::createFromFormat('Ymd',$todayDate)->format('Y-m-d'); $toreportDate = old('TOREPORTDATE') ?? \DateTime::createFromFormat('Ymd', $todayDate)->format('Y-m-d'); @endphp
{{-- MAK Used temporarly to generate report on AS400 --}} {{-- --}}
{{-- Form for Export --}}
@csrf
{{-- Form for Saving Excel --}}
@csrf
@foreach ($allReportsUrls as $fileName=>$reportsUrl) @php $fileNameOnly = strpos($fileName, '/')!= false ? substr($fileName, strpos($fileName, '/') + 1) : $fileName; @endphp $fileName]) }}' >{{ $fileNameOnly }}
@endforeach
{{-- @foreach ($allReportsUrls as $fileName=>$reportsUrl) @php $fileNameOnly = strpos($fileName, '/')!= false ? substr($fileName, strpos($fileName, '/') + 1) : $fileName; @endphp $fileName]) }}' >{{ $fileNameOnly }}
@endforeach --}}
@endsection @section('scripts') @endsection