Subversion Repositories SmartDukaan

Rev

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

Rev 36235 Rev 36276
Line 164... Line 164...
164
            <th style="background-color: #dc3545; color: white;"><i class="fa fa-user-clock"></i> Idle</th>
164
            <th style="background-color: #dc3545; color: white;"><i class="fa fa-user-clock"></i> Idle</th>
165
            <th style="background-color: #fd7e14; color: white;"><i class="fa fa-coffee"></i> Break</th>
165
            <th style="background-color: #fd7e14; color: white;"><i class="fa fa-coffee"></i> Break</th>
166
            <th>Partner Count</th>
166
            <th>Partner Count</th>
167
            <th>(Ach/Tgt)</th>
167
            <th>(Ach/Tgt)</th>
168
            <th>Calling Target</th>
168
            <th>Calling Target</th>
169
            <th>Called</th>
169
            <th>Called / Rec / Unique</th>
170
            <th class="highlight-plan-today">Plan Today</th>
170
            <th class="highlight-plan-today">Plan Today</th>
171
            <th class="highlight-carry-forward">Carry Forward</th>
171
            <th class="highlight-carry-forward">Carry Forward</th>
172
            <th style="background-color: #1e6e0e; color: white;">Zero Billing</th>
172
            <th style="background-color: #1e6e0e; color: white;">Zero Billing</th>
173
            <th class="highlight-untouched">Untouched</th>
173
            <th class="highlight-untouched">Untouched</th>
174
            <th class="highlight-future-plan">Future Plan</th>
174
            <th class="highlight-future-plan">Future Plan</th>
Line 192... Line 192...
192
            #set($totalOutOfSequence = 0)
192
            #set($totalOutOfSequence = 0)
193
            #set($totalL2CallingList = 0)
193
            #set($totalL2CallingList = 0)
194
            #set($totalL3CallingList = 0)
194
            #set($totalL3CallingList = 0)
195
            #set($totalArrAchieved = 0)
195
            #set($totalArrAchieved = 0)
196
            #set($totalArrTarget = 0)
196
            #set($totalArrTarget = 0)
-
 
197
            #set($totalRecordingCalls = 0)
-
 
198
            #set($totalUniqueRecordingCalls = 0)
197
 
199
 
198
            ## Total row first
200
            ## Total row first
199
            #foreach($model in $rbmCallTargetModels)
201
            #foreach($model in $rbmCallTargetModels)
200
                #if(!$model.isL3Position())
202
                #if(!$model.isL3Position())
201
                    #set($totalPartnerCount = $totalPartnerCount + $model.getPartnerCount())
203
                    #set($totalPartnerCount = $totalPartnerCount + $model.getPartnerCount())
Line 211... Line 213...
211
                #set($totalNormal = $totalNormal + $model.getNormal())
213
                #set($totalNormal = $totalNormal + $model.getNormal())
212
                #set($totalRevival = $totalRevival + $model.getRevival())
214
                #set($totalRevival = $totalRevival + $model.getRevival())
213
                #set($totalOutOfSequence = $totalOutOfSequence + $model.getOutOfSequenceCount())
215
                #set($totalOutOfSequence = $totalOutOfSequence + $model.getOutOfSequenceCount())
214
                #set($totalL2CallingList = $totalL2CallingList + $model.getL2CallingList())
216
                #set($totalL2CallingList = $totalL2CallingList + $model.getL2CallingList())
215
                #set($totalL3CallingList = $totalL3CallingList + $model.getL3CallingList())
217
                #set($totalL3CallingList = $totalL3CallingList + $model.getL3CallingList())
-
 
218
                #set($totalRecordingCalls = $totalRecordingCalls + $model.getTotalRecordingCalls())
-
 
219
                #set($totalUniqueRecordingCalls = $totalUniqueRecordingCalls + $model.getUniqueRecordingCalls())
216
                #if($arrAchievedByAuthId && $arrAchievedByAuthId.get($model.getAuthId()))
220
                #if($arrAchievedByAuthId && $arrAchievedByAuthId.get($model.getAuthId()))
