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

39 lines
1.1 KiB
HTML
Raw Normal View History

<vn-watcher
vn-id="watcher"
url="Recoveries"
data="$ctrl.recovery"
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">
2018-03-01 22:38:14 +00:00
<vn-horizontal>
<vn-date-picker
2018-03-01 22:38:14 +00:00
label="Since"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.recovery.started"
vn-focus>
2018-03-01 22:38:14 +00:00
</vn-date-picker>
<vn-date-picker
2018-03-01 22:38:14 +00:00
label="To"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.recovery.finished">
2018-03-01 22:38:14 +00:00
</vn-date-picker>
<vn-input-number
2018-03-01 22:38:14 +00:00
label="Amount"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.recovery.amount"
step="0.01"
rule
vn-focus>
</vn-input-number>
<vn-input-number
2018-03-01 22:38:14 +00:00
label="Period"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.recovery.period"
rule>
2019-04-09 11:18:55 +00:00
</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>