| 23405 |
amit.gupta |
1 |
<style>
|
|
|
2 |
.btn:hover{
|
|
|
3 |
color: grey;
|
|
|
4 |
text-decoration: none;
|
|
|
5 |
}
|
|
|
6 |
.btn-primary:hover{
|
|
|
7 |
color: grey;
|
|
|
8 |
text-decoration: none;
|
|
|
9 |
}
|
|
|
10 |
.retailer-details{
|
|
|
11 |
cursor:pointer;
|
|
|
12 |
}
|
|
|
13 |
</style>
|
|
|
14 |
|
|
|
15 |
<section class="wrapper">
|
|
|
16 |
<div class="row">
|
|
|
17 |
<div class="col-lg-12">
|
|
|
18 |
<h3 class="page-header"><i class="icon_document_alt"></i>Pending Indent Items</h3>
|
|
|
19 |
<ol class="breadcrumb">
|
|
|
20 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
21 |
<li><i class="icon_document_alt"></i>Pending Indent Items</li>
|
|
|
22 |
</ol>
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
<div>
|
|
|
27 |
<div class="row">
|
|
|
28 |
<div class="col-lg-8" id="indent-container">
|
|
|
29 |
<table class="table table-striped table-condensed table-bordered" id="entire-catalog-table">
|
|
|
30 |
<thead>
|
|
|
31 |
<tr>
|
|
|
32 |
<th>Id</th>
|
|
|
33 |
<th>Description</th>
|
|
|
34 |
<th>Selling Price</th>
|
|
|
35 |
<th>MOP</th>
|
|
|
36 |
<th>Stock</th>
|
|
|
37 |
<th>30 days Sale</th>
|
|
|
38 |
<th>Requested Quantity</th>
|
|
|
39 |
<th>Allocated Quantity</th>
|
|
|
40 |
</tr>
|
|
|
41 |
</thead>
|
|
|
42 |
<tbody>
|
|
|
43 |
#foreach( $tagListing in $tagListings )
|
|
|
44 |
#set($requestedQty=0)
|
|
|
45 |
#if($pendingIndentItemIdMap.get($tagListing.getItemId()) and $pendingIndentItemIdMap.get($tagListing.getItemId()).getRequestedQuantity() > 0 )
|
|
|
46 |
#set($requestedQty=$pendingIndentItemIdMap.get($tagListing.getItemId()).getRequestedQuantity())
|
|
|
47 |
#set($allocatedQty=$pendingIndentItemIdMap.get($tagListing.getItemId()).getAllocatedQuantity())
|
|
|
48 |
#end
|
|
|
49 |
<tr>
|
|
|
50 |
<td>$tagListing.getItemId()</td>
|
|
|
51 |
<td>$tagListing.getItemDescription()</td>
|
|
|
52 |
<td>$tagListing.getSellingPrice()</td>
|
|
|
53 |
<td>$tagListing.getMop()</td>
|
|
|
54 |
<td>$tagListing.getStockInHand()</td>
|
|
|
55 |
<td>$tagListing.getLast30DaysSale()</td>
|
|
|
56 |
<td>$requestedQty</td>
|
|
|
57 |
<td>$allocatedQty</td>
|
|
|
58 |
</tr>
|
|
|
59 |
#end
|
|
|
60 |
</tbody>
|
|
|
61 |
</table>
|
|
|
62 |
</div>
|
|
|
63 |
</div>
|
|
|
64 |
</div>
|
|
|
65 |
</section>
|
|
|
66 |
<script type="text/javascript">
|
|
|
67 |
/* Initialise the table with the required column ordering data types */
|
|
|
68 |
$(document).ready(function() {
|
|
|
69 |
indentTable = $('#entire-catalog-table').DataTable();
|
|
|
70 |
});
|
|
|
71 |
|
|
|
72 |
</script>
|