@extends('layouts.super-admin') @section('page-title')

{{ __($pageTitle) }} @lang('app.requestedBy') ( {{ $ticket->requester->company->company_name }} )

@lang('app.supportTicket') # {{ $ticket->id }}
@endsection @push('head-script') @endpush @section('other-section') {!! Form::open(['id'=>'updateTicket1','class'=>'ajax-form updateTicket','method'=>'POST']) !!}
{!! Form::close() !!} @endsection @section('content') {!! Form::open(['id'=>'updateTicket2','class'=>'ajax-form updateTicket','method'=>'PUT', 'files' => true]) !!}

{{ $ticket->subject }}

{{ $ticket->created_at->timezone($global->timezone)->format($global->date_format.' '.$global->time_format) }} • {{ ucwords($ticket->requester->name). ' <'.$ticket->requester->email.'>' }}
{!! Form::hidden('status', $ticket->status, ['id' => 'status']) !!}
@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
{!! Form::close() !!} {{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @endpush