limpieza de models auth obsoleto, ahora vn

This commit is contained in:
Javi Gallego 2017-11-22 12:43:12 +01:00
parent b3e8b4542a
commit bfd584487f
10 changed files with 84 additions and 84 deletions

View File

@ -27,13 +27,13 @@
</vn-horizontal>
<vn-horizontal margin-medium-bottom>
<vn-one>
<vn-check label="Recibido core VNH" field="$ctrl.client.HasCoreVnh" vn-acl="administrative"></vn-check>
<vn-check label="Recibido core VNH" field="$ctrl.client.hasCoreVnh" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check label="Recibido core VNL" field="$ctrl.client.HasCoreVnl" vn-acl="administrative"></vn-check>
<vn-check label="Recibido core VNL" field="$ctrl.client.hasCoreVnl" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check label="Recibido B2B VNL" field="$ctrl.client.hasSepavnl" vn-acl="administrative"></vn-check>
<vn-check label="Recibido B2B VNL" field="$ctrl.client.hasSepaVnl" vn-acl="administrative"></vn-check>
</vn-one>
</vn-horizontal>
</vn-vertical>

View File

@ -42,26 +42,27 @@
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal margin-small-bottom>
<vn-one>
<vn-check label="Active" field="$ctrl.client.isActive" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check label="Invoice by address" field="$ctrl.client.hasToInvoiceByAddress" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check label="Active" field="$ctrl.client.isActive" vn-acl="administrative"></vn-check>
<vn-check label="Datos comprobados" field="$ctrl.client.isTaxDataChecked" vn-acl="administrative"></vn-check>
</vn-one>
</vn-horizontal>
<vn-horizontal>
<vn-one>
<vn-check label="Has to invoice" field="$ctrl.client.hasToInvoice" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check vn-one label="Invoice by mail" field="$ctrl.client.invoiceByEmail" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check vn-one label="Vies" field="$ctrl.client.isVies" vn-acl="administrative"></vn-check>
</vn-one>
</vn-horizontal>
<vn-horizontal>
<vn-one>
<vn-check label="Has to invoice" field="$ctrl.client.hasToInvoice" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check label="Invoice by mail" field="$ctrl.client.invoiceByEmail" vn-acl="administrative"></vn-check>
</vn-one>
<vn-one>
<vn-check label="Vies" field="$ctrl.client.isVies" vn-acl="administrative"></vn-check>
</vn-one>
</vn-horizontal>
</vn-vertical>
</vn-card>
@ -76,8 +77,8 @@
>
<tpl-body>
<vn-vertical>
<vn-one text-center translate>You changes the equivalent tax</vn-one>
<vn-one text-center translate>Do you want to spread the change to their consignees?</vn-one>
<vn-one text-center translate>You changes the equivalen
<vn-one text-center translate>Do you want to spread the change to their consig
</vn-vertical>
</tpl-body>
<tpl-buttons>

View File

@ -1,9 +1,9 @@
{
"user": {
"dataSource": "auth"
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "auth",
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
@ -13,15 +13,15 @@
}
},
"ACL": {
"dataSource": "auth"
"dataSource": "salix"
},
"RoleMapping": {
"dataSource": "auth"
"dataSource": "salix"
},
"Role": {
"dataSource": "auth"
"dataSource": "salix"
},
"Account": {
"dataSource": "auth"
"dataSource": "salix"
}
}

View File

