2018-07-16 06:00:04 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="CreditInsurances"
|
2020-03-17 10:17:50 +00:00
|
|
|
link="{creditClassification: $ctrl.$params.classificationId}"
|
2018-07-16 06:00:04 +00:00
|
|
|
limit="20"
|
2019-10-08 21:57:02 +00:00
|
|
|
data="insurances"
|
|
|
|
auto-load="true">
|
2018-07-16 06:00:04 +00:00
|
|
|
</vn-crud-model>
|
2019-10-08 21:57:02 +00:00
|
|
|
<div class="vn-w-xs">
|
|
|
|
<vn-data-viewer model="model">
|
|
|
|
<vn-card>
|
|
|
|
<vn-table model="model">
|
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
|
|
|
<vn-th>Created</vn-th>
|
|
|
|
<vn-th number>Grade</vn-th>
|
|
|
|
<vn-th number>Credit</vn-th>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-thead>
|
|
|
|
<vn-tbody>
|
|
|
|
<vn-tr ng-repeat="insurance in insurances">
|
2019-10-18 23:18:25 +00:00
|
|
|
<vn-td>{{::insurance.created | date: 'dd/MM/yyyy'}}</vn-td>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-td number>{{::insurance.grade}}</vn-td>
|
|
|
|
<vn-td number>{{::insurance.credit | currency: 'EUR': 2}}</vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-card>
|
2019-10-08 21:57:02 +00:00
|
|
|
</vn-data-viewer>
|
|
|
|
</div>
|
|
|
|
<a
|
|
|
|
ng-if="!$ctrl.isClosed"
|
2020-03-17 10:17:50 +00:00
|
|
|
ui-sref="client.card.creditInsurance.insurance.create({classificationId: {{$ctrl.$params.classificationId}}})"
|
2019-10-08 21:57:02 +00:00
|
|
|
fixed-bottom-right
|
|
|
|
vn-tooltip="New credit"
|
|
|
|
vn-bind="+">
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-float-button icon="add"></vn-float-button>
|
|
|
|
</a>
|