@php $extensions = json_encode(getFileExtensions(1)); @endphp @extends('admin.layouts.master') @section('title', __('Ticket Reply')) @section('head_style') @endsection @section('page_content')
{{ __('Ticket Reply') }}

{{ __('Ticket Status') }}: {!! getStatusLabel($ticket->ticket_status?->name) !!}

{{ __('Subject') }} : {{ $ticket->subject }}

{{ __('Priority') }} : {{ $ticket->priority }} @if(isset($ticket->admin_id)) {{ __('Assignee') }} : {{ getColumnValue($ticket->admin) }} @endif
@csrf
@if($errors->has('message')) {{ $errors->first('message') }} @endif
@if($errors->has('file')) {{ $errors->first('file') }} @endif
@if($ticket->admin_id != NULL)

{!! ucfirst($ticket->message) !!}


@else

{!! ucfirst($ticket->message) !!}


@endif @foreach($ticket_replies as $ticket_reply) @if($ticket_reply->user_type == 'user')

{!! ucfirst($ticket_reply->message) !!}


@if(optional($ticket_reply->file)->filename) {{ optional($ticket_reply->file)->originalname }} @endif
@else

{!! ucfirst($ticket_reply->message) !!}


@if(optional($ticket_reply->file)->filename) {{ optional($ticket_reply->file)->originalname }} @endif
@endif @endforeach
@endsection @push('extra_body_scripts') @endpush