2018-07-16 06:00:04 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Mandates"
|
2018-07-16 06:00:04 +00:00
|
|
|
filter="::$ctrl.filter"
|
|
|
|
link="{clientFk: $ctrl.$stateParams.id}"
|
|
|
|
limit="20"
|
2019-10-01 14:17:57 +00:00
|
|
|
data="mandates"
|
2019-10-02 17:24:42 +00:00
|
|
|
order="created DESC"
|
|
|
|
auto-load="true">
|
2018-07-16 06:00:04 +00:00
|
|
|
</vn-crud-model>
|
2019-10-02 17:24:42 +00:00
|
|
|
<vn-data-viewer
|
|
|
|
model="model"
|
|
|
|
class="vn-w-md">
|
2019-10-01 14:17:57 +00:00
|
|
|
<vn-card>
|
2019-10-02 17:24:42 +00:00
|
|
|
<vn-table model="model">
|
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
|
|
|
<vn-th field="id" number>Id</vn-th>
|
|
|
|
<vn-th field="companyFk">Company</vn-th>
|
|
|
|
<vn-th field="mandateTypeFk">Type</vn-th>
|
|
|
|
<vn-th field="created">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 number>{{::mandate.id}}</vn-td>
|
|
|
|
<vn-td>{{::mandate.company.code}}</vn-td>
|
|
|
|
<vn-td>{{::mandate.mandateType.name}}</vn-td>
|
2019-10-18 23:18:25 +00:00
|
|
|
<vn-td>{{::mandate.created | date:'dd/MM/yyyy HH:mm' }}</vn-td>
|
|
|
|
<vn-td>{{::mandate.finished | date:'dd/MM/yyyy HH:mm' || '-'}}</vn-td>
|
2019-10-02 17:24:42 +00:00
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
2018-03-01 22:38:14 +00:00
|
|
|
</vn-card>
|
2019-10-02 17:24:42 +00:00
|
|
|
</vn-data-viewer>
|