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
-5
View File
@@ -1,5 +0,0 @@
# Analytics
Display KPIs, warehouse performance trends, executive summaries, and OTTC analysis.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Audit
Review activity logs, data changes, interface events, and administrative actions.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Carrier Management
Maintain carriers, services, and shipment routing master data.
Contains actual sample Blade views and placeholder service provider/routes only.
-28
View File
@@ -1,28 +0,0 @@
# ChatGPT Module
Provides encrypted OpenAI API key storage and an Artisan command for deleting all OpenAI API files visible to the active stored key.
## Routes
- `GET /chatgpt` - manage stored API keys.
- `POST /chatgpt/settings` - create a stored API key.
- `PUT /chatgpt/settings/{setting}` - update an API key setting.
- `DELETE /chatgpt/settings/{setting}` - delete an API key setting.
## Commands
Preview files without deleting:
```bash
php artisan chatgpt:delete-api-files --dry-run
```
Delete all OpenAI API files without interactive confirmation:
```bash
php artisan chatgpt:delete-api-files
```
## Security
API keys are encrypted at rest using Laravel's encrypted Eloquent cast and the application `APP_KEY`.
-5
View File
@@ -1,5 +0,0 @@
# Configuration
Centralise system settings, warehouse defaults, interface flags, and feature switches.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Document Archive
Search cached Sentinel documents, shipment PDFs, labels, and BOL records.
Contains actual sample Blade views and placeholder service provider/routes only.
-333
View File
@@ -1,333 +0,0 @@
# Helpdesk Module
Professional Livewire-first Helpdesk module for ticket management, public/internal responses, SLA tracking, time logging, audit history, and operational support workflows.
## Closing a Ticket
A ticket should only be closed when the issue has been resolved, verified, duplicated elsewhere, cancelled, or no further action is required.
The recommended closure workflow is:
1. Open the ticket detail page.
2. Review the latest public and internal responses.
3. Confirm the ticket can be closed.
4. Add a closure comment explaining why the ticket is being closed.
5. Set the ticket status to `Closed`.
6. Save the change.
7. Confirm the closure appears in the conversation or audit trail.
## Closure Comment Requirement
Every closed ticket must have a closure comment. The comment should explain the reason for closure clearly enough that another agent, manager, auditor, or customer can understand the decision later.
A good closure comment should include:
- What was resolved or confirmed.
- Any action that was taken.
- Whether the customer/user needs to do anything else.
- Whether the ticket can be reopened if the issue returns.
Example closure comment:
```text
Issue resolved and verified.
The requested work has been completed and no further action is currently required. This ticket is now being closed.
If the issue reoccurs or additional information becomes available, please reopen the ticket or create a new support request referencing this ticket number.
```
## Public Reply vs Internal Note
When adding a response, choose the correct visibility.
### Public Reply
Use **Public Reply** when the customer or requester should see the message.
Public replies are used for:
- First-response SLA tracking.
- Customer-visible updates.
- Resolution explanations.
- Closure comments that the requester should see.
### Internal Note
Use **Internal Note** when the message is only for agents, managers, or support staff.
Internal notes are used for:
- Investigation notes.
- Technical diagnostics.
- Private handover comments.
- Internal escalation context.
Internal notes should not count as a customer response or first-response SLA event.
## Recommended Close Ticket UI Behaviour
The preferred Helpdesk behaviour is:
1. Agent clicks **Close Ticket**.
2. A close panel or modal opens.
3. The agent must enter a closure comment.
4. The agent chooses **Public Reply** or **Internal Note**.
5. The system validates the comment.
6. The system saves the response.
7. The ticket status changes to `Closed`.
8. The activity/audit trail records the status change and closure reason.
Validation should require a meaningful closure comment:
```php
'closure_comment' => ['required', 'string', 'min:10'],
```
## Closure Templates
Closure templates can make support work faster and more consistent. Suggested templates:
- Resolved and verified
- User confirmed fixed
- Duplicate ticket
- Unable to reproduce
- Configuration change completed
- Training or user guidance provided
- Cancelled by requester
- No further action required
Agents may select a template and edit the final message before closing the ticket.
## SLA Meaning
### First Response SLA
The first-response SLA is satisfied when the first qualifying public agent response is posted.
Typical states:
| State | Meaning |
| --- | --- |
| Awaiting public reply | No qualifying public agent response has been posted yet. |
| Due soon | The first-response target is close to its deadline. |
| SLA met | The first public response was posted on time. |
| Responded late | The first public response was posted after the SLA deadline. |
| Breached | The SLA deadline passed without a qualifying public response. |
### Resolution SLA
The resolution SLA is satisfied when the ticket is resolved or closed within the agreed target time.
Typical states:
| State | Meaning |
| --- | --- |
| Awaiting resolution | The ticket has not yet been resolved or closed. |
| Due soon | The resolution target is close to its deadline. |
| SLA met | The ticket was resolved or closed on time. |
| Breached | The resolution deadline was missed. |
## Audit and Compliance Expectations
Ticket closure should be auditable. The system should preserve:
- Previous status.
- New status.
- User who closed the ticket.
- Closure timestamp.
- Closure comment.
- Visibility of the closure comment.
- SLA state at the time of closure.
Do not delete historical responses or SLA records when a ticket is closed.
## Reopening a Ticket
If a closed ticket needs further work:
1. Open the closed ticket.
2. Click **Reopen** or change the status back to `Open` / `In Progress`.
3. Add a reopen reason.
4. Save the change.
5. Continue the conversation using public replies or internal notes as appropriate.
The reopen reason should be stored in the ticket activity/audit trail.
## Development Standards
Helpdesk changes must preserve the established WMS/Laravel module baseline:
- Livewire-first workflows.
- Module files remain under the existing `Modules/Helpdesk` structure.
- Livewire components remain under `Modules/Helpdesk/Livewire`.
- No unused JavaScript files.
- No duplicate Blade paths such as `Resources/views/views`.
- No `.DS_Store`, `__MACOSX`, or generated rubbish files in deliverables.
- `changelog.yaml` must be append-only.
- `module.json` version must match the latest `changelog.yaml` version.
- Tests must be added or updated for workflow changes.
## Closing a Ticket With a Mandatory Comment
The ticket status control now enforces an auditable closure workflow.
### How to close a ticket
1. Open the Helpdesk ticket.
2. Open **Ticket controls**.
3. Change **Status** to a closed status, for example **Closed**.
4. Click **Update status**.
5. The **Close ticket** dialog opens if no closure comment has been entered.
6. Enter a clear closure comment explaining what was resolved or why the ticket is being closed.
7. Leave **Internal closure note** unticked when the customer/requester should see the closure response.
8. Tick **Internal closure note** only when the closure reason is staff-only.
9. Click **Close ticket**.
### Closure comment rules
- A closed status cannot be saved without a closure comment.
- The closure comment must be at least 10 characters.
- Public closure comments are saved as normal Helpdesk responses.
- Internal closure comments are saved as internal notes and are only visible to users allowed to see internal notes.
- The ticket `completed_at` timestamp is set when a closed status is saved successfully.
- The resolution SLA is recorded after the closure is saved.
### Recommended closure wording
```text
Issue resolved and verified.
The requested work has been completed and no further action is currently required. This ticket is now closed.
```
## Ticket Workflow Stabilisation Checklist
This module treats the following workflows as mandatory production Helpdesk behaviour. Future changes must preserve these flows and update tests when behaviour changes.
### Create ticket
1. Open **Helpdesk > Tickets > Create**.
2. Enter a subject and details.
3. Use the browser spell checker in the subject and details editor before submitting.
4. Attach supporting files where useful.
5. Click **Create Ticket** once.
Validation must run only after **Create Ticket** is clicked. Rich-text editor synchronisation must not trigger premature validation or require a second click.
### Public reply
1. Open a ticket.
2. Choose **Public reply**.
3. Enter the response.
4. Submit the response.
A public reply is visible in the conversation and counts toward the first-response SLA. The first public response should set the first response timestamp once and must not be overwritten by later replies.
### Internal note
1. Open a ticket.
2. Choose **Internal note**.
3. Enter staff-only information.
4. Submit the note.
Internal notes are not customer-visible and must not satisfy the public first-response SLA.
### Close ticket
1. Open the ticket controls.
2. Select a closed status.
3. Enter a mandatory closure comment when prompted.
4. Choose whether the closure comment is public or internal.
5. Confirm **Close ticket**.
The closure comment is required for auditability. The resolution SLA should be recorded after closure.
### Reopen ticket
1. Open a closed ticket.
2. Select an open or in-progress status.
3. Add a reopen reason where the UI requires one.
4. Continue with public replies, internal notes, timers and attachments.
The original closure history must remain intact.
### SLA
The SLA panel must show clear operational wording:
- Awaiting public reply.
- Due soon.
- SLA met.
- Responded late.
- Breached.
It should show who first responded, when they responded, and how long it took. SLA audit events should be retained for review.
### Timer
1. Start a timer only when work begins.
2. The live elapsed timer appears only while the timer is running.
3. End the timer when work stops.
4. Confirm the saved time in the ticket log.
Timer UI must not leave hidden or unused JavaScript files behind.
### Attachments
Attachments may be added to tickets and responses. Uploaded files must remain validated by type and size, stored safely, and associated with the correct ticket/comment.
### Ticket reference sequence
Ticket references must be generated from `helpdesk_ticket_sequences` when the migration has run. The sequence row is locked during ticket creation, and the initial value is calculated from all existing ticket references, including soft-deleted tickets. This avoids duplicate references such as reusing `HD-2026-00002`.
### Spell checking
Browser-native spell checking is enabled on ticket subjects, details, public replies, threaded replies, timer notes and closure comments using `spellcheck="true"` and `lang="en-GB"`.
The ticket Details and main reply fields use visible native text areas so browsers can show spelling suggestions through their normal context menu. When a word is underlined, right-click or Ctrl-click it to choose a suggested correction. Browser spell checking does not usually open a separate application popup, and the exact suggestion menu is controlled by the user’s browser and operating system dictionary settings.
### Regression coverage expected
The module should keep tests around:
- Create ticket submit-only validation.
- Body editor synchronisation.
- Public and internal replies.
- Mandatory closure comments.
- Reopen behaviour where implemented.
- SLA state and audit trail updates.
- Timer start/end logging.
- Attachment validation and association.
- Reference sequence collision prevention.
- Browser spellcheck attributes on writable fields.
## Rich Editor, Spellcheck, Clear and Close Workflow
The ticket create and reply forms use rich HTML editing controls. Do not replace the rich editor with a plain `<textarea>` to enable spelling suggestions. Spellcheck must be enabled on the actual `contenteditable` editor surface using `spellcheck="true"`, `lang="en-GB"`, `autocorrect="on"` and `autocomplete="on"`.
Browser spell suggestions appear inline as red underlines and are selected from the browser context menu by right-clicking or Ctrl-clicking the misspelled word.
The create-ticket **Clear** action must only clear transient user-entered content:
- subject
- details/body
- tags
- attachments
It must preserve configured routing defaults such as company, board, priority, category, project, team and due-date defaults.
When a user selects a closed ticket status, the professional closure modal must open on the first interaction. A closure comment remains mandatory, and the user can choose whether the closure comment is public or internal.
## Spellcheck and Rich Editor
The Helpdesk rich editor keeps its HTML controls for formatting, lists, links, quotes and pasted content. Browser-native spellcheck is enabled on the editable area, but the module deliberately does not ship a fake inline spellchecker because replacing the editor with a textarea removes the toolbar and breaks the workflow.
If a full inline spelling engine is required later, add it as a deliberate editor plugin integration with regression tests for formatting, Livewire body sync, ticket create, reply, clear, close modal, and attachment handling. Do not replace the rich editor with a plain textarea.
## Timer Log Refresh
The ticket timer dispatches `helpdesk-ticket-time-log-updated` after start and stop. The ticket detail Livewire component listens for that event and refreshes ticket aggregates so the time summary and log modal update without a page reload.
Working Github setup with gitea
-5
View File
@@ -1,5 +0,0 @@
# Inventory Management
Track inventory movement, stock visibility, pallet quantities, and product availability.
Contains actual sample Blade views and placeholder service provider/routes only.
+2 -2
View File
@@ -32,8 +32,8 @@ return [
'user_array' => '', // $user_array,
'misc' => [
'discountCarrierRateForCustomerPriceLTL' => 0.00, // This is the percent off list that we want to charge customers
'discountCarrierRateForCustomerPriceParcel' => 0.00, // This is the percent off list that we want to charge customers - to use in ship confirm
'discountCarrierRateForCustomerPriceLTL' => 0.00, // This is the percent off list that we want to charge customers
'discountCarrierRateForCustomerPriceParcel' => 0.00, // This is the percent off list that we want to charge customers - to use in ship confirm
],
'transxTypes' => [
'ICM710E' => 'Splitting delivery orders',
@@ -624,10 +624,10 @@ class CloseShipment extends Controller
Helper::logToICM699M($data);
$response = Http::withHeaders([
'accept' => 'application/json',
'Content-Type' => 'application/json',
'Connection' => 'close',
])
'accept' => 'application/json',
'Content-Type' => 'application/json',
'Connection' => 'close',
])
->withToken($token)
->withBody($JSONCS, 'application/json')
->timeout(Config::get('arrays.curlTimeOut'))
@@ -848,10 +848,10 @@ class CloseShipment extends Controller
Helper::logToICM699M($data);
$response = Http::withHeaders([
'accept' => 'application/json',
'Content-Type' => 'application/json',
'Connection' => 'close',
])
'accept' => 'application/json',
'Content-Type' => 'application/json',
'Connection' => 'close',
])
->withToken($token)
->withBody($JSONCS, 'application/json')
->timeout(Config::get('arrays.curlTimeOut'))
@@ -83,9 +83,9 @@ class ReplenAPI extends Controller
$token = $IonToken;
$response = Http::withHeaders([
'accept' => 'application/json',
'Content-Type' => 'application/json',
])
'accept' => 'application/json',
'Content-Type' => 'application/json',
])
->withToken($token)
->withBody($JSON, 'application/json')
->timeout(Config::get('arrays.curlTimeOut'))
-29
View File
@@ -1,29 +0,0 @@
# M3 Core Module
M3 functionality migrated from the standalone M3 application into Core.
## Database
The module uses Core's PostgreSQL connection by default. Override with `M3_DB_CONNECTION` if M3 data uses another configured PostgreSQL connection.
No DB2, ODBC, IBM i Access, or `zendtech/ibmitoolkit` dependency is required.
Legacy IBM i program-call requests are captured by `PostgresProgramBridge` in `m3_program_requests`, allowing a PostgreSQL-native worker/integration to process them independently of HTTP requests.
## Optional paths
- `M3_LABELS_PATH`
- `M3_CLOSING_ORDERS_PATH`
Both default beneath `storage/app/m3`.
## After replacing the module
```bash
composer dump-autoload
php artisan optimize:clear
php artisan migrate
php artisan route:list --path=m3
```
Health check: `/m3/health`.
@@ -15,13 +15,13 @@
@endif
<!-- data-AT9DPW="$co.$plant.$whs">Add Record</button> -->
</div>
{{-- // AVCO AVCO CHARACTER 3 No ' ' Division
// AVWHS AVWHS CHARACTER 3 No ' ' Warehouse
// AVPLANT AVPLANT CHARACTER 3 No ' ' Plant
// AVDELMETH AVDELMETH CHARACTER 4 No ' ' Delivery method
// AVSHPVIA AVSHPVIA CHARACTER 4 No ' ' Sentinel ship via
// AVSHSRT AVSHSRT CHARACTER 6 No ' ' Sentinel route
// AVSHORCL AVSHORCL CHARACTER 3 No ' ' Sentinel intl code --}}
{{-- // AVCO AVCO CHARACTER 3 No ' ' Division
// AVWHS AVWHS CHARACTER 3 No ' ' Warehouse
// AVPLANT AVPLANT CHARACTER 3 No ' ' Plant
// AVDELMETH AVDELMETH CHARACTER 4 No ' ' Delivery method
// AVSHPVIA AVSHPVIA CHARACTER 4 No ' ' Sentinel ship via
// AVSHSRT AVSHSRT CHARACTER 6 No ' ' Sentinel route
// AVSHORCL AVSHORCL CHARACTER 3 No ' ' Sentinel intl code --}}
<div class="card-body">
<div class="table-responsive">
@@ -101,13 +101,13 @@
//
// Open Modal M3Delivery Edit
//
// AVCO AVCO CHARACTER 3 No ' ' Division
// AVWHS AVWHS CHARACTER 3 No ' ' Warehouse
// AVPLANT AVPLANT CHARACTER 3 No ' ' Plant
// AVDELMETH AVDELMETH CHARACTER 4 No ' ' Delivery method
// AVSHPVIA AVSHPVIA CHARACTER 4 No ' ' Sentinel ship via
// AVSHSRT AVSHSRT CHARACTER 6 No ' ' Sentinel route
// AVSHORCL AVSHORCL CHARACTER 3 No ' ' Sentinel intl code
// AVCO AVCO CHARACTER 3 No ' ' Division
// AVWHS AVWHS CHARACTER 3 No ' ' Warehouse
// AVPLANT AVPLANT CHARACTER 3 No ' ' Plant
// AVDELMETH AVDELMETH CHARACTER 4 No ' ' Delivery method
// AVSHPVIA AVSHPVIA CHARACTER 4 No ' ' Sentinel ship via
// AVSHSRT AVSHSRT CHARACTER 6 No ' ' Sentinel route
// AVSHORCL AVSHORCL CHARACTER 3 No ' ' Sentinel intl code
$(document).on('click', '#M3DeliveryEdit_click', function() {
// console.log($(this));
@@ -10,17 +10,17 @@
<div class="card">
<div class="card-body">
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
<form method="POST" action="{{ route('m3.fillBOLPDF') }}">
@csrf
@@ -32,10 +32,10 @@
<label>Amount</label>
<input type="text" class="form-control" name="amount" value="">
</div>
<input type="hidden" name="referrer" id="referrer" value="">
<input type="hidden" name="referrer" id="referrer" value="">
<div class="form-group mt-3 mb-2">
<button type="submit" class="btn btn-primary">Fill PDF</button>
<button type="button" class="btn btn-primary" onclick="goBack()">Back</button>
<button type="button" class="btn btn-primary" onclick="goBack()">Back</button>
</div>
</form>
</div>
@@ -10,17 +10,17 @@
<div class="card">
<div class="card-body">
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
<form method="POST" action="{{ route('m3.fillBOL2PDF') }}">
@csrf
@@ -32,10 +32,10 @@
<label>Amount</label>
<input type="text" class="form-control" name="amount" value="">
</div>
<input type="hidden" name="referrer" id="referrer" value="">
<input type="hidden" name="referrer" id="referrer" value="">
<div class="form-group mt-3 mb-2">
<button type="submit" class="btn btn-primary">Fill PDF</button>
<button type="button" class="btn btn-primary" onclick="goBack()">Back</button>
<button type="button" class="btn btn-primary" onclick="goBack()">Back</button>
</div>
</form>
</div>
@@ -133,7 +133,7 @@ Solon Sentinel Portal - Orders On Hold Summary
return intVal(a) + intVal(b);
}, 0 ).toFixed(2);
var whtotal = api
var whtotal = api
.column( 3 )
.data()
.reduce( function (a, b) {
@@ -147,7 +147,7 @@ Solon Sentinel Portal - Orders On Hold Summary
return intVal(a) + intVal(b);
}, 0 ).toFixed(2);
var whtotalOnpick = api
var whtotalOnpick = api
.column( 5 )
.data()
.reduce( function (a, b) {
@@ -403,5 +403,5 @@
}
});
});
</script>
</script>
@endsection
@@ -10,17 +10,17 @@ Change Warehouse
<div class="card">
<div class="card-body">
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
@if(session('error'))
<div class="alert alert-danger">
{{ session('error') }}
</div>
@endif
<form method="POST" action="{{ route('m3.userprofileupdate') }}">
@csrf
@@ -39,22 +39,22 @@ Change Warehouse
<div class="form-group">
<label>Div-Plt-Whs</label>
<select class="form-select" name="R428DPW" required>
<option value="" disabled hidden>Select</option>
@foreach ($IC670M as $key => $IC670MR)
@php
$selected = $ICM428M->R428CO == $IC670MR->WDCO && $ICM428M->R428WH == $IC670MR->WDWHS && $ICM428M->R428PL == $IC670MR->WDPL ?
'selected' : '';
@endphp
<option value="{{ trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS) }}" {{ $selected }}>
{{ trim(Str::upper($IC670MR->WDWNAM)) }}
</option>
@endforeach
</select>
<option value="" disabled hidden>Select</option>
@foreach ($IC670M as $key => $IC670MR)
@php
$selected = $ICM428M->R428CO == $IC670MR->WDCO && $ICM428M->R428WH == $IC670MR->WDWHS && $ICM428M->R428PL == $IC670MR->WDPL ?
'selected' : '';
@endphp
<option value="{{ trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS) }}" {{ $selected }}>
{{ trim(Str::upper($IC670MR->WDWNAM)) }}
</option>
@endforeach
</select>
</div>
<input type="hidden" name="referrer" id="referrer" value="">
<input type="hidden" name="referrer" id="referrer" value="">
<div class="form-group mt-3 mb-2">
<button type="submit" class="btn btn-primary">Update</button>
<button type="button" class="btn btn-primary" onclick="goBack()">Back</button>
<button type="button" class="btn btn-primary" onclick="goBack()">Back</button>
</div>
</form>
</div>
@@ -66,30 +66,30 @@ Change Warehouse
@section('scripts')
<script>
document.addEventListener("DOMContentLoaded", function () {
let referrer = document.referrer;
let currentPage = window.location.href.split('?')[0];
// Check if referrer is not the same as the current page
if (referrer && !referrer.startsWith(currentPage)) {
document.getElementById("referrer").value = referrer;
}
});
document.addEventListener("DOMContentLoaded", function () {
let referrer = document.referrer;
let currentPage = window.location.href.split('?')[0];
// Check if referrer is not the same as the current page
if (referrer && !referrer.startsWith(currentPage)) {
document.getElementById("referrer").value = referrer;
}
});
function goBack() {
let referrer = document.getElementById("referrer").value;
if (referrer) {
window.location.href = referrer;
} else {
// window.history.back();
window.history.go(-2);
}
}
function goBack() {
let referrer = document.getElementById("referrer").value;
if (referrer) {
window.location.href = referrer;
} else {
// window.history.back();
window.history.go(-2);
}
}
</script>
<script>
$(document).ready(function() {
$(document).ready(function() {
});
});
</script>
@endsection
@@ -1,66 +1,66 @@
<form id="frmAdd">
<div class="modal" id="M3DeliveryAdd" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Add</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">Add</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="M3DeliveryAddData">
<input type="hidden" id="addAVCO" name="addAVCO" value="{{$power_user->R428CO}}">
<input type="hidden" id="addAVPLANT" name="addAVPLANT" value="{{$power_user->R428PL}}">
<input type="hidden" id="addAVWHS" name="addAVWHS" value="{{$power_user->R428WH}}">
<table class="table table-condensed" >
<thead>
</thead>
<tbody>
<tr>
<td><b>Delivery Method</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="4" length="4" class="myinput" name="addAVDELMETH" id="addAVDELMETH">
</td>
</tr>
<tr>
<td><b>Ship Via</b></td> <!-- ALPHA -->
<td class="text-right">
<select id="addAVSHPVIA" name="addAVSHPVIA">
<option value="">Select Ship Via</option>
@foreach($shipvia as $key=>$val)
<option value="{{$val->AXCODE}}">{{$val->AXCODE}} - {{$val->AXDESC}}</option>
@endforeach
</select>
</td>
</tr>
<tr>
<td><b>Sentinel Route</b></td> <!-- ALPHA -->
<td class="text-right">
<select id="addAVSHSRT" name="addAVSHSRT">
<option value=" "></option>
<option value="GR">GR</option>
<option value="PU">PU</option>
</select>
</td>
</tr>
<tr>
<td><b>International Code</b></td> <!-- ALPHA -->
<td class="text-right">
<select id="addAVSHORCL" name="addAVSHORCL">
<option value=" " selected></option>
<option value="Y">002 - International</option>
</select>
</td>
</tr>
<div class="table-responsive" id="M3DeliveryAddData">
<input type="hidden" id="addAVCO" name="addAVCO" value="{{$power_user->R428CO}}">
<input type="hidden" id="addAVPLANT" name="addAVPLANT" value="{{$power_user->R428PL}}">
<input type="hidden" id="addAVWHS" name="addAVWHS" value="{{$power_user->R428WH}}">
<table class="table table-condensed" >
<thead>
</thead>
<tbody>
<tr>
<td><b>Delivery Method</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="4" length="4" class="myinput" name="addAVDELMETH" id="addAVDELMETH">
</td>
</tr>
<tr>
<td><b>Ship Via</b></td> <!-- ALPHA -->
<td class="text-right">
<select id="addAVSHPVIA" name="addAVSHPVIA">
<option value="">Select Ship Via</option>
@foreach($shipvia as $key=>$val)
<option value="{{$val->AXCODE}}">{{$val->AXCODE}} - {{$val->AXDESC}}</option>
@endforeach
</select>
</td>
</tr>
<tr>
<td><b>Sentinel Route</b></td> <!-- ALPHA -->
<td class="text-right">
<select id="addAVSHSRT" name="addAVSHSRT">
<option value=" "></option>
<option value="GR">GR</option>
<option value="PU">PU</option>
</select>
</td>
</tr>
<tr>
<td><b>International Code</b></td> <!-- ALPHA -->
<td class="text-right">
<select id="addAVSHORCL" name="addAVSHORCL">
<option value=" " selected></option>
<option value="Y">002 - International</option>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal" id="closeAdd">Close</button>
<button type="button" id="submitM3DeliveryAdd" 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="closeAdd">Close</button>
<button type="button" id="submitM3DeliveryAdd" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,68 +1,68 @@
<form id="frmEdit">
<div class="modal" id="M3DeliveryEdit" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">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">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="M3DeliveryEditData">
<input type="hidden" id="AVCO" name="AVCO" value="{{$power_user->R428CO}}">
<input type="hidden" id="AVPLANT" name="AVPLANT" value="{{$power_user->R428PL}}">
<input type="hidden" id="AVWHS" name="AVWHS" value="{{$power_user->R428WH}}">
<table class="table table-condensed">
<tbody>
<tr>
<td><b>Delivery Method</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVDELMETH" id="OLD_AVDELMETH">
<input type="text" maxlength="4" length="4" class="myinput" name="AVDELMETH" id="AVDELMETH" readonly>
</td>
</tr>
<tr>
<td><b>Ship Via</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVSHPVIA" id="OLD_AVSHPVIA">
<select id="AVSHPVIA" name="AVSHPVIA">
<option value="">Select Ship Via</option>
@foreach($shipvia as $key=>$val)
<option value="{{$val->AXCODE}}">{{$val->AXCODE}} - {{$val->AXDESC}}</option>
@endforeach
</select>
</td>
</tr>
<tr>
<td><b>Sentinel Route</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVSHSRT" id="OLD_AVSHSRT">
<select id="AVSHSRT" name="AVSHSRT">
<option value=" "></option>
<option value="GR">GR</option>
<option value="PU">PU</option>
</select>
</td>
</tr>
<tr>
<td><b>International Code</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVSHORCL" id="OLD_AVSHORCL">
<select id="AVSHORCL" name="AVSHORCL">
<option value=" " selected></option>
<option value="Y">002 - International</option>
</select>
</td>
</tr>
<div class="table-responsive" id="M3DeliveryEditData">
<input type="hidden" id="AVCO" name="AVCO" value="{{$power_user->R428CO}}">
<input type="hidden" id="AVPLANT" name="AVPLANT" value="{{$power_user->R428PL}}">
<input type="hidden" id="AVWHS" name="AVWHS" value="{{$power_user->R428WH}}">
<table class="table table-condensed">
<tbody>
<tr>
<td><b>Delivery Method</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVDELMETH" id="OLD_AVDELMETH">
<input type="text" maxlength="4" length="4" class="myinput" name="AVDELMETH" id="AVDELMETH" readonly>
</td>
</tr>
<tr>
<td><b>Ship Via</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVSHPVIA" id="OLD_AVSHPVIA">
<select id="AVSHPVIA" name="AVSHPVIA">
<option value="">Select Ship Via</option>
@foreach($shipvia as $key=>$val)
<option value="{{$val->AXCODE}}">{{$val->AXCODE}} - {{$val->AXDESC}}</option>
@endforeach
</select>
</td>
</tr>
<tr>
<td><b>Sentinel Route</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVSHSRT" id="OLD_AVSHSRT">
<select id="AVSHSRT" name="AVSHSRT">
<option value=" "></option>
<option value="GR">GR</option>
<option value="PU">PU</option>
</select>
</td>
</tr>
<tr>
<td><b>International Code</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_AVSHORCL" id="OLD_AVSHORCL">
<select id="AVSHORCL" name="AVSHORCL">
<option value=" " selected></option>
<option value="Y">002 - International</option>
</select>
</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="submitM3DeliveryEdit" 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="submitM3DeliveryEdit" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,74 +1,74 @@
<form id="frmAdd">
<div class="modal" id="carrierAdd" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Carrier Master Add</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">Carrier Master Add</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="carrierAddData">
<table class="table table-condensed" >
<thead>
</thead>
<tbody>
<tr>
<td><b>Carrier Number</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="5" class="myinput" name="addCANUM" id="addCANUM" required>
</td>
</tr>
<tr>
<td><b>Carrier Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="30" class="myinput" name="addCANAM" id="addCANAM">
</td>
</tr>
<tr>
<td><b>2ship Carrier Code</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="number" min="1" max="999" increment="1" pattern="[0-9]{3}" class="myinput" name="addTWOSHIPCARRIERCODE" id="addTWOSHIPCARRIERCODE"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))'>
</td>
</tr>
<tr>
<td><b>Parcel Carrier Code</b></td> <!-- Switch -->
<td class="text-right">
LTL
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="checkbox" class="form-check-input" role="switch" id="addPARCELCARRIERCODE" name="addPARCELCARRIERCODE" data-on="X" data-off="">
Parcel
</div>
</td>
</tr>
<tr>
<td><b>ERP Carrier Code</b></td> <!-- ALPHA -->
<td class="text-right">
<!--#553 <input type="number" min="1" max="999999" increment="1" pattern="[0-9]{6}" class="myinput" name="addCASPR10A01" id="addCASPR10A01"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))'> -->
<input type="text" maxlength="10"class="myinput" name="addCASPR10A01" id="addCASPR10A01" required>
</td>
</tr>
<tr>
<td><b>Timing of M3 closing</b></td> <!-- Switch -->
<td class="text-right">
Overnight
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="checkbox" class="form-check-input" role="switch" id="addCASPR1A01" name="addCASPR1A01" data-on="Y" data-off="">
</div>
When closing truck
</td>
</tr>
<div class="table-responsive" id="carrierAddData">
<table class="table table-condensed" >
<thead>
</thead>
<tbody>
<tr>
<td><b>Carrier Number</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="5" class="myinput" name="addCANUM" id="addCANUM" required>
</td>
</tr>
<tr>
<td><b>Carrier Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="30" class="myinput" name="addCANAM" id="addCANAM">
</td>
</tr>
<tr>
<td><b>2ship Carrier Code</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="number" min="1" max="999" increment="1" pattern="[0-9]{3}" class="myinput" name="addTWOSHIPCARRIERCODE" id="addTWOSHIPCARRIERCODE"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))'>
</td>
</tr>
<tr>
<td><b>Parcel Carrier Code</b></td> <!-- Switch -->
<td class="text-right">
LTL
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="checkbox" class="form-check-input" role="switch" id="addPARCELCARRIERCODE" name="addPARCELCARRIERCODE" data-on="X" data-off="">
Parcel
</div>
</td>
</tr>
<tr>
<td><b>ERP Carrier Code</b></td> <!-- ALPHA -->
<td class="text-right">
<!--#553 <input type="number" min="1" max="999999" increment="1" pattern="[0-9]{6}" class="myinput" name="addCASPR10A01" id="addCASPR10A01"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))'> -->
<input type="text" maxlength="10"class="myinput" name="addCASPR10A01" id="addCASPR10A01" required>
</td>
</tr>
<tr>
<td><b>Timing of M3 closing</b></td> <!-- Switch -->
<td class="text-right">
Overnight
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="checkbox" class="form-check-input" role="switch" id="addCASPR1A01" name="addCASPR1A01" data-on="Y" data-off="">
</div>
When closing truck
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal" id="closeAdd">Close</button>
<button type="button" id="submitCarrierAdd" 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="closeAdd">Close</button>
<button type="button" id="submitCarrierAdd" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,78 +1,78 @@
<form id="frmEdit">
<div class="modal" id="carrierEdit" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Carrier Master 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">Carrier Master 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="carrierEditData">
<table class="table table-condensed">
<tbody>
<tr>
<td><b>Carrier Number</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_CANUM" id="OLD_CANUM">
<input type="text" maxlength="5" class="myinput" name="CANUM" id="CANUM" readonly>
</td>
</tr>
<tr>
<td><b>Carrier Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_CANAM" id="OLD_CANAM">
<input type="text" maxlength="30" class="myinput" name="CANAM" id="CANAM">
</td>
</tr>
<tr>
<td><b>2ship Carrier Code</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="hidden" name="OLD_TWOSHIPCARRIERCODE" id="OLD_TWOSHIPCARRIERCODE">
<input type="number" min="1" max="999" step="1" pattern="[0-9]{3}" class="myinput" name="TWOSHIPCARRIERCODE" id="TWOSHIPCARRIERCODE"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))' required>
</td>
</tr>
<tr>
<td><b>Parcel Carrier Code</b></td> <!-- Switch -->
<td class="text-right">
LTL
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="hidden" name="OLD_PARCELCARRIERCODE" id="OLD_PARCELCARRIERCODE">
<input type="checkbox" class="form-check-input" role="switch" id="PARCELCARRIERCODE" name="PARCELCARRIERCODE" data-on="X" data-off="">
Parcel
</div>
</td>
</tr>
<tr>
<td><b>ERP Carrier Code</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_CASPR10A01" id="OLD_CASPR10A01">
<!--#553 <input type="number" min="1" max="999999" step="1" class="myinput" pattern="[0-9]{6}" name="CASPR10A01" id="CASPR10A01"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))' required> -->
<input type="text" maxlength="10" class="myinput" name="CASPR10A01" id="CASPR10A01" required>
</td>
</tr>
<tr>
<td><b>Timing of M3 closing</b></td> <!-- Switch -->
<td class="text-right">
Overnight
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="hidden" name="OLD_CASPR1A01" id="OLD_CASPR1A01">
<input type="checkbox" class="form-check-input" role="switch" id="CASPR1A01" name="CASPR1A01" data-on="Y" data-off="">
</div>
When closing truck
</td>
</tr>
<div class="table-responsive" id="carrierEditData">
<table class="table table-condensed">
<tbody>
<tr>
<td><b>Carrier Number</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_CANUM" id="OLD_CANUM">
<input type="text" maxlength="5" class="myinput" name="CANUM" id="CANUM" readonly>
</td>
</tr>
<tr>
<td><b>Carrier Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_CANAM" id="OLD_CANAM">
<input type="text" maxlength="30" class="myinput" name="CANAM" id="CANAM">
</td>
</tr>
<tr>
<td><b>2ship Carrier Code</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="hidden" name="OLD_TWOSHIPCARRIERCODE" id="OLD_TWOSHIPCARRIERCODE">
<input type="number" min="1" max="999" step="1" pattern="[0-9]{3}" class="myinput" name="TWOSHIPCARRIERCODE" id="TWOSHIPCARRIERCODE"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))' required>
</td>
</tr>
<tr>
<td><b>Parcel Carrier Code</b></td> <!-- Switch -->
<td class="text-right">
LTL
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="hidden" name="OLD_PARCELCARRIERCODE" id="OLD_PARCELCARRIERCODE">
<input type="checkbox" class="form-check-input" role="switch" id="PARCELCARRIERCODE" name="PARCELCARRIERCODE" data-on="X" data-off="">
Parcel
</div>
</td>
</tr>
<tr>
<td><b>ERP Carrier Code</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_CASPR10A01" id="OLD_CASPR10A01">
<!--#553 <input type="number" min="1" max="999999" step="1" class="myinput" pattern="[0-9]{6}" name="CASPR10A01" id="CASPR10A01"
onkeypress='return ((event.charCode >= 48 && event.charCode <= 57) || (event.charCode == 32))' required> -->
<input type="text" maxlength="10" class="myinput" name="CASPR10A01" id="CASPR10A01" required>
</td>
</tr>
<tr>
<td><b>Timing of M3 closing</b></td> <!-- Switch -->
<td class="text-right">
Overnight
<div class="col-sm-1 form-check form-check-inline form-switch">
<input type="hidden" name="OLD_CASPR1A01" id="OLD_CASPR1A01">
<input type="checkbox" class="form-check-input" role="switch" id="CASPR1A01" name="CASPR1A01" data-on="Y" data-off="">
</div>
When closing truck
</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="submitCarrierEdit" 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="submitCarrierEdit" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,21 +1,21 @@
<form id="frmAdd">
<div class="modal" id="qtyAdd" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">ERP/TMS Part Data Add</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 Add</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="qtyAddData">
<table class="table table-condensed" >
<thead>
</thead>
<tbody>
<div class="table-responsive" id="qtyAddData">
<table class="table table-condensed" >
<thead>
</thead>
<tbody>
<tr>
<td><label for="AT9DPW" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<div class="mb-3">
<td><label for="AT9DPW" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<div class="mb-3">
<select class="form-select-sm" id="addAT9DPW"
@if($power_user->R428PWRUSR=="N")
disabled
@@ -29,37 +29,37 @@
</option>
@endforeach
</select>
</div>
</td>
</tr>
<tr>
<td><b>Part</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="15" class="myinput" name="addAT9PART" id="addAT9PART" required>
</td>
</tr>
<tr>
<td><b>Pallet Qty</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="number" min="1" max="999999999" increment=1 class="myinput" name="addAT9QTY" id="addAT9QTY" required>
</td>
</tr>
<tr>
<td><b>Hazardous Material</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="5" class="myinput" name="addAT9WRN" id="addAT9WRN">
</td>
</tr>
</div>
</td>
</tr>
<tr>
<td><b>Part</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="15" class="myinput" name="addAT9PART" id="addAT9PART" required>
</td>
</tr>
<tr>
<td><b>Pallet Qty</b></td> <!-- NUMERIC -->
<td class="text-right">
<input type="number" min="1" max="999999999" increment=1 class="myinput" name="addAT9QTY" id="addAT9QTY" required>
</td>
</tr>
<tr>
<td><b>Hazardous Material</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="text" maxlength="5" class="myinput" name="addAT9WRN" id="addAT9WRN">
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal" id="closeAdd">Close</button>
<button type="button" id="submitQtyAdd" 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="closeAdd">Close</button>
<button type="button" id="submitQtyAdd" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -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>
@@ -1,31 +1,31 @@
<div class="modal" id="shipToCheckBox" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Address checker</h5>
<button type="button" class="btn-close" 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">Address checker</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="form-group">
<div class="col-xs-5">
<label class="checkbox-inline">
<input type="checkbox" name="check1" id="check1" value="1"> Ignore address checker for all future releases of this order
</label>
</div>
</div>
<div class="form-group" style="clear: both; margin-top:20px;">
<div class="col-xs-5">
<label class="checkbox-inline">
<input type="checkbox" name="check2" id="check2" value="1"> Ignore address checker if the above address is re-used on a future order
</label>
</div>
</div>
<div class="form-group">
<div class="col-xs-5">
<label class="checkbox-inline">
<input type="checkbox" name="check1" id="check1" value="1"> Ignore address checker for all future releases of this order
</label>
</div>
</div>
<div class="form-group" style="clear: both; margin-top:20px;">
<div class="col-xs-5">
<label class="checkbox-inline">
<input type="checkbox" name="check2" id="check2" value="1"> Ignore address checker if the above address is re-used on a future order
</label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" id= "submitShipToCheckBox" class="btn btn-primary">Submit</button>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" id= "submitShipToCheckBox" class="btn btn-primary">Submit</button>
</div>
</div>
</div>
</div>
@@ -1,71 +1,71 @@
<div class="modal" id="shipToEdit" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Ship to 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">Ship to 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="shipToEditData">
<table class="table table-condensed" >
<thead>
<tr>
<td></td>
<td class="text-center"><strong>Original</strong></td>
<td class="text-center"><strong>Current</strong></td>
<td class="text-center"><strong>New Values</strong></td>
</tr>
</thead>
<tbody>
<tr>
<td><b>Name</b></td><!-- ALPHA -->
<td class="text-left smalltxt">{!! (isset($original->PSHNM)&&trim($original->PSHNM)!=''?trim($original->PSHNM):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHNM)&&trim($order->SHSHNM)!=''?trim($order->SHSHNM):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHNM)&&trim($order->SHSHNM)!=''?trim($order->SHSHNM):'') !!}</td>
</tr>
<tr>
<td><b>Address line 1</b></td> <!-- MAX -->
<td class="text-left smalltxt" id="ORIG_PSHA1">{!! (isset($original->PSHA1)&&trim($original->PSHA1)!=''?trim($original->PSHA1):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHA1">{!! (isset($order->SHSHA1)&&trim($order->SHSHA1)!=''?trim($order->SHSHA1):'') !!}</td>
<td class="text-right"><input maxlength="30" class="myinput toUpper" type="text" name="SHSHA1" value="{!! (isset($order->SHSHA1)&&trim($order->SHSHA1)!=''?trim($order->SHSHA1):' ') !!}"></td>
</tr>
<tr>
<td><b>Address line 2</b></td> <!-- MAX -->
<td class="text-left smalltxt" id="ORIG_PSHA2">{!! (isset($original->PSHA2)&&trim($original->PSHA2)!=''?trim($original->PSHA2):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHA2">{!! (isset($order->SHSHA2)&&trim($order->SHSHA2)!=''?trim($order->SHSHA2):'') !!}</td>
<td class="text-right"><input maxlength="30" class="myinput toUpper" type="text" name="SHSHA2" value="{!! (isset($order->SHSHA2)&&trim($order->SHSHA2)!=''?trim($order->SHSHA2):' ') !!}"></td>
</tr>
<tr>
<td><b>City</b></td> <!-- ALPHA MAX -->
<td class="text-left smalltxt" id="ORIG_PSHCI">{!! (isset($original->PSHCI)&&trim($original->PSHCI)!=''?trim($original->PSHCI):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHCI">{!! (isset($order->SHSHCI)&&trim($order->SHSHCI)!=''?trim($order->SHSHCI):'') !!}</td>
<td class="text-right"><input maxlength="17" onkeypress='return ((event.charCode >= 65 && event.charCode <= 90) || (event.charCode >= 97 && event.charCode <= 122) || (event.charCode == 32))' class="myinput toUpper" type="text" name="SHSHCI" value="{!! (isset($order->SHSHCI)&&trim($order->SHSHCI)!=''?trim($order->SHSHCI):' ') !!}"></td>
</tr>
<tr>
<td><b>State</b></td> <!-- ALPHA MAX -->
<td class="text-left smalltxt" id="ORIG_PSHST">{!! (isset($original->PSHST)&&trim($original->PSHST)!=''?trim($original->PSHST):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHST">{!! (isset($order->SHSHST)&&trim($order->SHSHST)!=''?trim($order->SHSHST):'') !!}</td>
<td class="text-right"><input maxlength="2" onkeypress='return ((event.charCode >= 65 && event.charCode <= 90) || (event.charCode >= 97 && event.charCode <= 122) || (event.charCode == 32))' class="myinput toUpper" type="text" name="SHSHST" value="{!! (isset($order->SHSHST)&&trim($order->SHSHST)!=''?trim($order->SHSHST):' ') !!}"></td>
<tr>
<td><b>Zip</b></td> <!-- MAX -->
<td class="text-left smalltxt" id="ORIG_PSHZP">{!! (isset($original->PSHZP)&&trim($original->PSHZP)!=''?trim($original->PSHZP):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHZP">{!! (isset($order->SHSHZP)&&trim($order->SHSHZP)!=''?trim($order->SHSHZP):'') !!}</td>
<td class="text-right"><input maxlength="9" class="myinput toUpper" type="text" name="SHSHZP" value="{!! (isset($order->SHSHZP)&&trim($order->SHSHZP)!=''?trim($order->SHSHZP):' ') !!}"></td>
</tr>
<tr>
<td><b>Country</b></td> <!-- ALPHA MAX -->
<td class="text-left smalltxt">{!! (isset($original->PSHCT)&&trim($original->PSHCT)!=''?trim($original->PSHCT):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHCT)&&trim($order->SHSHCT)!=''?trim($order->SHSHCT):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHCT)&&trim($order->SHSHCT)!=''?trim($order->SHSHCT):'') !!}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal">Close</button>
<button type="button" id="submitShipToEdit" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
<div class="table-responsive" id="shipToEditData">
<table class="table table-condensed" >
<thead>
<tr>
<td></td>
<td class="text-center"><strong>Original</strong></td>
<td class="text-center"><strong>Current</strong></td>
<td class="text-center"><strong>New Values</strong></td>
</tr>
</thead>
<tbody>
<tr>
<td><b>Name</b></td><!-- ALPHA -->
<td class="text-left smalltxt">{!! (isset($original->PSHNM)&&trim($original->PSHNM)!=''?trim($original->PSHNM):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHNM)&&trim($order->SHSHNM)!=''?trim($order->SHSHNM):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHNM)&&trim($order->SHSHNM)!=''?trim($order->SHSHNM):'') !!}</td>
</tr>
<tr>
<td><b>Address line 1</b></td> <!-- MAX -->
<td class="text-left smalltxt" id="ORIG_PSHA1">{!! (isset($original->PSHA1)&&trim($original->PSHA1)!=''?trim($original->PSHA1):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHA1">{!! (isset($order->SHSHA1)&&trim($order->SHSHA1)!=''?trim($order->SHSHA1):'') !!}</td>
<td class="text-right"><input maxlength="30" class="myinput toUpper" type="text" name="SHSHA1" value="{!! (isset($order->SHSHA1)&&trim($order->SHSHA1)!=''?trim($order->SHSHA1):' ') !!}"></td>
</tr>
<tr>
<td><b>Address line 2</b></td> <!-- MAX -->
<td class="text-left smalltxt" id="ORIG_PSHA2">{!! (isset($original->PSHA2)&&trim($original->PSHA2)!=''?trim($original->PSHA2):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHA2">{!! (isset($order->SHSHA2)&&trim($order->SHSHA2)!=''?trim($order->SHSHA2):'') !!}</td>
<td class="text-right"><input maxlength="30" class="myinput toUpper" type="text" name="SHSHA2" value="{!! (isset($order->SHSHA2)&&trim($order->SHSHA2)!=''?trim($order->SHSHA2):' ') !!}"></td>
</tr>
<tr>
<td><b>City</b></td> <!-- ALPHA MAX -->
<td class="text-left smalltxt" id="ORIG_PSHCI">{!! (isset($original->PSHCI)&&trim($original->PSHCI)!=''?trim($original->PSHCI):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHCI">{!! (isset($order->SHSHCI)&&trim($order->SHSHCI)!=''?trim($order->SHSHCI):'') !!}</td>
<td class="text-right"><input maxlength="17" onkeypress='return ((event.charCode >= 65 && event.charCode <= 90) || (event.charCode >= 97 && event.charCode <= 122) || (event.charCode == 32))' class="myinput toUpper" type="text" name="SHSHCI" value="{!! (isset($order->SHSHCI)&&trim($order->SHSHCI)!=''?trim($order->SHSHCI):' ') !!}"></td>
</tr>
<tr>
<td><b>State</b></td> <!-- ALPHA MAX -->
<td class="text-left smalltxt" id="ORIG_PSHST">{!! (isset($original->PSHST)&&trim($original->PSHST)!=''?trim($original->PSHST):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHST">{!! (isset($order->SHSHST)&&trim($order->SHSHST)!=''?trim($order->SHSHST):'') !!}</td>
<td class="text-right"><input maxlength="2" onkeypress='return ((event.charCode >= 65 && event.charCode <= 90) || (event.charCode >= 97 && event.charCode <= 122) || (event.charCode == 32))' class="myinput toUpper" type="text" name="SHSHST" value="{!! (isset($order->SHSHST)&&trim($order->SHSHST)!=''?trim($order->SHSHST):' ') !!}"></td>
<tr>
<td><b>Zip</b></td> <!-- MAX -->
<td class="text-left smalltxt" id="ORIG_PSHZP">{!! (isset($original->PSHZP)&&trim($original->PSHZP)!=''?trim($original->PSHZP):'') !!}</td>
<td class="text-left smalltxt" id="OLD_SHSHZP">{!! (isset($order->SHSHZP)&&trim($order->SHSHZP)!=''?trim($order->SHSHZP):'') !!}</td>
<td class="text-right"><input maxlength="9" class="myinput toUpper" type="text" name="SHSHZP" value="{!! (isset($order->SHSHZP)&&trim($order->SHSHZP)!=''?trim($order->SHSHZP):' ') !!}"></td>
</tr>
<tr>
<td><b>Country</b></td> <!-- ALPHA MAX -->
<td class="text-left smalltxt">{!! (isset($original->PSHCT)&&trim($original->PSHCT)!=''?trim($original->PSHCT):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHCT)&&trim($order->SHSHCT)!=''?trim($order->SHSHCT):'') !!}</td>
<td class="text-left smalltxt">{!! (isset($order->SHSHCT)&&trim($order->SHSHCT)!=''?trim($order->SHSHCT):'') !!}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal">Close</button>
<button type="button" id="submitShipToEdit" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
@@ -1,227 +1,227 @@
<form id="frmAdd">
<div class="modal" id="userAdd" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">User Add</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">User Add</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="userAddData">
<table class="table table-condensed">
<tbody>
<!-- R428DV R428PL R428WHS R428STS R428US R428FIRST R428FAMILY R428EMAIL R428EMPCDE R428ADMUSR R428PWRUSR -->
<tr>
<td>
<table class="table table-condensed">
<tr>
<input type="hidden" id="R428CO" name="R428CO">
<input type="hidden" id="R428PL" name="R428PL">
<input type="hidden" id="R428WH" name="R428WH">
<td><b>Status</b></td> <!-- Switch Active/Inactive -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R428STS" value="A" checked data-on="A" data-off="I">
</div>
</td>
</tr>
<tr>
<td><b>User profile</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="10" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428US" required></td>
</tr>
<tr>
<td><b>First Name</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="20" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FIRST" required></td>
</tr>
<tr>
<td><b>Family Name</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="30" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FAMILY" required></td>
</tr>
<tr>
<td><b>Email</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="100" class="myinput" oninput="this.value = this.value.toLowerCase()" name="R428EMAIL" required></td>
</tr>
<tr>
<td><b>Employee code</b></td> <!-- MAX -->
<td class="text-right"><input type="number" min=0 max=9999 class="myinput" name="R428EMPCDE" value=0 required></td>
</tr>
<tr>
<td><label for="R428DPW1" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<div class="mb-3">
<div class="table-responsive" id="userAddData">
<table class="table table-condensed">
<tbody>
<!-- R428DV R428PL R428WHS R428STS R428US R428FIRST R428FAMILY R428EMAIL R428EMPCDE R428ADMUSR R428PWRUSR -->
<tr>
<td>
<table class="table table-condensed">
<tr>
<input type="hidden" id="R428CO" name="R428CO">
<input type="hidden" id="R428PL" name="R428PL">
<input type="hidden" id="R428WH" name="R428WH">
<td><b>Status</b></td> <!-- Switch Active/Inactive -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R428STS" value="A" checked data-on="A" data-off="I">
</div>
</td>
</tr>
<tr>
<td><b>User profile</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="10" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428US" required></td>
</tr>
<tr>
<td><b>First Name</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="20" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FIRST" required></td>
</tr>
<tr>
<td><b>Family Name</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="30" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FAMILY" required></td>
</tr>
<tr>
<td><b>Email</b></td> <!-- ALPHA -->
<td class="text-right"><input type="text" maxlength="100" class="myinput" oninput="this.value = this.value.toLowerCase()" name="R428EMAIL" required></td>
</tr>
<tr>
<td><b>Employee code</b></td> <!-- MAX -->
<td class="text-right"><input type="number" min=0 max=9999 class="myinput" name="R428EMPCDE" value=0 required></td>
</tr>
<tr>
<td><label for="R428DPW1" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<div class="mb-3">
<select class="form-select-sm myinput" name="R428DPW1" id="R428DPW1" aria-label="Div-Plt-Whs" required>
<option value="" selected disabled hidden>Select a value</option>
@foreach ($IC670M as $key => $IC670MR)
<option value="{{ trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS) }}"
data-co="{{ trim($IC670MR->WDCO) }}" data-pl="{{ trim($IC670MR->WDPL) }}" data-wh="{{ trim($IC670MR->WDWHS) }}"
data-dpw="{{ trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS) }}" >
data-dpw="{{ trim($IC670MR->WDCO).trim($IC670MR->WDPL).trim($IC670MR->WDWHS) }}" >
{{ trim(Str::upper($IC670MR->WDWNAM)) }}
</option>
@endforeach
</select>
</div>
</td>
</tr>
<!-- <tr> -->
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table class="table table-condensed">
<tr>
<td><b>Admin user</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R428ADMUSR" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Power user</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R428PWRUSR" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>CSR</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R42811A" value="N" data-on="C" data-off="">
</div>
</td>
</div>
</td>
</tr>
<!-- <tr> -->
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table class="table table-condensed">
<tr>
<td><b>Admin user</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R428ADMUSR" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Power user</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R428PWRUSR" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>CSR</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="R42811A" value="N" data-on="C" data-off="">
</div>
</td>
<td><b>Executive</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" role="switch" name="R42821A" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td colspan=2> </td><td colspan=2> </td><td colspan=2> </td>
</tr>
<tr>
<th colspan=2><u>Inventory Options menu</u></th><th colspan=2><u>Replenishment menu</u></th><th colspan=2><u>Document Reprints</u></th>
</tr>
<td><b>Picking</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU2OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket processing</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU3OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints1</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU4OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Stock View Program</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU2OPT7" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket reset</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch"name="MENU3OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints2</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU4OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<td><b>Split Box Labels</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU2OPT8" value="N" data-on="Y" data-off="N">
</div>
</td>
<td colspan=2></td>
<td><b>Document Reprints3</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU4OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<th colspan=2><u>Loading menu</u></th><th colspan=2><u>Main menu</u></th>
</tr>
<tr>
<td><b>Small parcel loading/closing</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Weekly Labor card entry</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU6OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Open dock door</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>MACPAC</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU6OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Close dock door</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>2Ship send/aggregate</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU6OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>LTL loading</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT5" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
</table>
</td>
</tr>
<td><b>Executive</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" role="switch" name="R42821A" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td colspan=2> </td><td colspan=2> </td><td colspan=2> </td>
</tr>
<tr>
<th colspan=2><u>Inventory Options menu</u></th><th colspan=2><u>Replenishment menu</u></th><th colspan=2><u>Document Reprints</u></th>
</tr>
<td><b>Picking</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU2OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket processing</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU3OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints1</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU4OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Stock View Program</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU2OPT7" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket reset</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch"name="MENU3OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints2</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU4OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<td><b>Split Box Labels</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU2OPT8" value="N" data-on="Y" data-off="N">
</div>
</td>
<td colspan=2></td>
<td><b>Document Reprints3</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU4OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<th colspan=2><u>Loading menu</u></th><th colspan=2><u>Main menu</u></th>
</tr>
<tr>
<td><b>Small parcel loading/closing</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>Weekly Labor card entry</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU6OPT1" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Open dock door</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>MACPAC</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU6OPT2" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Close dock door</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
<td><b>2Ship send/aggregate</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU6OPT3" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>LTL loading</b></td> <!-- SWITCH Y/N -->
<td class="text-center">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" name="MENU5OPT5" value="N" data-on="Y" data-off="N">
</div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal" id="closeAdd">Close</button>
<button type="button" id="submitUserAdd" 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="closeAdd">Close</button>
<button type="button" id="submitUserAdd" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,74 +1,74 @@
<form id="frmEdit">
<div class="modal" id="userEdit" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">User 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">User 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="userEditData">
<table class="table table-condensed">
<tbody>
<!-- R428DV R428PL R428WHS R428STS R428US R428FIRST R428FAMILY R428EMAIL R428EMPCDE R428ADMUSR R428PWRUSR -->
<div class="table-responsive" id="userEditData">
<table class="table table-condensed">
<tbody>
<!-- R428DV R428PL R428WHS R428STS R428US R428FIRST R428FAMILY R428EMAIL R428EMPCDE R428ADMUSR R428PWRUSR -->
<tr>
<td>
<table class="table table-condensed">
<tr>
<input type="hidden" id="OLD_R428CO" name="OLD_R428CO">
<input type="hidden" id="OLD_R428PL" name="OLD_R428PL">
<input type="hidden" id="OLD_R428WH" name="OLD_R428WH">
<input type="hidden" id="R428CO" name="R428CO">
<input type="hidden" id="R428PL" name="R428PL">
<input type="hidden" id="R428WH" name="R428WH">
<td><b>Status</b></td> <!-- Switch Active/Inactive -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R428STS" name="OLD_R428STS">
<input type="checkbox" class="form-check-input" role="switch" id="R428STS" name="R428STS" data-on="A" data-off="I">
</div>
</td>
</tr>
<tr>
<td><b>User profile</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428US" id="OLD_R428US">
<input type="text" maxlength="10" class="myinput toUpper" oninput="this.value = this.value.toUpperCase()" name="R428US" id="R428US" readonly>
</td>
</tr>
<tr>
<td><b>First Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428FIRST" id="OLD_R428FIRST">
<input type="text" maxlength="20" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FIRST" id="R428FIRST" required>
</td>
</tr>
<tr>
<td><b>Family Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428FAMILY" id="OLD_R428FAMILY">
<input type="text" maxlength="30" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FAMILY" id="R428FAMILY" required>
</td>
</tr>
<tr>
<td><b>Email</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428EMAIL" id="OLD_R428EMAIL">
<input type="text" maxlength="100" class="myinput" oninput="this.value = this.value.toLowerCase()" id="R428EMAIL" required>
</td>
</tr>
<tr>
<td><b>Employee code</b></td> <!-- MAX -->
<td class="text-right">
<input type="hidden" name="OLD_R428EMPCDE" id="OLD_R428EMPCDE">
<input type="number" min=0 max=9999 class="myinput" name="R428EMPCDE" id="R428EMPCDE" value=0 required>
</td>
</tr>
<tr>
<td><label for="R428DPW" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<div class="mb-3">
<input type="hidden" name="OLD_R428DPW" id="OLD_R428DPW">
<td>
<table class="table table-condensed">
<tr>
<input type="hidden" id="OLD_R428CO" name="OLD_R428CO">
<input type="hidden" id="OLD_R428PL" name="OLD_R428PL">
<input type="hidden" id="OLD_R428WH" name="OLD_R428WH">
<input type="hidden" id="R428CO" name="R428CO">
<input type="hidden" id="R428PL" name="R428PL">
<input type="hidden" id="R428WH" name="R428WH">
<td><b>Status</b></td> <!-- Switch Active/Inactive -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R428STS" name="OLD_R428STS">
<input type="checkbox" class="form-check-input" role="switch" id="R428STS" name="R428STS" data-on="A" data-off="I">
</div>
</td>
</tr>
<tr>
<td><b>User profile</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428US" id="OLD_R428US">
<input type="text" maxlength="10" class="myinput toUpper" oninput="this.value = this.value.toUpperCase()" name="R428US" id="R428US" readonly>
</td>
</tr>
<tr>
<td><b>First Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428FIRST" id="OLD_R428FIRST">
<input type="text" maxlength="20" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FIRST" id="R428FIRST" required>
</td>
</tr>
<tr>
<td><b>Family Name</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428FAMILY" id="OLD_R428FAMILY">
<input type="text" maxlength="30" class="myinput" oninput="this.value = this.value.toUpperCase()" name="R428FAMILY" id="R428FAMILY" required>
</td>
</tr>
<tr>
<td><b>Email</b></td> <!-- ALPHA -->
<td class="text-right">
<input type="hidden" name="OLD_R428EMAIL" id="OLD_R428EMAIL">
<input type="text" maxlength="100" class="myinput" oninput="this.value = this.value.toLowerCase()" id="R428EMAIL" required>
</td>
</tr>
<tr>
<td><b>Employee code</b></td> <!-- MAX -->
<td class="text-right">
<input type="hidden" name="OLD_R428EMPCDE" id="OLD_R428EMPCDE">
<input type="number" min=0 max=9999 class="myinput" name="R428EMPCDE" id="R428EMPCDE" value=0 required>
</td>
</tr>
<tr>
<td><label for="R428DPW" class="col-form-label"><b>Div-Plt-Whs:</b></label></td>
<td>
<div class="mb-3">
<input type="hidden" name="OLD_R428DPW" id="OLD_R428DPW">
<select class="form-select-sm" id="R428DPW" required>
<option value="" selected disabled hidden>Select</option>
@foreach ($IC670M as $key => $IC670MR)
@@ -78,188 +78,188 @@
</option>
@endforeach
</select>
</div>
</td>
</tr>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table class="table table-condensed">
<tr>
<td><b>Admin user</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R428ADMUSR" name="OLD_R428ADMUSR">
<input type="checkbox" class="form-check-input" role="switch" id="R428ADMUSR" name="R428ADMUSR" data-on="Y" data-off="N">
</div>
</td>
<td><b>Power user</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R428PWRUSR" name="OLD_R428PWRUSR">
<input type="checkbox" class="form-check-input" role="switch" id="R428PWRUSR" name="R428PWRUSR" data-on="Y" data-off="N">
</div>
</td>
<td><b>CSR</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R42811A" name="OLD_R42811A">
<input type="checkbox" class="form-check-input" role="switch" id="R42811A" name="R42811A" data-on="C" data-off="">
</div>
</td>
<td><b>Executive</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R42821A" name="OLD_R42821A">
<input type="checkbox" class="form-check-input" role="switch" id="R42821A" name="R42821A" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td colspan=2> </td>
</tr>
<tr>
<th colspan=2><u>Inventory Options menu</u></th><th colspan=2><u>Replenishment menu</u></th><th colspan=2><u>Document Reprints</u></th>
</tr>
<tr>
<td><b>Picking</b></td> <!-- SWITCH Y/N Inventory Options menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU2OPT3" name="OLD_MENU2OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU2OPT3" name="MENU2OPT3" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket processing</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU3OPT1" name="OLD_MENU3OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU3OPT1" name="MENU3OPT1" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints1</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU4OPT1" name="OLD_MENU4OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU4OPT1" name="MENU4OPT1" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Stock View Program</b></td> <!-- SWITCH Y/N Inventory Options menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU2OPT7" name="OLD_MENU2OPT7">
<input type="checkbox" class="form-check-input" role="switch" id="MENU2OPT7" name="MENU2OPT7" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket reset</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU3OPT2" name="OLD_MENU3OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU3OPT2" name="MENU3OPT2" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints2</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU4OPT2" name="OLD_MENU4OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU4OPT2" name="MENU4OPT2" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Split Box Labels</b></td> <!-- SWITCH Y/N Inventory Options menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU2OPT8" name="OLD_MENU2OPT8">
<input type="checkbox" class="form-check-input" role="switch" id="MENU2OPT8" name="MENU2OPT8" data-on="Y" data-off="N">
</div>
</td>
<td></td><td></td>
<td><b>Document Reprints3</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU4OPT3" name="OLD_MENU4OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU4OPT3" name="MENU4OPT3" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<th colspan=2><u>Loading menu</u></th><th colspan=2><u>Main menu</u></th><th colspan=2></th>
</tr>
<tr>
<td><b>Small parcel loading/closing</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT1" name="OLD_MENU5OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT1" name="MENU5OPT1" data-on="Y" data-off="N">
</div>
</td>
<td><b>Weekly Labor card entry</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU6OPT1" name="OLD_MENU6OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU6OPT1" name="MENU6OPT1" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Open dock door</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT2" name="OLD_MENU5OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT2" name="MENU5OPT2" data-on="Y" data-off="N">
</div>
</td>
<td><b>MACPAC</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU6OPT2" name="OLD_MENU6OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU6OPT2" name="MENU6OPT2" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Close dock door</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT3" name="OLD_MENU5OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT3" name="MENU5OPT3" data-on="Y" data-off="N">
</div>
</td>
<td><b>2Ship send/aggregate</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU6OPT3" name="OLD_MENU6OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU6OPT3" name="MENU6OPT3" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>LTL loading</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT5" name="OLD_MENU5OPT5">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT5" name="MENU5OPT5" data-on="Y" data-off="N">
</div>
</td>
</tr>
</table>
</td>
</tr>
</div>
</td>
</tr>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table class="table table-condensed">
<tr>
<td><b>Admin user</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R428ADMUSR" name="OLD_R428ADMUSR">
<input type="checkbox" class="form-check-input" role="switch" id="R428ADMUSR" name="R428ADMUSR" data-on="Y" data-off="N">
</div>
</td>
<td><b>Power user</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R428PWRUSR" name="OLD_R428PWRUSR">
<input type="checkbox" class="form-check-input" role="switch" id="R428PWRUSR" name="R428PWRUSR" data-on="Y" data-off="N">
</div>
</td>
<td><b>CSR</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R42811A" name="OLD_R42811A">
<input type="checkbox" class="form-check-input" role="switch" id="R42811A" name="R42811A" data-on="C" data-off="">
</div>
</td>
<td><b>Executive</b></td> <!-- SWITCH Y/N -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_R42821A" name="OLD_R42821A">
<input type="checkbox" class="form-check-input" role="switch" id="R42821A" name="R42821A" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td colspan=2> </td>
</tr>
<tr>
<th colspan=2><u>Inventory Options menu</u></th><th colspan=2><u>Replenishment menu</u></th><th colspan=2><u>Document Reprints</u></th>
</tr>
<tr>
<td><b>Picking</b></td> <!-- SWITCH Y/N Inventory Options menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU2OPT3" name="OLD_MENU2OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU2OPT3" name="MENU2OPT3" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket processing</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU3OPT1" name="OLD_MENU3OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU3OPT1" name="MENU3OPT1" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints1</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU4OPT1" name="OLD_MENU4OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU4OPT1" name="MENU4OPT1" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Stock View Program</b></td> <!-- SWITCH Y/N Inventory Options menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU2OPT7" name="OLD_MENU2OPT7">
<input type="checkbox" class="form-check-input" role="switch" id="MENU2OPT7" name="MENU2OPT7" data-on="Y" data-off="N">
</div>
</td>
<td><b>Ticket reset</b></td> <!-- SWITCH Y/N Replenishment menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU3OPT2" name="OLD_MENU3OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU3OPT2" name="MENU3OPT2" data-on="Y" data-off="N">
</div>
</td>
<td><b>Document Reprints2</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU4OPT2" name="OLD_MENU4OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU4OPT2" name="MENU4OPT2" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Split Box Labels</b></td> <!-- SWITCH Y/N Inventory Options menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU2OPT8" name="OLD_MENU2OPT8">
<input type="checkbox" class="form-check-input" role="switch" id="MENU2OPT8" name="MENU2OPT8" data-on="Y" data-off="N">
</div>
</td>
<td></td><td></td>
<td><b>Document Reprints3</b></td> <!-- SWITCH Y/N Document Reprints menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU4OPT3" name="OLD_MENU4OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU4OPT3" name="MENU4OPT3" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<th colspan=2><u>Loading menu</u></th><th colspan=2><u>Main menu</u></th><th colspan=2></th>
</tr>
<tr>
<td><b>Small parcel loading/closing</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT1" name="OLD_MENU5OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT1" name="MENU5OPT1" data-on="Y" data-off="N">
</div>
</td>
<td><b>Weekly Labor card entry</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU6OPT1" name="OLD_MENU6OPT1">
<input type="checkbox" class="form-check-input" role="switch" id="MENU6OPT1" name="MENU6OPT1" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Open dock door</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT2" name="OLD_MENU5OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT2" name="MENU5OPT2" data-on="Y" data-off="N">
</div>
</td>
<td><b>MACPAC</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU6OPT2" name="OLD_MENU6OPT2">
<input type="checkbox" class="form-check-input" role="switch" id="MENU6OPT2" name="MENU6OPT2" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>Close dock door</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT3" name="OLD_MENU5OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT3" name="MENU5OPT3" data-on="Y" data-off="N">
</div>
</td>
<td><b>2Ship send/aggregate</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU6OPT3" name="OLD_MENU6OPT3">
<input type="checkbox" class="form-check-input" role="switch" id="MENU6OPT3" name="MENU6OPT3" data-on="Y" data-off="N">
</div>
</td>
</tr>
<tr>
<td><b>LTL loading</b></td> <!-- SWITCH Y/N Loading menu -->
<td class="text-right">
<div class="form-check form-switch">
<input type="hidden" id="OLD_MENU5OPT5" name="OLD_MENU5OPT5">
<input type="checkbox" class="form-check-input" role="switch" id="MENU5OPT5" name="MENU5OPT5" data-on="Y" data-off="N">
</div>
</td>
</tr>
</table>
</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="submitUserEdit" 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="submitUserEdit" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,15 +1,15 @@
<form id="frmPassword">
<div class="modal" id="userPassword" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Enter Password to re-enable user</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">Enter Password to re-enable user</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="userPasswordData">
<table class="table table-condensed">
<tbody>
<div class="table-responsive" id="userPasswordData">
<table class="table table-condensed">
<tbody>
<tr>
<td>
<table class="table table-condensed">
@@ -26,15 +26,15 @@
</td>
</tr>
</table>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary close-modal" data-bs-dismiss="modal" id="closePassword">Close</button>
<button type="button" id="submitUserPassword" data-R428US_PWD="" 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="closePassword">Close</button>
<button type="button" id="submitUserPassword" data-R428US_PWD="" class="btn btn-primary" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
</form>
@@ -1,49 +1,49 @@
<div style="margin:10px 10px 0 10px;">
<div class="row">
<div class="col-sm-12">
<div class="card text-white bg-secondary mb-3">
<div class="card-body">
<p class="card-text" style="color:#FFF">
<div class="row">
<div class="col-sm-12">
<div class="card text-white bg-secondary mb-3">
<div class="card-body">
<p class="card-text" style="color:#FFF">
<b>Current Hold Code:</b> {{ $order->SHHLDC }}<br>
<b>Order number:</b> {{ $request->order }}<br>
<b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}<br>
<b>Order Status:</b> {{ $order->SHOST }}<br>
<b>Fill Code:</b> {{ $order->SHALBO }}<br>
@foreach ($releases as $key=>$val)
<b>Open Releases on this order:</b> <a href="./{{ $val->SLONO }}-{{ $val->SLRLNO }}" style="color:white" >{{ $val->SLONO }}-{{ $val->SLRLNO }}
<i class="fa fa-eye pull-right"></i></a><br>
@endforeach
<b>Current Hold Code:</b> {{ $order->SHHLDC }}<br>
<b>Order number:</b> {{ $request->order }}<br>
<b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}<br>
<b>Order Status:</b> {{ $order->SHOST }}<br>
<b>Fill Code:</b> {{ $order->SHALBO }}<br>
@foreach ($releases as $key=>$val)
<b>Open Releases on this order:</b> <a href="./{{ $val->SLONO }}-{{ $val->SLRLNO }}" style="color:white" >{{ $val->SLONO }}-{{ $val->SLRLNO }}
<i class="fa fa-eye pull-right"></i></a><br>
@endforeach
</p>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="card-header" style="margin-bottom:20px">
<div class="row">
<div class="col-sm-6">
<h5 class="card-title"><b>Order number:</b> {{ $request->order }}</h5>
</div>
<div class="col-sm-6 text-end">
<h5 class="card-title"><b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}</h5>
</div>
</div>
</div>
</p>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="card-header" style="margin-bottom:20px">
<div class="row">
<div class="col-sm-6">
<h5 class="card-title"><b>Order number:</b> {{ $request->order }}</h5>
</div>
<div class="col-sm-6 text-end">
<h5 class="card-title"><b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}</h5>
</div>
</div>
</div>
<table id="example" class="table table-striped" style="width:100%;margin-top:20px">
<thead>
<tr>
<th>Id</th>
<th>User</th>
<th>Created Date</th>
<th>Reminder Date</th>
<th>Comment</th>
</tr>
</thead>
</table>
</div>
</div>
<table id="example" class="table table-striped" style="width:100%;margin-top:20px">
<thead>
<tr>
<th>Id</th>
<th>User</th>
<th>Created Date</th>
<th>Reminder Date</th>
<th>Comment</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
@@ -1,78 +1,78 @@
<div style="margin:10px 10px 0 10px;">
<div class="row">
<div class="col-sm-12">
<div class="card text-white bg-secondary mb-3">
<div class="card-body">
<p class="card-text" style="color:#FFF">
<div class="row">
<div class="col-sm-12">
<div class="card text-white bg-secondary mb-3">
<div class="card-body">
<p class="card-text" style="color:#FFF">
<b>Current Hold Code:</b> {{ $order->SHHLDC }}<br>
<b>Order number:</b> {{ $request->order }}<br>
<b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}<br>
<b>Order Status:</b> {{ $order->SHOST }}<br>
<b>Fill Code:</b> {{ $order->SHALBO }}<br>
@foreach ($releases as $key=>$val)
<b>Open Releases on this order:</b> <a href="./{{ $val->SLONO }}-{{ $val->SLRLNO }}" style="color:white" >{{ $val->SLONO }}-{{ $val->SLRLNO }}
<i class="fa fa-eye pull-right"></i></a><br>
@endforeach
<b>Current Hold Code:</b> {{ $order->SHHLDC }}<br>
<b>Order number:</b> {{ $request->order }}<br>
<b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}<br>
<b>Order Status:</b> {{ $order->SHOST }}<br>
<b>Fill Code:</b> {{ $order->SHALBO }}<br>
@foreach ($releases as $key=>$val)
<b>Open Releases on this order:</b> <a href="./{{ $val->SLONO }}-{{ $val->SLRLNO }}" style="color:white" >{{ $val->SLONO }}-{{ $val->SLRLNO }}
<i class="fa fa-eye pull-right"></i></a><br>
@endforeach
</p>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="card-header">
<div class="row">
<div class="col-sm-6">
<h5 class="card-title"><b>Order number:</b> {{ $request->order }}</h5>
</div>
<div class="col-sm-6 text-end">
<h5 class="card-title"><b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}</h5>
</div>
</div>
</div>
</p>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="card-header">
<div class="row">
<div class="col-sm-6">
<h5 class="card-title"><b>Order number:</b> {{ $request->order }}</h5>
</div>
<div class="col-sm-6 text-end">
<h5 class="card-title"><b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}</h5>
</div>
</div>
</div>
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Status</strong></td>
<td><strong>Src Whse</strong></td>
<td><strong>Part</strong></td>
<td><strong>Description</strong></td>
<td><strong>Fill Code</strong></td>
<td><strong>Ord</strong></td>
<td><strong>Bal</strong></td>
<td><strong>Res</strong></td>
<td><strong>onPick</strong></td>
<td><strong>Price</strong></td>
<td><strong>Extension</strong></td>
<td><strong>Promise Date</strong></td>
</tr>
</thead>
<tbody>
@foreach ($details as $key=>$detail)
<tr>
<td>{{ $detail->SLLNST }}</td>
<td>{{ $detail->SLSRWH }}</td>
<td>{{ $detail->SLPTNO }}</td>
<td>{{ $detail->SLPTD1 }}</td>
<td>{{ $detail->SLALBO }}</td>
<td>{{ $detail->SLORQY }}</td>
<td>{{ $detail->BALANCE }}</td>
<td>{{ $detail->RESERVED }}</td>
<td>{{ $detail->ONPICK }}</td>
<td>{{ $detail->SLUNPR }}</td>
<td>{{ $detail->SLEXPR }}</td>
<td>{{ $detail->SLPRDT }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Status</strong></td>
<td><strong>Src Whse</strong></td>
<td><strong>Part</strong></td>
<td><strong>Description</strong></td>
<td><strong>Fill Code</strong></td>
<td><strong>Ord</strong></td>
<td><strong>Bal</strong></td>
<td><strong>Res</strong></td>
<td><strong>onPick</strong></td>
<td><strong>Price</strong></td>
<td><strong>Extension</strong></td>
<td><strong>Promise Date</strong></td>
</tr>
</thead>
<tbody>
@foreach ($details as $key=>$detail)
<tr>
<td>{{ $detail->SLLNST }}</td>
<td>{{ $detail->SLSRWH }}</td>
<td>{{ $detail->SLPTNO }}</td>
<td>{{ $detail->SLPTD1 }}</td>
<td>{{ $detail->SLALBO }}</td>
<td>{{ $detail->SLORQY }}</td>
<td>{{ $detail->BALANCE }}</td>
<td>{{ $detail->RESERVED }}</td>
<td>{{ $detail->ONPICK }}</td>
<td>{{ $detail->SLUNPR }}</td>
<td>{{ $detail->SLEXPR }}</td>
<td>{{ $detail->SLPRDT }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@@ -1,166 +1,166 @@
<div style="margin:10px 10px 0 10px;">
<div class="row">
<div class="col-sm-12">
<div class="card text-white bg-secondary mb-3">
<div class="card-body">
<p class="card-text" style="color:#FFF">
<div class="row">
<div class="col-sm-12">
<div class="card text-white bg-secondary mb-3">
<div class="card-body">
<p class="card-text" style="color:#FFF">
<b>Current Hold Code:</b> {{ $order->SHHLDC }}<br>
<b>Order number:</b> {{ $request->order }}<br>
<b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}<br>
<b>Order Status:</b> {{ $order->SHOST }}<br>
<b>Fill Code:</b> {{ $order->SHALBO }}<br>
@foreach ($releases as $key=>$val)
<b>Open Releases on this order:</b> <a href="./{{ $val->SLONO }}-{{ $val->SLRLNO }}" style="color:white"> {{ $val->SLONO }}-{{ $val->SLRLNO }}
<i class="fa fa-eye pull-right"></i></a><br>
@endforeach
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="card text-white bg-info mb-3" id="div1">
<div class="card-header"><h5 class="card-title">Billed To <span class="text-end"># {{$order->SHCSTN}}</span></h5></div>
<div class="card-body">
<p class="card-text">
<b>Current Hold Code:</b> {{ $order->SHHLDC }}<br>
<b>Order number:</b> {{ $request->order }}<br>
<b>Order Date:</b> {{ date('m/d/Y', strtotime($order->SHORDT)) }}<br>
<b>Order Status:</b> {{ $order->SHOST }}<br>
<b>Fill Code:</b> {{ $order->SHALBO }}<br>
@foreach ($releases as $key=>$val)
<b>Open Releases on this order:</b> <a href="./{{ $val->SLONO }}-{{ $val->SLRLNO }}" style="color:white"> {{ $val->SLONO }}-{{ $val->SLRLNO }}
<i class="fa fa-eye pull-right"></i></a><br>
@endforeach
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="card text-white bg-info mb-3" id="div1">
<div class="card-header"><h5 class="card-title">Billed To <span class="text-end"># {{$order->SHCSTN}}</span></h5></div>
<div class="card-body">
<p class="card-text">
{!! (isset($order->SHSLNM)&&trim($order->SHSLNM)!=''?'<b>'.$order->SHSLNM."</b><br>":'') !!}
{!! (isset($order->SHSLA1)&&trim($order->SHSLA1)!=''?$order->SHSLA1."<br>":'') !!}
{!! (isset($order->SHSLA2)&&trim($order->SHSLA2)!=''?$order->SHSLA2."<br>":'') !!}
{!! (isset($order->SHSLCI)&&trim($order->SHSLCI)!=''?$order->SHSLCI.", ":'') !!}
{!! (isset($order->SHSLST)&&trim($order->SHSLST)!=''?$order->SHSLST.", ":'') !!}
{!! (isset($order->SHSLZP)&&trim($order->SHSLZP)!=''?$order->SHSLZP."<br>":'') !!}
{!! (isset($order->SHSLCT)&&trim($order->SHSLCT)!=''?$order->SHSLCT."<br>":'') !!}
{!! (isset($order->SHSLNM)&&trim($order->SHSLNM)!=''?'<b>'.$order->SHSLNM."</b><br>":'') !!}
{!! (isset($order->SHSLA1)&&trim($order->SHSLA1)!=''?$order->SHSLA1."<br>":'') !!}
{!! (isset($order->SHSLA2)&&trim($order->SHSLA2)!=''?$order->SHSLA2."<br>":'') !!}
{!! (isset($order->SHSLCI)&&trim($order->SHSLCI)!=''?$order->SHSLCI.", ":'') !!}
{!! (isset($order->SHSLST)&&trim($order->SHSLST)!=''?$order->SHSLST.", ":'') !!}
{!! (isset($order->SHSLZP)&&trim($order->SHSLZP)!=''?$order->SHSLZP."<br>":'') !!}
{!! (isset($order->SHSLCT)&&trim($order->SHSLCT)!=''?$order->SHSLCT."<br>":'') !!}
</p>
</div>
</div>
</div>
<div class="col-sm-6">
</p>
</div>
</div>
</div>
<div class="col-sm-6">
<div id="shipTo">
<div id="shipTo">
<div class="card text-white bg-info mb-3" id="div2">
<div class="card-header">
<div class="row">
<div class="col-sm-6">
<h5 class="card-title">Shipped To <span class="text-end"># {{$order->SHSTCN}}</span></h5>
</div>
<div class="col-sm-6 text-end">
@if ($order->SHHLDC=="F" && $order->SHOST=="Open" && $authuser[0]->COUNT!=0)
<h5 class="card-title" id="shipToEdit_click" data-toggle="modal" style="cursor:pointer"><i class="fa fa-edit pull-right" ></i></h5>
@endif
</div>
</div>
</div>
<div class="card-body">
<p class="card-text">
<div class="card text-white bg-info mb-3" id="div2">
<div class="card-header">
<div class="row">
<div class="col-sm-6">
<h5 class="card-title">Shipped To <span class="text-end"># {{$order->SHSTCN}}</span></h5>
</div>
<div class="col-sm-6 text-end">
@if ($order->SHHLDC=="F" && $order->SHOST=="Open" && $authuser[0]->COUNT!=0)
<h5 class="card-title" id="shipToEdit_click" data-toggle="modal" style="cursor:pointer"><i class="fa fa-edit pull-right" ></i></h5>
@endif
</div>
</div>
</div>
<div class="card-body">
<p class="card-text">
{!! (isset($order->SHSHNM)&&trim($order->SHSHNM)!=''?'<b>'.$order->SHSHNM."</b><br>":'') !!}
{!! (isset($order->SHSHA1)&&trim($order->SHSHA1)!=''?$order->SHSHA1."<br>":'') !!}
{!! (isset($order->SHSHA2)&&trim($order->SHSHA2)!=''?$order->SHSHA2."<br>":'') !!}
{!! (isset($order->SHSHA3)&&trim($order->SHSHA3)!=''?$order->SHSHA3."<br>":'') !!}
{!! (isset($order->SHSHCI)&&trim($order->SHSHCI)!=''?$order->SHSHCI.", ":'') !!}
{!! (isset($order->SHSHST)&&trim($order->SHSHST)!=''?$order->SHSHST.", ":'') !!}
{!! (isset($order->SHSHZP)&&trim($order->SHSHZP)!=''?$order->SHSHZP."<br>":'') !!}
{!! (isset($order->SHSHCT)&&trim($order->SHSHCT)!=''?$order->SHSHCT."<br>":'') !!}
{!! (isset($order->SHSHNM)&&trim($order->SHSHNM)!=''?'<b>'.$order->SHSHNM."</b><br>":'') !!}
{!! (isset($order->SHSHA1)&&trim($order->SHSHA1)!=''?$order->SHSHA1."<br>":'') !!}
{!! (isset($order->SHSHA2)&&trim($order->SHSHA2)!=''?$order->SHSHA2."<br>":'') !!}
{!! (isset($order->SHSHA3)&&trim($order->SHSHA3)!=''?$order->SHSHA3."<br>":'') !!}
{!! (isset($order->SHSHCI)&&trim($order->SHSHCI)!=''?$order->SHSHCI.", ":'') !!}
{!! (isset($order->SHSHST)&&trim($order->SHSHST)!=''?$order->SHSHST.", ":'') !!}
{!! (isset($order->SHSHZP)&&trim($order->SHSHZP)!=''?$order->SHSHZP."<br>":'') !!}
{!! (isset($order->SHSHCT)&&trim($order->SHSHCT)!=''?$order->SHSHCT."<br>":'') !!}
@if ($order->SHHLDC=="F" && $order->SHOST=="Open" && $authuser[0]->COUNT!=0)
<div class="btn btn-light" style="cursor:pointer; margin-top:15px; display:block" id="shipToCheckBox_click" data-toggle="modal">Ignore address checker error and process as is</div>
@endif
</p>
</div>
</div>
</div>
</div>
@if ($order->SHHLDC=="F" && $order->SHOST=="Open" && $authuser[0]->COUNT!=0)
<div class="btn btn-light" style="cursor:pointer; margin-top:15px; display:block" id="shipToCheckBox_click" data-toggle="modal">Ignore address checker error and process as is</div>
@endif
</p>
</div>
</div>
</div>
</div>
</div>
<div id="orderData">
<div id="orderData">
@if($order->SHHLDC=="F" && count($reasonForF)>=1)
@if($order->SHHLDC=="F" && count($reasonForF)>=1)
<div class="card">
<div class="card-body">
<div class="card-header">
<h5 class="card-title">Reasons for code F</h5>
</div>
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Date/Time</strong></td>
<td><strong>Message</strong></td>
<td class="text-end"><strong>Code</strong></td>
</tr>
</thead>
<tbody>
@foreach ($reasonForF as $key=>$whyF)
<tr>
<td>{{ date('m/d/Y', strtotime($whyF->AMDATENT ))}} {{ date('H:i:s', strtotime($whyF->AMTIMENT ))}}</td>
<td>{{ $whyF->AMCOMM }}</td>
<td class="text-end">{{ $whyF->AMERRCDE }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div style="height:20px;"></div>
@endif
<div class="card">
<div class="card-body">
<div class="card-header">
<h5 class="card-title">Reasons for code F</h5>
</div>
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Date/Time</strong></td>
<td><strong>Message</strong></td>
<td class="text-end"><strong>Code</strong></td>
</tr>
</thead>
<tbody>
@foreach ($reasonForF as $key=>$whyF)
<tr>
<td>{{ date('m/d/Y', strtotime($whyF->AMDATENT ))}} {{ date('H:i:s', strtotime($whyF->AMTIMENT ))}}</td>
<td>{{ $whyF->AMCOMM }}</td>
<td class="text-end">{{ $whyF->AMERRCDE }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div style="height:20px;"></div>
@endif
@if($order->SHHLDC!="F" && count($reasonOther['message'])>=1)
<div class="card">
<div class="card-body">
<div class="card-header">
<h5 class="card-title">Exemption Reasons</h5>
</div>
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Message</strong></td>
</tr>
</thead>
<tbody>
@foreach ($reasonOther['message'] as $key=>$why)
<tr>
<td>{{ $why }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div style="height:20px;"></div>
@endif
@if($order->SHHLDC!="F" && count($reasonOther['message'])>=1)
<div class="card">
<div class="card-body">
<div class="card-header">
<h5 class="card-title">Exemption Reasons</h5>
</div>
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Message</strong></td>
</tr>
</thead>
<tbody>
@foreach ($reasonOther['message'] as $key=>$why)
<tr>
<td>{{ $why }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div style="height:20px;"></div>
@endif
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Date</strong></td>
<td><strong>Comment</strong></td>
<td class="text-end"><strong>Print Code</strong></td>
</tr>
</thead>
<tbody>
@foreach ($comments as $key=>$comment)
<tr>
<td>{{ date('m/d/Y', strtotime($comment->SCCRDT ))}}</td>
<td>{{ $comment->SCCM }}</td>
<td class="text-end">{{ $comment->SCCMPR }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr>
<td><strong>Date</strong></td>
<td><strong>Comment</strong></td>
<td class="text-end"><strong>Print Code</strong></td>
</tr>
</thead>
<tbody>
@foreach ($comments as $key=>$comment)
<tr>
<td>{{ date('m/d/Y', strtotime($comment->SCCRDT ))}}</td>
<td>{{ $comment->SCCM }}</td>
<td class="text-end">{{ $comment->SCCMPR }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
-5
View File
@@ -1,5 +0,0 @@
# Replenishment
Configure replenishment thresholds, review stock gaps, and monitor refill activity.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Reporting
Provide operational reports for closed orders, user efficiency, and transaction history.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Security
Control roles, permissions, audit visibility, and protected administration actions.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Sentinel Integration
Track Sentinel API activity, inbound receiver events, and interface status.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Shipping
Monitor shipment activity, closed orders, pending loads, and dispatch status.
Contains actual sample Blade views and placeholder service provider/routes only.
-5
View File
@@ -1,5 +0,0 @@
# Transportation
Manage truck closure, freight terms, trailers, and transport operations.
Contains actual sample Blade views and placeholder service provider/routes only.
+1 -1
View File
@@ -4,4 +4,4 @@ sonar-scanner \
-Dsonar.projectKey=Warehouse-Management-System \
-Dsonar.sources=. \
-Dsonar.host.url=http://192.168.1.2:9001 \
-Dsonar.login=sqp_4c20c01cef71e0a3d02c184a21625dd73d5f7362
-Dsonar.token="$SONAR_TOKEN"