| 23882 |
ashik.ali |
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 {
|
|
|
12 |
background-color: #e98c8f;
|
|
|
13 |
color:white;
|
|
|
14 |
}
|
|
|
15 |
.btn:hover{
|
|
|
16 |
color: grey;
|
|
|
17 |
text-decoration: none;
|
|
|
18 |
}
|
|
|
19 |
.btn-primary:hover{
|
|
|
20 |
color: grey;
|
|
|
21 |
text-decoration: none;
|
|
|
22 |
}
|
|
|
23 |
.vendor-details{
|
|
|
24 |
cursor:pointer;
|
|
|
25 |
}
|
|
|
26 |
</style>
|
|
|
27 |
|
|
|
28 |
<script type="text/javascript">
|
|
|
29 |
configureScanOutPartnerItemsDropDown();
|
|
|
30 |
</script>
|
|
|
31 |
|
|
|
32 |
<section class="wrapper">
|
|
|
33 |
<div class="row">
|
|
|
34 |
<div class="col-lg-12">
|
|
|
35 |
<h3 class="page-header"><i class="icon_document_alt"></i>ITEM</h3>
|
|
|
36 |
<ol class="breadcrumb">
|
|
|
37 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
38 |
<li><i class="icon_document_alt"></i>SCAN OUT PARTNER ITEMS</li>
|
|
|
39 |
</ol>
|
|
|
40 |
</div>
|
|
|
41 |
</div>
|
|
|
42 |
|
|
|
43 |
<div id="scan-out-partner-item-container">
|
|
|
44 |
<div class="row">
|
|
|
45 |
<div class="col-lg-3 form-group">
|
|
|
46 |
<select class="form-control input-sm" id = "scan-out-partner-items" name = "scan-out-partner-items" placeholder="Items">
|
|
|
47 |
<option value="" disabled selected>Items</option>
|
|
|
48 |
#foreach($item in $items)
|
|
|
49 |
<option value="$item.getId()" itemType="$item.getType()" quantity="$itemIdQuantityMap.get($item.getId())">$item.getBrand() $item.getDescription()</option>
|
|
|
50 |
#end
|
|
|
51 |
</select>
|
|
|
52 |
</div>
|
|
|
53 |
<div class="col-lg-2">
|
|
|
54 |
<button class="btn btn-primary" data-toggle="modal" data-target="#scanOutPartnerItemModel" id="" onclick="scanOutPartnerItemDialog()" type="button">Scan Out</button>
|
|
|
55 |
</div>
|
|
|
56 |
</div>
|
|
|
57 |
</div>
|
|
|
58 |
|
|
|
59 |
<div id="scan-out-partner-items-table">
|
|
|
60 |
<div class="row">
|
|
|
61 |
<div class="col-lg-12">
|
|
|
62 |
<table class="table table-striped table-advance table-hover">
|
|
|
63 |
<tbody>
|
|
|
64 |
<tr>
|
|
|
65 |
<th>Item Name</th>
|
|
|
66 |
<th>Serial Number</th>
|
|
|
67 |
<th>Customer First Name</th>
|
|
|
68 |
<th>Customer Last Name</th>
|
|
|
69 |
<th>Customer Email Id</th>
|
|
|
70 |
<th>Customer Mobile Number</th>
|
|
|
71 |
<th>Created On</th>
|
|
|
72 |
</tr>
|
|
|
73 |
#if(!$scanOutPartnerItems.isEmpty())
|
|
|
74 |
#foreach( $scanOutPartnerItem in $scanOutPartnerItems )
|
|
|
75 |
<tr class="scan-out-partner-item-details" data="$scanOutPartnerItem.getId()">
|
|
|
76 |
<td>$itemIdDescriptionMap.get($scanOutPartnerItem.getItemId())</td>
|
|
|
77 |
#if($scanOutPartnerItem.getSerialNumber())
|
|
|
78 |
<td>$scanOutPartnerItem.getSerialNumber()</td>
|
|
|
79 |
#else
|
|
|
80 |
<td></td>
|
|
|
81 |
#end
|
|
|
82 |
<td>$scanOutPartnerItem.getCustomerFirstName()</td>
|
|
|
83 |
<td>$scanOutPartnerItem.getCustomerLastName()</td>
|
|
|
84 |
<td>$scanOutPartnerItem.getCustomerEmailId()</td>
|
|
|
85 |
<td>$scanOutPartnerItem.getCustomerMobileNumber()</td>
|
|
|
86 |
<td>$scanOutPartnerItem.getFormattedCreateTimestamp()</td>
|
|
|
87 |
</tr>
|
|
|
88 |
#end
|
|
|
89 |
#else
|
|
|
90 |
<tr>
|
|
|
91 |
<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
92 |
</tr>
|
|
|
93 |
#end
|
|
|
94 |
</tbody>
|
|
|
95 |
</table>
|
|
|
96 |
</div>
|
|
|
97 |
</div>
|
|
|
98 |
</div>
|
|
|
99 |
#if(!$scanOutPartnerItems.isEmpty())
|
|
|
100 |
<div class="row" id="scan-out-partner-items-paginated">
|
|
|
101 |
<div class="col-lg-9">
|
|
|
102 |
<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
|
|
|
103 |
</div>
|
|
|
104 |
<div class="col-lg-3" style="text-align:right;">
|
|
|
105 |
<div class="btn-group" style="width:40%">
|
|
|
106 |
<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
|
|
|
107 |
</div>
|
|
|
108 |
<div class="btn-group" style="width:40%">
|
|
|
109 |
#if($end >= $size)
|
|
|
110 |
<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
|
|
|
111 |
#else
|
|
|
112 |
<button class="btn btn-primary next" style="width:100%">Next</button>
|
|
|
113 |
#end
|
|
|
114 |
</div>
|
|
|
115 |
</div>
|
|
|
116 |
</div>
|
|
|
117 |
#end
|
|
|
118 |
</section>
|
|
|
119 |
<div id="scan-out-partner-item-details-container" style="background:white;background-color:white;">
|
|
|
120 |
</div>
|
| 26318 |
tejbeer |
121 |
<div id="scanOutPartnerItemModel" class="modal" role="dialog" data-backdrop="false">
|
| 23882 |
ashik.ali |
122 |
<div class="modal-dialog modal-lg">
|
|
|
123 |
<!-- Modal content-->
|
|
|
124 |
<div class="modal-content">
|
|
|
125 |
<div class="modal-header">
|
|
|
126 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
127 |
<h4 class="modal-title">Scan Out Item</h4>
|
|
|
128 |
</div>
|
|
|
129 |
<div class="modal-body">
|
|
|
130 |
<input type="hidden" class="itemId" />
|
|
|
131 |
<input type="hidden" class="itemType" />
|
|
|
132 |
<h4 class="itemInformation modelHeaderCustom">Item Details : <span></span></h4>
|
|
|
133 |
<h4 class="modal-title">Choose Serial Numbers</h4>
|
|
|
134 |
<div id="serialNumberContainer">
|
|
|
135 |
</div>
|
|
|
136 |
<hr/>
|
|
|
137 |
<div>
|
|
|
138 |
<h4 class="modelHeaderCustom">Customer Information</h4>
|
|
|
139 |
<div>
|
|
|
140 |
<div class = "row">
|
|
|
141 |
<div class="col-lg-2 form-group">
|
|
|
142 |
<input placeholder="First Name" class="firstName" name="firstName" type="text" value="" class="form-control input-sm">
|
|
|
143 |
</div>
|
|
|
144 |
<div class="col-lg-2 form-group">
|
|
|
145 |
<input placeholder="Last Name" class="lastName" name="lastName" type="text" value="" class="form-control input-sm">
|
|
|
146 |
</div>
|
|
|
147 |
<div class="col-lg-3 form-group">
|
|
|
148 |
<input placeholder="Email Id*" class="emailId" name="emailId" type="text" value="" class="form-control input-sm">
|
|
|
149 |
</div>
|
|
|
150 |
<div class="col-lg-2 form-group">
|
|
|
151 |
<input placeholder = "Mobile Number*" class="mobileNumber" addressId="" name="mobileNumber" type="text" value="" class="form-control phone input-sm">
|
|
|
152 |
</div>
|
|
|
153 |
<div class="col-lg-3 form-group">
|
| 24203 |
amit.gupta |
154 |
<input placeholder="Address Line 1" class="line1" name="line1" type="text" size="50" v
|
|
|
155 |
alue="" class="form-control input-sm">
|
| 23882 |
ashik.ali |
156 |
</div>
|
|
|
157 |
</div>
|
|
|
158 |
<div class = "row">
|
|
|
159 |
<div class="col-lg-3 form-group">
|
|
|
160 |
<input placeholder="Address Line 2" class="line2" name="line2" type="text" value="" class="form-control input-sm">
|
|
|
161 |
</div>
|
|
|
162 |
<div class="col-lg-2 form-group">
|
|
|
163 |
<input placeholder="Landmark" class="landmark" name="landmark" type="text" value="" class="form-control input-sm">
|
|
|
164 |
</div>
|
|
|
165 |
<div class="col-lg-2 form-group">
|
|
|
166 |
<input placeholder="Pin Code" class="pinCode" name="pinCode" type="number" value="" class="form-control input-sm">
|
|
|
167 |
</div>
|
|
|
168 |
<div class="col-lg-2 form-group">
|
|
|
169 |
<input placeholder="City" class="city" name="city" type="text" value="" class="form-control input-sm">
|
|
|
170 |
</div>
|
|
|
171 |
<div class="col-lg-3 form-group">
|
|
|
172 |
<select class="form-control input-sm" class="state" name = "state" placeholder="State">
|
|
|
173 |
<option value="" disabled selected>State</option>
|
|
|
174 |
#foreach($stateName in $stateNames)
|
|
|
175 |
#if($retailerStateName == $stateName)
|
|
|
176 |
<option value="$stateName" selected>$stateName</option>
|
|
|
177 |
#else
|
|
|
178 |
<option value="$stateName">$stateName</option>
|
|
|
179 |
#end
|
|
|
180 |
#end
|
|
|
181 |
|
|
|
182 |
</select>
|
|
|
183 |
</div>
|
|
|
184 |
</div>
|
|
|
185 |
</div>
|
|
|
186 |
<span class="input-group-btn">
|
|
|
187 |
<button type="button" id="scanOutPartnerItemButton" class="btn btn-primary">Submit!</button>
|
|
|
188 |
</span>
|
|
|
189 |
</div>
|
|
|
190 |
<div class="modal-footer">
|
|
|
191 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
192 |
</div>
|
|
|
193 |
</div>
|
|
|
194 |
</div>
|
|
|
195 |
</div>
|
| 24203 |
amit.gupta |
196 |
</div>
|