Create New Ticket
General Information


Ticket Categories

@foreach($levels ?? [] as $level) @if ($level->level == 1)
@elseif(!empty($category_array[$level->level - 1]))
@else
@endif @endforeach
Ticket Info

@if($input_field_modal)
@error("customerName") {{$message}} @enderror
@error("customerNumber") {{$message}} @enderror
@error("customerEmail") {{$message}} @enderror
@if (!empty($distribiution)) @foreach ($distribiution->group->fields as $fields) @php if ($fields->required) { $ty = $fields->type == 'email' ? '|email' : ''; $ty = $fields->type == 'number' ? '|numeric' : ''; if (\Illuminate\Support\Str::slug($fields->label) == 'mobile-number' || \Illuminate\Support\Str::slug($fields->label) == 'phone-number' || \Illuminate\Support\Str::slug($fields->label) == 'tel' || \Illuminate\Support\Str::slug($fields->label) == 'telephone' || \Illuminate\Support\Str::slug($fields->label) == 'mobile' || \Illuminate\Support\Str::slug($fields->label) == 'phone') { $this->input_field_modal_check['input.' . \Illuminate\Support\Str::slug($fields->label)] = 'required|regex:/^([0-9\s\-\+\(\)]*)$/|min:8|max:14'; }else { $this->input_field_modal_check['input.' . \Illuminate\Support\Str::slug($fields->label)] = 'required' . $ty; } } @endphp @if ($fields->type == 'select') @php $data_value = explode(',', $fields->value); @endphp
@error('input.' . \Illuminate\Support\Str::slug($fields->label)) @if('input.' . \Illuminate\Support\Str::slug($fields->label) == 'mobile-number' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'phone-number' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'tel' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'telephone' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'mobile' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'phone' ) @else {{Str::replace('input.','',Str::replace('-',' ',$message))}} @endif @enderror
@else
@error('input.' . \Illuminate\Support\Str::slug($fields->label)) @if('input.' . \Illuminate\Support\Str::slug($fields->label) == 'input.mobile-number' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'input.phone-number' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'input.tel' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'input.telephone' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'input.mobile' || 'input.' . \Illuminate\Support\Str::slug($fields->label) == 'input.phone' ) {{Str::replace('input.','',Str::replace('-',' ',$message))}} @else {{Str::replace('input.','',Str::replace('-',' ',$message))}} @endif @enderror
@endif @endforeach @endif @else

This will be enabled after choosing categories

@endif
Attachments

{{-- @if($status == 'New Ticket')--}}
{{-- @endif--}}
Comment

@if($input_field_modal)
@endif