40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
<vn-crud-model
|
|
vn-id="model"
|
|
url="/client/api/CreditInsurances"
|
|
link="{creditClassification: $ctrl.$stateParams.classificationId}"
|
|
limit="20"
|
|
data="insurances" auto-load="false">
|
|
</vn-crud-model>
|
|
<vn-vertical compact>
|
|
<vn-card pad-large>
|
|
<vn-vertical>
|
|
<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: 'EUR': 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-table>
|
|
</vn-vertical>
|
|
<vn-pagination model="model"></vn-pagination>
|
|
</vn-card>
|
|
<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>
|
|
</vn-vertical>
|
|
<a ui-sref="client.card.creditInsurance.insurance.create({classificationId: {{$ctrl.$stateParams.classificationId}}})"
|
|
fixed-bottom-right vn-tooltip="New credit" vn-bind="+" ng-if="!$ctrl.isClosed">
|
|
<vn-float-button icon="add"></vn-float-button>
|
|
</a> |