This topic is locked
[SOLVED]

Helpdesk

5/18/2024 11:52:42 PM
PHPRunner General questions
Roosevelt author

Hello everyone, I have a project for a helpdesk, everyone has a username. At the end of the service, I want the user to evaluate the service. I need to create a way where the user cannot open a new ticket if they have not completed the evaluation.

C
Chris Whitehead 5/19/2024

@Roosevelt I would have a flag in the table, let's call it "is_completed" which is a tinyint and has a default of "0", then when the user logs in and tries to create a new ticket you just run a query to check the number of records with the is_completed flag with a value of 0 for that user, if there are records then popup a message telling them they have outstanding tickets to complete. Once the user has completed the ticket and evaluated the service then set the is_completed flag to 1.

fhumanes 5/20/2024

Hello,

It is not exactly the functionality you indicate, but I think it is easily update.

HelpDesk: https://fhumanes.com/blog/gestor-de-proyectos/gestor-de-correos-2/
Survey: https://fhumanes.com/blog/integracion/gestion-de-encuestas-integracion-surveyjs/

Greetings,
fernando

Roosevelt author 5/20/2024

very cool, I'll try it. required to
Chris Whitehead e humanos