Ticket Request
{{ Form::model($form, ['method'=>'post', 'files' => 'true', 'enctype'=>'multipart/form-data']) }}
{{ Form::token() }}
{{ Form::close() }}
{{ Form::label('organization', 'Company') }}
{{ Form::text('organization', null, ['class'=>'form-control', 'placeholder'=>'Company', 'readonly'=>'true']) }}
{{ Form::hidden('company_id') }}
@if ($errors->has('organization'))
{{ $errors->first('organization') }}
@endif
{{ Form::label('contact', 'Contact') }}
{{ Form::text('contact', null, ['class'=>'form-control', 'placeholder'=>'Contact']) }}
@if ($errors->has('contact'))
{{ $errors->first('contact') }}
@endif
{{ Form::label('category', 'Category') }}
{{ Form::select('category', \App\GOCForm::getCategoriesArray(), null, [
'class'=>'form-control',
]) }}
@if ($errors->has('category'))
{{ $errors->first('category') }}
@endif
{{ Form::label('requested_change', 'Date and time for requested change') }}
{{ Form::text('requested_change', null, ['class'=>'form-control', 'placeholder'=>'Date and time for requested change']) }}
@if ($errors->has('requested_change'))
{{ $errors->first('requested_change') }}
@endif
{{ Form::label('reasons_change', 'Describe reasons for the change') }}
{{ Form::textarea('reasons_change', null, ['class'=>'form-control', 'placeholder'=>'Describe reasons for the change']) }}
@if ($errors->has('reasons_change'))
{{ $errors->first('reasons_change') }}
@endif
{{ Form::label('affected_systems', 'List the affected systems') }}
{{ Form::text('affected_systems', null, ['class'=>'form-control', 'placeholder'=>'List the affected systems']) }}
@if ($errors->has('affected_systems'))
{{ $errors->first('affected_systems') }}
@endif
{{ Form::label('environment', 'Environment for the change') }}
{{ Form::select('environment', \App\Models\Ticket::$environment_for_change, null, [
'class'=>'form-control',
'data-toggle'=>"tooltip",
'data-trigger'=>"hover",
'data-placement'=>"top",
'data-title'=>"Environment for the change",
]) }}
@if ($errors->has('environment'))
{{ $errors->first('environment') }}
@endif
{{ Form::label('test_done', 'Has this test been done before?') }}
{{ Form::select('test_done', \App\Models\Ticket::$test_done_variants, null, ['class'=>'form-control',]) }}
@if ($errors->has('test_done'))
{{ $errors->first('test_done') }}
@endif
{{ Form::text('place', null, ['class'=>'form-control', 'placeholder'=>'Place']) }}
{{ Form::label('description', 'Description') }}
{{ Form::textarea('description', null, ['class'=>'form-control', 'placeholder'=>'Description']) }}
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
{{ Form::label('severity', 'Severity') }}
{{ Form::select('severity', \App\Models\Ticket::$severities, null, [
'class'=>'form-control',
]) }}
@if ($errors->has('severity'))
{{ $errors->first('severity') }}
@endif
{{ Form::label('contact_method', 'Contact method') }}
{{ Form::select('contact_method', \App\Models\Ticket::$contact_methods, null, [
'class'=>'form-control',
'data-toggle'=>"tooltip",
'data-trigger'=>"hover",
'data-placement'=>"top",
'data-title'=>"Contact method",
]) }}
@if ($errors->has('contact_method'))
{{ $errors->first('contact_method') }}
@endif
{{ Form::label('attache1', 'Upload') }}
{{ Form::file('attache1', null, ['class'=>'form-control']) }}
@if ($errors->has('attache1'))
{{ $errors->first('attache1') }}
@endif