Subversion Repositories SmartDukaan

Rev

Rev 34449 | Rev 34490 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34449 Rev 34456
Line 96... Line 96...
96
                </div>
96
                </div>
97
            </div>
97
            </div>
98
        </div>
98
        </div>
99
    </div>
99
    </div>
100
</div>
100
</div>
101
 
-
 
102
 
-
 
103
    #*        <div class="row">
-
 
104
                <div class="col-lg-12">
-
 
105
 
-
 
106
                    <h5> In Stock </h5>
-
 
107
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
-
 
108
                        <thead>
-
 
109
                        <tr>
-
 
110
                            <th>Item</th>
-
 
111
                            <th>Qty</th>
-
 
112
 
-
 
113
                        </tr>
-
 
114
                        </thead>
-
 
115
                        <tbody>
-
 
116
 
-
 
117
                            #foreach($grnPending in $inStocks)
-
 
118
                            <tr>
-
 
119
                                <td>$grnPending.getItemDescription()</td>
-
 
120
                                <td>$grnPending.getQty()</td>
-
 
121
 
-
 
122
                            </tr>
-
 
123
 
-
 
124
                            #end
-
 
125
 
-
 
126
                        </tbody>
-
 
127
                    </table>
-
 
128
                </div>
-
 
129
            </div>
-
 
130
 
-
 
131
            <div class="row">
-
 
132
                <div class="col-lg-12">
-
 
133
 
-
 
134
                    <h5> Grn Pending </h5>
-
 
135
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
-
 
136
                        <thead>
-
 
137
                        <tr>
-
 
138
                            <th>Item</th>
-
 
139
                            <th>Qty</th>
-
 
140
 
-
 
141
                        </tr>
-
 
142
                        </thead>
-
 
143
                        <tbody>
-
 
144
 
-
 
145
                            #foreach($grnPending in $grnPendings)
-
 
146
                            <tr>
-
 
147
                                <td>$grnPending.getItemDescription()</td>
-
 
148
                                <td>$grnPending.getQty()</td>
-
 
149
 
-
 
150
                            </tr>
-
 
151
 
-
 
152
                            #end
-
 
153
 
-
 
154
                        </tbody>
-
 
155
                    </table>
-
 
156
                </div>
-
 
157
            </div>
-
 
158
 
-
 
159
 
-
 
160
            <div class="row">
-
 
161
                <div class="col-lg-12">
-
 
162
 
-
 
163
                    <h5> Pending Indent </h5>
-
 
164
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
-
 
165
                        <thead>
-
 
166
                        <tr>
-
 
167
                            <th>Item</th>
-
 
168
                            <th>Qty</th>
-
 
169
 
-
 
170
                        </tr>
-
 
171
                        </thead>
-
 
172
                        <tbody>
-
 
173
 
-
 
174
                            #foreach($pendingIndent in $pendingIndents)
-
 
175
                            <tr>
-
 
176
                                <td>$pendingIndent.getItemDescription()</td>
-
 
177
                                <td>$pendingIndent.getQty()</td>
-
 
178
 
-
 
179
                            </tr>
-
 
180
 
-
 
181
                            #end
-
 
182
 
-
 
183
                        </tbody>
-
 
184
                    </table>
-
 
185
                </div>
-
 
186
            </div>*#
-
 
187
</div>
-
 
188
 
-
 
189
#else
-
 
190
 
-
 
191
 
-
 
192
    ##<div class="row">
-
 
193
    ##    <div class="col-lg-12">
-
 
194
    ##        <h5> Focused Model </h5>
-
 
195
    ##        <table class="table  table-advance" id="brand-focused">
-
 
196
    ##            <tbody>
-
 
197
    ##            <tr>
-
 
198
    ##                <th>#</th>
-
 
199
    ##                <th>Brand</th>
-
 
200
    ##
-
 
201
    ##            </tr>
-
 
202
    ##                #set($index = 0)
-
 
203
    ##
-
 
204
    ##                #foreach($focused in $focusedModelShortageBrandMap.entrySet())
-
 
205
    ##
-
 
206
    ##                <tr class="accordion-toggle collapsed" id="accordion1" data-toggle="collapse" data-parent="#accordion1"
-
 
207
    ##                    href="#focused-$index">
-
 
208
    ##                    <td class="expand-button"></td>
-
 
209
    ##                    <td>$focused.getKey()</td>
-
 
210
    ##
-
 
211
    ##                </tr>
-
 
212
    ##
-
 
213
    ##
-
 
214
    ##                <tr class="hide-table-padding">
-
 
215
    ##                    <td></td>
-
 
216
    ##                    <td colspan="3">
-
 
217
    ##                        <div class="collapse p-3" id="focused-$index">
-
 
218
    ##                            <table class="table  table-advance">
-
 
219
    ##                                <tbody>
-
 
220
    ##                                <tr>
-
 
221
    ##                                    <th>Item</th>
-
 
222
    ##                                    <th>Pending Indent</th>
-
 
