NonInventPurchasingSystem/CPRNIMS.WebApps/Views/Shared/PagesView/Canvass/_CanvassReport.cshtml
2026-01-20 07:44:30 +08:00

258 lines
14 KiB
Plaintext

<body>
<!-- Modal addRemarksUpdate -->
<div class="modal fade custom-modal-backdrop" id="addRemarksUpdate"
tabindex="-1" aria-labelledby="approveLabel" 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 viewByItemSuppPRNo to show the PRNo by Item -->
<div class="modal fade custom-modal-backdrop" id="viewByItemSuppPRNo"
tabindex="-1" aria-labelledby="ModalLabel" data-bs-backdrop="static">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="ModalLabel">Supplier Bidding Item With PRNo</h2>
</div>
<br />
<div class="modal-body">
<div style="margin-bottom:10px;font-size:large">
<label for="supplierName">Supplier:</label>
<label id="supplierName"></label>
<input hidden id="email-Address" />
</div>
<br />
<table id="WPRDataTable" class="row-border" style="width: 100%;">
<thead class="thead-dark">
<tr>
<th>PRNo</th>
<th>ItemNo</th>
<th>ItemName</th>
<th>Specs</th>
<th>Qty</th>
<th>Price</th>
<th>Manufacturer</th>
<th hidden></th>
<th hidden></th>
<th hidden></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Back</button>
</div>
</div>
</div>
</div>
<!-- Modal viewByItemSupplier -->
<div class="modal fade custom-modal-backdrop" id="viewByItemSupplier"
tabindex="-1" aria-labelledby="ModalLabel" data-bs-backdrop="static">
<div class="modal-dialog custom-modal-tracker">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="ModalLabel">Supplier Bidding List</h2>
</div>
<div class="modal-body">
<div class="p-2 mb-3 rounded border shadow-sm" style="background-color:#f9f9f9;">
<div class="row g-3 align-items-center">
<!-- PR No -->
<div class="col-md-3">
<small class="text-muted">PR No</small>
<div id="label-prNo" class="fw-semibold fs-5" style="color:#00796b;"></div>
</div>
<!-- Item No -->
<div class="col-md-3">
<small class="text-muted">Item No</small>
<div id="label-itemNo" class="fw-semibold fs-5" style="color:#00796b;"></div>
</div>
<!-- Quantity -->
<div class="col-md-3">
<small class="text-muted">Quantity</small>
<div id="label-qty" class="fw-semibold fs-5" style="color:#00796b;"></div>
</div>
<!-- Item Name -->
<div class="col-md-12">
<small class="text-muted">Item Name</small>
<div id="label-itemName" class="fw-semibold fs-5" style="color:#00796b;"></div>
</div>
</div>
</div>
<table id="BiddingSuggestDataTable" class="row-border"
cellspacing="0" width="100%" style="table-layout:fixed">
<colgroup>
<col style="width:9%">
<col style="width:9%">
<col style="width:16%">
<col style="width:18%">
<col style="width:18%">
<col style="width:20%">
<col style="width:10%">
</colgroup>
<thead>
<tr>
<th class="price">Price</th>
<th class ="qty">Qty</th>
<th class="emailAdd">E-Address</th>
<th class="suppName">Sup.Name</th>
<th class="Manufacturer">Manufacturer</th>
<th class="Specification">Specification</th>
<th class="action">Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<input hidden id="canvassDetailId">
<input hidden id="canvassId">
<div class="modal-footer">
<button type="button" class="btn btn-secondary" onclick="refreshBidTable()" data-bs-dismiss="modal">Back</button>
<button type="button" id="btnCanvassApproved" onclick="postApprovedSupp();" class="btn btn-warning">Submit</button>
<button type="button" id="btnViewToPrintItem" onclick="viewItemToPrint()" class="btn btn-primary">Print</button>
</div>
<br />
<br />
<div class="container-fluid p-3">
<div class="header-container">
<h5 class="modal-title" id="ModalLabel">Alternative Offer</h5>
</div>
<table id="altarnativeTable" class="row-border" cellspacing="0" width="100%">
<colgroup>
<col style="width:10%">
<col style="width:60%">
<col style="width:30%">
</colgroup>
<thead>
<tr>
<th>Approved</th>
<th>Description</th>
<th>SupplierName</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Modal viewSupplierBid -->
<div class="modal fade custom-modal-backdrop" id="viewSupplierBid"
tabindex="-1" aria-labelledby="ModalLabel" data-bs-backdrop="static">
<div class="modal-dialog modal-xl">
<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-4">
<input hidden id="itemNo">
<input hidden id="supplierId">
<input hidden id="canvassSupplierId">
<input hidden id="token">
<input hidden id="prDetailsId">
<div class="form-group">
<label for="itemName">Item Name</label>
<input disabled readonly class="form-control" style="margin-bottom:5px;" id="itemName">
</div>
<div class="form-group">
<label for="itemDescription">Description</label>
<textarea disabled readonly id="itemDescription" style="width: 100%; height: 85px;"></textarea>
</div>
<div class="form-group">
<label for="itemQty">Qty</label>
<input id="itemQty" class="form-control" style="margin-bottom:5px;" name="itemQty" />
</div>
<div class="form-group">
<label for="uom">UOM</label>
<input id="uom" class="form-control" style="margin-bottom:5px;" name="uom" />
</div>
<div class="form-group">
<label for="unitPrice">UnitPrice</label>
<input type="number" id="unitPrice" class="form-control" style="margin-bottom:5px;" name="unitPrice" />
</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-4">
<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="specification">Specification</label>
<textarea id="specification" style="width: 100%; height: 130px;"></textarea>
</div>
<div class="form-group">
<label for="commitmentDate">Delivery Date</label>
<input type="date" 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 class="col-md-4">
<img id="itemPictureImage" alt="itemPictureImage"
width="450" height="450"
class="img-fluid"
style="margin-bottom:5px; border-radius:15px; box-shadow:15px; height: 450px; width: 450px; object-fit: cover;">
<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>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Back</button>
<button type="button" id="btnReset" onclick="putSuppBidDetails(true)" class="btn btn-dark">Reset</button>
<button type="button" id="btnUpdateUnitPrice" onclick="putSuppBidDetails(false)" class="btn btn-warning">Update Details</button>
<button type="button" id="btnSuggest" onclick="postSuggestedSupp()" class="btn btn-success">Approved</button>
</div>
</div>
</div>
</div>
@await Html.PartialAsync("PagesView/Canvass/_Suppliers")
@await Html.PartialAsync("PagesView/Canvass/_CanvassScript")
<link href="~/css/canvass/canvass.css" rel="stylesheet" />
</body>