2018-03-21 11:56:18 +00:00
|
|
|
<mg-ajax path="/ticket/api/TicketTrackings/filter" options="vnIndexNonAuto"></mg-ajax>
|
2018-03-27 12:24:47 +00:00
|
|
|
<vn-vertical>
|
2018-03-21 11:56:18 +00:00
|
|
|
<vn-card pad-large>
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-title>Tracking</vn-title>
|
|
|
|
<vn-grid-header on-order="$ctrl.onOrder(field, order)">
|
|
|
|
<vn-column-header vn-one pad-medium-h field="state.name" text="State" order-locked></vn-column-header>
|
|
|
|
<vn-column-header vn-two pad-medium-h field="employee" text="Employee" order-locked></vn-column-header>
|
|
|
|
<vn-column-header vn-two pad-medium-h field="created" text="Created" default-order="ASC"></vn-column-header>
|
|
|
|
</vn-grid-header>
|
|
|
|
<vn-one class="list list-content">
|
|
|
|
<vn-horizontal
|
|
|
|
vn-one class="list list-element text-center"
|
|
|
|
pad-small-bottom
|
2018-05-11 06:35:28 +00:00
|
|
|
ng-repeat="ticket in index.model.instances track by ticket.id">
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-one pad-medium-h>{{::ticket.state.name}}</vn-one>
|
|
|
|
<vn-two pad-medium-h>{{::ticket.worker.firstName}} {{ticket.worker.name}}</vn-two>
|
|
|
|
<vn-two pad-medium-h>{{::ticket.created | date:'dd/MM/yyyy HH:mm'}}</vn-two>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one class="text-center pad-small-v" ng-if="index.model.count === 0" translate>No results</vn-one>
|
|
|
|
<vn-horizontal vn-one class="list list-footer"></vn-horizontal>
|
|
|
|
</vn-vertical>
|
2018-03-21 11:56:18 +00:00
|
|
|
</vn-card>
|
2018-05-11 06:35:28 +00:00
|
|
|
<vn-paging vn-one margin-large-top index="index" total="index.model.count"></vn-paging>
|
|
|
|
<!-- <vn-auto-paging vn-one margin-large-top index="index" total="index.model.count" items="$ctrl.instances"></vn-auto-paging> -->
|
2018-03-21 11:56:18 +00:00
|
|
|
</vn-vertical>
|
2018-04-23 09:17:30 +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>
|
|
|
|
</a>
|