@ -1,6 +1,12 @@
{
"name": "Client",
"base": "VnModel",
"options": {
"mysql": {
"table": "client",
"database": "vn"
}
},
"properties": {
"id": {
"type": "Number",
@ -39,7 +45,7 @@
"mobile": {
"type": "string"
},
"IsActive": {
"isActive": {
"type": "boolean"
},
"credit": {
@ -70,7 +76,7 @@
"type": "boolean",
"description": "Send invoices by email"
},
"hasSepavnl": {
"hasSepaVnl": {
"type": "boolean"
},
"hasCoreVnl": {
@ -79,6 +85,9 @@
"hasCoreVnh": {
"type": "boolean"
},
"isTaxDataChecked":{
"type": "boolean"
},
"eypbc": {
"type": "boolean"
},

View File

@ -1,9 +1,9 @@
{
"user": {
"dataSource": "auth"
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "auth",
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
@ -13,51 +13,51 @@
}
},
"ACL": {
"dataSource": "auth"
"dataSource": "salix"
},
"RoleMapping": {
"dataSource": "auth"
"dataSource": "salix"
},
"Role": {
"dataSource": "auth"
"dataSource": "salix"
},
"Account": {
"dataSource": "auth"
"dataSource": "salix"
},
"Client": {
"dataSource": "vn"
},
"ClientCredit": {
"dataSource": "vn"
"dataSource": "salix"
},
"ClientCreditLimit": {
"dataSource": "vn"
"dataSource": "salix"
},
"ClientObservation": {
"dataSource": "vn"
"dataSource": "salix"
},
"PayMethod": {
"dataSource": "vn"
"dataSource": "salix"
},
"Address": {
"dataSource": "vn"
"dataSource": "salix"
},
"AgencyMode": {
"dataSource": "vn"
"dataSource": "salix"
},
"Province": {
"dataSource": "vn"
"dataSource": "salix"
},
"Country": {
"dataSource": "vn"
"dataSource": "salix"
},
"ContactChannel": {
"dataSource": "vn"
"dataSource": "salix"
},
"Employee": {
"dataSource": "vn"
"dataSource": "salix"
},
"CreditClassification": {
"dataSource": "vn"
"dataSource": "salix"
}
}

View File

@ -1,22 +1,17 @@
{
"db":
{
"name": "db",
"connector": "memory",
"file": "db.json"
},
"auth":
{
"vn": {
"name": "mysql",
"connector": "mysql",
"database": "salix",
"database": "vn",
"debug": false,
"host": "localhost",
"port": 3306,
"username": "root",
"password": ""
"password": "",
"connectTimeout": 20000,
"acquireTimeout": 20000
},
"vn": {
"salix": {
"name": "mysql",
"connector": "mysql",
"database": "salix",
@ -27,11 +22,6 @@
"password": "",
"connectTimeout": 20000,
"acquireTimeout": 20000
},
"client": {
"name": "client",
"connector": "remote",
"url": "http://localhost:3002/api"
}
}

View File

@ -14,10 +14,10 @@
]
},
"user": {
"dataSource": "auth"
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "auth",
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
@ -27,15 +27,15 @@
}
},
"ACL": {
"dataSource": "auth"
"dataSource": "salix"
},
"RoleMapping": {
"dataSource": "auth"
"dataSource": "salix"
},
"Role": {
"dataSource": "auth"
"dataSource": "salix"
},
"Account": {
"dataSource": "auth"
"dataSource": "salix"
}
}

View File

@ -1,9 +1,9 @@
{
"user": {
"dataSource": "auth"
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "auth",
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
@ -13,16 +13,16 @@
}
},
"ACL": {
"dataSource": "auth"
"dataSource": "salix"
},
"RoleMapping": {
"dataSource": "auth"
"dataSource": "salix"
},
"Role": {
"dataSource": "auth"
"dataSource": "salix"
},
"Account": {
"dataSource": "auth"
"dataSource": "salix"
},
"Ticket": {
"dataSource": "vn"

View File

@ -1,9 +1,9 @@
{
"user": {
"dataSource": "auth"
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "auth",
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
@ -13,16 +13,16 @@
}
},
"ACL": {
"dataSource": "auth"
"dataSource": "salix"
},
"RoleMapping": {
"dataSource": "auth"
"dataSource": "salix"
},
"Role": {
"dataSource": "auth"
"dataSource": "salix"
},
"Account": {
"dataSource": "auth"
"dataSource": "salix"
},
"Delivery": {
"dataSource": "vn"

View File

@ -1,9 +1,9 @@
{
"user": {
"dataSource": "auth"
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "auth",
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
@ -13,15 +13,15 @@
}
},
"ACL": {
"dataSource": "auth"
"dataSource": "salix"
},
"RoleMapping": {
"dataSource": "auth"
"dataSource": "salix"
},
"Role": {
"dataSource": "auth"
"dataSource": "salix"
},
"Account": {
"dataSource": "auth"
"dataSource": "salix"
}
}