NonInventPurchasingSystem/CPRNIMS.WebApps/Views/PRMgmt/Index.cshtml
2026-02-19 17:23:28 +08:00

82 lines
4.0 KiB
Plaintext

<body>
<div class="container-fluid">
<div class="table-container shadow-lg p-3 mb-5 bg-white rounded">
<!-- Tab Navigation - Above Everything -->
<div class="pr-tabs-header">
<div class="pr-tabs-nav">
<button class="pr-tab-btn active" data-tab="pr-list" data-endpoint="/PRMgmt/GetAllPR">
All PR
</button>
<button class="pr-tab-btn" data-tab="pr-approved" data-endpoint="/PRMgmt/GetApprovedPR">
Approved PR
</button>
<button class="pr-tab-btn" data-tab="pr-removed" data-endpoint="/PRMgmt/GetRemovedPR">
Deleted PR
</button>
</div>
</div>
<!-- Page Heading - Left Aligned Below Tabs -->
<div class="page-header-section">
<h2 id="pageTitle" class="page-heading">All Purchase Requests</h2>
</div>
<div id="TabbedContainer">
</div>
</div>
<!-- Modal addRemarksUpdate -->
<div class="modal fade custom-modal-backdrop" id="addRemarksUpdate"
tabindex="-1" aria-labelledby="approveLabel" aria-hidden="true" data-bs-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 id="approveLabel" class="modal-title">
Put remarks before to proceed
</h5>
</div>
<div class="modal-body">
<label id="labelremarks" for="remarks" style="margin-bottom: 5px;">Remarks</label>
<textarea type="text" id="remarks" class="form-control" name="remarks" rows="4" cols="50"
placeholder="Input here..."></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Back</button>
<button type="button" id="btnAddRemarks" onclick="holdItem(3)" class="btn btn-success">Submit</button>
</div>
</div>
</div>
</div>
<!-- Modal viewItemRemovalRemarks -->
<div class="modal fade custom-modal-backdrop" id="viewItemRemovalRemarks"
tabindex="-1" aria-labelledby="approveLabel" aria-hidden="true" data-bs-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 id="approveLabel" class="modal-title">
Put remarks before to remove
</h5>
</div>
<div class="modal-body">
<label id="labelremarks" for="remove-remarks" style="margin-bottom: 5px;">Remarks</label>
<textarea type="text" id="remove-remarks" name="remove-remarks" rows="4" cols="50"
class="form-control" placeholder="Input here..."></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Back</button>
<button type="button" id="btnItemRemovalRemarks" onclick="prItemRemoval()" class="btn btn-success">Submit</button>
</div>
</div>
</div>
</div>
</div>
<link href="~/css/pr/TrackingV3.css" rel="stylesheet" />
<link href="~/css/pr/ButtonStyleV2.css" rel="stylesheet" />
<link href="~/css/pr/PRTabs.css" rel="stylesheet" />
@await Html.PartialAsync("PagesView/PR/_PRTracking")
<script src="~/JsFunctions/PR/PRV8.js"></script>
<script src="~/JsFunctions/PR/PRTabs.js"></script>
@await Html.PartialAsync("PagesView/PR/_PRScripts")
</body>