2018-07-16 06:00:04 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
|
|
|
url="/client/api/CreditInsurances"
|
|
|
|
link="{creditClassification: $ctrl.$stateParams.classificationId}"
|
|
|
|
limit="20"
|
2018-11-27 14:02:54 +00:00
|
|
|
data="insurances" auto-load="false">
|
2018-07-16 06:00:04 +00:00
|
|
|
</vn-crud-model>
|
2018-12-14 11:56:21 +00:00
|
|
|
<vn-vertical compact>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-card class="vn-pa-lg">
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-vertical>
|
2018-07-16 06:00:04 +00:00
|
|
|
<vn-table model="model">
|
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
|
|
|
<vn-th number>Credit</vn-th>
|
|
|
|
<vn-th number>Grade</vn-th>
|
|
|
|
<vn-th>Created</vn-th>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-thead>
|
|
|
|
<vn-tbody>
|
|
|
|
<vn-tr ng-repeat="insurance in insurances">
|
2019-01-31 10:44:03 +00:00
|
|
|
<vn-td number>{{::insurance.credit | currency: 'EUR': 2}}</vn-td>
|
2018-07-16 06:00:04 +00:00
|
|
|
<vn-td number>{{::insurance.grade}}</vn-td>
|
2019-02-27 16:04:00 +00:00
|
|
|
<vn-td>{{::insurance.created | dateTime: 'dd/MM/yyyy'}}</vn-td>
|
2018-07-16 06:00:04 +00:00
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
2018-05-07 06:33:45 +00:00
|
|
|
</vn-vertical>
|
2019-01-20 17:48:03 +00:00
|
|
|
<vn-pagination model="model"></vn-pagination>
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-card>
|
2018-05-31 05:59:42 +00:00
|
|
|
<vn-button-bar>
|
|
|
|
<button
|
|
|
|
class="mdl-button mdl-button--raised mdl-button--colored"
|
|
|
|
translate
|
|
|
|
ui-sref="client.card.creditInsurance.index">Back</button>
|
|
|
|
</vn-button-bar>
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-vertical>
|
2018-07-16 06:00:04 +00:00
|
|
|
<a ui-sref="client.card.creditInsurance.insurance.create({classificationId: {{$ctrl.$stateParams.classificationId}}})"
|
2018-05-31 05:59:42 +00:00
|
|
|
fixed-bottom-right vn-tooltip="New credit" vn-bind="+" ng-if="!$ctrl.isClosed">
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-float-button icon="add"></vn-float-button>
|
|
|
|
</a>
|