Hello Everyone!
We've got implemented Company ticket functionality in customer frontend and lately got such an issue - Customers instead of creating their own tickets find tickets with similar content and add their comments, setting new state as "Open". Well I found following solutions:
1) On Reply create new ticket instead of reopening one (not suitable)
2) Disable Reply button at all (not suitable)
3) Remove state "Open" via ACL (if I manage to write IF condition to compare Ticket['CustomerUser'] with ENV['CustomerUser'] it might even work, of course with minor programming in CustomerTicketZoom.dtl
The Question - did anyone managed to implement such functionality? If yes, then how?
Best Wishes,
Artjoms
Disable Reply button for Company tickets.
Moderator: crythias
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Disable Reply button for Company tickets.
Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
-
- Znuny advanced
- Posts: 121
- Joined: 30 Aug 2011, 10:48
- Znuny Version: 3.3.8 && 4.0.9
- Real Name: Artjoms Petrovs
- Location: Latvia
Re: Disable Reply button for Company tickets.
To be more precisely, that IF condition should be in /js/Core.Customer.TicketZoom.js and should compare Core.Customer with ticket' s value, so the question is - how in JavaScript retrieve ticket CustomerUser? 

Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer