Subversion Repositories SmartDukaan

Rev

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

Rev 32802 Rev 33806
Line 36... Line 36...
36
            <table id="partnerBrandWiseDetail" class="table table-striped table-advance table-hover" style="width:100%">
36
            <table id="partnerBrandWiseDetail" class="table table-striped table-advance table-hover" style="width:100%">
37
                <thead>
37
                <thead>
38
                <tr>
38
                <tr>
39
                    <th>Partner Name</th>
39
                    <th>Partner Name</th>
40
                    <th>Code</th>
40
                    <th>Code</th>
41
                    <th>Activation Type</th>
-
 
42
                    <th>Category</th>
41
                    <th>Category</th>
43
                    <th>Manager</th>
42
                    <th>Manager</th>
44
                    <th>Wallet Amount</th>
43
                    <th>Wallet Amount</th>
45
                    <th>Short Invest</th>
44
                    <th>Short Invest</th>
46
                    <th>Min Invest</th>
45
                    <th>Min Invest</th>
-
 
46
                    <th>Monthly target</th>
-
 
47
                    <th>MTD Purchase</th>
-
 
48
                    <th>MTD Sale</th>
47
 
49
 
48
                    #foreach($brand in $brands)
50
                    #foreach($brand in $brands)
49
 
51
 
50
                        <th class="$brand.toLowerCase()"><p>$brand</p></th>
52
                        <th class="$brand.toLowerCase()"><p>$brand</p></th>
51
                    #end
53
                    #end
52
                    <th>Accessories</th>
54
                    <th>Accessories</th>
53
                    <th>TV</th>
55
                    <th>TV</th>
-
 
56
                    <th>Activation Type</th>
54
                </tr>
57
                </tr>
55
 
58
 
56
 
59
 
57
                </thead>
60
                </thead>
58
                <tbody>
61
                <tbody>
Line 60... Line 63...
60
                    #foreach($cr in $customRetailers.entrySet())
63
                    #foreach($cr in $customRetailers.entrySet())
61
                    <tr>
64
                    <tr>
62
                        <td class="brandStock" data-fofoid="$cr.getKey()" data-toggle="modal"
65
                        <td class="brandStock" data-fofoid="$cr.getKey()" data-toggle="modal"
63
                            data-target="#itemWiseBrandStock">$cr.getValue().getBusinessName()</td>
66
                            data-target="#itemWiseBrandStock">$cr.getValue().getBusinessName()</td>
64
                        <td>$cr.getValue().getCode()</td>
67
                        <td>$cr.getValue().getCode()</td>
65
                        <td>
-
 
66
 
-
 
67
 
-
 
68
                            <div style="display:flex">
-
 
69
                                #if($partnerActivationType.get($cr.getKey()) && $canChangeActivationType)
-
 
70
                                <select class="form-control input-sm" id="activationType" name="activationType"
-
 
71
                                        placeholder="Activation Type">
-
 
72
 
-
 
73
 
-
 
74
                                    #foreach($activationType in $activationTypes)
-
 
75
 
-
 
76
                                        #if($activationType == $partnerActivationType.get($cr.getKey())))
-
 
77
 
-
 
78
                                            <option value="$partnerActivationType.get($cr.getKey())"
-
 
79
                                                    selected>$partnerActivationType.get($cr.getKey())</option>
-
 
80
                                        #else
-
 
81
                                            <option value="$activationType">$activationType</option>
-
 
82
 
-
 
83
                                        #end
-
 
84
                                    #end
-
 
85
                                #else
-
 
86
                                    $partnerActivationType.get($cr.getKey())
-
 
87
                                #end
-
 
88
                            </div>
-
 
89
                            </select>
-
 
90
 
-
 
91
 
68
 
92
                        </td>
-
 
93
                        <td>$fofoIdPartnerTypeMap.get($cr.getKey())</td>
69
                        <td>$fofoIdPartnerTypeMap.get($cr.getKey())</td>
94
                        <td>$partnerSalesHeadersMap.get($cr.getKey()).getTerritoryManager()</td>
70
                        <td>$partnerSalesHeadersMap.get($cr.getKey()).getTerritoryManager()</td>
