188 lines
9.5 KiB
Plaintext
188 lines
9.5 KiB
Plaintext
<!-- Modal addItemWOCanvass-->
|
|
<div class="modal fade custom-modal-backdrop" id="addItemWOCanvass" tabindex="-1"
|
|
aria-labelledby="addItemLabel" data-bs-backdrop="static">
|
|
<div class="modal-dialog custom-modal-PR-List">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h3 id="addItemLabel" class="modal-title">
|
|
Approved PR List
|
|
</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<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>
|
|
<br />
|
|
<table id="PRItemTable" class="row-border" style="width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align:center;width:6%;">
|
|
All
|
|
<input id="selectAllPOPRId" type="checkbox" class="selectAllPOPRId" />
|
|
</th>
|
|
<th style="width:6%;">PRNo</th>
|
|
<th style="width:7%;">Qty</th>
|
|
<th style="width:7%;">UOM</th>
|
|
<th style="width:9%;">ItemNo</th>
|
|
<th style="width:20%;">ItemName</th>
|
|
<th style="width:25%;">Description</th>
|
|
<th style="width:15%;">PRBy</th>
|
|
<th style="width:10%;">PRDate</th>
|
|
<th style="width:6%;">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Back</button>
|
|
<button type="button" id="btnAddItem" onclick="AddItem()" class="btn btn-success">Add</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Modal viewPRForTagging-->
|
|
<div class="modal fade custom-modal-backdrop" id="viewPRForTagging" tabindex="-1"
|
|
aria-labelledby="addItemLabel" data-bs-backdrop="static">
|
|
<div class="modal-dialog custom-modal-PR-List">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h3 id="addItemLabel" class="modal-title">
|
|
PR List
|
|
</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-group">
|
|
<label for="t-supplierName" style="font-weight:bold">Supplier:</label>
|
|
<strong id="t-supplierName" style="text-decoration:underline"></strong>
|
|
</div>
|
|
<hr />
|
|
<div class="row">
|
|
<div class="col-4">
|
|
<div class="form-group">
|
|
<label for="filterType">Filter Type:</label>
|
|
<select class="form-control" name="filterType" id="filterType"
|
|
onchange="viewPRForTagging('',this.value)"
|
|
style="margin-bottom: 5px;">
|
|
<option value="5" disabled selected>-Select Filter Type-</option>
|
|
<option value="0">Not Yet Tagged</option>
|
|
<option value="1">All New PR</option>
|
|
<option value="2">Already Tagged</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<div class="form-group">
|
|
<label for="isActive-status">Tagging Status:</label>
|
|
<select class="form-control" name="isActive-status" id="isActive-status"
|
|
style="margin-bottom: 5px;">
|
|
<option value="true">Active</option>
|
|
<option value="false">InActive</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<div class="form-group">
|
|
<label for="totalSelTag" style="font-size:medium;">Total Selected : </label>
|
|
<label id="totalSelTag" style="margin-bottom:20px; width:50px; font-weight:bold; color:red;"></label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<br />
|
|
<table id="ItemForTaggingTable" class="row-border" style="width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
All
|
|
<input id="selectAllCheckboxCanvass" type="checkbox" class="selectAllCheckboxCanvass" style="margin-left:10px;" />
|
|
</th>
|
|
<th style="width:6%;">PRNo</th>
|
|
<th style="width:7%;">Qty</th>
|
|
<th style="width:7%;">UOM</th>
|
|
<th style="width:9%;">ItemNo</th>
|
|
<th style="width:20%;">ItemName</th>
|
|
<th style="width:25%;">Description</th>
|
|
<th style="width:15%;">PRBy</th>
|
|
<th style="width:10%;">PRDate</th>
|
|
<th style="width:6%;">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Back</button>
|
|
<button type="button" id="btnTaggItem" onclick="postPutItemTagging()" class="btn btn-success">Submit</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input hidden id="supplierId" name="supplierId" />
|
|
<!-- Modal viewPRItemDetail -->
|
|
<div class="modal fade custom-modal-backdrop" id="viewPRItemDetail"
|
|
tabindex="-1" aria-labelledby="ModalLabel" data-bs-backdrop="static">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="ModalLabel">PR Item Details</h5>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<!-- Left Side (Form) -->
|
|
<div class="col-md-6">
|
|
<input hidden id="prDetailsId">
|
|
<div class="form-group">
|
|
<label for="itemName">Item Name</label>
|
|
<textarea disabled id="itemName" class="form-control" style="height: 70px;"></textarea>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="itemDescription">Description</label>
|
|
<textarea disabled id="itemDescription" class="form-control" style="height: 115px;"></textarea>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="specification">Specification</label>
|
|
<textarea id="specification" class="form-control" style="height: 120px;"></textarea>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<div class="form-group">
|
|
<label for="itemQty">Qty</label>
|
|
<input type="number" id="itemQty" class="form-control" name="itemQty" />
|
|
</div>
|
|
</div>
|
|
<div class="col-6">
|
|
<div class="form-group">
|
|
<label for="uomName">UOM</label>
|
|
<input type="search" id="uomName" class="form-control" name="uomName" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" id="uomId" name="uomId" />
|
|
</div>
|
|
|
|
<!-- Right Side (Image) -->
|
|
<div class="col-md-6 d-flex justify-content-center align-items-center">
|
|
<div class="text-center">
|
|
<img id="itemPictureImage" alt="itemPictureImage"
|
|
class="img-fluid"
|
|
style="max-width: 100%; height: auto; margin-bottom:10px; border-radius:15px; box-shadow:0 4px 10px rgba(0,0,0,0.2);">
|
|
<input type="file" id="itemPictureImageInput"
|
|
accept="image/png, image/jpeg" style="display: none;">
|
|
<input type="hidden" id="itemAttachId" name="itemAttachId" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Back</button>
|
|
<button type="button" id="btnDeniedItem" onclick="viewDeniedForm(3)" class="btn btn-danger">Deny</button>
|
|
<button type="button" id="btnUpdateItem" onclick="putItemDetails()" class="btn btn-warning">Update Details</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input hidden id="denied-itemNo" />
|