@if ($resource != null) @if(in_array($resourceInfo->ticket->department_id,\Illuminate\Support\Facades\Auth::user()->departments->pluck('id')->toArray())) @if($resourceInfo->ticket->status != "Resolved" && $resourceInfo->ticket->status != "Closed" && $resourceInfo->ticket->status != "Pending")
Ticket Info

@if ($resource != null)

@if($resourceInfo->channel == 'Facebook') @endif @if($resourceInfo->channel == 'Instagram') @endif @if($resourceInfo->channel == 'Twitter') @endif @if($resourceInfo->channel == 'Google') @endif @if($resourceInfo->channel == 'Whatsapp') @endif @if($resourceInfo->channel == 'Livechat') @endif @if($resourceInfo->channel == 'Email') @endif @if($resourceInfo->channel == 'Voice') @endif {{ $resourceInfo->channel }}

{{$status ? $status:'N/A'}}
@if($status == 'Redirect' || $status == 'Reopen') @foreach($categorylevels as $categorylevel)
@if($categorylevel->level == 1) {{!empty($category_array[$categorylevel->level]) ? \App\Models\Tenant\Category::where('id',$category_array[$categorylevel->level])->first()->name : 'N/A' }} @else {{!empty($category_array[$categorylevel->level]) ? \App\Models\Tenant\Category::where('id',$category_array[$categorylevel->level])->first()->name : 'N/A' }} @endif
@endforeach @if($input_field_modal) {{-- @if($status == 'Resolved' || $status == 'Reopen' || $status == 'Closed')--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- @else--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endif--}} @endif @endif @if(true) @if($status == 'Redirect' || $status == 'Resolved' || $status == 'Reopen')
@endif

@endif @endif
@endif @endif @endif