93 lines
3.6 KiB
PHP
Executable File
93 lines
3.6 KiB
PHP
Executable File
@extends('m3::liberty-theme.layout.main')
|
|
@section('title')
|
|
Solon Sentinel Portal - Manifest Orders
|
|
@endsection
|
|
@section('content')
|
|
<div class="container-fluid px-4">
|
|
<h1 class="mt-4">Manifest Orders</h1>
|
|
<div class="card mb-4">
|
|
<div class="card-header">
|
|
@php
|
|
$fullUrl = Request::url();
|
|
$UrlPath = Request::path();
|
|
$sendUrl = str_replace($UrlPath, "", $fullUrl);
|
|
@endphp
|
|
<h6>
|
|
Manifest #
|
|
<a class="btn btn-link fw-bold mb-1" target="_blank" href="{{$sendUrl.'php/ClosedTrucksDetail.php?manifest='.$MF}}"> {{ $MF }} </a>
|
|
<span class="ml-6">Carrier: {{ $carrier }} </span>
|
|
</h6>
|
|
</div>
|
|
<div class="card-body">
|
|
<table class="table table-striped table-bordered table-hover" id="datatablesSimple5">
|
|
<thead>
|
|
<tr>
|
|
<th>Delivery note</th>
|
|
<th>Order Number</th>
|
|
<th>Customer</th>
|
|
<th>Sentinel Picker Status</th>
|
|
<th>Total weight</th>
|
|
<th>Boxes/pallets</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@foreach($ICM695M1 as $key=>$val)
|
|
@php
|
|
$A4PICKSTSTMP = isset($val->A4PICKSTS) ? trim($val->A4PICKSTS) : "";
|
|
$A4PICKSTS = $A4PICKSTSTMP!="" && isset($status_ICM688M1_array[trim($val->A4PICKSTS)]) ?
|
|
$status_ICM688M1_array[trim($val->A4PICKSTS)] : "";
|
|
@endphp
|
|
<tr>
|
|
<td>
|
|
<a class="btn btn-link" target="_blank" href="{{$sendUrl.'php/AllSentPkr.php?macpkr_input='.$val->AYMACPKR}}" >
|
|
{{ $val->AYMACPKR }}
|
|
</a>
|
|
</td>
|
|
<td> {{ $val->AYONO }} </td>
|
|
<td> {{ $val->A4SHSHNM }} </td>
|
|
<td> {{ $A4PICKSTS }} </td>
|
|
<td> {{ number_format($val->TOTWEIGHT, 2) }} </td>
|
|
<td> {{ $val->BOXPAL }} </td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
@section('scripts')
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
// DataTable init
|
|
$('#datatablesSimple5').DataTable({
|
|
"aaSorting": [],
|
|
"lengthMenu": [ [100,200,500,-1], [100,200,500,"All"] ],
|
|
"sPaginationType": "full_numbers",
|
|
dom: "<'row mt-2'<'col-sm-12 col-md-2'l><'col-sm-12 col-md-6'B><'col-sm-12 col-md-3'f>>" +
|
|
"<'row'<'col-sm-12'tr>>" +
|
|
"<'row mt-2'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
|
"responsive": true,
|
|
"orderCellsTop": true,
|
|
"order": [ [0, 'asc'] ],
|
|
pageLength: 25,
|
|
"lengthMenu": [ [10,25,50,100,500], [10,25,50,100,500] ],
|
|
"columnDefs": [
|
|
{
|
|
orderable: true,
|
|
searchable: true,
|
|
targets: -1
|
|
}
|
|
],
|
|
});
|
|
});
|
|
|
|
</script>
|
|
@endsection
|