2018-07-09 11:01:46 +00:00
|
|
|
<mg-ajax path="/client/api/CreditClassifications/{{post.params.classificationId}}/insurances" options="vnPost"></mg-ajax>
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
data="$ctrl.insurance"
|
|
|
|
form="form"
|
|
|
|
save="post">
|
|
|
|
</vn-watcher>
|
2018-12-14 11:56:21 +00:00
|
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
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
|
|
|
|
vn-one
|
|
|
|
min="0"
|
2018-03-14 10:36:57 +00:00
|
|
|
label="Credit"
|
2019-10-08 21:57:02 +00:00
|
|
|
field="$ctrl.insurance.credit"
|
2018-03-14 10:36:57 +00:00
|
|
|
rule="CreditInsurance.credit"
|
|
|
|
vn-focus>
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
2018-03-14 10:36:57 +00:00
|
|
|
label="Date"
|
2019-10-08 21:57:02 +00:00
|
|
|
field="$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
|
|
|
|
vn-one
|
|
|
|
min="0"
|
|
|
|
step="1"
|
2018-03-14 10:36:57 +00:00
|
|
|
label="Grade"
|
2019-10-08 21:57:02 +00:00
|
|
|
field="$ctrl.insurance.grade"
|
2018-03-14 10:36:57 +00:00
|
|
|
rule="CreditInsurance.grade">
|
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>
|
2018-05-31 05:59:42 +00:00
|
|
|
<button
|
|
|
|
class="mdl-button mdl-button--raised mdl-button--colored"
|
|
|
|
translate
|
|
|
|
ui-sref="client.card.creditInsurance.insurance.index({classificationId: post.params.classificationId})">Cancel</button>
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|