Subversion Repositories SmartDukaan

Rev

Rev 37010 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37010 Rev 37022
Line 174... Line 174...
174
            <th style="background-color: #dc3545; color: white;"><i class="fa fa-user-clock"></i> Idle</th>
174
            <th style="background-color: #dc3545; color: white;"><i class="fa fa-user-clock"></i> Idle</th>
175
            <th style="background-color: #fd7e14; color: white;"><i class="fa fa-coffee"></i> Break</th>
175
            <th style="background-color: #fd7e14; color: white;"><i class="fa fa-coffee"></i> Break</th>
176
            <th>Partner Count</th>
176
            <th>Partner Count</th>
177
            <th>(Ach/Tgt)</th>
177
            <th>(Ach/Tgt)</th>
178
            <th>Calling Target</th>
178
            <th>Calling Target</th>
179
            <th>Calls / Unique / Tried</th>
179
            <th>TGT Calls / Unique / Tried</th>
180
            <th class="highlight-plan-today">Plan Today</th>
180
            <th class="highlight-plan-today">Plan Today</th>
181
            <th class="highlight-carry-forward">Carry Forward</th>
181
            <th class="highlight-carry-forward">Carry Forward</th>
182
            <th style="background-color: #1e6e0e; color: white;">Zero Billing</th>
182
            <th style="background-color: #1e6e0e; color: white;">Zero Billing</th>
183
            <th class="highlight-untouched">Untouched</th>
183
            <th class="highlight-untouched">Untouched</th>
184
            <th class="highlight-future-plan">Future Plan</th>
184
            <th class="highlight-future-plan">Future Plan</th>
Line 205... Line 205...
205
            #set($totalArrAchieved = 0)
205
            #set($totalArrAchieved = 0)
206
            #set($totalArrTarget = 0)
206
            #set($totalArrTarget = 0)
207
            #set($totalRecordingCalls = 0)
207
            #set($totalRecordingCalls = 0)
208
            #set($totalUniqueRecordingCalls = 0)
208
            #set($totalUniqueRecordingCalls = 0)
209
            #set($totalTriedUniqueCalls = 0)
209
            #set($totalTriedUniqueCalls = 0)
-
 
210
            #set($totalTgtCalls = 0)
210
 
211
 
211
            ## Total row first
212
            ## Total row first
212
            #foreach($model in $rbmCallTargetModels)
213
            #foreach($model in $rbmCallTargetModels)
213
                #if(!$model.isL3Position())
214
                #if(!$model.isL3Position())
214
                    #set($totalPartnerCount = $totalPartnerCount + $model.getPartnerCount())
215
                    #set($totalPartnerCount = $totalPartnerCount + $model.getPartnerCount())
Line 227... Line 228...
227
                #set($totalL2CallingList = $totalL2CallingList + $model.getL2CallingList())
228
                #set($totalL2CallingList = $totalL2CallingList + $model.getL2CallingList())
228
                #set($totalL3CallingList = $totalL3CallingList + $model.getL3CallingList())
229
                #set($totalL3CallingList = $totalL3CallingList + $model.getL3CallingList())
229
                #set($totalRecordingCalls = $totalRecordingCalls + $model.getTotalRecordingCalls())
230
                #set($totalRecordingCalls = $totalRecordingCalls + $model.getTotalRecordingCalls())
230
                #set($totalUniqueRecordingCalls = $totalUniqueRecordingCalls + $model.getUniqueRecordingCalls())
231
                #set($totalUniqueRecordingCalls = $totalUniqueRecordingCalls + $model.getUniqueRecordingCalls())
231
                #set($totalTriedUniqueCalls = $totalTriedUniqueCalls + $model.getTriedUniqueCalls())
232
                #set($totalTriedUniqueCalls = $totalTriedUniqueCalls + $model.getTriedUniqueCalls())
-
 
233
                #set($totalTgtCalls = $totalTgtCalls + $model.getTgtCalls())
232
                #if($arrAchievedByAuthId && $arrAchievedByAuthId.get($model.getAuthId()))
234
                #if($arrAchievedByAuthId && $arrAchievedByAuthId.get($model.getAuthId()))
