2018-02-08 11:04:33 +00:00
|
|
|
<mg-ajax path="/item/api/ItemLogs/getLog" options="vnIndexNonAuto"></mg-ajax>
|
2018-03-01 22:41:27 +00:00
|
|
|
<vn-vertical>
|
2018-03-01 22:38:14 +00:00
|
|
|
<vn-card pad-large>
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-title>Item history</vn-title>
|
|
|
|
<vn-grid-header on-order="$ctrl.onOrder(field, order)">
|
|
|
|
<vn-column-header vn-two pad-medium-h field="description" text="Description"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="action" text="Action"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="userFk" text="Changed by"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="creationDate" text="Date" default-order="ASC"></vn-column-header>
|
|
|
|
</vn-grid-header>
|
|
|
|
<vn-one class="list list-content">
|
|
|
|
<vn-horizontal
|
|
|
|
class="list list-element text-center"
|
|
|
|
pad-small-bottom
|
|
|
|
ng-repeat="itemLog in index.model.instances track by itemLog.id">
|
|
|
|
<vn-two pad-medium-h>{{::itemLog.description}}</vn-two>
|
|
|
|
<vn-one pad-medium-h>{{::itemLog.action}}</vn-one>
|
|
|
|
<vn-one pad-medium-h>{{::itemLog.user.name}}</vn-one>
|
|
|
|
<vn-one pad-medium-h>{{::itemLog.creationDate | date:'dd/MM/yyyy HH:mm'}}</vn-one>
|
|
|
|
</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 text-center"></vn-horizontal>
|
|
|
|
</vn-vertical>
|
2018-03-01 22:38:14 +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>
|
2018-03-01 22:38:14 +00:00
|
|
|
</vn-vertical>
|