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

32 lines
944 B
HTML
Raw Normal View History

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>
<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-04-04 09:53:13 +00:00
field="$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>
<vn-submit 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"
on-response="$ctrl.returnDialog(response)"
question="Esta modificación retrasará el plazo del próximo recobro"
message="¿Desea continuar?">
</vn-confirm>