@extends('layouts.app') @section('page-title')

@lang($pageTitle)

@lang('modules.tickets.ticket') # {{ $ticket->id }}
@endsection @push('head-script') @endpush @section('other-section')
@csrf
@endsection @section('content')
@csrf @method('PUT')

{{ $ticket->subject }}

@if ($ticket->country && $ticket->mobile) {{ $ticket->created_at->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) }} • {{ ucwords($ticket->requester->name) . ' <' . $ticket->requester->email . '>' . ' ' . '+' . $ticket->country->phonecode . '-' . $ticket->mobile }} @else {{ $ticket->created_at->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) }} • {{ ucwords($ticket->requester->name) . ' <' . $ticket->requester->email . '>' . ' ' . $ticket->mobile }} @endif
@forelse($ticket->reply as $reply)
@if (sizeof($reply->files) > 0)
    @forelse($reply->files as $file)
  • {{ $file->filename }}
    @if (is_null($file->external_link))    @endif {{--    --}} {{-- --}} {{ $file->created_at->diffForHumans() }}
  • @empty
  • @lang('messages.noFileUploaded')
  • @endforelse
@endif
@empty
@lang('messages.noMessage')
@endforelse
{{-- Ajax Modal --}} {{-- Ajax Modal Ends --}} @endsection @push('footer-script') @endpush