Help me with perfexcrm regular improvements(permanent help, monthly)
Budget: ₹100 – ₹300 INR
I need small fixes on my perfex CRM based website.
In my installation everyone can delete tickets.
I want only admin and mentioned staff ids in the code file can only delete the tickets, others cant.
Example:
In application/helpers, we can create new file (if don't exist) with name my_functions_helper.php and add the following code:
hooks()->add_action('before_ticket_deleted', 'my_before_ticket_deleted');
function my_before_ticket_deleted($ticketId) {
// add logic here, e.g. below
access_denied();
}
This above thing actually disallows everyone to not able to delete ticket.
Instead modify above code to make it such that only mentioned staff ids in the code can delete tickets and others cant.
Now if your proposal is with the solution to the above, we will only then love to initiate chat and discuss ongoing needs and ongoing work.
In my installation everyone can delete tickets.
I want only admin and mentioned staff ids in the code file can only delete the tickets, others cant.
Example:
In application/helpers, we can create new file (if don't exist) with name my_functions_helper.php and add the following code:
hooks()->add_action('before_ticket_deleted', 'my_before_ticket_deleted');
function my_before_ticket_deleted($ticketId) {
// add logic here, e.g. below
access_denied();
}
This above thing actually disallows everyone to not able to delete ticket.
Instead modify above code to make it such that only mentioned staff ids in the code can delete tickets and others cant.
Now if your proposal is with the solution to the above, we will only then love to initiate chat and discuss ongoing needs and ongoing work.