223
    ##                                    <th>In Stock</th>
-
 
224
    ##                                    <th>Shortage Qty</th>
-
 
225
    ##                                    <th>Availability</th>
-
 
226
    ##
-
 
227
    ##                                </tr>
-
 
228
    ##
-
 
229
    ##                                    #foreach($item in $focused.getValue())
-
 
230
    ##
-
 
231
    ##
-
 
232
    ##                                    <tr>
-
 
233
    ##                                        <td>$item.getBrandName() $item.getModelName()  $item.getModelNumber() </td>
-
 
234
    ##                                        <td>$item.getPendingIndentQty()</td>
-
 
235
    ##
-
 
236
    ##
-
 
237
    ##                                        #if($item.getShortageQty() > $item.getGrnStockQty())
-
 
238
    ##                                            <td style="color:red">$item.getGrnStockQty()</td>
-
 
239
    ##                                        #else
-
 
240
    ##                                            <td>$item.getGrnStockQty()</td>
-
 
241
    ##                                        #end
-
 
242
    ##
-
 
243
    ##                                        #if($item.getShortageQty() > 0 )
-
 
244
    ##                                            <td>$item.getShortageQty()</td>
-
 
245
    ##                                        #else
-
 
246
    ##                                            <td>0</td>
-
 
247
    ##                                        #end
-
 
248
    ##                                        <td>$item.getAvailabitiy()</td>
-
 
249
    ##
-
 
250
    ##                                    </tr>
-
 
251
    ##
-
 
252
    ##
-
 
253
    ##                                    #end
-
 
254
    ##
-
 
255
    ##
-
 
256
    ##                                </tbody>
-
 
257
    ##                            </table>
-
 
258
    ##                        </div>
-
 
259
    ##                    </td>
-
 
260
    ##
-
 
261
    ##
-
 
262
    ##                </tr>
-
 
263
    ##                    #set($index=$index+1)
-
 
264
    ##                #end
-
 
265
    ##
-
 
266
    ##
-
 
267
    ##            </tbody>
-
 
268
    ##        </table>
-
 
269
    ##
-
 
270
    ##    </div>
-
 
271
    ##</div>
-
 
272
 
-
 
273
<div class="row">
-
 
274
    <div class="col-lg-12">
-
 
275
        <h5>
-
 
276
            <a data-toggle="collapse" href="#inStockCollapse" role="button" aria-expanded="false"
-
 
277
               aria-controls="inStockCollapse">
-
 
278
                In Stock
-
 
279
            </a>
-
 
280
        </h5>
-
 
281
 
-
 
282
        <div class="collapse" id="inStockCollapse">
-
 
283
            <table class="table table-advance" id="brand-instock">
-
 
284
                <tbody>
-
 
285
                <tr>
-
 
286
                    <th>#</th>
-
 
287
                    <th>Brand</th>
-
 
288
                </tr>
-
 
289
                    #set($index = 0)
-
 
290
                    #foreach($brand in $inStockBrandMap.entrySet())
-
 
291
                    <tr class="accordion-toggle collapsed" id="accordion1" data-toggle="collapse"
-
 
292
                        data-parent="#accordion1"
-
 
293
                        href="#brand-$index">
-
 
294
                        <td class="expand-button"></td>
-
 
295
                        <td>$brand.getKey()</td>
-
 
296
                    </tr>
-
 
297
 
-
 
298
                    <tr class="hide-table-padding">
-
 
299
                        <td></td>
-
 
300
                        <td colspan="3">
-
 
301
                            <div class="collapse p-3" id="brand-$index">
-
 
302
                                <table class="table table-advance">
-
 
303
                                    <tbody>
-
 
304
                                    <tr>
-
 
305
                                        <th width="36%">Item</th>
-
 
306
                                        <th>Quantity</th>
-
 
307
                                    </tr>
-
 
308
                                        #foreach($items in $brand.getValue())
-
 
309
                                        <tr>
-
 
310
                                            <td>$items.getItemDescription()</td>
-
 
311
                                            <td>$items.getQty()</td>
-
 
312
                                        </tr>
-
 
313
                                        #end
-
 
314
                                    </tbody>
-
 
315
                                </table>
-
 
316
                            </div>
-
 
317
                        </td>
-
 
318
                    </tr>
-
 
319
                        #set($index = $index + 1)
-
 
320
                    #end
-
 
321
                </tbody>
-
 
322
            </table>
-
 
323
        </div>
-
 
324
    </div>
-
 
325
</div>
101
</div>
326
 
-
 
327
 
-
 
328
 
-
 
329
    ##<div class="row">
-
 
330
    ##    <div class="col-lg-12">
-
 
331
    ##        <h5> Grn Pending </h5>
-
 
332
    ##        <table class="table  table-advance" id="brand-grn">
-
 
333
    ##            <tbody>
-
 
334
    ##            <tr>
-
 
335
    ##                <th>#</th>
-
 
336
    ##                <th>Brand</th>
-
 
337
    ##
-
 
