Subversion Repositories SmartDukaan

Rev

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

Rev 34425 Rev 34449
Line 45... Line 45...
45
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover"
45
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover"
46
                           style="width:100%">
46
                           style="width:100%">
47
                        <thead>
47
                        <thead>
48
                        <tr>
48
                        <tr>
49
                            <th>Item</th>
49
                            <th>Item</th>
-
 
50
                            <th>In Stock</th>
-
 
51
                            <th>Grn Pending</th>
50
                            <th>Qty</th>
52
                            <th>Indent</th>
51
 
53
 
52
                        </tr>
54
                        </tr>
53
                        </thead>
55
                        </thead>
54
                        <tbody>
56
                        <tbody>
55
                            #foreach($entry in $brandInstockListMap.entrySet())
57
                            #foreach($entry in $brandToUniqueItemsMap.entrySet())
56
                                #set($brand = $entry.key)
58
                                #set($brand = $entry.key)
57
                                #set($stockList = $entry.value)
59
                                #set($stockList = $entry.value)
58
 
60
 
59
                            <tr>
61
                            <tr>
60
                                <td colspan="2" style="font-weight: bold; background-color: #f0f0f0;">$brand</td>
62
                                <td colspan="4" style="font-weight: bold; background-color: #f0f0f0;">$brand</td>
61
                            </tr>
63
                            </tr>
62
 
64
 
63
                                #foreach($inStock in $stockList)
65
                                #foreach($inStock in $stockList)
64
                                <tr>
66
                                <tr>
65
                                    <td>$inStock.getItemDescription()</td>
67
                                    <td>$inStock.getItemDescription()</td>
-
 
68
 
-
 
69
                                    <td>
-
 
70
                                        #if($inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty())
-
 
71
                                            $inStocksDescriptionModelMap.get($inStock.getItemDescription()).getQty()
-
 
72
                                        #else
-
 
73
                                            -
-
 
74
                                        #end
66
                                    <td>$inStock.getQty()</td>
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>
67
                                </tr>
90
                                </tr>
68
                                #end
91
                                #end
69
                            #end
92
                            #end
70
                        </tbody>
93
                        </tbody>
71
                    </table>
94
                    </table>
Line 73... Line 96...
73
                </div>
96
                </div>
74
            </div>
97
            </div>
75
        </div>
98
        </div>
76
    </div>
99
    </div>
77
</div>
100
</div>
78
    ##
-
 
79
    ##
-
 
80
    ##<div class="row">
-
 
81
    ##    <div class="col-lg-12">
-
 
82
    ##
-
 
83
    ##        <h5> Grn Pending </h5>
-
 
84
    ##        <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
-
 
85
    ##            <thead>
-
 
86
    ##            <tr>
-
 
87
    ##                <th>Item</th>
-
 
88
    ##                <th>Qty</th>
-
 
89
    ##
-
 
90
    ##            </tr>
-
 
91
    ##            </thead>
-
 
92
    ##            <tbody>
-
 
93
    ##
-
 
94
    ##                #foreach($grnPending in $grnPendings)
-
 
95
    ##                <tr>
-
 
96
    ##                    <td>$grnPending.getItemDescription()</td>
-
 
97
    ##                    <td>$grnPending.getQty()</td>
-
 
98
    ##
-
 
99
    ##                </tr>
-
 
100
    ##
-
 
101
    ##                #end
-
 
102
    ##
-
 
103
    ##            </tbody>
-
 
104
    ##        </table>
-
 
105
    ##    </div>
-
 
106
    ##</div>
-
 
107
 
101
 
108
 
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
 
109
    ##<div class="row">
131
            <div class="row">
110
    ##    <div class="col-lg-12">
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>
111
    ##
157
            </div>
-
 
158
 
-
 
159
 
-
 
160
            <div class="row">
-
 
161
                <div class="col-lg-12">
-
 
162
 
112
    ##        <h5> Pending Indent </h5>
163
                    <h5> Pending Indent </h5>
113
    ##        <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
164
                    <table id="itemwiseshortagestock" class="table table-striped table-advance table-hover" style="width:100%">
114
    ##            <thead>
165
                        <thead>
115
    ##            <tr>
166
                        <tr>
116
    ##                <th>Item</th>
167
                            <th>Item</th>
117
    ##                <th>Qty</th>
168
                            <th>Qty</th>
118
    ##
169
 
119
    ##            </tr>
170
                        </tr>
120
    ##            </thead>
171
                        </thead>
121
    ##            <tbody>
172
                        <tbody>
122
    ##
173
 
123
    ##                #foreach($pendingIndent in $pendingIndents)
174
                            #foreach($pendingIndent in $pendingIndents)
124
    ##                <tr>
175
                            <tr>
125
    ##                    <td>$pendingIndent.getItemDescription()</td>
176
                                <td>$pendingIndent.getItemDescription()</td>
126
    ##                    <td>$pendingIndent.getQty()</td>
177
                                <td>$pendingIndent.getQty()</td>
127
    ##
178
 
128
    ##                </tr>
179
                            </tr>
129
    ##
180
 
130
    ##                #end
181
                            #end
131
    ##
182
 
132
    ##            </tbody>
183
                        </tbody>
133
    ##        </table>
184
                    </table>
134
    ##    </div>
185
                </div>
135
    ##</div>
186
            </div>*#
136
    ##</div>
187
</div>
137
 
188
 
138
#else
189
#else
139
 
190
 
140
 
191
 
141
    ##<div class="row">
192
    ##<div class="row">