ticket tracking READ ACL. Hide edit button.
This commit is contained in:
parent
2d020268fe
commit
5d2263fb19
|
@ -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",
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue