{!! Session::get('message') !!}
@endif
@if (count($errors) > 0)
@if(Session::has('check'))
@endif
{!! Lang::get('lang.alert') !!} !
@endif
{{-- --}}
encrypt(csrf_token());
?>
{!! Form::open(['action'=>'Client\helpdesk\FormController@postedForm','method'=>'post', 'enctype'=>'multipart/form-data']) !!}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{!! Lang::get('lang.ticket') !!}
@if(Auth::user())
{!! Form::hidden('Name',Auth::user()->user_name,['class' => 'form-control']) !!}
@else
@endif
{!! Lang::get('lang.max') !!}. 10MB
{{-- Event fire --}}
{!! Form::label('Name',Lang::get('lang.name')) !!} *
{!! Form::text('Name',null,['class' => 'form-control']) !!}
@endif
@if(Auth::user())
{!! Form::hidden('Email',Auth::user()->email,['class' => 'form-control']) !!}
@else
{!! Form::label('Email',Lang::get('lang.email')) !!}
@if($email_mandatory->status == 1 || $email_mandatory->status == '1')
*
@endif
{!! Form::email('Email',null,['class' => 'form-control']) !!}
@endif
@if(!Auth::user())
{!! Form::label('Code',Lang::get('lang.country-code')) !!}
@if($email_mandatory->status == 0 || $email_mandatory->status == '0')
*
@endif
{!! Form::text('Code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code')]) !!}
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
@if($email_mandatory->status == 0 || $email_mandatory->status == '0')
*
@endif
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
{!! Form::label('Phone',Lang::get('lang.phone')) !!}
{!! Form::text('Phone',null,['class' => 'form-control']) !!}
@else
{!! Form::hidden('mobile',Auth::user()->mobile,['class' => 'form-control']) !!}
{!! Form::hidden('Code',Auth::user()->country_code,['class' => 'form-control']) !!}
{!! Form::hidden('Phone',Auth::user()->phone_number,['class' => 'form-control']) !!}
@endif
{!! Form::label('help_topic', Lang::get('lang.choose_a_help_topic')) !!}
{!! $errors->first('help_topic', ':message ') !!}
get();
?>
first();
$user_Priority=$Priority->status;
?>
@if(!Auth::user())
get(); ?>
{!! Form::select('priority', ['Priority'=>$Priority->lists('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select']) !!}
{!! Form::label('Subject',Lang::get('lang.subject')) !!} *
{!! Form::text('Subject',null,['class' => 'form-control']) !!}
{!! Form::label('Details',Lang::get('lang.message')) !!} *
{!! Form::textarea('Details',null,['class' => 'form-control']) !!}
{!! Lang::get('lang.attachment') !!}
{!! Lang::get('lang.max') !!}. 10MB
{!! Form::submit(Lang::get('lang.Send'),['class'=>'form-group btn btn-info pull-left', 'onclick' => 'this.disabled=true;this.value="Sending, please wait...";this.form.submit();'])!!}