resource->status == 'Resolved' || $resourceInfo->resource->status == 'Closed' || $resourceInfo->resource->user_id != \Illuminate\Support\Facades\Auth::id()) style="pointer-events: none;opacity: .5;" @endif @endif>
Mail Info

@if ($resourceInfo != null)

{{ $resourceInfo->channel }}

{{$status ? $status:'N/A'}}
{{$priority ? $priority:'N/A'}}
{{$lang ? $lang:'N/A'}}
{{--
--}} {{-- --}} {{-- @if($country) {!! $countryFlag !!} @endif {{ $country ? $country: 'N/A'}}--}} {{--
--}} @foreach($categorylevels as $categorylevel)
@if($categorylevel->level == 1) {{!empty($category_array[$categorylevel->level]) ? \App\Models\Tenant\Category::where('id',$category_array[$categorylevel->level])->whereStatus(true)->first()->name : 'N/A' }} @else {{!empty($category_array[$categorylevel->level]) ? \App\Models\Tenant\Category::where('id',$category_array[$categorylevel->level])->whereStatus(true)->first()->name : 'N/A' }} @endif
@endforeach @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':'';--}} {{-- $this->input_field_modal_check['input.'.\Illuminate\Support\Str::slug($fields->label)] = 'required'.$ty;--}} {{-- }--}} {{-- @endphp--}} @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') {{$input[\Illuminate\Support\Str::slug($fields->label)] != '' ? $input[\Illuminate\Support\Str::slug($fields->label)]:'N/A'}}
{{-- @error('input.'.\Illuminate\Support\Str::slug($fields->label))This field can't be empty@enderror--}} @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))This field can't be empty@enderror--}} @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 @endif
@endforeach @if($status == 'New Ticket')
@endif
@endif

@endif @endif