31 lines
942 B
HTML
31 lines
942 B
HTML
<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>
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
|
<vn-card pad-large>
|
|
<vn-horizontal>
|
|
<vn-input-number
|
|
vn-one min="0"
|
|
display-controls="false"
|
|
label="Credit"
|
|
field="$ctrl.client.credit"
|
|
vn-focus>
|
|
</vn-input-number>
|
|
</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>
|
|
<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>
|