| Line 84... |
Line 84... |
| 84 |
<th>Brand</th>
|
84 |
<th>Brand</th>
|
| 85 |
<th>today Qty</th>
|
85 |
<th>today Qty</th>
|
| 86 |
<th>today</th>
|
86 |
<th>today</th>
|
| 87 |
<th>3 Days Qty</th>
|
87 |
<th>3 Days Qty</th>
|
| 88 |
<th>3 Days</th>
|
88 |
<th>3 Days</th>
|
| 89 |
<th>15 Days Qty</th>
|
89 |
<th>Lms Qty</th>
|
| 90 |
<th>last 15 Days</th>
|
90 |
<th>Lms</th>
|
| 91 |
<th>MTD Qty</th>
|
91 |
<th>MTD Qty</th>
|
| 92 |
<th>MTD</th>
|
92 |
<th>MTD</th>
|
| 93 |
|
93 |
|
| 94 |
</tr>
|
94 |
</tr>
|
| 95 |
#foreach($pur in $purchase)
|
95 |
#foreach($pur in $purchase)
|
| Line 97... |
Line 97... |
| 97 |
<td>$pur.getBrand()</td>
|
97 |
<td>$pur.getBrand()</td>
|
| 98 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getTodayQty()</td>
|
98 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getTodayQty()</td>
|
| 99 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getTodayValue()</td>
|
99 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getTodayValue()</td>
|
| 100 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getThreedaysQty()</td>
|
100 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getThreedaysQty()</td>
|
| 101 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getThreedaysValue()</td>
|
101 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getThreedaysValue()</td>
|
| 102 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "15" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getFifteendaysQty()</td>
|
102 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getLmsQty()</td>
|
| 103 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "15" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getFifteendaysValue()</td>
|
103 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getLms()</td>
|
| 104 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getMtdQty()</td>
|
104 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getMtdQty()</td>
|
| 105 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getMtd()</td>
|
105 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$pur.getBrand()" class="currency openpurchasedays">$pur.getMtd()</td>
|
| 106 |
</tr>
|
106 |
</tr>
|
| 107 |
#end
|
107 |
#end
|
| 108 |
|
108 |
|
| Line 120... |
Line 120... |
| 120 |
<th>Brand</th>
|
120 |
<th>Brand</th>
|
| 121 |
<th>today Qty</th>
|
121 |
<th>today Qty</th>
|
| 122 |
<th>today</th>
|
122 |
<th>today</th>
|
| 123 |
<th>3 Days Qty</th>
|
123 |
<th>3 Days Qty</th>
|
| 124 |
<th>3 Days</th>
|
124 |
<th>3 Days</th>
|
| - |
|
125 |
<th>LMS Qty</th>
|
| - |
|
126 |
<th>LMS</th>
|
| 125 |
<th>MTD Qty</th>
|
127 |
<th>MTD Qty</th>
|
| 126 |
<th>MTD</th>
|
128 |
<th>MTD</th>
|
| 127 |
<th>LMTD Qty</th>
|
129 |
<th>LMTD Qty</th>
|
| 128 |
<th>LMTD</th>
|
130 |
<th>LMTD</th>
|
| 129 |
|
131 |
|
| Line 134... |
Line 136... |
| 134 |
<td>$bill.getBrand()</td>
|
136 |
<td>$bill.getBrand()</td>
|
| 135 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayQty()</td>
|
137 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayQty()</td>
|
| 136 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayValue()</td>
|
138 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayValue()</td>
|
| 137 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysQty()</td>
|
139 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysQty()</td>
|
| 138 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysValue()</td>
|
140 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysValue()</td>
|
| - |
|
141 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmsQty()</td>
|
| - |
|
142 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLms()</td>
|
| 139 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtdQty()</td>
|
143 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtdQty()</td>
|
| 140 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtd()</td>
|
144 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtd()</td>
|
| 141 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtdQty()</td>
|
145 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtdQty()</td>
|
| 142 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtd()</td>
|
146 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtd()</td>
|
| 143 |
</tr>
|
147 |
</tr>
|
| Line 156... |
Line 160... |
| 156 |
<th>Brand</th>
|
160 |
<th>Brand</th>
|
| 157 |
<th>today Qty</th>
|
161 |
<th>today Qty</th>
|
| 158 |
<th>today</th>
|
162 |
<th>today</th>
|
| 159 |
<th>3 Days Qty</th>
|
163 |
<th>3 Days Qty</th>
|
| 160 |
<th>3 Days</th>
|
164 |
<th>3 Days</th>
|
| - |
|
165 |
<th>LMS Qty</th>
|
| - |
|
166 |
<th>LMS</th>
|
| 161 |
<th>MTD Qty</th>
|
167 |
<th>MTD Qty</th>
|
| 162 |
<th>MTD</th>
|
168 |
<th>MTD</th>
|
| 163 |
<th>LMTD Qty</th>
|
169 |
<th>LMTD Qty</th>
|
| 164 |
<th>LMTD</th>
|
170 |
<th>LMTD</th>
|
| 165 |
|
171 |
|
| Line 169... |
Line 175... |
| 169 |
<td>$ter.getBrand()</td>
|
175 |
<td>$ter.getBrand()</td>
|
| 170 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getTodayQty()</td>
|
176 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getTodayQty()</td>
|
| 171 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getTodayValue()</td>
|
177 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getTodayValue()</td>
|
| 172 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getThreedaysQty()</td>
|
178 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getThreedaysQty()</td>
|
| 173 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getThreedaysValue()</td>
|
179 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getThreedaysValue()</td>
|
| 174 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getMtdQty()</td>
|
180 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getLmsQty()</td>
|
| - |
|
181 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getLms()</td>
|
| - |
|
182 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getMtdQty()</td>
|
| 175 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getMtd()</td>
|
183 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getMtd()</td>
|
| 176 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getLmtdQty()</td>
|
184 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getLmtdQty()</td>
|
| 177 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getLmtd()</td>
|
185 |
<td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$ter.getBrand()" class="currency tertBilling">$ter.getLmtd()</td>
|
| 178 |
</tr>
|
186 |
</tr>
|
| 179 |
#end
|
187 |
#end
|
| Line 195... |
Line 203... |
| 195 |
<script>
|
203 |
<script>
|
| 196 |
$('#openpo').on('click', '.openpodays', function(){
|
204 |
$('#openpo').on('click', '.openpodays', function(){
|
| 197 |
console.log("Hello")
|
205 |
console.log("Hello")
|
| 198 |
|
206 |
|
| 199 |
var timeValue = $(this).data('time');
|
207 |
var timeValue = $(this).data('time');
|
| 200 |
|
208 |
var brand = [];
|
| 201 |
var brand = $(this).data('brand');
|
209 |
brand.push($(this).data('brand'));
|
| 202 |
var warehouseId = $('#warehouseMap').val()
|
210 |
var warehouseId = $('#warehouseMap').val()
|
| 203 |
|
211 |
|
| 204 |
doGetAjaxRequestHandler(context + "/getOpenPoItemByBrand?timeValue="
|
212 |
doGetAjaxRequestHandler(context + "/getOpenPoItemByBrand?timeValue="
|
| 205 |
+ timeValue+ "&brand="+brand +"&warehouseIds="+warehouseId, function(response) {
|
213 |
+ timeValue+ "&brand="+brand +"&warehouseIds="+warehouseId, function(response) {
|
| 206 |
|
214 |
|