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

{{translate("Support Tickets")}}

{{translate('Ticket List')}}
@forelse($tickets as $ticket) @empty @endforelse
{{translate("Time")}} {{translate('Ticket Number')}} {{translate('Subject')}} {{translate('Priority')}} {{translate('Status')}} {{translate('Last Reply')}} {{translate('Action')}}
{{diff_for_humans($ticket->created_at)}}
{{get_date_time($ticket->created_at)}}
{{$ticket->ticket_number}} {{($ticket->subject)}} @if($ticket->priority == 1) {{translate('Low')}} @elseif($ticket->priority == 2) {{translate('Medium ')}} @elseif($ticket->priority == 3) {{translate('High')}} @endif @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 @if(count($ticket->messages) >1) {{ \Carbon\Carbon::parse($ticket->messages->first()->created_at)->diffForHumans() }} @else N/A @endif
@include('admin.partials.not_found')
{{$tickets->links()}}
@endsection