Fixed issue #636 - Customer get forced to save time for time accounting in customer interface - only allow it for agents.
This commit is contained in:
parent
d0b26eb55a
commit
303db3e7c3
1 changed files with 4 additions and 0 deletions
|
@ -763,6 +763,10 @@ class App.TicketZoom extends App.Controller
|
|||
return
|
||||
|
||||
# time tracking
|
||||
if @permissionCheck('ticket.customer')
|
||||
@submitPost(e, ticket)
|
||||
return
|
||||
|
||||
new App.TicketZoomTimeAccounting(
|
||||
container: @el.closest('.content')
|
||||
ticket: ticket
|
||||
|
|
Loading…
Reference in a new issue