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

38 lines
1.0 KiB
HTML
Raw Permalink Normal View History

<mg-ajax path="Clients/{{patch.params.id}}" options="vnPatch"></mg-ajax>
2017-12-04 07:17:29 +00:00
<vn-watcher
vn-id="watcher"
data="$ctrl.client"
form="form"
save="patch">
</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">
2017-12-04 07:17:29 +00:00
<vn-horizontal>
<vn-input-number
vn-one
min="0"
label="Credit"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.client.credit"
vn-focus
rule>
</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>
2020-12-13 13:57:42 +00:00
<vn-submit
ng-if="watcher.dataChanged()"
label="Save">
</vn-submit>
<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>
<vn-confirm
vn-id="confirmation"
2020-07-29 08:54:45 +00:00
on-accept="$ctrl.returnDialog()"
question="Esta modificación retrasará el plazo del próximo recobro"
message="¿Desea continuar?">
</vn-confirm>