Files
WMS/Modules/M3/Resources/views/liberty-theme/partials/modals/qtyEdit.blade.php
T

65 lines
3.4 KiB
PHP

<form id="frmEdit">
<div class="modal" id="qtyEdit" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">ERP/TMS Part Data Edit</h5>
<button type="button" class="btn-close close-modal" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="table-responsive" id="qtyEditData">
<table class="table table-condensed">
<tbody>
<tr>
<td><label for="AT9DPW" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<input type="hidden" name="USERDPW" id="USERDPW">
<div class="mb-3">
<input type="hidden" name="OLD_AT9DPW" id="OLD_AT9DPW">
<select class="form-select-sm" name="AT9DPW" id="AT9DPW" required>
<!--<option value="" selected disabled hidden>Select</option>-->
@foreach ($IC670M as $key => $IC670MR)
<option selected value="{{ trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS) }}"
data-AT9CO="{{ trim($IC670MR->WDCO) }}" data-AT9PLT="{{ trim($IC670MR->WDPL) }}" data-AT9WHS="{{ trim($IC670MR->WDWHS) }}" >
{{ trim(Str::upper($IC670MR->WDWNAM)) }}
</option>
@endforeach
</select>
</div>
</td>
</tr>
<tr>
<td><b>Part</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AT9PART" id="OLD_AT9PART">
<input type="text" maxlength="15" class="myinput" name="AT9PART" id="AT9PART" readonly>
</td>
</tr>
<tr>
<td><b>Pallet Qty</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="hidden" name="OLD_AT9QTY" id="OLD_AT9QTY">
<input type="number" min="1" max="999999999" increment=1 class="myinput" name="AT9QTY" id="AT9QTY" required>
</td>
</tr>
<tr>
<td><b>Hazardous Material</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AT9WRN" id="OLD_AT9WRN">
<input type="text" maxlength="5" class="myinput" name="AT9WRN" id="AT9WRN">
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal" id="closeEdit">Close</button>
<button type="button" id="submitQtyEdit" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>