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

40 lines
1.2 KiB
HTML
Raw Normal View History

<vn-watcher
vn-id="watcher"
2020-10-20 09:44:14 +00:00
url="CreditClassifications/{{$ctrl.$params.classificationId}}/insurances"
data="$ctrl.insurance"
insert-mode="true"
form="form">
</vn-watcher>
2019-11-10 10:08:44 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
<vn-card class="vn-pa-lg">
<vn-horizontal>
<vn-input-number
min="0"
label="Credit"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.insurance.credit"
2019-10-11 15:38:04 +00:00
rule="CreditInsurance"
vn-focus>
</vn-input-number>
<vn-date-picker
label="Date"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.insurance.created">
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-input-number
min="0"
step="1"
label="Grade"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.insurance.grade"
2019-10-11 15:38:04 +00:00
rule="CreditInsurance">
</vn-input-number>
</vn-horizontal>
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
2019-10-18 19:36:30 +00:00
<vn-button
label="Cancel"
2020-10-20 09:44:14 +00:00
ui-sref="client.card.creditInsurance.insurance.index({classificationId: $ctrl.$params.classificationId})">
2019-10-18 19:36:30 +00:00
</vn-button>
</vn-button-bar>
</form>