Subversion Repositories SmartDukaan

Rev

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

Rev 34002 Rev 34055
Line 30... Line 30...
30
        background-repeat: no-repeat;
30
        background-repeat: no-repeat;
31
        color: #000; /* Ensure text remains visible */
31
        color: #000; /* Ensure text remains visible */
32
        font-weight: 400;
32
        font-weight: 400;
33
    }
33
    }
34
 
34
 
-
 
35
    #rbm-aging-table td {
-
 
36
        text-align: center;
-
 
37
        background-size: 100% 100%;
-
 
38
        background-repeat: no-repeat;
-
 
39
        color: #000; /* Ensure text remains visible */
-
 
40
        font-weight: 400;
-
 
41
    }
-
 
42
 
-
 
43
    .border-top-bottom {
-
 
44
        border-top: 2px solid #000 !important;
-
 
45
        border-bottom: 2px solid #000 !important;
-
 
46
    }
-
 
47
 
-
 
48
    #rbm-aging-table td, #rbm-aging-table th {
-
 
49
        padding: 0.35rem;
-
 
50
        font-size: 18px;
-
 
51
    }
-
 
52
 
35
</style>
53
</style>
36
 
54
 
37
<section class="wrapper">
55
<section class="wrapper">
38
    <div class="row">
56
    <div class="row" style="margin: 0">
39
        #if($isGtEqL3)
57
        #if($isGtEqL3)
40
        <div class="col-md-12 text-right">
58
        <div class="col-md-12 text-right">
-
 
59
            <h4>RBM Wise Today's ARR (Basis Product Movement)</h4>
41
            <table style="float:right;margin-bottom: 10px;">
60
            <table style="float:right;margin-bottom: 10px;">
42
                <tr>
61
                <tr>
43
                    <td>
62
                    <td>
44
                        <input placeholder="Set Duration" name="rbmArrPeriod"
63
                        <input placeholder="Set Duration" name="rbmArrPeriod"
45
                               id="rbmArrPeriod"
64
                               id="rbmArrPeriod"
Line 128... Line 147...
128
                </tr>
147
                </tr>
129
 
148
 
130
            </table>
149
            </table>
131
        </div>
150
        </div>
132
    </div>
151
    </div>
-
 
152
 
-
 
153
    <div class="row" style="margin: 0">
-
 
154
        #if($isGtEqL3)
-
 
155
 
-
 
156
            <div class="col-md-12">
-
 
157
                <br>
-
 
158
                <h4> > 15 Days Aging Sold </h4>
-
 
159
                <table id="rbm-aging-table" class="table table-border table-condensed table-bordered"
-
 
160
                       style="width:100%">
-
 
161
                    <thead>
-
 
162
                    <tr>
-
 
163
                        <th>RBM</th>
-
 
164
                        <th>EOL</th>
-
 
165
                        <th>RUNNING</th>
-
 
166
                        <th>FASTMOVING</th>
-
 
167
                        <th>HID</th>
-
 
168
                        <th>OTHER</th>
-
 
169
                        <th>TOTAL</th>
-
 
170
                    </tr>
-
 
171
                    </thead>
-
 
172
                    <tbody>
-
 
173
                        #foreach($model in $sold15daysOldAgingModels)
-
 
174
                        <tr>
-
 
175
                            <th>$model.getRbmName()</th>
-
 
176
                            <td>$model.getEolBilled()</td>
-
 
177
                            <td>$model.getRunningBilled()</td>
-
 
178
                            <td>$model.getFastmovingBilled()</td>
-
 
179
                            <td>$model.getHidBilled()</td>
-
 
180
                            <td>$model.getOthersBilled()</td>
-
 
181
                            <td>$model.getTotalBilled()</td>
-
 
182
                        </tr>
-
 
183
                        #end
-
 
184
                    <tr>
-
 
185
                        <th class="border-top-bottom"> Total</th>
-
 
186
                        <td class="border-top-bottom">$totalSoldEol</td>
-
 
187
                        <td class="border-top-bottom">$totalSoldRun</td>
-
 
188
                        <td class="border-top-bottom">$totalSoldFast</td>
-
 
189
                        <td class="border-top-bottom">$totalSoldHid</td>
-
 
190
                        <td class="border-top-bottom">$totalSoldOther</td>
-
 
191
                        <td class="border-top-bottom">$totalSoldAging</td>
-
 
192
                    </tr>
-
 
193
                        #foreach($aging in $our15DaysOldAgingStocks)
-
 
194
                        <tr>
-
 
195
                            <th class="border-top-bottom"> 15 days Balance Value</th>
-
 
196
                            <td class="border-top-bottom">$aging.getEolAgingStock()</td>
-
 
197
                            <td class="border-top-bottom">$aging.getRunningAgingStock()</td>
-
 
198
                            <td class="border-top-bottom">$aging.getFastmovingAgingStock()</td>
-
 
199
                            <td class="border-top-bottom">$aging.getHidAgingStock()</td>
-
 
200
                            <td class="border-top-bottom">$aging.getOtherAgingStock()</td>
-
 
201
                            <td class="border-top-bottom">$aging.getTotal()</td>
-
 
202
                        </tr>
-
 
203
                        #end
-
 
204
                    </tbody>
-
 
205
                </table>
-
 
206
            </div>
-
 
207
        #end
-
 
208
    </div>
133
</section>
209
</section>
134
 
210
 
135
<script>
211
<script>
136
    function formatValueInLakh(value) {
212
    function formatValueInLakh(value) {
137
        return (value / 100000).toFixed(1) + 'L';
213
        return (value / 100000).toFixed(1) + 'L';