Disable closing tickets with empty required fields
This will disable the ability for a user to close a ticket when they have not filled out all of the required fields. Explains the problem to the user trying to close and directs them to the edit page. Added some functions to the $ticket class to make it easy to determine the missing required fields.
Showing
- include/ajax.tickets.php 6 additions, 4 deletionsinclude/ajax.tickets.php
- include/class.dynamic_forms.php 3 additions, 0 deletionsinclude/class.dynamic_forms.php
- include/class.ticket.php 27 additions, 1 deletioninclude/class.ticket.php
- include/staff/templates/dynamic-form.tmpl.php 7 additions, 1 deletioninclude/staff/templates/dynamic-form.tmpl.php
- include/staff/templates/status-options.tmpl.php 18 additions, 12 deletionsinclude/staff/templates/status-options.tmpl.php
- include/staff/ticket-view.inc.php 10 additions, 2 deletionsinclude/staff/ticket-view.inc.php
- scp/css/scp.css 2 additions, 1 deletionscp/css/scp.css
Loading
Please register or sign in to comment