Skip to main content

Introduction

Default Helpdesk module comes with tickets, comments (per ticket) and support level. You can update support levels in this enum modules/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 in modules/Helpdesk/database/migrations folder or publish migrations to your application’s migrations folder.
To override templates, publish them using this command. Files will be copied to resources/js/Modules/Helpdesk folder where you can update them as you wish.
Upon calling this command you will be prompted to copy files for admin area, which is disabled by default.
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 implements modules/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.

Get current support level

Query users with support

Check if user has active support

Check if user has premium support