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

180 lines
9.7 KiB
Plaintext

<body>
<div class="container-fluid">
<div class="table-container shadow-lg p-3 mb-3 bg-white rounded">
<div class="header-container">
<h2 style="display: flex; flex-direction: column; align-items: center;">Canvass Bidding List Per Item</h2>
</div>
<br />
<table id="PRTable" class="row-border" cellspacing="0" width="100%">
<thead>
<tr>
<th>PONo</th>
<th>ItemNo</th>
<th>ItemName</th>
<th>ItemSpecs</th>
<th>Qty</th>
<th>Action</th>
<th hidden></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</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" style="text-align: center; margin-left: auto; margin-right: auto; color:green">
Put remarks before to proceed
</h5>
</div>
<div class="modal-body" style="display: flex; flex-direction: column; align-items: center;">
<div id="myDivId2" style="width: 80%; margin-bottom: 20px;">
</div>
<label id="labelremarks" for="itemCode" style="margin-bottom: 5px;">Remarks</label>
<textarea type="text" id="remarks" 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="confirmPRApproveReject()" class="btn btn-success">Submit</button>
</div>
</div>
</div>
</div>
<!-- Modal viewSupplierByItem -->
<div class="modal fade custom-modal-backdrop" id="viewSupplierByItem"
tabindex="-1" aria-labelledby="ModalLabel" aria-hidden="true" data-bs-backdrop="static">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header" style="display: flex; flex-direction: column; align-items: center;">
<h2 class="modal-title" id="ModalLabel">Supplier Bidding List</h2>
</div>
<br />
<div class="modal-body">
<div class="table-container shadow-lg p-3 mb-5 bg-white rounded">
<table id="ItemDataTable" class="row-border" style="width: 100%;">
<thead class="thead-dark">
<tr>
<th>ItemNo</th>
<th>ItemName</th>
<th>Specs</th>
<th>Qty</th>
<th>E-Address</th>
<th>Sup.Name</th>
<th>Manufacturer</th>
<th>Price</th>
<th>Action</th>
<th hidden></th>
<th hidden></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<input hidden id="canvassDetailId">
<input hidden id="canvassId">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Back</button>
</div>
</div>
</div>
</div>
<!-- Modal viewSupplierBid -->
<div class="modal fade custom-modal-backdrop" id="viewSupplierBid" tabindex="-1"
aria-labelledby="ModalLabel" aria-hidden="true" data-bs-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="ModalLabel">Supplier Bid Details</h5>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-6">
<input hidden id="itemNo">
<input hidden id="supplierId">
<input hidden id="canvassSupplierId">
<input hidden id="token">
<input hidden id="PODetailId">
<div class="form-group">
<label for="itemName">Item Name</label>
<input readonly class="form-control" style="margin-bottom:5px;" id="itemName">
</div>
<div class="form-group">
<label for="itemQty">Qty</label>
<input readonly id="itemQty" class="form-control" style="margin-bottom:5px;" name="itemQty" />
</div>
<div class="form-group">
<label for="terms">Terms</label>
<input type="text" id="terms" class="form-control" style="margin-bottom:5px;" name="terms" />
</div>
<div class="form-group">
<label for="price">Price</label>
<input type="number" id="price" class="form-control" style="margin-bottom:5px;" name="price" />
</div>
<div class="form-group">
<label for="currencyId">Currency</label>
<select class="form-control" name="currencyId" id="currencyId"
style="margin-bottom:5px;">
<option disabled>-Select Currency-</option>
<option value="1">Peso</option>
<option value="2">USD</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="itemSpecs">Item Specification</label>
<textarea readonly id="itemSpecs" style="width: 100%; height: 100px;"></textarea>
</div>
<div class="form-group">
<label for="commitmentDate">CommitmentDate</label>
<input type="text" id="commitmentDate" class="form-control" style="margin-bottom:5px;" name="commitmentDate" />
</div>
<div class="form-group">
<label for="manufacturer">Manufacturer</label>
<input type="text" id="manufacturer" class="form-control" style="margin-bottom:5px;" name="manufacturer" />
</div>
<div class="form-group">
<label for="supplierRemarks">Remarks</label>
<textarea id="supplierRemarks" class="form-control"></textarea>
</div>
</div>
</div>
<hr />
<div>
<img id="itemPictureImage" alt="itemPictureImage" width="450" class="img-fluid" style="margin-bottom:5px; border-radius:15px; box-shadow:15px;">
<input type="file" id="itemPictureImageInput" accept="image/png, image/jpeg" style="display: none; margin-bottom:5px; border-radius:15px; box-shadow:15px;">
<input type="hidden" id="itemAttachId" name="itemAttachId" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Back</button>
<button type="button" id="btnPostApproved" onclick="postApprovedSupplier();" class="btn btn-warning">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>
<script src="~/JsFunctions/PO/POV2.js"></script>
@await Html.PartialAsync("PagesView/PO/_POScripts")
</div>
</body>