2017-12-13 12:40:21 +00:00
|
|
|
<mg-ajax path="/client/api/Mandates/filter" options="vnIndexNonAuto"></mg-ajax>
|
2018-03-23 10:33:54 +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>Mandate</vn-title>
|
|
|
|
<vn-grid-header on-order="$ctrl.onOrder(field, order)">
|
|
|
|
<vn-column-header vn-one pad-medium-h field="id" text="Id"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="companyFk" text="Company"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="mandateTypeFk" text="Type"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="created" text="Register date" default-order="ASC"></vn-column-header>
|
|
|
|
<vn-column-header vn-one pad-medium-h field="finished" text="End date"></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="mandate in index.model.instances track by mandate.id">
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-one pad-medium-h>{{::mandate.id}}</vn-one>
|
|
|
|
<vn-one pad-medium-h>{{::mandate.company.code}}</vn-one>
|
|
|
|
<vn-one pad-medium-h>{{::mandate.mandateType.name}}</vn-one>
|
|
|
|
<vn-one pad-medium-h>{{::mandate.created | date:'dd/MM/yyyy HH:mm' }}</vn-one>
|
|
|
|
<vn-one pad-medium-h>{{::mandate.finished | 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"></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>
|