233
                    #set($totalArrAchieved = $totalArrAchieved + $arrAchievedByAuthId.get($model.getAuthId()))
235
                    #set($totalArrAchieved = $totalArrAchieved + $arrAchievedByAuthId.get($model.getAuthId()))
234
                #end
236
                #end
235
                #if($arrTargetByAuthId && $arrTargetByAuthId.get($model.getAuthId()))
237
                #if($arrTargetByAuthId && $arrTargetByAuthId.get($model.getAuthId()))
236
                    #set($totalArrTarget = $totalArrTarget + $arrTargetByAuthId.get($model.getAuthId()))
238
                    #set($totalArrTarget = $totalArrTarget + $arrTargetByAuthId.get($model.getAuthId()))
Line 258... Line 260...
258
                #else
260
                #else
259
                    <strong>$adjustedTotalTarget</strong>
261
                    <strong>$adjustedTotalTarget</strong>
260
                #end
262
                #end
261
            </td>
263
            </td>
262
            <td class="highlight-achieved">
264
            <td class="highlight-achieved">
263
                <strong><span style="color: #28a745;">$totalRecordingCalls</span>
265
                <strong><span style="color: #28a745;">$totalTgtCalls</span>
264
                    / <span style="color: #007bff;">$totalUniqueRecordingCalls</span>
266
                    / <span style="color: #007bff;">$totalUniqueRecordingCalls</span>
265
                    / <span style="color: #6f42c1;">$totalTriedUniqueCalls</span></strong>
267
                    / <span style="color: #6f42c1;">$totalTriedUniqueCalls</span></strong>
266
            </td>
268
            </td>
267
            <td class="highlight-plan-today"><strong>$totalPlanToday</strong></td>
269
            <td class="highlight-plan-today"><strong>$totalPlanToday</strong></td>
268
            <td class="highlight-carry-forward"><strong>$totalCarryForward</strong></td>
270
            <td class="highlight-carry-forward"><strong>$totalCarryForward</strong></td>
Line 372... Line 374...
372
                    #end
374
                    #end
373
                </td>
375
                </td>
374
                <td class="highlight-achieved clickable"
376
                <td class="highlight-achieved clickable"
375
                    onclick="showCalledPartnerDetails($model.getAuthId(), '$model.getRbmName()')">
377
                    onclick="showCalledPartnerDetails($model.getAuthId(), '$model.getRbmName()')">
376
                    <span style="color: #28a745; font-weight: bold;"
378
                    <span style="color: #28a745; font-weight: bold;"
377
                          title="Total calls with recording">$model.getTotalRecordingCalls()</span>
379
                          title="Calling-target partners successfully engaged today (customerStatus != Missed OR 3+ Missed attempts)">$model.getTgtCalls()</span>
378
                    / <span style="color: #007bff; font-weight: bold;"
380
                    / <span style="color: #007bff; font-weight: bold;"
379
                            title="Unique numbers with recording">$model.getUniqueRecordingCalls()</span>
381
                            title="Unique partners with a recorded call">$model.getUniqueRecordingCalls()</span>
380
                    / <span style="color: #6f42c1; font-weight: bold;"
382
                    / <span style="color: #6f42c1; font-weight: bold;"
381
                            title="Unique numbers tried — excludes numbers where every attempt was No Answer, unless attempted 3+ times">$model.getTriedUniqueCalls()</span>
383
                            title="Unique partners tried (any partner, not just targets) — excludes those where every attempt was Missed, unless attempted 3+ times">$model.getTriedUniqueCalls()</span>
382
                </td>
384
                </td>
383
                <td class="highlight-plan-today">$model.getPlanToday()</td>
385
                <td class="highlight-plan-today">$model.getPlanToday()</td>
384
                <td class="highlight-carry-forward">$model.getCarryForward()</td>
386
                <td class="highlight-carry-forward">$model.getCarryForward()</td>
385
                <td>$model.getZeroBilling()</td>
387
                <td>$model.getZeroBilling()</td>
386
                <td class="highlight-untouched">$model.getUntouched()</td>
388
                <td class="highlight-untouched">$model.getUntouched()</td>