Subversion Repositories SmartDukaan

Rev

Rev 34449 | Rev 34490 | 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>
67
                                    <td>$inStock.getItemDescription()</td>
34449 ranu 68
 
69
                                    <td>
70
                                        #if($inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty())
71
                                            $inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty()
72
                                        #else
73
                                            -
74
                                        #end
75
                                    </td>
76
                                    <td>
77
                                        #if($grnPendingsDescriptionModelMap.get($inStock.getItemDescription()).getQty())
78
                                            $grnPendingsDescriptionModelMap.get($inStock.getItemDescription()).getQty()
79
                                        #else
80
                                            -
81
                                        #end
82
                                    </td>
83
                                    <td>
84
                                        #if($pendingIndentsDescriptionModelMap.get($inStock.getItemDescription()).getQty())
85
                                            $pendingIndentsDescriptionModelMap.get($inStock.getItemDescription()).getQty()
86
                                        #else
87
                                            -
88
                                        #end
89
                                    </td>
34425 ranu 90
                                </tr>
91
                                #end
34412 ranu 92
                            #end
93
                        </tbody>
94
                    </table>
34087 ranu 95
 
34384 ranu 96
                </div>
97
            </div>
98
        </div>
34087 ranu 99
    </div>
100
</div>
34449 ranu 101
</div>
34087 ranu 102
#end