salix/modules/client/front/mandate/index.html

35 lines
1.4 KiB
HTML
Raw Normal View History

2018-07-16 06:00:04 +00:00
<vn-crud-model
vn-id="model"
url="/client/api/Mandates"
filter="::$ctrl.filter"
link="{clientFk: $ctrl.$stateParams.id}"
limit="20"
2018-11-27 14:02:54 +00:00
data="mandates" auto-load="false">
2018-07-16 06:00:04 +00:00
</vn-crud-model>
2018-12-17 12:52:16 +00:00
<vn-vertical compact>
<vn-card pad-large>
<vn-vertical>
2018-07-16 06:00:04 +00:00
<vn-table model="model">
<vn-thead>
<vn-tr>
<vn-th field="id">Id</vn-th>
<vn-th field="companyFk">Company</vn-th>
<vn-th field="mandateTypeFk">Type</vn-th>
<vn-th field="created" default-order="DESC">Register date</vn-th>
<vn-th field="finished">End date</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="mandate in mandates">
<vn-td>{{::mandate.id}}</vn-td>
<vn-td>{{::mandate.company.code}}</vn-td>
<vn-td>{{::mandate.mandateType.name}}</vn-td>
2019-02-27 16:04:00 +00:00
<vn-td>{{::mandate.created | dateTime:'dd/MM/yyyy HH:mm' }}</vn-td>
<vn-td>{{::mandate.finished | dateTime:'dd/MM/yyyy HH:mm' || '-'}}</vn-td>
2018-07-16 06:00:04 +00:00
</vn-tr>
</vn-tbody>
</vn-table>
</vn-vertical>
2019-01-20 17:48:03 +00:00
<vn-pagination model="model"></vn-pagination>
2018-03-01 22:38:14 +00:00
</vn-card>
</vn-vertical>