Subversion Repositories SmartDukaan

Rev

Rev 34198 | Go to most recent revision | 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>
34198 ranu 22
                        <th>Allocation</th>
23
                        <th>Purchase Limit</th>
24
                        <th>Action</th>
25
                    </tr>
26
                    </thead>
27
                    <tbody>
28
                        #if($hidAllocationModelBrandMap.containsKey($brand) && !$hidAllocationModelBrandMap.get($brand).isEmpty())
29
 
30
 
31
                            #foreach($model in $hidAllocationModelBrandMap.get($brand))
32
                            <tr>
33
                                <td> $model.getCatalogId() </td>
34
                                <td> $model.getModelNumber() </td>
35
                                <td> $model.getBrand() </td>
34256 ranu 36
                                <td> $model.getOrderedStock() </td>
37
                                <td> $model.getCurrentSnapshotStock() </td>
34198 ranu 38
                                <td> $model.getAvailableStock() </td>
39
                                <td><input value="$model.getHidAllocation()" disabled name="allocation-limit"></td>
40
                                <td> $model.getPurchaseLimit() </td>
41
                                <td>
42
                                    #if($isAdmin)
43
                                        <button class="btn btn-sm btn-info generate-allocation-request"
44
                                                data-catalogid="$model.getCatalogId()">Generate Request
45
                                        </button>
46
                                    #else
47
                                        -
48
                                    #end
49
                                </td>
50
                            </tr>
51
                            #end
52
                        #else
53
                        <tr>
54
                            <td colspan="7"> No Data Available</td>
55
                        </tr>
56
                        #end
57
                    </tbody>
58
                </table>
59
            </div>
60
        #end
61
    </div>
34163 ranu 62
</div>
34198 ranu 63
</div>