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:
@@ -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) {
|
||||
|
||||
@@ -31,7 +31,6 @@ class ClientRequest extends Request
|
||||
{
|
||||
$check = $this->check(new CommonSettings());
|
||||
if ($check != 0) {
|
||||
return $check;
|
||||
$custom_rule = $this->getCustomRule();
|
||||
$rules = array_merge($check, $custom_rule);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user