| 21627 |
kshitij.so |
1 |
<style>
|
| 21987 |
kshitij.so |
2 |
|
|
|
3 |
.table-striped > tbody > tr:nth-child(odd) > td{
|
|
|
4 |
background: white;
|
|
|
5 |
background-color: white;
|
|
|
6 |
font-size:14px;
|
|
|
7 |
}
|
|
|
8 |
.table-striped > tbody > tr:nth-child(even) > td{
|
|
|
9 |
background: white;
|
|
|
10 |
background-color:white;
|
|
|
11 |
}
|
|
|
12 |
.table-striped > tbody > tr:hover > td,
|
|
|
13 |
.table-striped > tbody > tr:hover {
|
| 23164 |
amit.gupta |
14 |
background-color: #FCB322;
|
| 21627 |
kshitij.so |
15 |
color:white;
|
| 21987 |
kshitij.so |
16 |
font-weight:600;
|
| 21627 |
kshitij.so |
17 |
}
|
|
|
18 |
.btn:hover,
|
|
|
19 |
.btn:focus {
|
|
|
20 |
color: grey;
|
|
|
21 |
text-decoration: none;
|
|
|
22 |
}
|
| 21987 |
kshitij.so |
23 |
|
| 21627 |
kshitij.so |
24 |
.modal-dialog.modal-lg{
|
|
|
25 |
left:10%;
|
|
|
26 |
right:auto;
|
|
|
27 |
width:80%;
|
|
|
28 |
}
|
|
|
29 |
.modal-content{
|
|
|
30 |
background : white;
|
|
|
31 |
}
|
|
|
32 |
.modelHeaderCustom{
|
|
|
33 |
font-size:14px;
|
|
|
34 |
font-weight:bold;
|
|
|
35 |
}
|
|
|
36 |
hr{
|
|
|
37 |
background-color:#007aff;
|
|
|
38 |
border:none;
|
|
|
39 |
height:1px;
|
|
|
40 |
background:#007aff;
|
|
|
41 |
}
|
|
|
42 |
|
|
|
43 |
.border-highlight{
|
|
|
44 |
border : 3px solid red;
|
|
|
45 |
}
|
|
|
46 |
</style>
|
|
|
47 |
|
|
|
48 |
<section class="wrapper">
|
|
|
49 |
<!--overview start-->
|
| 21987 |
kshitij.so |
50 |
<div class="row">
|
|
|
51 |
<div class="col-lg-12">
|
|
|
52 |
<h3 class="page-header"><i class="icon_document_alt"></i>GRN</h3>
|
|
|
53 |
<ol class="breadcrumb">
|
| 22116 |
amit.gupta |
54 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
| 23026 |
ashik.ali |
55 |
<li><i class="icon_document_alt"></i>NEW</li>
|
| 21987 |
kshitij.so |
56 |
</ol>
|
|
|
57 |
</div>
|
| 21627 |
kshitij.so |
58 |
</div>
|
| 23076 |
ashik.ali |
59 |
<!--<form class="form-horizontal row" id="purchase-reference-submit-form">-->
|
| 21627 |
kshitij.so |
60 |
<div class="col-lg-9 row">
|
| 22071 |
ashik.ali |
61 |
<label class="col-lg-3 control-label font-bold" style="text-align:center;font-weight:600;">AirWayBill / Invoice No.</label>
|
| 21627 |
kshitij.so |
62 |
<div class="input-group col-lg-6">
|
|
|
63 |
#if($airwayBillOrInvoiceNumber)
|
|
|
64 |
#set($value = $airwayBillOrInvoiceNumber)
|
|
|
65 |
#else
|
|
|
66 |
#set($value = "")
|
|
|
67 |
#end
|
| 23076 |
ashik.ali |
68 |
<input type="text" class="form-control" name="airwayBillOrInvoiceNumber" value="$value" id="airwayBillOrInvoiceNumberText" placeholder="Enter AirwayBill or invoice Number" />
|
| 21627 |
kshitij.so |
69 |
<span class="input-group-btn">
|
| 23076 |
ashik.ali |
70 |
<button class="btn btn-primary" id="purchase-reference-submit-button" onclick="getPurchaseByInvoiceNumber()">Submit!</button>
|
| 21627 |
kshitij.so |
71 |
</span>
|
|
|
72 |
</div>
|
|
|
73 |
</div>
|
| 23076 |
ashik.ali |
74 |
<!--</form>-->
|
| 21627 |
kshitij.so |
75 |
<hr/>
|
|
|
76 |
#if($customItems.size() > 0)
|
|
|
77 |
<div class="row">
|
|
|
78 |
<div class="col-lg-12">
|
|
|
79 |
<table class="table table-striped table-advance table-hover">
|
|
|
80 |
<tbody>
|
|
|
81 |
<tr>
|
|
|
82 |
<th>Brand</th>
|
|
|
83 |
<th>Model Name</th>
|
|
|
84 |
<th>Model Number</th>
|
|
|
85 |
<th>Color</th>
|
|
|
86 |
<th>Quantity</th>
|
|
|
87 |
<th>Unit Price</th>
|
|
|
88 |
<th>GRN</th>
|
|
|
89 |
</tr>
|
|
|
90 |
#foreach( $customItem in $customItems )
|
|
|
91 |
#set($customLineItem = $customItem.getItemDetail())
|
|
|
92 |
<tr>
|
|
|
93 |
<td>$customLineItem.getBrand()</td>
|
|
|
94 |
#if($customLineItem.getModelName())
|
|
|
95 |
<td>$customLineItem.getModelName()</td>
|
|
|
96 |
#else
|
|
|
97 |
<td>-</td>
|
|
|
98 |
#end
|
|
|
99 |
#if($customLineItem.getModelNumber())
|
|
|
100 |
<td>$customLineItem.getModelNumber()</td>
|
|
|
101 |
#else
|
|
|
102 |
<td>-</td>
|
|
|
103 |
#end
|
|
|
104 |
#if($customLineItem.getColor())
|
|
|
105 |
<td>$customLineItem.getColor()</td>
|
|
|
106 |
#else
|
|
|
107 |
<td>-</td>
|
|
|
108 |
#end
|
|
|
109 |
<td>$customLineItem.getQuantity()</td>
|
|
|
110 |
<td>$customLineItem.getUnitPrice()</td>
|
| 21640 |
kshitij.so |
111 |
#if($customItem.isScanned())
|
| 21627 |
kshitij.so |
112 |
<td class="grnDone"><a class="btn btn-primary" href="javascript:void(0)"><i class="icon_check_alt2"></i></a></td>
|
|
|
113 |
#else
|
| 21640 |
kshitij.so |
114 |
#if($customItem.getType() == "SERIALIZED")
|
|
|
115 |
<td class="startGrnSerialized" itemId="$customItem.getItemId()" displayName="$customLineItem.getDisplayName()" invoiceNumber="$invoiceNumber" quantity="$customLineItem.getQuantity()"><a class="btn btn-primary" data-toggle="modal" data-target="#scanModel""><i class="icon_plus_alt2"></i></a></td>
|
|
|
116 |
#else
|
|
|
117 |
<td class="startGrnNonSerialized" itemId="$customItem.getItemId()" displayName="$customLineItem.getDisplayName()" invoiceNumber="$invoiceNumber" quantity="$customLineItem.getQuantity()"><a class="btn btn-primary" data-toggle="modal" data-target="#scanNonSerializedModel""><i class="icon_plus_alt2"></i></a></td>
|
|
|
118 |
#end
|
| 21627 |
kshitij.so |
119 |
#end
|
|
|
120 |
</tr>
|
|
|
121 |
#end
|
|
|
122 |
</tbody>
|
|
|
123 |
</table>
|
|
|
124 |
</div>
|
|
|
125 |
</div>
|
| 21640 |
kshitij.so |
126 |
|
| 21627 |
kshitij.so |
127 |
<div id="scanModel" class="modal fade" role="dialog">
|
|
|
128 |
<div class="modal-dialog modal-lg">
|
| 21640 |
kshitij.so |
129 |
<!-- Modal content-->
|
|
|
130 |
<div class="modal-content">
|
|
|
131 |
<div class="modal-header">
|
|
|
132 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
133 |
<h4 class="modal-title">Enter GRN Details</h4>
|
|
|
134 |
</div>
|
|
|
135 |
<div class="modal-body">
|
|
|
136 |
<input type="hidden" class="invoiceNumber" />
|
|
|
137 |
<input type="hidden" class="itemId" />
|
|
|
138 |
<h4 class="modelHeaderCustom">Item Type : <span>SERIALIZED</span></h4>
|
|
|
139 |
<h4 class="grnInvoiceNumber modelHeaderCustom">Invoice Number : <span></span></h4>
|
|
|
140 |
<h4 class="grnProductInfo modelHeaderCustom">Product Details : <span></span></h4>
|
|
|
141 |
<h4 class="modal-title">Enter Serial Numbers</h4>
|
|
|
142 |
<div id="grnImeiInformation">
|
|
|
143 |
</div>
|
|
|
144 |
<hr/>
|
|
|
145 |
<span class="input-group-btn">
|
|
|
146 |
<button type="submit" id="grnSubmitSerialized" class="btn btn-primary">Submit!</button>
|
|
|
147 |
</span>
|
|
|
148 |
</div>
|
|
|
149 |
<div class="modal-footer">
|
|
|
150 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
151 |
</div>
|
|
|
152 |
</div>
|
|
|
153 |
</div>
|
|
|
154 |
</div>
|
|
|
155 |
|
|
|
156 |
<div id="scanNonSerializedModel" class="modal fade" role="dialog">
|
|
|
157 |
<div class="modal-dialog modal-lg">
|
|
|
158 |
<!-- Modal content-->
|
|
|
159 |
<div class="modal-content">
|
|
|
160 |
<div class="modal-header">
|
|
|
161 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
162 |
<h4 class="modal-title">Enter GRN Details</h4>
|
|
|
163 |
</div>
|
|
|
164 |
<div class="modal-body">
|
|
|
165 |
<input type="hidden" class="invoiceNumber" />
|
|
|
166 |
<input type="hidden" class="itemId" />
|
|
|
167 |
<h4 class="modelHeaderCustom">Item Type : <span>NON-SERIALIZED</span></h4>
|
|
|
168 |
<h4 class="grnInvoiceNumber modelHeaderCustom">Invoice Number : <span></span></h4>
|
|
|
169 |
<h4 class="grnProductInfo modelHeaderCustom">Product Details : <span></span></h4>
|
|
|
170 |
<h4 class="modal-title">Enter Quantity</h4>
|
|
|
171 |
<div class="row"><div class="col-sm-3"><div class="input-group"><input type="text" class="quantity form-control"></input></div></div></div>
|
|
|
172 |
<hr/>
|
|
|
173 |
<span class="input-group-btn">
|
|
|
174 |
<button type="submit" id="grnNonSerializedSubmit" class="btn btn-primary">Submit!</button>
|
|
|
175 |
</span>
|
|
|
176 |
</div>
|
|
|
177 |
<div class="modal-footer">
|
|
|
178 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
179 |
</div>
|
|
|
180 |
</div>
|
|
|
181 |
</div>
|
|
|
182 |
</div>
|
|
|
183 |
|
| 21627 |
kshitij.so |
184 |
</div>
|
| 21640 |
kshitij.so |
185 |
#end
|
| 21627 |
kshitij.so |
186 |
|
|
|
187 |
</section>
|