Subversion Repositories SmartDukaan

Rev

Rev 34256 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34163 ranu 1
<div class="col-lg-12">
2
 
34198 ranu 3
    <ul class="nav nav-pills">
4
        #foreach($brand in $brands)
5
            <li class="#if($foreach.index == 0) in active #end"><a data-toggle="pill" href="#$brand">$brand</a></li>
6
        #end
7
 
8
    </ul>
9
    <hr style="border-top: 1px solid #000;">
10
    <div class="tab-content">
11
        #foreach($brand in $brands)
12
            <div id="$brand" class="tab-pane fade in #if($foreach.index == 0) in active #end">
13
                <table class="table table-bordered table-condensed hidCatalogAllocationList" style="width:100%">
14
                    <thead class="row htable" style="background:#F5F5F5;">
15
                    <tr style="color:black;">
16
                        <th>Catalog Id</th>
17
                        <th>Model Number</th>
18
                        <th>Brand</th>
34256 ranu 19
                        <th>Po Qty</th>
20
                        <th>Stock Qty</th>
21
                        <th>Total Availability</th>
36895 amit 22
                        <th>HID Qty</th>
34198 ranu 23
                        <th>Purchase Limit</th>
36895 amit 24
                        <th>Requested Qty</th>
34198 ranu 25
                        <th>Action</th>
26
                    </tr>
27
                    </thead>
28
                    <tbody>
29
                        #if($hidAllocationModelBrandMap.containsKey($brand) && !$hidAllocationModelBrandMap.get($brand).isEmpty())
30
 
31
 
32
                            #foreach($model in $hidAllocationModelBrandMap.get($brand))
33
                            <tr>
34
                                <td> $model.getCatalogId() </td>
35
                                <td> $model.getModelNumber() </td>
36
                                <td> $model.getBrand() </td>
34256 ranu 37
                                <td> $model.getOrderedStock() </td>
38
                                <td> $model.getCurrentSnapshotStock() </td>
34198 ranu 39
                                <td> $model.getAvailableStock() </td>
36895 amit 40
                                <td> $model.getHidAllocation() </td>
34198 ranu 41
                                <td> $model.getPurchaseLimit() </td>
36895 amit 42
                                <td><input value="$model.getPurchaseLimit()" disabled name="allocation-limit"></td>
34198 ranu 43
                                <td>
44
                                    #if($isAdmin)
45
                                        <button class="btn btn-sm btn-info generate-allocation-request"
46
                                                data-catalogid="$model.getCatalogId()">Generate Request
47
                                        </button>
48
                                    #else
49
                                        -
50
                                    #end
51
                                </td>
52
                            </tr>
53
                            #end
54
                        #else
55
                        <tr>
36895 amit 56
                            <td colspan="9"> No Data Available</td>
34198 ranu 57
                        </tr>
58
                        #end
59
                    </tbody>
60
                </table>
61
            </div>
62
        #end
63
    </div>
34163 ranu 64
</div>
34198 ranu 65
</div>