NonInventPurchasingSystem/CPRNIMS.WebApps/Views/PRMgmt/PRTracking.cshtml

137 lines
6.4 KiB
Plaintext

<body>
<div class="container-fluid">
<div class="header-container" style="margin-top:-40px !important">
<h2>PR Tracking</h2>
</div>
<div class="table-container shadow-lg p-3 mb-3 bg-white rounded" style="overflow-x: auto;height:110%">
<br />
<div class="d-flex flex-wrap gap-2 mb-2">
<!-- Status dropdown -->
<div class="search-wrapper" style="min-width:170px; flex:1;">
<div class="search-inner" style="padding-right:4px;">
<span class="search-icon">
<svg width="14" height="14" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2.5">
<path d="M3 6h18M7 12h10M11 18h2" />
</svg>
</span>
<select id="srchStatus" class="search-input" style="cursor:pointer;">
<option value="">All Statuses</option>
<!-- populated dynamically from first API response -->
</select>
</div>
</div>
<!-- PR No -->
<div class="search-wrapper" style="min-width:150px; flex:1;">
<div class="search-inner">
<span class="search-icon">
<svg width="14" height="14" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2.5">
<circle cx="11" cy="11" r="8" />
<path d="m21 21-4.35-4.35" />
</svg>
</span>
<input id="srchPRNo" class="search-input"
placeholder="PR Number…" autocomplete="off" />
<span class="search-clear aprv-search-clear"
data-target="#srchPRNo" title="Clear">✕</span>
</div>
</div>
<div class="search-wrapper" style="min-width:150px; flex:1;">
<div class="search-inner">
<span class="search-icon">
<svg width="14" height="14" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2.5">
<circle cx="11" cy="11" r="8" />
<path d="m21 21-4.35-4.35" />
</svg>
</span>
<input id="srchItemNo" class="search-input"
placeholder="Item Number…" autocomplete="off" />
<span class="search-clear aprv-search-clear"
data-target="#srchItemNo" title="Clear">✕</span>
</div>
</div>
<!-- Item Name -->
<div class="search-wrapper" style="min-width:200px; flex:2;">
<div class="search-inner">
<span class="search-icon">
<svg width="14" height="14" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2.5">
<circle cx="11" cy="11" r="8" />
<path d="m21 21-4.35-4.35" />
</svg>
</span>
<input id="srchItem" class="search-input"
placeholder="Item Name…" autocomplete="off" />
<span class="search-clear aprv-search-clear"
data-target="#srchItem" title="Clear">✕</span>
</div>
</div>
<!-- Department -->
<div class="search-wrapper" style="min-width:170px; flex:1;">
<div class="search-inner">
<span class="search-icon">
<svg width="14" height="14" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2.5">
<circle cx="11" cy="11" r="8" />
<path d="m21 21-4.35-4.35" />
</svg>
</span>
<input id="srchDept" class="search-input"
placeholder="Department…" autocomplete="off" />
<span class="search-clear aprv-search-clear"
data-target="#srchDept" title="Clear">✕</span>
</div>
</div>
</div>
<table id="PRTable" class="row-border" width="100%">
<thead>
<tr>
<th >Status</th>
<th>PRNo</th>
<th >NewPRNo</th>
<th >ItemNo</th>
<th >UOM</th>
<th >PRQty</th>
<th >ItemName</th>
<th >ItemDescription</th>
<th >Specification</th>
<th >Category</th>
<th >PRType</th>
<th >PRBy</th>
<th >PRDate</th>
<th >Department</th>
<th >Remarks</th>
<th>AttestedBy</th>
<th >ApprovedBy</th>
<th >CanvassNo</th>
<th >CanvassBy</th>
<th >CanvassDate</th>
<th >PONo</th>
<th >POBy</th>
<th >PODate</th>
<th>POQty</th>
<th >RRNo</th>
<th >RRBy</th>
<th >RRDate</th>
<th >ReceivedQty</th>
<th >ReceivedBy</th>
<th >ReceivedDate</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<link href="~/css/pr/trackingdetail.css" rel="stylesheet" />
<script src="~/jsfunctions/pr/DetailedPRTracking.js"></script>
@await Html.PartialAsync("PagesView/PR/_PRScripts")
</body>