Subversion Repositories SmartDukaan

Rev

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

Rev 36596 Rev 37010
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</th>
179
            <th>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 204... Line 204...
204
            #set($totalL3CallingList = 0)
204
            #set($totalL3CallingList = 0)
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
 
210
 
210
            ## Total row first
211
            ## Total row first
211
            #foreach($model in $rbmCallTargetModels)
212
            #foreach($model in $rbmCallTargetModels)
212
                #if(!$model.isL3Position())
213
                #if(!$model.isL3Position())
213
                    #set($totalPartnerCount = $totalPartnerCount + $model.getPartnerCount())
214
                    #set($totalPartnerCount = $totalPartnerCount + $model.getPartnerCount())
Line 225... Line 226...
225
                #set($totalOutOfSequence = $totalOutOfSequence + $model.getOutOfSequenceCount())
226
                #set($totalOutOfSequence = $totalOutOfSequence + $model.getOutOfSequenceCount())
226
                #set($totalL2CallingList = $totalL2CallingList + $model.getL2CallingList())
227
                #set($totalL2CallingList = $totalL2CallingList + $model.getL2CallingList())
227
                #set($totalL3CallingList = $totalL3CallingList + $model.getL3CallingList())
228
                #set($totalL3CallingList = $totalL3CallingList + $model.getL3CallingList())
228
                #set($totalRecordingCalls = $totalRecordingCalls + $model.getTotalRecordingCalls())
229
                #set($totalRecordingCalls = $totalRecordingCalls + $model.getTotalRecordingCalls())
229
                #set($totalUniqueRecordingCalls = $totalUniqueRecordingCalls + $model.getUniqueRecordingCalls())
230
                #set($totalUniqueRecordingCalls = $totalUniqueRecordingCalls + $model.getUniqueRecordingCalls())
-
 
231
                #set($totalTriedUniqueCalls = $totalTriedUniqueCalls + $model.getTriedUniqueCalls())
230
                #if($arrAchievedByAuthId && $arrAchievedByAuthId.get($model.getAuthId()))
232
                #if($arrAchievedByAuthId && $arrAchievedByAuthId.get($model.getAuthId()))
231
                    #set($totalArrAchieved = $totalArrAchieved + $arrAchievedByAuthId.get($model.getAuthId()))
233
                    #set($totalArrAchieved = $totalArrAchieved + $arrAchievedByAuthId.get($model.getAuthId()))
232
                #end
234
                #end
233
                #if($arrTargetByAuthId && $arrTargetByAuthId.get($model.getAuthId()))
235
                #if($arrTargetByAuthId && $arrTargetByAuthId.get($model.getAuthId()))
234
                    #set($totalArrTarget = $totalArrTarget + $arrTargetByAuthId.get($model.getAuthId()))
236
                    #set($totalArrTarget = $totalArrTarget + $arrTargetByAuthId.get($model.getAuthId()))
Line 257... Line 259...
257
                    <strong>$adjustedTotalTarget</strong>
259
                    <strong>$adjustedTotalTarget</strong>
258
                #end
260
                #end
259
            </td>
261
            </td>
260
            <td class="highlight-achieved">
262
            <td class="highlight-achieved">
261
                <strong><span style="color: #28a745;">$totalRecordingCalls</span>
263
                <strong><span style="color: #28a745;">$totalRecordingCalls</span>
262
                    / <span style="color: #007bff;">$totalUniqueRecordingCalls</span></strong>
264
                    / <span style="color: #007bff;">$totalUniqueRecordingCalls</span>
-
 
265
                    / <span style="color: #6f42c1;">$totalTriedUniqueCalls</span></strong>
263
            </td>
266
            </td>
264
            <td class="highlight-plan-today"><strong>$totalPlanToday</strong></td>
267
            <td class="highlight-plan-today"><strong>$totalPlanToday</strong></td>
265
            <td class="highlight-carry-forward"><strong>$totalCarryForward</strong></td>
268
            <td class="highlight-carry-forward"><strong>$totalCarryForward</strong></td>
266
            <td><strong>$totalZeroBilling</strong></td>
269
            <td><strong>$totalZeroBilling</strong></td>
267
            <td class="highlight-untouched"><strong>$totalUntouched</strong></td>
270
            <td class="highlight-untouched"><strong>$totalUntouched</strong></td>
Line 372... Line 375...
372
                    onclick="showCalledPartnerDetails($model.getAuthId(), '$model.getRbmName()')">
375
                    onclick="showCalledPartnerDetails($model.getAuthId(), '$model.getRbmName()')">
373
                    <span style="color: #28a745; font-weight: bold;"
376
                    <span style="color: #28a745; font-weight: bold;"
374
                          title="Total calls with recording">$model.getTotalRecordingCalls()</span>
377
                          title="Total calls with recording">$model.getTotalRecordingCalls()</span>
375
                    / <span style="color: #007bff; font-weight: bold;"
378
                    / <span style="color: #007bff; font-weight: bold;"
376
                            title="Unique numbers with recording">$model.getUniqueRecordingCalls()</span>
379
                            title="Unique numbers with recording">$model.getUniqueRecordingCalls()</span>
-
 
380
                    / <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>
377
                </td>
382
                </td>
378
                <td class="highlight-plan-today">$model.getPlanToday()</td>
383
                <td class="highlight-plan-today">$model.getPlanToday()</td>
379
                <td class="highlight-carry-forward">$model.getCarryForward()</td>
384
                <td class="highlight-carry-forward">$model.getCarryForward()</td>
380
                <td>$model.getZeroBilling()</td>
385
                <td>$model.getZeroBilling()</td>
381
                <td class="highlight-untouched">$model.getUntouched()</td>
386
                <td class="highlight-untouched">$model.getUntouched()</td>