@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{ $support->title }} {{ $support->user->full_name }} @if($support->status == 'open') {{ trans('admin/main.open') }} @elseif($support->status == 'close') {{ trans('admin/main.close') }} @elseif($support->status == 'replied') {{ trans('admin/main.pending_reply') }} @else {{ trans('admin/main.replied') }} @endif {{ trans('admin/main.dashboard') }} {{ trans('admin/main.conversation') }} @foreach($support->conversations as $conversations) {{ !empty($conversations->sender_id) ? $conversations->sender->full_name : $conversations->supporter->full_name }} {{ $conversations->message }} {{ dateTimeFormat($conversations->created_at,'Y M j | H:i') }} @if(!empty($conversations->attach)) {{ trans('admin/main.open_attach') }} @endif @endforeach {{ csrf_field() }} {{ trans('site.message') }} {!! old('message') !!} @error('message') {{ $message }} @enderror {{ trans('admin/main.attach') }} Browse {{ trans('site.send_message') }} @if($support->status != 'close') {{ trans('admin/main.close_conversation') }} @endif @endsection @push('scripts_bottom') @endpush