2018-03-01 10:55:28 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
2020-03-09 08:00:03 +00:00
|
|
|
url="Recoveries"
|
2018-03-01 10:55:28 +00:00
|
|
|
data="$ctrl.recovery"
|
2020-03-09 08:00:03 +00:00
|
|
|
insert-mode="true"
|
|
|
|
form="form">
|
2018-03-01 10:55:28 +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-01 22:38:14 +00:00
|
|
|
<vn-horizontal>
|
2019-10-08 21:57:02 +00:00
|
|
|
<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"
|
2019-10-08 21:57:02 +00:00
|
|
|
vn-focus>
|
2018-03-01 22:38:14 +00:00
|
|
|
</vn-date-picker>
|
2019-10-08 21:57:02 +00:00
|
|
|
<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>
|
2019-10-08 21:57:02 +00:00
|
|
|
<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"
|
2019-10-08 21:57:02 +00:00
|
|
|
step="0.01"
|
2020-03-09 08:00:03 +00:00
|
|
|
rule
|
|
|
|
vn-focus>
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2019-10-08 21:57:02 +00:00
|
|
|
<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"
|
2019-10-08 21:57:02 +00:00
|
|
|
rule>
|
2019-04-09 11:18:55 +00:00
|
|
|
</vn-input-number>
|
2018-03-01 22:38:14 +00:00
|
|
|
</vn-horizontal>
|
2018-03-01 10:55:28 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit label="Save"></vn-submit>
|
2018-10-17 07:28:38 +00:00
|
|
|
<vn-button ng-click="$ctrl.cancel()" label="Cancel"></vn-button>
|
2018-03-01 10:55:28 +00:00
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|