2 <md-toolbar class="md-table-toolbar md-default">
3 <div class="md-toolbar-tools">
4 <span class="md-subhead" translate="MOTIONDIALER.QUEUE_PARAMETERS"
9 on-search="vm.query.filter = query;"
10 on-collapse="vm.query.filter = undefined;"
18 <table md-table multiple md-progress="vm.promise">
19 <thead md-head md-order="vm.query.sort" md-on-reorder="vm.getQueues">
21 <th md-column>{{' MOTIONDIALER.NAME' | translate}}</th>
22 <th md-column>{{' MOTIONDIALER.TOTAL' | translate}}</th>
23 <th md-column>{{' MOTIONDIALER.TOTAL_OFFERED' | translate}}</th>
24 <th md-column>{{' MOTIONDIALER.MANAGED' | translate}}</th>
25 <th md-column>{{' MOTIONDIALER.ABANDONED' | translate}}</th>
26 <th md-column>{{' MOTIONDIALER.DROPPED' | translate}}</th>
27 <th md-column>{{' MOTIONDIALER.AVG_HOLD_TIME' | translate}}</th>
28 <th md-column>{{' MOTIONDIALER.AVG_DURATION' | translate}}</th>
29 <th md-column>{{' MOTIONDIALER.AVG_BILLABLE' | translate}}</th>
33 <tr md-row ng-hide="vm.queues">
34 <td md-cell colspan="8">
35 <div layout="row" layout-align="center center">
36 <span translate="MOTIONDIALER.NO_AVAILABLE_INFO"
37 >No Available Info</span
42 <tr md-row ng-repeat="(id, queue) in vm.queues">
44 <span>{{queue.name}}</span>
47 <span class="font-size-20 grey-fg"
48 >{{(queue.answered + queue.outboundNoAnswerCallsDay +
49 queue.outboundBusyCallsDay + queue.outboundCongestionCallsDay +
50 queue.outboundNoSuchCallsDay + queue.outboundUnknownCallsDay +
51 queue.outboundDropCallsDayTimeout +
52 queue.outboundDropCallsDayCallersExit +
53 queue.outboundBlacklistCallsDay +
54 queue.outboundOriginateFailureCallsDay +
55 queue.outboundAnswerAgiCallsDay + queue.outboundReCallsDay +
56 queue.outboundRejectCallsDay )|| 0}}</span
60 <span class="font-size-20 grey-fg">{{queue.total || 0}}</span>
63 <span class="font-size-16 grey-fg"
64 >{{queue.answered || 0}} ({{(queue.answered) ? (100 -
65 (((queue.outboundDropCallsDayTimeout || 0) * 100/(queue.total)) |
66 number:1 ) - (((queue.outboundDropCallsDayCallersExit || 0) *
67 100/(queue.total )) | number:1 ) ) : 0 | number:1}}%)</span
71 <span class="font-size-16 grey-fg"
72 >{{queue.outboundDropCallsDayCallersExit || 0}}
73 ({{(queue.outboundDropCallsDayCallersExit) ?
74 (queue.outboundDropCallsDayCallersExit || 0) * 100/(queue.total ) :
75 0 | number:1}}%)</span
79 <span class="font-size-16 grey-fg"
80 >{{queue.outboundDropCallsDayTimeout || 0}}
81 ({{(queue.outboundDropCallsDayTimeout) ?
82 (queue.outboundDropCallsDayTimeout || 0) * 100/(queue.total) : 0 |
87 <span class="font-size-16 grey-fg"
88 >{{queue.total ? (queue.sumHoldTime / queue.total) : 0 | number: 0 |
89 secToTime | date:'HH:mm:ss'}}</span
93 <span class="font-size-16 grey-fg"
94 >{{queue.total ? (queue.sumDuration / queue.total) : 0 | number: 0 |
95 secToTime | date:'HH:mm:ss'}}</span
99 <span class="font-size-16 grey-fg"
100 >{{queue.answered ? ((queue.sumBillable || 0) / queue.answered) : 0
101 | number: 0 | secToTime | date:'HH:mm:ss'}}</span
107 </md-table-container>
110 md-label="{page: '{{'MOTIONDIALER.PAGE' | translate}}:', rowsPerPage: '{{'MOTIONDIALER.ROWSPERPAGE' | translate}}:', of: '{{'MOTIONDIALER.OF' | translate}}'}"
111 md-limit="vm.query.limit"
112 md-limit-options="[10, 15, 20, 50, 100, 250]"
113 md-page="vm.query.page"
114 md-total="{{vm.count}}"
115 md-on-paginate="vm.getQueues"
117 ></md-table-pagination>
118 <!-- / QUEUE TABLE -->