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

40 lines
1.6 KiB
HTML
Raw Normal View History

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>
<vn-card class="vn-pa-lg">
<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: '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>
</vn-vertical>
2019-01-20 17:48:03 +00:00
<vn-pagination model="model"></vn-pagination>
</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>
</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">
<vn-float-button icon="add"></vn-float-button>
</a>