2018-11-27 14:02:54 +00:00
|
|
|
<vn-crud-model auto-load="false"
|
2018-07-17 06:44:31 +00:00
|
|
|
vn-id="model"
|
|
|
|
url="/ticket/api/TicketTrackings"
|
|
|
|
filter="::$ctrl.filter"
|
|
|
|
link="{ticketFk: $ctrl.$stateParams.id}"
|
|
|
|
limit="20"
|
|
|
|
data="trackings">
|
|
|
|
</vn-crud-model>
|
2018-12-17 12:52:16 +00:00
|
|
|
<vn-vertical compact>
|
|
|
|
<vn-card pad-large>
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-title>Tracking</vn-title>
|
2018-07-17 06:44:31 +00:00
|
|
|
<vn-table model="model">
|
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
|
|
|
<vn-th field="state">State</vn-th>
|
|
|
|
<vn-th field="worker">Worker</vn-th>
|
|
|
|
<vn-th field="created" default-order="DESC">Created</vn-th>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-thead>
|
|
|
|
<vn-tbody>
|
|
|
|
<vn-tr ng-repeat="tracking in trackings">
|
|
|
|
<vn-td>{{::tracking.state.name}}</vn-td>
|
2019-02-15 11:39:21 +00:00
|
|
|
<vn-td expand>
|
|
|
|
<span
|
|
|
|
class="link"
|
|
|
|
ng-click="$ctrl.showWorkerDescriptor($event, tracking.worker.user.id)">
|
|
|
|
{{::tracking.worker.user.nickname | dashIfEmpty}}
|
|
|
|
</span>
|
|
|
|
</vn-td>
|
2018-07-17 06:44:31 +00:00
|
|
|
<vn-td>{{::tracking.created | date:'dd/MM/yyyy HH:mm'}}</vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
2018-05-07 06:33:45 +00:00
|
|
|
</vn-vertical>
|
2019-01-20 17:48:03 +00:00
|
|
|
<vn-pagination model="model"></vn-pagination>
|
2018-03-21 11:56:18 +00:00
|
|
|
</vn-card>
|
2018-07-17 06:44:31 +00:00
|
|
|
</vn-vertical>
|
2019-02-05 11:20:03 +00:00
|
|
|
<a ui-sref="ticket.card.tracking.edit" vn-bind="+" fixed-bottom-right>
|
2018-03-21 11:56:18 +00:00
|
|
|
<vn-float-button icon="add"></vn-float-button>
|
2019-02-15 11:39:21 +00:00
|
|
|
</a>
|
|
|
|
<vn-worker-descriptor-popover
|
|
|
|
vn-id="workerDescriptor"
|
2019-02-19 14:09:50 +00:00
|
|
|
user-id="$ctrl.selectedWorker">
|
2019-02-15 11:39:21 +00:00
|
|
|
</vn-worker-descriptor-popover>
|