3 class="md-table-toolbar md-default table-header blue-bg"
4 ng-class="{'h-128' : vm_bull.isSearchBarVisible === true}"
6 <div class="md-toolbar-tools" layout="row" layout-align="center center">
7 <span class="md-subhead" translate="DASHBOARDS.ABANDONEDQUEUECALLS"
8 >ABANDONED QUEUE CALLS</span
11 on-search="vm_bull.query.filter = query"
12 on-collapse="vm_bull.onSearchBarCollapse()"
13 on-expand="vm_bull.onSearchBarExpand()"
14 query="vm_bull.query.filter"
21 filters="vm_bull.quickFilters"
23 search="vm_bull.getAbandonedCalls()"
26 class="md-icon-button reload-list"
27 ng-click="vm_bull.refresh && vm_bull.refreshAbandonedCalls($event)"
30 translate-attr-label="DASHBOARDS.RELOAD"
32 <md-icon md-font-icon="icon-reload"></md-icon>
34 ng-if="vm_bull.showTooltip"
35 md-visible="vm_bull.showTooltip"
37 {{'DASHBOARDS.CLICKRELOAD' | translate}}</md-tooltip
43 <table md-table md-progress="vm_bull.promise">
46 md-order="vm_bull.query.sort"
47 md-on-reorder="vm_bull.getAbandonedCalls"
50 <th md-column md-order-by="id">{{'DASHBOARDS.ID' | translate}}</th>
51 <th md-column md-order-by="calleridname">
52 {{'DASHBOARDS.FULLNAME' | translate}}
54 <th md-column md-order-by="calleridnum">
55 {{'DASHBOARDS.PHONE' | translate}}
57 <th md-column md-order-by="queue">
58 {{'DASHBOARDS.QUEUE' | translate}}
60 <th md-column md-order-by="queuecallerabandonAt">
61 {{'DASHBOARDS.ABANDONAT' | translate}}
63 <th md-column md-order-by="queuecallerexitAt">
64 {{'DASHBOARDS.QUEUECALLEREXITAT' | translate}}
66 <th md-column md-order-by="queuecallerexitreason">
67 {{'DASHBOARDS.QUEUECALLEREXITREASON' | translate}}
69 <th md-column md-order-by="disposition">
70 {{'DASHBOARDS.DISPOSITION' | translate}}
72 <th md-column md-order-by="secondDisposition">
73 {{'DASHBOARDS.SECOND_LEVEL_DISPOSITION' | translate}}
75 <th md-column md-order-by="thirdDisposition">
76 {{'DASHBOARDS.THIRD_LEVEL_DISPOSITION' | translate}}
78 <th md-column>{{'DASHBOARDS.RESERVED' | translate}}</th>
79 <th md-column md-order-by="lastAssignedTo">
80 {{'DASHBOARDS.LASTASSIGNEDTO' | translate}}
82 <th md-column width="10px"></th>
86 <tr md-row ng-hide="vm_bull.abandonedCalls.rows.length">
87 <td md-cell colspan="12">
88 <div layout="row" layout-align="center center">
89 <span translate="VOICE.NO_AVAILABLE_INFO">No Available Info</span>
93 <tr md-row ng-repeat="abandonedCall in vm_bull.abandonedCalls.rows">
94 <td md-cell class="id">{{abandonedCall.id}}</td>
95 <td md-cell class="firstName">{{abandonedCall.calleridname}}</td>
96 <td md-cell class="phone">
97 <!-- click to call directive -->
99 target="abandonedCall.calleridnum"
100 license="vm_home.license"
101 disabled="abandonedCall.lastAssignedTo !== vm_bull.currentUser.name"
104 <!-- / click to call directive -->
106 <td md-cell class="list">
107 {{vm_bull.queuesMap[abandonedCall.queue]}}
109 <td md-cell class="list">
110 {{abandonedCall.queuecallerabandonAt ?
111 (abandonedCall.queuecallerabandonAt | formatdate) : undefined }}
113 <td md-cell class="list">
114 {{abandonedCall.queuecallerexitAt ? (abandonedCall.queuecallerexitAt
115 | formatdate) : undefined }}
117 <td md-cell class="list">{{abandonedCall.queuecallerexitreason}}</td>
118 <td md-cell class="list">{{ abandonedCall.disposition }}</td>
119 <td md-cell class="list">{{ abandonedCall.secondDisposition }}</td>
120 <td md-cell class="list">{{ abandonedCall.thirdDisposition }}</td>
121 <td md-cell class="actions">
124 ng-if="abandonedCall.lastAssignedTo === vm_bull.currentUser.name || !abandonedCall.lastAssignedTo"
125 ng-disabled="vm_bull.disable[abandonedCall.id]"
126 ng-model="abandonedCall.assigned"
127 aria-label="reserved"
128 ng-change="vm_bull.reserved(abandonedCall)"
132 <td md-cell class="list">{{abandonedCall.lastAssignedTo}}</td>
133 <td md-cell class="actions">
135 ng-if="abandonedCall.lastAssignedTo === vm_bull.currentUser.name"
138 class="md-icon-button"
141 translate-attr-aria-label="DASHBOARDS.MORE"
142 ng-click="$mdOpenMenu($event)"
144 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
146 <md-menu-content width="1">
149 ng-click="vm_bull.dispose(abandonedCall)"
150 class="text-capitalize"
151 translate="DASHBOARDS.DISPOSE"
161 </md-table-container>
163 md-limit="vm_bull.query.limit"
164 md-limit-options="[10, 15, 20, 50, 100, 250]"
165 md-page="vm_bull.query.page"
166 md-total="{{vm_bull.abandonedCalls.count}}"
167 md-on-paginate="vm_bull.getAbandonedCalls"
169 ></md-table-pagination>