@extends('frontend.layout.master') @section('site_title',__('Support Ticket Details')) @section('style') @endsection @section('content') @include('frontend.user.layout.partials.sidebar') #{{ $ticket_details->id }} @if($ticket_details->status == 'close') {{ __('Closed') }} @else {{ __('Open') }} @endif {{ $ticket_details->priority }} {{ $ticket_details->title }} {{ __('Last update') }} {{ $ticket_details?->get_ticket_latest_message?->updated_at->diffForHumans() ?? $ticket_details->updated_at->diffForHumans() }} @foreach($ticket_details->message as $message) @if($message->type == 'admin') {{ $message->message }} @if($message->attachment) @if(cloudStorageExist() && in_array(Storage::getDefaultDriver(), ['s3', 'cloudFlareR2', 'wasabi'])) {{ __('Download Attachment') }} @else {{ __('Download Attachment') }} @endif @endif {{ $message->created_at->diffForHumans() }} @else @if(cloudStorageExist() && in_array(Storage::getDefaultDriver(), ['s3', 'cloudFlareR2', 'wasabi'])) @else @endif {{ $message->message }} @if($message->attachment) @if(cloudStorageExist() && in_array(Storage::getDefaultDriver(), ['s3', 'cloudFlareR2', 'wasabi'])) {{ __('Download Attachment') }} @else {{ __('Download Attachment') }} @endif @endif {{ $message->created_at->diffForHumans() }} @endif @endforeach @csrf {{ __('Email Notify') }} {{ __('Send Reply') }} @endsection @section('script') @include('supportticket::client.ticket-js') @endsection
{{ $message->message }}
{{ $message->created_at->diffForHumans() }}