95
 
71
 
96
                        <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getWalletAmount()</td>
72
                        <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getWalletAmount()</td>
97
 
73
 
Line 108... Line 84...
108
                                style="color:red">$partnerDailyInvestmentMap.get($cr.getKey()).getShortInvestment()</td>
84
                                style="color:red">$partnerDailyInvestmentMap.get($cr.getKey()).getShortInvestment()</td>
109
                        #else
85
                        #else
110
                            <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getShortInvestment()</td>
86
                            <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getShortInvestment()</td>
111
                        #end
87
                        #end
112
                        <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getMinInvestment()</td>
88
                        <td class="currency">$partnerDailyInvestmentMap.get($cr.getKey()).getMinInvestment()</td>
-
 
89
                        #if($fofoIdMonthlyTargetMap.get($cr.getKey()).getPurchaseTarget()!=0)
-
 
90
                            <td class="currency">$fofoIdMonthlyTargetMap.get($cr.getKey()).getPurchaseTarget()</td>
-
 
91
                        #else
-
 
92
                            <td class="currency">--</td>
-
 
93
 
-
 
94
                        #end
-
 
95
                        #if($currentMonthTillDateRetailerPOValueMap.get($cr.getKey()))
-
 
96
                            <td class="currency">$currentMonthTillDateRetailerPOValueMap.get($cr.getKey())</td>
-
 
97
                        #else
-
 
98
                            <td class="currency">--</td>
-
 
99
 
-
 
100
                        #end
-
 
101
                        #if($fofoMTDSaleMap.get($cr.getKey()))
-
 
102
                            <td class="currency">$fofoMTDSaleMap.get($cr.getKey())</td>
-
 
103
                        #else
-
 
104
                            <td class="currency">--</td>
113
 
105
 
-
 
106
                        #end
114
 
107
 
115
                        #foreach($brand in $brands)
108
                        #foreach($brand in $brands)
116
 
109
 
117
 
110
 
118
                            #set($totalStock =  $fofoIdBrandAmountMap.get($cr.getKey()).get($brand))
111
                            #set($totalStock =  $fofoIdBrandAmountMap.get($cr.getKey()).get($brand))
Line 249... Line 242...
249
                            <td class="currency brandStock" style="background-color:#F7DC6F" data-fofoid="$cr.getKey()"
242
                            <td class="currency brandStock" style="background-color:#F7DC6F" data-fofoid="$cr.getKey()"
250
                                data-brand="TV" data-toggle="modal"
243
                                data-brand="TV" data-toggle="modal"
251
                                data-target="#itemWiseBrandStock"> $totalTvStock</td>
244
                                data-target="#itemWiseBrandStock"> $totalTvStock</td>
252
                        #end
245
                        #end
253
 
246
 
-
 
247
                        <td>
-
 
248
 
-
 
249
 
-
 
250
                            <div style="display:flex">
-
 
251
                                #if($partnerActivationType.get($cr.getKey()) && $canChangeActivationType)
-
 
252
                                <select class="form-control input-sm" id="activationType" name="activationType"
-
 
253
                                        placeholder="Activation Type">
-
 
254
 
-
 
255
 
-
 
256
                                    #foreach($activationType in $activationTypes)
-
 
257
 
-
 
258
                                        #if($activationType == $partnerActivationType.get($cr.getKey())))
-
 
259
 
-
 
260
                                            <option value="$partnerActivationType.get($cr.getKey())"
-
 
261
                                                    selected>$partnerActivationType.get($cr.getKey())</option>
-
 
262
                                        #else
-
 
263
                                            <option value="$activationType">$activationType</option>
-
 
264
 
-
 
265
                                        #end
-
 
266
                                    #end
-
 
267
                                #else
-
 
268
                                    $partnerActivationType.get($cr.getKey())
-
 
269
                                #end
-
 
270
                            </div>
-
 
271
                            </select>
254
 
272
 
-
 
273
 
-
 
274
                        </td>
255
                    </tr>
275
                    </tr>
256
                    #end
276
                    #end
257
 
277
 
258
                </tbody>
278
                </tbody>
259
            </table>
279
            </table>