| 21627 |
kshitij.so |
1 |
<style>
|
|
|
2 |
.table-hover > tbody > tr:hover > td,
|
|
|
3 |
.table-hover > tbody > tr:hover {
|
|
|
4 |
background-color: #6DC767;
|
|
|
5 |
color:white;
|
|
|
6 |
}
|
|
|
7 |
.btn:hover,
|
|
|
8 |
.btn:focus {
|
|
|
9 |
color: grey;
|
|
|
10 |
text-decoration: none;
|
|
|
11 |
}
|
|
|
12 |
.modal-dialog.modal-lg{
|
|
|
13 |
left:10%;
|
|
|
14 |
right:auto;
|
|
|
15 |
width:80%;
|
|
|
16 |
}
|
|
|
17 |
.modal-content{
|
|
|
18 |
background : white;
|
|
|
19 |
}
|
|
|
20 |
.modelHeaderCustom{
|
|
|
21 |
font-size:14px;
|
|
|
22 |
font-weight:bold;
|
|
|
23 |
}
|
|
|
24 |
hr{
|
|
|
25 |
background-color:#007aff;
|
|
|
26 |
border:none;
|
|
|
27 |
height:1px;
|
|
|
28 |
background:#007aff;
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
.border-highlight{
|
|
|
32 |
border : 3px solid red;
|
|
|
33 |
}
|
|
|
34 |
</style>
|
|
|
35 |
|
|
|
36 |
<section class="wrapper">
|
|
|
37 |
<!--overview start-->
|
|
|
38 |
<div class="row">
|
|
|
39 |
<div class="col-lg-12">
|
|
|
40 |
<h3 class="page-header"><i class="icon_document_alt"></i>GRN</h3>
|
|
|
41 |
<ol class="breadcrumb">
|
|
|
42 |
<li><i class="fa fa-home"></i><a href="${request.getContextPath()}/dashboard">Home</a></li>
|
|
|
43 |
<li><i class="icon_document_alt"></i>GRN</li>
|
|
|
44 |
</ol>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
<form class="form-horizontal row" id="purchase-reference-submit">
|
|
|
48 |
<div class="col-lg-9 row">
|
|
|
49 |
<label class="col-lg-3 control-label font-bold" style="text-align:center;font-weight:600;">AirWallBill / Invoice No.</label>
|
|
|
50 |
<div class="input-group col-lg-6">
|
|
|
51 |
#if($airwayBillOrInvoiceNumber)
|
|
|
52 |
#set($value = $airwayBillOrInvoiceNumber)
|
|
|
53 |
#else
|
|
|
54 |
#set($value = "")
|
|
|
55 |
#end
|
|
|
56 |
<input type="text" class="form-control" name="airwayBillOrInvoiceNumber" value="$value" placeholder="Enter AirwayBill or invoice Number" />
|
|
|
57 |
<span class="input-group-btn">
|
|
|
58 |
<button type="submit" class="btn btn-primary">Submit!</button>
|
|
|
59 |
</span>
|
|
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
62 |
</form>
|
|
|
63 |
<hr/>
|
|
|
64 |
#if($customItems.size() > 0)
|
|
|
65 |
<div class="row">
|
|
|
66 |
<div class="col-lg-12">
|
|
|
67 |
<table class="table table-striped table-advance table-hover">
|
|
|
68 |
<tbody>
|
|
|
69 |
<tr>
|
|
|
70 |
<th>Brand</th>
|
|
|
71 |
<th>Model Name</th>
|
|
|
72 |
<th>Model Number</th>
|
|
|
73 |
<th>Color</th>
|
|
|
74 |
<th>Quantity</th>
|
|
|
75 |
<th>Unit Price</th>
|
|
|
76 |
<th>GRN</th>
|
|
|
77 |
</tr>
|
|
|
78 |
#foreach( $customItem in $customItems )
|
|
|
79 |
#set($customLineItem = $customItem.getItemDetail())
|
|
|
80 |
<tr>
|
|
|
81 |
<td>$customLineItem.getBrand()</td>
|
|
|
82 |
#if($customLineItem.getModelName())
|
|
|
83 |
<td>$customLineItem.getModelName()</td>
|
|
|
84 |
#else
|
|
|
85 |
<td>-</td>
|
|
|
86 |
#end
|
|
|
87 |
#if($customLineItem.getModelNumber())
|
|
|
88 |
<td>$customLineItem.getModelNumber()</td>
|
|
|
89 |
#else
|
|
|
90 |
<td>-</td>
|
|
|
91 |
#end
|
|
|
92 |
#if($customLineItem.getColor())
|
|
|
93 |
<td>$customLineItem.getColor()</td>
|
|
|
94 |
#else
|
|
|
95 |
<td>-</td>
|
|
|
96 |
#end
|
|
|
97 |
<td>$customLineItem.getQuantity()</td>
|
|
|
98 |
<td>$customLineItem.getUnitPrice()</td>
|
|
|
99 |
#if(!$customItem.isScanned())
|
|
|
100 |
<td class="grnDone"><a class="btn btn-primary" href="javascript:void(0)"><i class="icon_check_alt2"></i></a></td>
|
|
|
101 |
#else
|
|
|
102 |
<td class="startGrn" 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>
|
|
|
103 |
#end
|
|
|
104 |
</tr>
|
|
|
105 |
#end
|
|
|
106 |
</tbody>
|
|
|
107 |
</table>
|
|
|
108 |
</div>
|
|
|
109 |
</div>
|
|
|
110 |
<div id="scanModel" class="modal fade" role="dialog">
|
|
|
111 |
<div class="modal-dialog modal-lg">
|
|
|
112 |
<!-- Modal content-->
|
|
|
113 |
<div class="modal-content">
|
|
|
114 |
<div class="modal-header">
|
|
|
115 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
116 |
<h4 class="modal-title">Enter GRN Details</h4>
|
|
|
117 |
</div>
|
|
|
118 |
<div class="modal-body">
|
|
|
119 |
<input type="hidden" id="invoiceNumber" />
|
|
|
120 |
<input type="hidden" id="itemId" />
|
|
|
121 |
<h4 class="grnInvoiceNumber modelHeaderCustom">Invoice Number : <span></span></h4>
|
|
|
122 |
<h4 class="grnProductInfo modelHeaderCustom">Product Details : <span></span></h4>
|
|
|
123 |
<h4 class="modal-title">Enter Serial Numbers</h4>
|
|
|
124 |
<div id="grnImeiInformation">
|
|
|
125 |
</div>
|
|
|
126 |
<hr/>
|
|
|
127 |
<span class="input-group-btn">
|
|
|
128 |
<button type="submit" id="grnSubmit" class="btn btn-primary">Submit!</button>
|
|
|
129 |
</span>
|
|
|
130 |
</div>
|
|
|
131 |
<div class="modal-footer">
|
|
|
132 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
133 |
</div>
|
|
|
134 |
</div>
|
|
|
135 |
|
|
|
136 |
</div>
|
|
|
137 |
</div>
|
|
|
138 |
#end
|
|
|
139 |
|
|
|
140 |
</section>
|