2017-12-04 07:17:29 +00:00
|
|
|
<mg-ajax path="/client/api/Clients/{{patch.params.id}}" options="vnPatch"></mg-ajax>
|
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
data="$ctrl.client"
|
|
|
|
form="form"
|
|
|
|
save="patch">
|
|
|
|
</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>
|
2017-12-04 07:17:29 +00:00
|
|
|
<vn-horizontal>
|
2019-04-09 11:18:55 +00:00
|
|
|
<vn-input-number vn-one min="0"
|
2019-03-26 06:29:45 +00:00
|
|
|
label="Credit"
|
2019-04-04 09:53:13 +00:00
|
|
|
field="$ctrl.client.credit"
|
|
|
|
vn-focus>
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2017-12-04 07:17:29 +00:00
|
|
|
</vn-horizontal>
|
2018-03-01 22:38:14 +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 22:38:14 +00:00
|
|
|
</vn-button-bar>
|
2017-12-04 07:17:29 +00:00
|
|
|
</form>
|
2018-05-11 09:16:16 +00:00
|
|
|
<vn-confirm
|
|
|
|
vn-id="confirmation"
|
|
|
|
on-response="$ctrl.returnDialog(response)"
|
|
|
|
question="Esta modificación retrasará el plazo del próximo recobro"
|
|
|
|
message="¿Desea continuar?">
|
|
|
|
</vn-confirm>
|