Subversion Repositories SmartDukaan

Rev

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

Rev 32130 Rev 33974
Line 82... Line 82...
82
                    <th>Code</th>
82
                    <th>Code</th>
83
                    <th>Wallet Amount</th>
83
                    <th>Wallet Amount</th>
84
                    <th>Short Investment</th>
84
                    <th>Short Investment</th>
85
                    <th>Auth User</th>
85
                    <th>Auth User</th>
86
                    <th>Remark</th>
86
                    <th>Remark</th>
87
                    #foreach( $request in $partnerCollectionPlanMap.keySet() )
87
                    #foreach( $partnerCollectionPlanModel in $partnerCollectionPlanMap.keySet() )
88
                        <th>$request</th>
88
                        <th>$partnerCollectionPlanModel</th>
89
                    #end
89
                    #end
90
 
90
 
91
                </tr>
91
                </tr>
92
                </thead>
92
                </thead>
93
                <tbody>
93
                <tbody>
94
                    #foreach($request in  $customRetailers.entrySet() )
94
                    #foreach($customRetailersModel in  $customRetailers.entrySet() )
95
                    <tr>
95
                    <tr>
96
                        <td>$request.getValue().getBusinessName()</td>
96
                        <td>$customRetailersModel.getValue().getBusinessName()</td>
97
                        <td>$request.getValue().getCode()</td>
97
                        <td>$customRetailersModel.getValue().getCode()</td>
98
                        #if($partnerDailyInvestmentMap.get($request.getKey()).getWalletAmount())
98
                        #if($partnerDailyInvestmentMap.get($customRetailersModel.getKey()).getWalletAmount())
99
                            <td class="currency">$partnerDailyInvestmentMap.get($request.getKey()).getWalletAmount()</td>
99
                            <td class="currency">$partnerDailyInvestmentMap.get($customRetailersModel.getKey()).getWalletAmount()</td>
100
                        #else
100
                        #else
101
                            <td> -</td>
101
                            <td> -</td>
102
                        #end
102
                        #end
103
                        #if($partnerDailyInvestmentMap.get($request.getKey()).getShortInvestment())
103
                        #if($partnerDailyInvestmentMap.get($customRetailersModel.getKey()).getShortInvestment())
104
 
104
 
105
                            <td class="currency">$partnerDailyInvestmentMap.get($request.getKey()).getShortInvestment()</td>
105
                            <td class="currency">$partnerDailyInvestmentMap.get($customRetailersModel.getKey()).getShortInvestment()</td>
106
                        #else
106
                        #else
107
                            <td> -</td>
107
                            <td> -</td>
108
                        #end
108
                        #end
109
 
109
 
110
 
110
 
111
                        #if($todayPcpmMap.get($request.getKey()).getRemark())
111
                        #if($todayPcpmMap.get($customRetailersModel.getKey()).getRemark())
112
 
112
 
113
                            <td>$authUserMap.get($todayPcpmMap.get($request.getKey()).getRemarkAuthId()).getFullName() </td>
113
                            <td>$authUserMap.get($todayPcpmMap.get($customRetailersModel.getKey()).getRemarkAuthId()).getFullName() </td>
114
                        #else
114
                        #else
115
                            <td>-</td>
115
                            <td>-</td>
116
                        #end
116
                        #end
117
 
117
 
118
                        #if($todayPcpmMap.get($request.getKey()).getRemark())
118
                        #if($todayPcpmMap.get($customRetailersModel.getKey()).getRemark())
119
                            <td title="$todayPcpmMap.get($request.getKey()).getMessage()">$todayPcpmMap.get($request.getKey()).getRemark()
119
                            <td title="$todayPcpmMap.get($customRetailersModel.getKey()).getMessage()">$todayPcpmMap.get($customRetailersModel.getKey()).getRemark()
120
                                ($todayPcpmMap.get($request.getKey()).getRemarkTimestamp().format($dateMonthFormatter))
120
                                ($todayPcpmMap.get($customRetailersModel.getKey()).getRemarkTimestamp().format($dateMonthFormatter)
-
 
121
                                )
121
                            </td>
122
                            </td>
122
                        #else
123
                        #else
123
                            <td>-</td>
124
                            <td>-</td>
124
                        #end
125
                        #end
125
                        #foreach($ldate in $partnerCollectionPlanMap.entrySet())
126
                        #foreach($ldate in $partnerCollectionPlanMap.entrySet())
126
                            #set($rank = $ldate.getValue().get($request.getKey()).getRank())
127
                            #set($rank = $ldate.getValue().get($customRetailersModel.getKey()).getRank())
127
                            #if($ldate.getValue().get($request.getKey()).getTargetPlan())
128
                            #if($ldate.getValue().get($customRetailersModel.getKey()).getTargetPlan())
128
                                <td style="background-color : $rankColorMap.get($rank)">$ldate.getValue().get($request.getKey()).getTargetPlan()
129
                                <td style="background-color : $rankColorMap.get($rank)">$ldate.getValue().get($customRetailersModel.getKey()).getTargetPlan()
129
 
130
 
130
                                    #if($ldate.getValue().get($request.getKey()).getCommittedDate())
131
                                    #if($ldate.getValue().get($customRetailersModel.getKey()).getCommittedDate())
131
                                        ($ldate.getValue().get($request.getKey()).getCommittedDate().format($dateMonthFormatter)
132
                                        ($ldate.getValue().get($customRetailersModel.getKey()).getCommittedDate().format($dateMonthFormatter)
132
                                        )
133
                                        )
133
                                    #end</td>
134
                                    #end</td>
134
                            #else
135
                            #else
135
                                <td style="background-color : $rankColorMap.get($rank)"> 0
136
                                <td style="background-color : $rankColorMap.get($rank)"> 0
136
                                    #if($ldate.getValue().get($request.getKey()).getCommittedDate())
137
                                    #if($ldate.getValue().get($customRetailersModel.getKey()).getCommittedDate())
137
                                        ($ldate.getValue().get($request.getKey()).getCommittedDate().format($dateMonthFormatter)
138
                                        ($ldate.getValue().get($customRetailersModel.getKey()).getCommittedDate().format($dateMonthFormatter)
138
                                        )
139
                                        )
139
                                    #end
140
                                    #end
140
                                </td>
141
                                </td>
141
                            #end
142
                            #end
142
                        #end
143
                        #end