Subversion Repositories SmartDukaan

Rev

Rev 34456 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34087 ranu 1
<style>
2
 
3
    h5 {
4
        text-align: center;
5
        background-color: lightgray;
6
        padding: 5px;
7
        font-size: 16px;
8
    }
9
 
10
    #brand-instock tr.hide-table-padding td {
11
        padding: 0;
12
    }
13
 
14
    .expand-button {
15
        position: relative;
16
    }
17
 
18
    .accordion-toggle .expand-button:after {
19
        position: absolute;
20
        left: .75rem;
21
        top: 50%;
22
        transform: translate(0, -50%);
23
        content: '-';
24
    }
25
 
26
    .accordion-toggle.collapsed .expand-button:after {
27
        content: '+';
28
    }
29
 
30
    .tab-inactive {
31
        background-color: #cccccc47;
32
        border-radius: 4px;
33
    }
34
 
35
</style>
36
 
37
 
38
 
39
#if($brand != "undefined")
34384 ranu 40
<div class="container-fluid">
41
    <div class="row">
42
        <div class="panel-group">
43
            <div class="panel panel-default">
34412 ranu 44
                <div style="border-top: 1px solid rgba(204,204,204,0.81);">
45
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover"
46
                           style="width:100%">
47
                        <thead>
48
                        <tr>
49
                            <th>Item</th>
34449 ranu 50
                            <th>In Stock</th>
51
                            <th>Grn Pending</th>
52
                            <th>Indent</th>
34087 ranu 53
 
34412 ranu 54
                        </tr>
55
                        </thead>
56
                        <tbody>
34449 ranu 57
                            #foreach($entry in $brandToUniqueItemsMap.entrySet())
34425 ranu 58
                                #set($brand = $entry.key)
59
                                #set($stockList = $entry.value)
34412 ranu 60
 
34384 ranu 61
                            <tr>
34449 ranu 62
                                <td colspan="4" style="font-weight: bold; background-color: #f0f0f0;">$brand</td>
34384 ranu 63
                            </tr>
34087 ranu 64
 
34425 ranu 65
                                #foreach($inStock in $stockList)
66
                                <tr>
34490 ranu 67
                                    <td class="get-stock-info" data-catalogid="$inStock.getCatalogId()"
68
                                        data-fofoid="$fofoId">$inStock.getItemDescription()</td>
34449 ranu 69
 
70
                                    <td>
71
                                        #if($inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty())
72
                                            $inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty()
73
                                        #else
74
                                            -
75
                                        #end
76
                                    </td>
77
                                    <td>
78
                                        #if($grnPendingsDescriptionModelMap.get($inStock.getItemDescription()).getQty())
79
                                            $grnPendingsDescriptionModelMap.get($inStock.getItemDescription()).getQty()
80
                                        #else
81
                                            -
82
                                        #end
83
                                    </td>
84
                                    <td>
85
                                        #if($pendingIndentsDescriptionModelMap.get($inStock.getItemDescription()).getQty())
86
                                            $pendingIndentsDescriptionModelMap.get($inStock.getItemDescription()).getQty()
87
                                        #else
88
                                            -
89
                                        #end
90
                                    </td>
34425 ranu 91
                                </tr>
92
                                #end
34412 ranu 93
                            #end
94
                        </tbody>
95
                    </table>
34087 ranu 96
 
34384 ranu 97
                </div>
98
            </div>
99
        </div>
34087 ranu 100
    </div>
101
</div>
34449 ranu 102
</div>
34087 ranu 103
#end