2018-03-01 10:55:28 +00:00
|
|
|
<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>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
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>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
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-textfield
|
|
|
|
vn-one
|
|
|
|
label="Amount"
|
|
|
|
field="$ctrl.recovery.amount"
|
|
|
|
type="number">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Period"
|
|
|
|
field="$ctrl.recovery.period"
|
|
|
|
type="number">
|
|
|
|
</vn-textfield>
|
|
|
|
</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>
|