@extends('seller.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Ticket Details')}}
@if($ticket->status == 1) {{translate('Running')}} @elseif($ticket->status == 2) {{translate('Answered')}} @elseif($ticket->status == 3) {{translate('Replied')}} @elseif($ticket->status == 4) {{translate('Closed')}} @endif
{{translate('Ticket Number')}} - {{$ticket->ticket_number}}
@foreach($ticket->messages as $meg)
@if($meg->admin_id == 0)
@if($ticket->seller_id != null)
{{ $ticket->seller->email }}
@endif

{{ get_date_time($meg->created_at) }}

{{$meg->message }}

@if(count($meg->supportfiles) > 0)
@foreach($meg->supportfiles as $key=> $file) {{translate('File')}} {{++$key}} @endforeach
@endif
@else
{{translate('Admin Reply')}}

{{ get_date_time($meg->created_at) }}

{{$meg->message}}

@if(count($meg->supportfiles) > 0)
@foreach($meg->supportfiles as $key=> $file) {{translate('File')}} {{++$key}} @endforeach
@endif
@endif
@endforeach
@if($ticket->status != 4) @endif @if($ticket->status != 4)
@csrf
@endif
@endsection @push('script-push') @endpush