@extends($user['vendor'] == 1 ? getTemplate() . '.user.layout.supportlayout' : getTemplate() . '.user.layout_user.supportlayout') @section('tab3','active') @section('tab')
{{ trans('main.reply') }}
{{ csrf_field() }}
@foreach($ticket->messages as $msg) @if($msg->mode == 'user')
{{ trans('main.user') }}-{{ $msg->user->name }} {{ date('d F y h:i',$msg->created_at) }}
{!! $msg->msg !!} @if($msg->attach != null && $msg->attach != '')
 Attachment @endif
@else
{{ trans('main.staff') }} {{ date('d F y h:i',$msg->created_at) }}
{!! $msg->msg !!} @if($msg->attach != null && $msg->attach != '')
 Attachment @endif
@endif @endforeach
@endsection @section('script') @endsection