permisos de cambio de comercial

This commit is contained in:
Javi Gallego 2018-03-20 13:20:17 +01:00
parent af2fca3879
commit 7e71e8c08c
3 changed files with 14 additions and 0 deletions

View File

@ -30,6 +30,7 @@
value-field="id" value-field="id"
select-fields="name" select-fields="name"
label="Salesperson" label="Salesperson"
vn-acl="salesAssistant"
where="{or: [{firstName: {regexp: 'search'}}, {name: {regexp: 'search'}}]}"> where="{or: [{firstName: {regexp: 'search'}}, {name: {regexp: 'search'}}]}">
</vn-autocomplete> </vn-autocomplete>
<vn-autocomplete vn-one <vn-autocomplete vn-one

View File

@ -63,6 +63,18 @@
"description": "Packages", "description": "Packages",
"icon": "icon-bucket" "icon": "icon-bucket"
} }
},
{
"url" : "/sale",
"state": "ticket.card.sale",
"component": "vn-ticket-sale",
"params": {
"ticket": "$ctrl.ticket"
},
"menu": {
"description": "Sale",
"icon": "icon-lines"
}
} }
] ]
} }

View File

@ -6,3 +6,4 @@ import './card/ticket-card';
import './summary/ticket-summary'; import './summary/ticket-summary';
import './data/ticket-data'; import './data/ticket-data';
import './package/list/package-list'; import './package/list/package-list';
import './sale/sale';