m3 Security Fixes

This commit is contained in:
Mark Gregory
2026-09-16 17:25:53 +01:00
parent 8f37245e13
commit 1733291da2
39 changed files with 1290 additions and 1740 deletions
@@ -1,21 +1,21 @@
<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-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>
<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>
<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">
<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)
@@ -25,40 +25,40 @@
</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>
</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>
</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>