2018-02-08 11:04:33 +00:00
|
|
|
<mg-ajax path="/item/api/ItemLogs/getLog" options="vnIndexNonAuto"></mg-ajax>
|
2018-02-08 11:25:51 +00:00
|
|
|
<vn-card>
|
|
|
|
<vn-vertical pad-large>
|
2018-02-07 07:49:27 +00:00
|
|
|
<vn-title vn-one margin-large-bottom>Item history</vn-title>
|
|
|
|
<vn-grid-header on-order="$ctrl.onOrder(field, order)">
|
2018-02-08 13:52:24 +00:00
|
|
|
<vn-column-header vn-two pad-medium-h field="description" text="Description"></vn-column-header>
|
2018-02-07 07:49:27 +00:00
|
|
|
<vn-column-header vn-one pad-medium-h field="action" text="Action"></vn-column-header>
|
2018-02-08 13:52:24 +00:00
|
|
|
<vn-column-header vn-one pad-medium-h field="userFk" text="Changed by"></vn-column-header>
|
2018-02-08 11:04:33 +00:00
|
|
|
<vn-column-header vn-one pad-medium-h field="creationDate" text="Date" default-order="ASC"></vn-column-header>
|
2018-02-07 07:49:27 +00:00
|
|
|
</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">
|
2018-02-08 13:52:24 +00:00
|
|
|
<vn-two pad-medium-h>{{::itemLog.description}}</vn-two>
|
2018-02-07 07:49:27 +00:00
|
|
|
<vn-one pad-medium-h>{{::itemLog.action}}</vn-one>
|
2018-02-08 13:52:24 +00:00
|
|
|
<vn-one pad-medium-h>{{::itemLog.user.name}}</vn-one>
|
2018-02-07 07:49:27 +00:00
|
|
|
<vn-one pad-medium-h>{{::itemLog.creationDate | date:'dd/MM/yyyy HH:mm'}}</vn-one>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-one>
|
|
|
|
<vn-horizontal vn-one class="list list-footer text-center">
|
|
|
|
<vn-one pad-medium-h></vn-one>
|
|
|
|
<vn-two pad-medium-h></vn-two>
|
|
|
|
<vn-one pad-medium-h></vn-one>
|
|
|
|
</vn-horizontal>
|
2018-01-18 07:38:04 +00:00
|
|
|
</vn-vertical>
|
2018-02-07 07:49:27 +00:00
|
|
|
</vn-card>
|