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>
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-card pad-large>
|
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">
|
|
|
|
<vn-td number>{{::insurance.credit | currency: ' €': 2}}</vn-td>
|
|
|
|
<vn-td number>{{::insurance.grade}}</vn-td>
|
|
|
|
<vn-td>{{::insurance.created | date: 'dd/MM/yyyy'}}</vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
<vn-empty-rows ng-if="model.data.length === 0" translate>
|
|
|
|
No results
|
|
|
|
</vn-empty-rows>
|
|
|
|
</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>
|