338
    ##            </tr>
-
 
339
    ##                #set($index = 0)
-
 
340
    ##
-
 
341
    ##                #foreach($grnpending in $grnPendingBrandMap.entrySet())
-
 
342
    ##
-
 
343
    ##                <tr class="accordion-toggle collapsed" id="accordion1" data-toggle="collapse" data-parent="#accordion1"
-
 
344
    ##                    href="#grn-$index">
-
 
345
    ##                    <td class="expand-button"></td>
-
 
346
    ##                    <td>$grnpending.getKey()</td>
-
 
347
    ##
-
 
348
    ##                </tr>
-
 
349
    ##
-
 
350
    ##
-
 
351
    ##                <tr class="hide-table-padding">
-
 
352
    ##                    <td></td>
-
 
353
    ##                    <td colspan="3">
-
 
354
    ##                        <div class="collapse p-3" id="grn-$index">
-
 
355
    ##                            <table class="table  table-advance">
-
 
356
    ##                                <tbody>
-
 
357
    ##                                <tr>
-
 
358
    ##                                    <th width="36%">Item</th>
-
 
359
    ##                                    <th>Quantity</th>
-
 
360
    ##
-
 
361
    ##                                </tr>
-
 
362
    ##
-
 
363
    ##                                    #foreach($items in $grnpending.getValue())
-
 
364
    ##
-
 
365
    ##                                    <tr>
-
 
366
    ##                                        <td>$items.getItemDescription()</td>
-
 
367
    ##                                        <td>$items.getQty()</td>
-
 
368
    ##
-
 
369
    ##                                    </tr>
-
 
370
    ##                                    #end
-
 
371
    ##
-
 
372
    ##
-
 
373
    ##                                </tbody>
-
 
374
    ##                            </table>
-
 
375
    ##                        </div>
-
 
376
    ##                    </td>
-
 
377
    ##
-
 
378
    ##
-
 
379
    ##                </tr>
-
 
380
    ##                    #set($index=$index+1)
-
 
381
    ##                #end
-
 
382
    ##
-
 
383
    ##
-
 
384
    ##            </tbody>
-
 
385
    ##        </table>
-
 
386
    ##
-
 
387
    ##    </div>
-
 
388
    ##</div>
-
 
389
 
-
 
390
 
-
 
391
    ##<div class="row">
-
 
392
    ##    <div class="col-lg-12">
-
 
393
    ##        <h5> Pending Indent </h5>
-
 
394
    ##        <table class="table  table-advance" id="brand-pending">
-
 
395
    ##            <tbody>
-
 
396
    ##            <tr>
-
 
397
    ##                <th>#</th>
-
 
398
    ##                <th>Brand</th>
-
 
399
    ##
-
 
400
    ##            </tr>
-
 
401
    ##                #set($index = 0)
-
 
402
    ##
-
 
403
    ##                #foreach($pendingIndent in $pendingIndentBrandMap.entrySet())
-
 
404
    ##
-
 
405
    ##                <tr class="accordion-toggle collapsed" id="accordion1" data-toggle="collapse" data-parent="#accordion1"
-
 
406
    ##                    href="#pending-$index">
-
 
407
    ##                    <td class="expand-button"></td>
-
 
408
    ##                    <td>$pendingIndent.getKey()</td>
-
 
409
    ##
-
 
410
    ##                </tr>
-
 
411
    ##
-
 
412
    ##
-
 
413
    ##                <tr class="hide-table-padding">
-
 
414
    ##                    <td></td>
-
 
415
    ##                    <td colspan="3">
-
 
416
    ##                        <div class="collapse p-3" id="pending-$index">
-
 
417
    ##                            <table class="table  table-advance">
-
 
418
    ##                                <tbody>
-
 
419
    ##                                <tr>
-
 
420
    ##                                    <th width="36%">Item</th>
-
 
421
    ##                                    <th>Quantity</th>
-
 
422
    ##
-
 
423
    ##                                </tr>
-
 
424
    ##
-
 
425
    ##                                    #foreach($items in $pendingIndent.getValue())
-
 
426
    ##
-
 
427
    ##                                    <tr>
-
 
428
    ##                                        <td>$items.getItemDescription()</td>
-
 
429
    ##                                        <td>$items.getQty()</td>
-
 
430
    ##
-
 
431
    ##                                    </tr>
-
 
432
    ##                                    #end
-
 
433
    ##
-
 
434
    ##
-
 
435
    ##                                </tbody>
-
 
436
    ##                            </table>
-
 
437
    ##                        </div>
-
 
438
    ##                    </td>
-
 
439
    ##
-
 
440
    ##
-
 
441
    ##                </tr>
-
 
442
    ##                    #set($index=$index+1)
-
 
443
    ##                #end
-
 
444
    ##
-
 
445
    ##
-
 
446
    ##            </tbody>
-
 
447
    ##        </table>
-
 
448
    ##
-
 
449
    ##    </div>
-
 
450
    ##</div>
-
 
451
#end
102
#end