ticket tracking READ ACL. Hide edit button.

This commit is contained in:
Joan Sanchez 2018-07-10 14:30:52 +02:00
parent 2d020268fe
commit 5d2263fb19
2 changed files with 4 additions and 12 deletions

View File

@ -153,8 +153,7 @@
"menu": {
"description": "Tracking",
"icon": "remove_red_eye"
},
"acl": ["production"]
}
},
{
"url": "/edit",
@ -162,15 +161,8 @@
"component": "vn-ticket-tracking-edit",
"params": {
"ticket": "$ctrl.ticket"
}
},
{
"url": "/create",
"state": "ticket.card.tracking.create",
"component": "vn-ticket-tracking-create",
"params": {
"client": "$ctrl.client"
}
},
"acl": ["production"]
},
{
"url" : "/sale-checked",

View File

@ -24,6 +24,6 @@
</vn-card>
<vn-paging vn-one margin-large-top index="index" total="index.model.count"></vn-paging>
</vn-vertical>
<a ui-sref="ticket.card.tracking.edit" vn-bind="+" fixed-bottom-right>
<a ui-sref="ticket.card.tracking.edit" vn-bind="+" vn-visible-by="production" fixed-bottom-right>
<vn-float-button icon="add"></vn-float-button>
</a>