2018-03-14 10:36:57 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
2020-03-09 08:00:03 +00:00
|
|
|
url="CreditClassifications/{{post.params.classificationId}}/insurances"
|
2018-03-14 10:36:57 +00:00
|
|
|
data="$ctrl.insurance"
|
2020-03-09 08:00:03 +00:00
|
|
|
insert-mode="true"
|
|
|
|
form="form">
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-watcher>
|
2019-11-10 10:08:44 +00:00
|
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-card class="vn-pa-lg">
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-horizontal>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-input-number
|
|
|
|
min="0"
|
2018-03-14 10:36:57 +00:00
|
|
|
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"
|
2018-03-14 10:36:57 +00:00
|
|
|
vn-focus>
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-date-picker
|
2018-03-14 10:36:57 +00:00
|
|
|
label="Date"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.insurance.created">
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-input-number
|
|
|
|
min="0"
|
|
|
|
step="1"
|
2018-03-14 10:36:57 +00:00
|
|
|
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">
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2018-03-14 10:36:57 +00:00
|
|
|
</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"
|
|
|
|
ui-sref="client.card.creditInsurance.insurance.index({classificationId: post.params.classificationId})">
|
|
|
|
</vn-button>
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|