Custom form issue and exapmle.env

Fixed Github issues regarding rendering of custom form data in ticket detail page.
Following issues have been raised regarding this issue
#416
#462
#553
This commit is contained in:
Manish Verma
2018-08-16 10:36:35 +05:30
parent 8148bbd920
commit ed2d5b466f
4 changed files with 21 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ class TicketController extends Controller
$source = Ticket_source::where('name', '=', 'agent')->first();
$headers = null;
$help = Help_topic::where('id', '=', $helptopic)->first();
$form_data = null;
$form_data = $request->except('name', 'phone', 'email', 'subject', 'body', 'helptopic', '_wysihtml5_mode', '_token', 'mobile', 'code', 'priority', 'attachment', 'first_name', 'last_name', 'sla', 'duedate', 'assignto');
$auto_response = 0;
$status = 1;
if ($phone != null || $mobile_number != null) {