3 class="md-table-toolbar md-default table-header blue-bg"
4 ng-class="{'h-128' : vm_voice.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_voice.query.filter = query"
12 on-collapse="vm_voice.onSearchBarCollapse()"
13 on-expand="vm_voice.onSearchBarExpand()"
14 query="vm_voice.query.filter"
21 filters="vm_voice.quickFilters"
22 query="vm_voice.query"
23 search="vm_voice.getAbandonedCalls()"
26 class="md-icon-button reload-list"
27 ng-click="vm_voice.refresh && vm_voice.refreshAbandonedCalls($event)"
30 translate-attr-label="DASHBOARDS.RELOAD"
32 <md-icon md-font-icon="icon-reload"></md-icon>
34 ng-if="vm_voice.showTooltip"
35 md-visible="vm_voice.showTooltip"
37 {{'DASHBOARDS.CLICKRELOAD' | translate}}</md-tooltip
43 <table md-table md-progress="vm_voice.promise">
46 md-order="vm_voice.query.sort"
47 md-on-reorder="vm_voice.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="disposition">
64 {{'DASHBOARDS.DISPOSITION' | translate}}
66 <th md-column md-order-by="secondDisposition">
67 {{'DASHBOARDS.SECOND_LEVEL_DISPOSITION' | translate}}
69 <th md-column md-order-by="thirdDisposition">
70 {{'DASHBOARDS.THIRD_LEVEL_DISPOSITION' | translate}}
72 <th md-column>{{'DASHBOARDS.RESERVED' | translate}}</th>
73 <th md-column md-order-by="lastAssignedTo">
74 {{'DASHBOARDS.LASTASSIGNEDTO' | translate}}
76 <th md-column width="10px"></th>
80 <tr md-row ng-hide="vm_voice.abandonedCalls.rows.length">
81 <td md-cell colspan="12">
82 <div layout="row" layout-align="center center">
83 <span translate="VOICE.NO_AVAILABLE_INFO">No Available Info</span>
87 <tr md-row ng-repeat="abandonedCall in vm_voice.abandonedCalls.rows">
88 <td md-cell class="id">{{abandonedCall.id}}</td>
89 <td md-cell class="firstName">{{abandonedCall.calleridname}}</td>
90 <td md-cell class="phone">
91 <!-- click to call directive -->
93 target="abandonedCall.calleridnum"
94 license="vm_home.license"
95 disabled="abandonedCall.lastAssignedTo !== vm_voice.currentUser.name"
98 <!-- / click to call directive -->
100 <td md-cell class="list">
101 {{vm_voice.queuesMap[abandonedCall.queue]}}
103 <td md-cell class="list">
104 {{abandonedCall.queuecallerabandonAt ?
105 (abandonedCall.queuecallerabandonAt | formatdate) : undefined }}
107 <td md-cell class="list">{{ abandonedCall.disposition }}</td>
108 <td md-cell class="list">{{ abandonedCall.secondDisposition }}</td>
109 <td md-cell class="list">{{ abandonedCall.thirdDisposition }}</td>
110 <td md-cell class="actions">
113 ng-if="abandonedCall.lastAssignedTo === vm_voice.currentUser.name || !abandonedCall.lastAssignedTo"
114 ng-disabled="vm_voice.disable[abandonedCall.id]"
115 ng-model="abandonedCall.assigned"
116 aria-label="reserved"
117 ng-change="vm_voice.reserved(abandonedCall)"
121 <td md-cell class="list">{{abandonedCall.lastAssignedTo}}</td>
122 <td md-cell class="actions">
124 ng-if="abandonedCall.lastAssignedTo === vm_voice.currentUser.name"
127 class="md-icon-button"
130 translate-attr-aria-label="DASHBOARDS.MORE"
131 ng-click="$mdMenu.open($event)"
133 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
135 <md-menu-content width="1">
138 ng-click="vm_voice.dispose(abandonedCall)"
139 class="text-capitalize"
140 translate="DASHBOARDS.DISPOSE"
150 </md-table-container>
152 md-limit="vm_voice.query.limit"
153 md-limit-options="[10, 15, 20, 50, 100, 250]"
154 md-page="vm_voice.query.page"
155 md-total="{{vm_voice.abandonedCalls.count}}"
156 md-on-paginate="vm_voice.getAbandonedCalls"
158 ></md-table-pagination>