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

88 lines
4.5 KiB
Plaintext

<body>
<div class="container-fluid">
<input hidden id="requestTypeId" value="@ViewBag.TypeOfRequest" />
<div class="section-container shadow-lg p-3 mb-5 bg-white rounded">
<div class="header-container">
<h3 id="normalPR" style="display: flex; flex-direction: column; align-items: center;">P.R. Item Cart Request</h3>
<h3 id="internalRequest" style="display: flex; flex-direction: column; align-items: center;">Internal Cart Item Request</h3>
<h3 id="specialPR" style="display: flex; flex-direction: column; align-items: center;">Assisted Item Cart Request</h3>
</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>
<table id="ItemCartTable" class="row-border" cellspacing="0" width="100%">
<thead>
<tr>
<th>
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>
<th hidden></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="showModal();" 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" data-bs-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 id="addDateNeededLabel" class="modal-title">
Fill all fields below, before to proceed
</h5>
</div>
<div class="modal-body">
<div class="form-group">
<label id="labelDateNeeded" for="dateNeeded" style="margin-bottom: 5px;">Date Needed</label>
<input type="date" class="form-control"
style="width: 100%;margin-bottom:10px;" id="dateNeeded" name="dateNeeded" />
</div>
<div class="form-group">
<label for="requestorRemarks">Remarks</label>
<textarea id="requestorRemarks" class="form-control"
style="width: 100%; height: 100px;margin-bottom:10px;"></textarea>
</div>
<div class="form-group">
<label id="labelChargeTo" for="chargeTo">Charge To</label>
<select id="chargeTo" class="form-control" style="margin-bottom:10px;" name="chargeTo">
</select>
<input type="hidden" id="departmentId" name="departmentId" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Cancel</button>
<button type="button" id="btnConfirmUpdate" onclick="postPutPurchase()" class="btn btn-success">Submit</button>
</div>
</div>
</div>
</div>
</div>
@await Html.PartialAsync("PagesView/Item/_Scripts")
<script src="~/JsFunctions/Items/ItemCartV2.js"></script>
</body>