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

43 lines
1.7 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 pad-large>
<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>
</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>