@extends('frontend.layouts.app') @section('content') @php $promo_banner = frontend_section('promotional-offer'); @endphp
@include('user.partials.dashboard_sidebar')
banner.jpg

{{translate("Support Ticket")}}

@forelse($supportTickets as $ticket) @empty @endforelse
{{translate('Time')}} {{translate('Ticket Number')}} {{translate('Subject')}} {{translate('Priority')}} {{translate('status')}} {{translate('Last Reply')}} {{translate('Action')}}
{{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

{{translate('No Data Found')}}

{{$supportTickets->links()}}
@endsection