M3 Security Fixes for Pass 39

This commit is contained in:
Mark Gregory
2026-09-17 13:08:40 +01:00
parent e0d8e1a725
commit 34c3460760
63 changed files with 655 additions and 503 deletions
@@ -17,27 +17,31 @@
<div class="col-auto">
<label class=" form-check-label" for="flexSwitchCheckDefault">Show errors</label>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="SHOWERRORS" name="SHOWERRORS"
<label for="SHOWERRORS" class="visually-hidden">SHOWERRORS</label>
<input class="form-check-input" type="checkbox" id="SHOWERRORS" name="SHOWERRORS"
value="Y" {{ $showerrors == 'Y' ? 'checked' : '' }}>
</div>
</div>
{{-- MACPKR --}}
<div class="col-auto">
<label for="inputPassword2" class="col-form-label">Delivery Note</label>
<input type="text" class="form-control form-control-sm" name="SHMACPKR"
<label for="SHMACPKR" class="visually-hidden">SHMACPKR</label>
<input type="text" class="form-control form-control-sm" name="SHMACPKR"
id="SHMACPKR" value="{{ old('SHMACPKR') ?? $macpkr }}" maxlength="11">
</div>
{{-- Start Date --}}
<div class="col-auto">
<label for="exampleFormControlInput1" class="col-form-label">Start Date</label>
<input type="date" class="form-control form-control-sm" id="STARTDATE"
<label for="STARTDATE" class="visually-hidden">STARTDATE</label>
<input type="date" class="form-control form-control-sm" id="STARTDATE"
name="STARTDATE"
value="{{ old('STARTDATE') ?? today()->subDays(1)->format('Y-m-d') }}" required>
</div>
{{-- End Date --}}
<div class="col-auto">
<label for="exampleFormControlInput1" class="col-form-label">End Date</label>
<input type="date" class="form-control form-control-sm" id="ENDDATE" name="ENDDATE"
<label for="ENDDATE" class="visually-hidden">ENDDATE</label>
<input type="date" class="form-control form-control-sm" id="ENDDATE" name="ENDDATE"
value="{{ old('ENDDATE') ?? date('Y-m-d') }}" required>
</div>
{{-- SHSOURCE --}}