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

37 lines
1.2 KiB
HTML
Raw Normal View History

<mg-ajax path="/client/api/recoveries" options="vnPost"></mg-ajax>
<vn-watcher
vn-id="watcher"
data="$ctrl.recovery"
form="form"
save="post">
</vn-watcher>
2018-12-14 11:56:21 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
2018-03-01 22:38:14 +00:00
<vn-card pad-large>
<vn-horizontal>
2019-04-09 11:18:55 +00:00
<vn-date-picker vn-one
2018-03-01 22:38:14 +00:00
label="Since"
model="$ctrl.recovery.started"
2018-05-24 14:02:54 +00:00
vn-focus
ini-options="{enableTime: true}">
2018-03-01 22:38:14 +00:00
</vn-date-picker>
2019-04-09 11:18:55 +00:00
<vn-date-picker vn-one
2018-03-01 22:38:14 +00:00
label="To"
model="$ctrl.recovery.finished"
2018-05-24 14:02:54 +00:00
ini-options="{enableTime: true}">
2018-03-01 22:38:14 +00:00
</vn-date-picker>
<vn-input-number vn-one vn-focus
2018-03-01 22:38:14 +00:00
label="Amount"
2019-04-09 11:18:55 +00:00
field="$ctrl.recovery.amount" step="0.01">
</vn-input-number>
2019-04-09 11:18:55 +00:00
<vn-input-number vn-one
2018-03-01 22:38:14 +00:00
label="Period"
2019-04-09 11:18:55 +00:00
field="$ctrl.recovery.period">
</vn-input-number>
2018-03-01 22:38:14 +00:00
</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>