| 21987 |
kshitij.so |
1 |
<style>
|
|
|
2 |
.table-striped > tbody > tr:nth-child(odd) > td{
|
|
|
3 |
background: white;
|
|
|
4 |
background-color: white;
|
|
|
5 |
}
|
|
|
6 |
.table-striped > tbody > tr:nth-child(even) > td{
|
|
|
7 |
background: white;
|
|
|
8 |
background-color:white;
|
|
|
9 |
}
|
|
|
10 |
.table-striped > tbody > tr:hover > td,
|
|
|
11 |
.table-striped > tbody > tr:hover {
|
| 23181 |
ashik.ali |
12 |
background-color: #e98c8f;
|
| 21987 |
kshitij.so |
13 |
color:white;
|
|
|
14 |
}
|
|
|
15 |
.btn:hover{
|
|
|
16 |
color: grey;
|
|
|
17 |
text-decoration: none;
|
|
|
18 |
}
|
| 30601 |
amit.gupta |
19 |
|
|
|
20 |
.btn-primary:hover {
|
|
|
21 |
color: grey;
|
|
|
22 |
text-decoration: none;
|
| 21987 |
kshitij.so |
23 |
}
|
| 30601 |
amit.gupta |
24 |
|
|
|
25 |
.grn-details {
|
|
|
26 |
cursor: pointer;
|
| 21987 |
kshitij.so |
27 |
}
|
|
|
28 |
</style>
|
|
|
29 |
<script>
|
| 30601 |
amit.gupta |
30 |
$(function () {
|
|
|
31 |
$('#grnDateRange').daterangepicker(getRangedDatePicker());
|
|
|
32 |
});
|
| 21987 |
kshitij.so |
33 |
</script>
|
|
|
34 |
|
| 30601 |
amit.gupta |
35 |
<section class="wrapper">
|
| 21987 |
kshitij.so |
36 |
<div class="row">
|
|
|
37 |
<div class="col-lg-12">
|
| 23026 |
ashik.ali |
38 |
<h3 class="page-header"><i class="icon_document_alt"></i>GRN</h3>
|
| 21987 |
kshitij.so |
39 |
<ol class="breadcrumb">
|
| 32771 |
raveendra. |
40 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("historygrn.home")</a></li>
|
|
|
41 |
<li><i class="icon_document_alt"></i>#springMessage("historygrn.history")</li>
|
| 21987 |
kshitij.so |
42 |
</ol>
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
|
|
|
46 |
<div id="grn-history-search">
|
|
|
47 |
<div class="row">
|
|
|
48 |
<div class="col-lg-12">
|
|
|
49 |
<div class="col-lg-9 form-group pull-right">
|
| 23886 |
amit.gupta |
50 |
<div class="col-lg-6 form-group pull-left top_search form-inline">
|
| 21987 |
kshitij.so |
51 |
<div class="input-group">
|
| 23886 |
amit.gupta |
52 |
<input type="text" class="form-control" id="grnDateRange" name="dateRange" >
|
|
|
53 |
<span class="input-group-btn">
|
| 32771 |
raveendra. |
54 |
<button class="btn btn-primary submit" id="grn-history-date-button" type="button">#springMessage("historygrn.go")</button>
|
| 23886 |
amit.gupta |
55 |
</span>
|
|
|
56 |
</div>
|
| 21987 |
kshitij.so |
57 |
</div>
|
| 23886 |
amit.gupta |
58 |
<div class="col-lg-5 form-group top_search">
|
| 21987 |
kshitij.so |
59 |
<div class="input-group">
|
| 32771 |
raveendra. |
60 |
<input type="text" class="form-control" id="grn-history-search-text"" placeholder=#springMessage("historygrn.searchbypurchaserefference") value="" />
|
| 21987 |
kshitij.so |
61 |
<span class="input-group-btn">
|
| 32771 |
raveendra. |
62 |
<button class="btn btn-primary submit" id="grn-history-search-button" type="button">#springMessage("historygrn.go")</button>
|
| 21987 |
kshitij.so |
63 |
</span>
|
|
|
64 |
</div>
|
|
|
65 |
</div>
|
|
|
66 |
</div>
|
|
|
67 |
</div>
|
|
|
68 |
</div>
|
|
|
69 |
</div>
|
|
|
70 |
<div id="grn-history-table">
|
|
|
71 |
<div class="row">
|
|
|
72 |
<div class="col-lg-12">
|
|
|
73 |
<table class="table table-striped table-advance table-hover">
|
|
|
74 |
<tbody>
|
|
|
75 |
<tr>
|
| 32771 |
raveendra. |
76 |
<th>#springMessage("historygrn.purchasereference")</th>
|
|
|
77 |
<th>#springMessage("historygrn.serializedquantity")</th>
|
|
|
78 |
<th>#springMessage("historygrn.nonserializedquantity")</th>
|
|
|
79 |
<th>#springMessage("historygrn.grncompleted")</th>
|
|
|
80 |
<th>#springMessage("historygrn.createdon")</th>
|
| 21987 |
kshitij.so |
81 |
</tr>
|
|
|
82 |
#if($grnHistories.size() > 0)
|
|
|
83 |
#foreach( $grnHistory in $grnHistories )
|
|
|
84 |
<tr class="grn-details" data="$grnHistory.getId()">
|
|
|
85 |
<td>$grnHistory.getPurchaseReference()</td>
|
|
|
86 |
<td>$grnHistory.getSerializedQuantity()</td>
|
|
|
87 |
<td>$grnHistory.getNonSerializedQuantity()</td>
|
| 22860 |
ashik.ali |
88 |
#if($grnHistory.getCompleteTimestamp())
|
| 21987 |
kshitij.so |
89 |
<td><i class="fa fa-check" aria-hidden="true"></i></td>
|
|
|
90 |
#else
|
|
|
91 |
<td><i class="fa fa-times" aria-hidden="true"></i></td>
|
|
|
92 |
#end
|
|
|
93 |
<td>$grnHistory.getFormattedDate()</td>
|
|
|
94 |
</tr>
|
|
|
95 |
#end
|
|
|
96 |
#else
|
|
|
97 |
<tr>
|
|
|
98 |
<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
99 |
</tr>
|
|
|
100 |
#end
|
|
|
101 |
</tbody>
|
|
|
102 |
</table>
|
|
|
103 |
</div>
|
|
|
104 |
</div>
|
|
|
105 |
</div>
|
| 22292 |
ashik.ali |
106 |
#if(!$grnHistories.isEmpty())
|
|
|
107 |
<div class="row" id="grn-history-paginated">
|
|
|
108 |
<div class="col-lg-9">
|
|
|
109 |
<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
|
|
|
110 |
</div>
|
|
|
111 |
<div class="col-lg-3" style="text-align:right;">
|
|
|
112 |
<div class="btn-group" style="width:40%">
|
|
|
113 |
<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
|
|
|
114 |
</div>
|
|
|
115 |
<div class="btn-group" style="width:40%">
|
|
|
116 |
#if($end >= $size)
|
|
|
117 |
<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
|
|
|
118 |
#else
|
|
|
119 |
<button class="btn btn-primary next" style="width:100%">Next</button>
|
|
|
120 |
#end
|
|
|
121 |
</div>
|
|
|
122 |
</div>
|
|
|
123 |
</div>
|
| 21987 |
kshitij.so |
124 |
#end
|
|
|
125 |
</section>
|
|
|
126 |
<div id="grn-details-container" style="background:white;background-color:white;">
|
|
|
127 |
</div>
|