salix/modules/client/front/credit-insurance/insurance/index/index.html

38 lines
1.1 KiB
HTML
Raw Normal View History

2018-07-16 06:00:04 +00:00
<vn-crud-model
vn-id="model"
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"
data="insurances"
auto-load="true">
2018-07-16 06:00:04 +00:00
</vn-crud-model>
<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">
<vn-td>{{::insurance.created | date: 'dd/MM/yyyy'}}</vn-td>
<vn-td number>{{::insurance.grade}}</vn-td>
<vn-td number>{{::insurance.credit | currency: 'EUR': 2}}</vn-td>
</vn-tr>
</vn-tbody>
</vn-table>
</vn-card>
</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}}})"
fixed-bottom-right
vn-tooltip="New credit"
vn-bind="+">
<vn-float-button icon="add"></vn-float-button>
</a>