NonInventPurchasingSystem/CPRNIMS.WebApps/Views/ItemMgmt/ItemCartInternal.cshtml
2026-01-20 07:44:30 +08:00

73 lines
3.6 KiB
Plaintext

<body>
<div class="container-fluid">
<script src="~/JsFunctions/Items/ItemCartInternal.js"></script>
<div style="display: flex; flex-direction: column; align-items: center;">
<h2>Item Cart</h2>
</div>
<label for="totalSelected" style="font-size:medium;">Total Selected : </label>
<label id="totalSelected" style="margin-bottom:20px; width:50px; font-weight:bold; color:red;"></label>
<div class="section-container shadow-lg p-3 mb-5 bg-white rounded">
<div class="header-container">
<h3 style="display: flex; flex-direction: column; align-items: center;">For Internal Item Request</h3>
</div>
<table id="ItemCartTable" class="row-border" cellspacing="0" width="100%">
<thead>
<tr>
<th>
Select All
<input id="selectAllHeaderCheckbox" type="checkbox" class="selectAllCheckbox" style="margin-left:10px;" />
</th>
<th>ItemNo</th>
<th>ItemName</th>
<th>CategoryName</th>
<th>PRTypeId</th>
<th>Qty</th>
<th>Action</th>
<th hidden></th>
<th hidden></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div style="margin-top:20px;" class="d-flex justify-content-end">
<a class="btn btn-primary" asp-area="" asp-controller="ItemMgmt" asp-action="Index" style="margin-bottom:20px; margin-right:10px;">
Back
</a>
<button id="btnSubmitItem" type="button" class="btn btn-success" onclick="submitItem();" style="margin-bottom:20px; margin-right:10px;">
Submit
</button>
</div>
</div>
<!-- Modal addDateNeeded -->
<div class="modal fade custom-modal-backdrop" id="addDateNeeded" tabindex="-1" aria-labelledby="addDateNeededLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 id="addDateNeededLabel" class="modal-title" style="text-align: center; margin-left: auto; margin-right: auto; color:green">
Choose Date Needed before to proceed
</h5>
</div>
<div class="modal-body" style="display: flex; flex-direction: column; align-items: center;">
<div id="myDivId" style="width: 80%; margin-bottom: 20px;">
<label id="labelDateNeeded" for="dateNeeded" style="margin-bottom: 5px;">Date Needed</label>
<input type="date" class="datetimepicker-input" style="width: 100%;" id="dateNeeded" name="dateNeeded" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Cancel</button>
<button type="button" id="btnConfirmUpdate" class="btn btn-success">Submit</button>
</div>
</div>
</div>
</div>
<input hidden id="roleRights" value="@ViewBag.UserRoles" />
<div id="overlay" class="overlay" style="display: none;">
<div id="loader" class="loader"></div>
</div>
</div>
</body>