m3 Security Fixes
This commit is contained in:
@@ -9,7 +9,7 @@ Warehouse Performance Metrics report
|
||||
<div class="card-header">
|
||||
<form class="needs-validation" enctype="multipart/form-data" method="GET" action="{{ route("m3.OrderLinesOfClosedOrder") }}">
|
||||
<div class="row d-flex flex-row align-items-center">
|
||||
@php
|
||||
@php
|
||||
// $REPORTDATEDisp = old('REPORTDATEDisp') ?? \DateTime::createFromFormat('Ymd',$REPORTDATEDisp)->format('Y-m-d');
|
||||
@endphp
|
||||
{{-- <div class="col">
|
||||
@@ -22,8 +22,8 @@ Warehouse Performance Metrics report
|
||||
<select class="form-select" id="WHDDA" aria-label="WHDD" tabindex="-1" disabled>
|
||||
@foreach ($IC670M as $key => $IC670MR)
|
||||
@php $currentWHDDA = trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS); @endphp
|
||||
<option value="{{ $currentWHDDA }}"
|
||||
data-comp="{{ trim($IC670MR->WDCO) }}" data-pl="{{ trim($IC670MR->WDPL) }}" data-wh="{{ trim($IC670MR->WDWHS) }}"
|
||||
<option value="{{ $currentWHDDA }}"
|
||||
data-comp="{{ trim($IC670MR->WDCO) }}" data-pl="{{ trim($IC670MR->WDPL) }}" data-wh="{{ trim($IC670MR->WDWHS) }}"
|
||||
{{ ($WHDDA!='' && $WHDDA==$currentWHDDA) ? "selected" : "" }}>
|
||||
{{ trim(Str::upper($IC670MR->WDWNAM)) }}
|
||||
</option>
|
||||
@@ -63,7 +63,7 @@ Warehouse Performance Metrics report
|
||||
@section('scripts')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
// Update Division/WH/Plant on Warehouse change
|
||||
// Update Division/WH/Plant on Warehouse change
|
||||
$(document).on('change select','#WHDDA',function(){
|
||||
$("#COMPANY").val($(this).find("option:selected").data("comp"));
|
||||
$("#PLANT").val($(this).find("option:selected").data("pl"));
|
||||
|
||||
Reference in New Issue
Block a user