todo el contenido de los datos del cliente en tarjetas, falta el indice y la creación de clientes

This commit is contained in:
nelo 2017-01-04 14:54:03 +01:00
parent 5d26fe5b39
commit 5508c3594f
3 changed files with 73 additions and 62 deletions

View File

@ -1,14 +1,8 @@
<vn-vertical pad-large>
<vn-vertical pad-medium>
<vn-card >
<vn-vertical pad-large>
<vn-title>Addresses</vn-title>
<vn-horizontal class="pad-medium-bottom border-dashed-bottom" style="text-align: center;">
<vn-empty style="width: 7em;">Default</vn-empty>
<vn-auto>Consignee</vn-auto>
<vn-empty style="width: 7em;">Enabled</vn-empty>
</vn-horizontal>
<vn-horizontal ng-repeat="i in address.addresses" class="pad-medium-top" style="align-items: center;">
<vn-empty style="width: 7em; text-align: center;">
<input type="radio" name="default"/>
</vn-empty>
<vn-auto style="border-radius: .5em;" class="pad-small border-solid">
<vn-horizontal style="align-items: center;">
<vn-auto>
@ -22,8 +16,8 @@
</vn-empty>
</vn-horizontal>
</vn-auto>
<vn-empty style="width: 7em; text-align: center;">
<input type="checkbox" name="enabled" ng-model="i.enabled"/>
</vn-empty>
</vn-horizontal>
</vn-vertical>
</vn-card>
</vn-vertical>

View File

@ -1,5 +1,7 @@
<form name="form" ng-submit="form.$valid && fiscal.submit()" pad-large>
<form name="form" ng-submit="form.$valid && fiscal.submit()" pad-medium>
<vn-card class="display-block" margin-small-bottom>
<vn-vertical pad-large>
<vn-title>Datos fiscales y de facturación</vn-title>
<vn-horizontal>
<vn-check vn-one label="Cliente activo" field="fiscal.client.active"></vn-check>
@ -23,7 +25,11 @@
<vn-textfield vn-one label="Teléfono Movil" field="fiscal.client.mobile"></vn-textfield>
<vn-textfield vn-one label="Correo electrónico" field="fiscal.client.email"></vn-textfield>
</vn-horizontal>
<vn-subtitle>Información de facturación</vn-subtitle>
</vn-vertical>
</vn-card>
<vn-card class="display-block" margin-small-bottom>
<vn-vertical pad-large>
<vn-title>Información de facturación</vn-title>
<vn-horizontal>
<vn-combo vn-two label="Forma de pago" field="fiscal.client.payMethod"></vn-combo>
<vn-textfield vn-one label="Vencimiento" field="fiscal.client.dueDay"></vn-textfield>
@ -35,7 +41,11 @@
<vn-textfield vn-one label="IAE" field="fiscal.client.gestdoc"></vn-textfield>
<vn-textfield vn-three label="IBAN" field="fiscal.client.iban"></vn-textfield>
</vn-horizontal>
<vn-subtitle>Documentación</vn-subtitle>
</vn-vertical>
</vn-card>
<vn-card class="display-block">
<vn-vertical pad-large>
<vn-title>Documentación</vn-title>
<vn-horizontal>
<vn-check vn-two label="Recibido core VNH" field="fiscal.client.coreVnh"></vn-check>
<vn-check vn-two label="Recibido core VNL" field="fiscal.client.coreVnl"></vn-check>
@ -44,4 +54,6 @@
<vn-empty class="margin-large-top">
<vn-submit label="Guardar"></vn-submit>
</vn-empty>
</vn-vertical>
</vn-card>
</form>

View File

@ -1,5 +1,10 @@
<form name="form" ng-submit="form.$valid && note.submit()" pad-large>
<form name="form" ng-submit="form.$valid && note.submit()" pad-medium>
<vn-card>
<vn-vertical pad-large>
<vn-title>Notas</vn-title>
<vn-textfield label="Notas" class="padd-medium-top" field="note.model.notes"></vn-textfield>
<vn-submit label="Guardar"></vn-submit>
</vn-vertical>
</vn-card>
</form>