Introduction
Default Helpdesk module comes with tickets, comments (per ticket) and support level. You can update support levels in this enummodules/Helpdesk/app/Enums/HelpdeskSupportLevel.php
. You can also update enums for ticket status (open, in progress, resolved) and ticket type (general questions, tech support, billing inquiry, bug report).
Enable/disable module
Via terminal
Manually
modules_statuses.json
Set Helpdesk to true
(enabled) or false
(disabled)
Override files
To override tables for database, you can either update original migration file inmodules/Helpdesk/database/migrations
folder or publish migrations to your application’s migrations
folder.
resources/js/Modules/Helpdesk
folder where you can update them as you wish.
It’s recommended to publish files if you need to update anything.
Support level for Users
By default, all registered users will be set to expired. Users with expired support level are not allowed to create new tickets or comment on existing tickets. If you plan to use this module it’s recommended to set support level for your users upon successful subscription, order, registration or some other event in your application. User model implementsmodules/Helpdesk/app/Traits/HasSupport.php
trait so you can use this line of code to assign desired support level to the user:
If you updated the
HelpdeskSupportLevel
enum, update the HasSupport
trait
accordingly to avoid bugs.