añadir fuentes

This commit is contained in:
Javi Gallego 2018-03-13 14:07:42 +01:00
parent 3dac1be401
commit d9f932b2c1
8 changed files with 31 additions and 25 deletions

View File

@ -30,7 +30,7 @@
}, },
"menu": { "menu": {
"description": "Basic data", "description": "Basic data",
"icon": "person" "icon": "settings"
} }
}, },
{ {
@ -54,7 +54,7 @@
}, },
"menu": { "menu": {
"description": "Pay method", "description": "Pay method",
"icon": "assignment" "icon": "icon-payment"
} }
}, },
{ {
@ -94,7 +94,7 @@
}, },
"menu": { "menu": {
"description": "Web access", "description": "Web access",
"icon": "language" "icon": "cloud"
} }
}, },
{ {
@ -186,7 +186,7 @@
"component": "vn-client-invoices", "component": "vn-client-invoices",
"menu": { "menu": {
"description": "Invoices", "description": "Invoices",
"icon": "insert_drive_file" "icon": "icon-invoices"
} }
}, },
{ {
@ -204,7 +204,7 @@
}, },
"menu": { "menu": {
"description": "Recovery", "description": "Recovery",
"icon": "credit_card" "icon": "icon-recovery"
} }
}, { }, {
"url": "/create", "url": "/create",

View File

@ -14,7 +14,7 @@
<vn-icon <vn-icon
ng-click="$ctrl.preview($event)" ng-click="$ctrl.preview($event)"
vn-tooltip="Preview" vn-tooltip="Preview"
icon="icon-preview"> icon="desktop_windows">
</vn-icon> </vn-icon>
</vn-horizontal> </vn-horizontal>
</vn-horizontal> </vn-horizontal>

View File

@ -1,6 +1,18 @@
.icon-tags:before { content: '\e800'; } .icon-barcode:before { content: '\e800'; } /* '' */
.icon-tree:before { content: '\e801'; } .icon-volume:before { content: '\e801'; } /* '' */
.icon-clone2:before { content: '\e802'; } .icon-bucket:before { content: '\e802'; } /* '' */
.icon-preview:before { content: '\e803'; } .icon-disabled:before { content: '\e80b'; } /* '' */
.icon-history:before { content: '\f1da'; } .icon-invoices:before { content: '\e80c'; } /* '' */
.icon-noweb:before { content: '\e812'; } /* '' */
.icon-payment:before { content: '\e813'; } /* '' */
.icon-recovery:before { content: '\e815'; } /* '' */
.icon-risk:before { content: '\e816'; } /* '' */
.icon-lines:before { content: '\e819'; } /* '' */
.icon-volum:before { content: '\e81b'; } /* '' */
.icon-components:before { content: '\e81c'; } /* '' */
.icon-clone:before { content: '\e81d'; } /* '' */
.icon-addperson:before { content: '\e81e'; } /* '' */
.icon-bin:before { content: '\e81f'; } /* '' */
.icon-sms:before { content: '\e820'; } /* '' */
.icon-tags:before { content: '\e821'; } /* '' */

View File

@ -35,7 +35,7 @@
}, },
"menu": { "menu": {
"description": "Basic data", "description": "Basic data",
"icon": "folder" "icon": "settings"
}, },
"acl": ["buyer"] "acl": ["buyer"]
}, },
@ -48,7 +48,7 @@
}, },
"menu": { "menu": {
"description": "Tags", "description": "Tags",
"icon": "folder" "icon": "icon-tags"
}, },
"acl": ["buyer"] "acl": ["buyer"]
}, },
@ -70,7 +70,7 @@
}, },
"menu": { "menu": {
"description": "History", "description": "History",
"icon": "folder" "icon": "history"
} }
}, },
{ {
@ -107,7 +107,7 @@
}, },
"menu": { "menu": {
"description": "Barcode", "description": "Barcode",
"icon": "folder" "icon": "icon-barcode"
}, },
"acl": ["buyer","replenisher"] "acl": ["buyer","replenisher"]
},{ },{

View File

@ -20,12 +20,12 @@
<vn-icon <vn-icon
ng-click="$ctrl.clone($event)" ng-click="$ctrl.clone($event)"
vn-tooltip="Clone" vn-tooltip="Clone"
icon="icon-clone2"> icon="icon-clone">
</vn-icon> </vn-icon>
<vn-icon <vn-icon
ng-click="$ctrl.preview($event)" ng-click="$ctrl.preview($event)"
vn-tooltip="Preview" vn-tooltip="Preview"
icon="icon-preview"> icon="desktop_windows">
</vn-icon> </vn-icon>
</vn-horizontal> </vn-horizontal>
</vn-horizontal> </vn-horizontal>

View File

@ -150,8 +150,8 @@ export default {
itemsIndex: { itemsIndex: {
createItemButton: `${components.vnFloatButton}`, createItemButton: `${components.vnFloatButton}`,
searchResult: `vn-item-product a`, searchResult: `vn-item-product a`,
searchResultPreviewButton: `vn-item-product .buttons > [icon="icon-preview"]`, searchResultPreviewButton: `vn-item-product .buttons > [icon="desktop_windows"]`,
searchResultCloneButton: `vn-item-product .buttons > [icon="icon-clone2"]`, searchResultCloneButton: `vn-item-product .buttons > [icon="icon-clone"]`,
acceptClonationAlertButton: `vn-item-list [vn-id="clone"] [response="ACCEPT"]`, acceptClonationAlertButton: `vn-item-list [vn-id="clone"] [response="ACCEPT"]`,
searchItemInput: `${components.vnTextfield}`, searchItemInput: `${components.vnTextfield}`,
searchButton: `${components.vnSearchBar} > vn-icon-button > button`, searchButton: `${components.vnSearchBar} > vn-icon-button > button`,

View File

@ -25,12 +25,6 @@ module.exports = function(Self) {
Self.validatesUniquenessOf('socialName', { Self.validatesUniquenessOf('socialName', {
message: 'La razón social debe ser única' message: 'La razón social debe ser única'
}); });
Self.validatesFormatOf('postcode', {
message: 'El código postal solo debe contener números',
allowNull: true,
allowBlank: true,
with: /^\d+$/
});
Self.validatesFormatOf('email', { Self.validatesFormatOf('email', {
message: 'Correo electrónico inválido', message: 'Correo electrónico inválido',
allowNull: true, allowNull: true,