1 <md-toolbar class="md-table-toolbar md-default table-header">
2 <div class="md-toolbar-tools" layout="row" layout-align="center center">
3 <span class="md-subhead" translate="DASHBOARDS.ABANDONEDQUEUECALLS"
4 >ABANDONED QUEUE CALLS</span
7 on-search="vm.query.filter = query"
8 on-collapse="vm.query.filter = undefined"
15 filters="vm.quickFilters"
17 search="vm.getAbandonedCalls()"
21 class="md-icon-button"
22 ng-click="vm.refresh && vm.refreshAbandonedCalls($event)"
25 translate-attr-label="DASHBOARDS.RELOAD"
27 <md-icon md-font-icon="icon-reload"></md-icon>
28 <md-tooltip ng-if="vm.showTooltip" md-visible="vm.showTooltip"
29 >{{'DASHBOARDS.CLICKRELOAD' | translate}}
35 <table md-table md-progress="vm.promise">
38 md-order="vm.query.sort"
39 md-on-reorder="vm.getAbandonedCalls"
42 <th md-column md-order-by="id">ID</th>
43 <th md-column md-order-by="calleridname">
44 {{'DASHBOARDS.FULLNAME' | translate}}
46 <th md-column md-order-by="calleridnum">
47 {{'DASHBOARDS.PHONE' | translate}}
49 <th md-column md-order-by="queue">
50 {{'DASHBOARDS.QUEUE' | translate}}
52 <th md-column md-order-by="queuecallerabandonAt">
53 {{'DASHBOARDS.ABANDONAT' | translate}}
55 <th md-column md-order-by="queuecallerexitAt">
56 {{'DASHBOARDS.QUEUECALLEREXITAT' | translate}}
58 <th md-column md-order-by="queuecallerexitreason">
59 {{'DASHBOARDS.QUEUECALLEREXITREASON' | translate}}
61 <th md-column md-order-by="lastAssignedTo">
62 {{'DASHBOARDS.LASTASSIGNEDTO' | translate}}
64 <th md-column md-order-by="disposition">
65 {{'DASHBOARDS.DISPOSITION' | translate}}
67 <th md-column md-order-by="disposition">
68 {{'DASHBOARDS.SECOND_LEVEL_DISPOSITION' | translate}}
70 <th md-column md-order-by="disposition">
71 {{'DASHBOARDS.THIRD_LEVEL_DISPOSITION' | translate}}
73 <th md-column width="10px"></th>
77 <tr md-row ng-hide="vm.abandonedCalls.rows.length">
78 <td md-cell colspan="12">
79 <div layout="row" layout-align="center center">
80 <span translate="VOICE.NO_AVAILABLE_INFO">No Available Info</span>
84 <tr md-row ng-repeat="call in vm.abandonedCalls.rows">
85 <td md-cell class="id">{{call.id}}</td>
86 <td md-cell class="firstName">{{call.calleridname}}</td>
87 <td md-cell class="list">{{call.calleridnum}}</td>
88 <td md-cell class="list">{{vm.queuesMap[call.queue]}}</td>
89 <td md-cell class="list">
90 {{call.queuecallerabandonAt ? (call.queuecallerabandonAt | formatdate)
93 <td md-cell class="list">
94 {{call.queuecallerexitAt ? (call.queuecallerexitAt | formatdate) :
97 <td md-cell class="list">{{call.queuecallerexitreason}}</td>
98 <td md-cell class="list">{{call.lastAssignedTo}}</td>
99 <td md-cell class="list">{{ call.disposition }}</td>
100 <td md-cell class="list">{{ call.secondDisposition }}</td>
101 <td md-cell class="list">{{ call.thirdDisposition }}</td>
102 <td md-cell class="actions">
105 class="md-icon-button"
108 translate-attr-aria-label="DASHBOARDS.MORE"
109 ng-click="$mdOpenMenu($event)"
111 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
113 <md-menu-content width="2">
114 <md-menu-item ng-if="vm.crudPermissions.canEdit">
117 ng-click="$mdMenu.open()"
118 class="text-capitalize"
119 translate="DASHBOARDS.ASSIGNTO"
120 >Assigned to</md-button
123 <md-menu-item ng-if="call.lastAssignedTo">
124 <md-button ng-click="vm.assignTo(call)"
125 ><em translate="DASHBOARDS.NONE">Not Assigned</em>
129 ng-if="vm.agents.rows.length"
130 ng-repeat="agent in vm.agents.rows"
132 <md-button ng-click="vm.assignTo(call,agent)"
133 >{{agent.name}}</md-button
141 ng-click="vm.dispose(call)"
142 class="text-capitalize"
143 translate="DASHBOARDS.DISPOSE"
153 </md-table-container>
156 md-limit="vm.query.limit"
157 md-limit-options="[10, 15, 20, 50, 100, 250]"
158 md-page="vm.query.page"
159 md-total="{{vm.abandonedCalls.count}}"
160 md-on-paginate="vm.getAbandonedCalls"
162 ></md-table-pagination>