salix/modules/client/front/recovery/create/index.html

43 lines
1.2 KiB
HTML

<mg-ajax path="recoveries" options="vnPost"></mg-ajax>
<vn-watcher
vn-id="watcher"
data="$ctrl.recovery"
form="form"
save="post">
</vn-watcher>
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
<vn-card class="vn-pa-lg">
<vn-horizontal>
<vn-date-picker
vn-one
label="Since"
ng-model="$ctrl.recovery.started"
vn-focus>
</vn-date-picker>
<vn-date-picker
vn-one
label="To"
ng-model="$ctrl.recovery.finished">
</vn-date-picker>
<vn-input-number
vn-one
vn-focus
label="Amount"
ng-model="$ctrl.recovery.amount"
step="0.01"
rule>
</vn-input-number>
<vn-input-number
vn-one
label="Period"
ng-model="$ctrl.recovery.period"
rule>
</vn-input-number>
</vn-horizontal>
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
<vn-button ng-click="$ctrl.cancel()" label="Cancel"></vn-button>
</vn-button-bar>
</form>