salix/client/client/src/basic-data/index.html

39 lines
1.6 KiB
HTML
Raw Normal View History

2017-02-21 10:36:43 +00:00
<mg-ajax path="/client/api/Clients/{{put.params.id}}" options="vnPut"></mg-ajax>
2017-02-21 15:21:55 +00:00
<vn-watcher
vn-id="watcher"
data="$ctrl.client"
form="form"
save="put">
</vn-watcher>
2017-02-21 10:36:43 +00:00
<form name="form" ng-submit="watcher.submit()" pad-medium>
2017-02-24 12:03:23 +00:00
<vn-card>
<vn-vertical pad-large>
<vn-title>Datos básicos</vn-title>
<vn-horizontal>
2017-02-07 15:04:30 +00:00
<vn-textfield vn-one label="Nombre" field="$ctrl.client.name" vn-focus></vn-textfield>
<vn-textfield vn-one label="NIF/CIF" field="$ctrl.client.fi"></vn-textfield>
<vn-textfield autofocus vn-one label="Razón social" field="$ctrl.client.socialName"></vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield vn-one label="Teléfono" field="$ctrl.client.phone"></vn-textfield>
<vn-textfield vn-one label="Móvil" field="$ctrl.client.mobile"></vn-textfield>
<vn-textfield vn-one label="Fax" field="$ctrl.client.fax"></vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield vn-one label="Email" field="$ctrl.client.email"></vn-textfield>
<vn-autocomplete vn-one
field="$ctrl.client.salesPerson"
url="/client/api/Employees"
show-field="name"
value-field="id"
label="Comercial">
</vn-autocomplete>
<vn-one></vn-one>
</vn-horizontal>
</vn-vertical>
</vn-card>
<vn-button-bar>
<vn-submit label="Guardar"></vn-submit>
</vn-button-bar>
</form>