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

{{ __($pageTitle) }}

@lang('modules.tickets.ticket') # {{ $ticket->id }}
@endsection @push('head-script') @endpush @section('content') {!! Form::open(['id'=>'updateTicket','class'=>'ajax-form']) !!}

{{ $ticket->subject }}

{{ $ticket->created_at->timezone($global->timezone)->format($global->date_format .' '.$global->time_format) }}
{!! Form::hidden('status', $ticket->status, ['id' => 'status']) !!} {!! Form::hidden('_method', 'PUT', ['id' => 'method']) !!}
@forelse($ticket->reply as $reply)
@if(sizeof($reply->files) > 0)
    @forelse($reply->files as $file)
  • {{ $file->filename }}
    {{ $file->created_at->diffForHumans() }}
  • @empty
  • @lang('messages.noFileUploaded')
  • @endforelse
@endif
@empty
@lang('messages.noMessage')
@endforelse
@if($ticket->status != 'closed')
@if($upload)
@else
@lang('messages.storageLimitExceedContactAdmin')
@endif
@endif
{!! Form::close() !!} @endsection @push('footer-script') @endpush