217
                    #set($totalArrAchieved = $totalArrAchieved + $arrAchievedByAuthId.get($model.getAuthId()))
221
                    #set($totalArrAchieved = $totalArrAchieved + $arrAchievedByAuthId.get($model.getAuthId()))
218
                #end
222
                #end
219
                #if($arrTargetByAuthId && $arrTargetByAuthId.get($model.getAuthId()))
223
                #if($arrTargetByAuthId && $arrTargetByAuthId.get($model.getAuthId()))
220
                    #set($totalArrTarget = $totalArrTarget + $arrTargetByAuthId.get($model.getAuthId()))
224
                    #set($totalArrTarget = $totalArrTarget + $arrTargetByAuthId.get($model.getAuthId()))
Line 242... Line 246...
242
                    <strong>${totalL1OwnTarget} + <span style="color: #e67e22;">$totalL2CallingList</span></strong>
246
                    <strong>${totalL1OwnTarget} + <span style="color: #e67e22;">$totalL2CallingList</span></strong>
243
                #else
247
                #else
244
                    <strong>$adjustedTotalTarget</strong>
248
                    <strong>$adjustedTotalTarget</strong>
245
                #end
249
                #end
246
            </td>
250
            </td>
-
 
251
            <td class="highlight-achieved">
247
            <td class="highlight-achieved currency"><strong>$adjustedTotalAchieved</strong></td>
252
                <strong>$adjustedTotalAchieved</strong>
-
 
253
                / <span style="color: #28a745; font-weight: bold;">$totalRecordingCalls</span>
-
 
254
                / <span style="color: #007bff; font-weight: bold;">$totalUniqueRecordingCalls</span>
-
 
255
            </td>
248
            <td class="highlight-plan-today"><strong>$totalPlanToday</strong></td>
256
            <td class="highlight-plan-today"><strong>$totalPlanToday</strong></td>
249
            <td class="highlight-carry-forward"><strong>$totalCarryForward</strong></td>
257
            <td class="highlight-carry-forward"><strong>$totalCarryForward</strong></td>
250
            <td><strong>$totalZeroBilling</strong></td>
258
            <td><strong>$totalZeroBilling</strong></td>
251
            <td class="highlight-untouched"><strong>$totalUntouched</strong></td>
259
            <td class="highlight-untouched"><strong>$totalUntouched</strong></td>
252
            <td class="highlight-future-plan"><strong>$totalFuturePlan</strong></td>
260
            <td class="highlight-future-plan"><strong>$totalFuturePlan</strong></td>
Line 390... Line 398...
390
                                               title="L2 Escalation">$model.getL2CallingList()</span>
398
                                               title="L2 Escalation">$model.getL2CallingList()</span>
391
                    #else
399
                    #else
392
                        $rowTarget
400
                        $rowTarget
393
                    #end
401
                    #end
394
                </td>
402
                </td>
395
                <td class="highlight-achieved currency">
403
                <td class="highlight-achieved clickable"
-
 
404
                    onclick="showCalledPartnerDetails($model.getAuthId(), '$model.getRbmName()')">
396
                    <span class="clickable"
405
                    $rowAchieved
-
 
406
                    / <span style="color: #28a745; font-weight: bold;"
397
                          onclick="showCalledPartnerDetails($model.getAuthId(), '$model.getRbmName()')">$rowAchieved</span>
407
                            title="Total calls with recording">$model.getTotalRecordingCalls()</span>
-
 
408
                    / <span style="color: #007bff; font-weight: bold;"
-
 
409
                            title="Unique numbers with recording">$model.getUniqueRecordingCalls()</span>
398
                </td>
410
                </td>
399
                <td class="highlight-plan-today">$model.getPlanToday()</td>
411
                <td class="highlight-plan-today">$model.getPlanToday()</td>
400
                <td class="highlight-carry-forward">$model.getCarryForward()</td>
412
                <td class="highlight-carry-forward">$model.getCarryForward()</td>
401
                <td>$model.getZeroBilling()</td>
413
                <td>$model.getZeroBilling()</td>
402
                <td class="highlight-untouched">$model.getUntouched()</td>
414
                <td class="highlight-untouched">$model.getUntouched()</td>