31 lines
1.6 KiB
HTML
31 lines
1.6 KiB
HTML
|
<mg-ajax path="/ticket/api/TicketTrackings/filter" options="vnIndexNonAuto"></mg-ajax>
|
||
|
<vn-vertical pad-medium>
|
||
|
<vn-card pad-large>
|
||
|
<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"></vn-column-header>
|
||
|
<vn-column-header vn-two pad-medium-h field="employee" text="Employee"></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
|
||
|
ng-repeat="ticket in index.model.instances track by ticket.id">
|
||
|
<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-paging vn-one margin-large-top index="index" total="index.model.count"></vn-paging>
|
||
|
</vn-vertical>
|
||
|
</vn-card>
|
||
|
</vn-vertical>
|
||
|
<a ui-sref="ticket.card.tracking.create" fixed-bottom-right>
|
||
|
<vn-float-button icon="add"></vn-float-button>
|
||
|
</a>
|