@vite(['resources/sass/app.scss'])
#{{$showprintticket->ticket_id}} -

{{ $showprintticket->subject }}

@if($showprintticket->category) @else @endelse @endif
{{lang('Ticket Category :')}}{{$showprintticket->category->name}}Null
{{lang('Status :')}} {{$showprintticket->status}}
{{lang('Reply Status :')}} {{$showprintticket->replystatus}}

{{ $showprintticket->subject }}

{!! $showprintticket->message !!}
Created - {{\Carbon\Carbon::parse($showprintticket->created_at)->timezone(setting('default_timezone'))->format('d-m-y')}} {{\Carbon\Carbon::parse($showprintticket->created_at)->timezone(setting('default_timezone'))->format('h:i A')}}
By @if($showprintticket->user_id == null) @if($showprintticket->cust != null) {{$showprintticket->cust->username}} ({{$showprintticket->cust->userType}}) @endif @endif @if(setting('customer_panel_employee_protect') == 'on') {{setting('employeeprotectname')}} @else @if($showprintticket->user_id != null) @if($showprintticket->users != null) {{$showprintticket->users->name}} @if(!empty($showprintticket->users->getRoleNames()[0])) ({{$showprintticket->users->getRoleNames()[0]}}) @endif @endif @endif @endif
@foreach ($showprintticket->getMedia('ticket') as $ticketss)
{{$ticketss->file_name}}
@endforeach
@php $commentsprints = $showprintticket->comments()->latest()->get(); @endphp @foreach($commentsprints as $commentsprint) @if($commentsprint->cust_id != null) {{--Customer Reply status--}}
@if($commentsprint->cust != null) @if ($commentsprint->cust->image == null) default @else {{$commentsprint->cust->image}} @endif @else default @endif
@if($commentsprint->cust != null)
{{ $commentsprint->cust->username }} {{ $commentsprint->cust->userType }}
@else
~
@endif
{!! $commentsprint->comment !!}
@foreach ($commentsprint->getMedia('comments') as $commentss)
{{$commentss->file_name}}
@endforeach
{{lang('Created')}} - {{\Carbon\Carbon::parse($commentsprint->created_at)->timezone(setting('default_timezone'))->format('d-m-y')}} {{\Carbon\Carbon::parse($showprintticket->created_at)->timezone(setting('default_timezone'))->format('h:i A')}}
{{lang('Replied By')}} @if($commentsprint->user_id == null) @if($commentsprint->cust != null) {{$commentsprint->cust->username}} ({{$commentsprint->cust->userType}}) @endif @endif @if(setting('customer_panel_employee_protect') == 'on') {{setting('employeeprotectname')}} @else @if($commentsprint->user_id != null) @if($commentsprint->user != null) {{$commentsprint->user->name}} @if(!empty($commentsprint->user->getRoleNames()[0])) ({{$commentsprint->user->getRoleNames()[0]}}) @endif @else {{ setting('bot_name') }} ( {{ lang('Bot') }} ) @endif @endif @endif
{{--Customer Reply status end--}} @endif @if($commentsprint->user_id != null) {{--Admin Reply status--}}
@if(setting('customer_panel_employee_protect') == 'on') default @else @if($commentsprint->user != null) @if ($commentsprint->user->image == null) default @else {{$commentsprint->user->image}} @endif @else default @endif @endif
@if(setting('customer_panel_employee_protect') == 'on')
{{setting('employeeprotectname')}}
@else @if($commentsprint->user != null)
{{ $commentsprint->user->name }}@if(!empty($commentsprint->user->getRoleNames()[0])){{ $commentsprint->user->getRoleNames()[0] }}@endif
@else
{{ setting('bot_name') }} {{ lang('Bot') }}
@endif @endif
{!! $commentsprint->comment !!}
@foreach ($commentsprint->getMedia('comments') as $commentss)
{{$commentss->file_name}}
@endforeach
{{lang('Created')}} - {{\Carbon\Carbon::parse($commentsprint->created_at)->timezone(setting('default_timezone'))->format('d-m-y')}} {{\Carbon\Carbon::parse($showprintticket->created_at)->timezone(setting('default_timezone'))->format('h:i A')}}
{{lang('Replied By')}} @if($commentsprint->user_id == null) @if($commentsprint->cust != null) {{$commentsprint->cust->username}} ({{$commentsprint->cust->userType}}) @endif @endif @if(setting('customer_panel_employee_protect') == 'on') {{setting('employeeprotectname')}} @else @if($commentsprint->user_id != null) @if($commentsprint->user != null) {{$commentsprint->user->name}} @if(!empty($commentsprint->user->getRoleNames()[0])) ({{$commentsprint->user->getRoleNames()[0]}}) @endif @else {{ setting('bot_name') }} ( {{ lang('Bot') }} ) @endif @endif @endif
{{--Admin Reply status end--}} @endif @endforeach