34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<vn-crud-model
|
|
vn-id="model"
|
|
url="/item/api/ItemLogs"
|
|
filter="::$ctrl.filter"
|
|
link="{originFk: $ctrl.$stateParams.id}"
|
|
limit="20"
|
|
data="logs" auto-load="false">
|
|
</vn-crud-model>
|
|
<vn-vertical>
|
|
<vn-card pad-large>
|
|
<vn-vertical>
|
|
<vn-table model="model">
|
|
<vn-thead>
|
|
<vn-tr>
|
|
<vn-th field="description">Description</vn-th>
|
|
<vn-th field="action">Action</vn-th>
|
|
<vn-th field="userFk">Changed by</vn-th>
|
|
<vn-th field="creationDate" default-order="DESC">Date</vn-th>
|
|
</vn-tr>
|
|
</vn-thead>
|
|
<vn-tbody>
|
|
<vn-tr ng-repeat="itemLog in logs">
|
|
<vn-td>{{::itemLog.description}}</vn-td>
|
|
<vn-td>{{::itemLog.action}}</vn-td>
|
|
<vn-td>{{::itemLog.user.name}}</vn-td>
|
|
<vn-td>{{::itemLog.creationDate | date:'dd/MM/yyyy HH:mm'}}</vn-td>
|
|
</vn-tr>
|
|
</vn-tbody>
|
|
</vn-table>
|
|
</vn-vertical>
|
|
<vn-pagination model="model"></vn-pagination>
|
|
</vn-card>
|
|
</vn-vertical>
|