@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',['title'=> __('Supports')]) @endsection @section('content')
{{ $totalSupports }}

{{ __('Total Tickets') }}

{{ $openSupport }}

{{ __('Open Tickets') }}

{{ $pendingSupport }}

{{ __('Pending Supports') }}

{{ $closedSupport }}

{{ __('Closed Supports') }}

{{ __('Tickets') }}

@if(count($supports) != 0) @foreach($supports ?? [] as $support) @endforeach @endif
{{ __('Ticket No') }} {{ __('Subject') }} {{ __('Conversations') }} {{ __('Status') }} {{ __('User') }} {{ __('Created At') }} {{ __('Ticket') }}
{{ $support->ticket_no }} {{ Str::limit($support->subject,50) }} {{ $support->conversations_count }} {{ $support->status == 2 ? 'pending' : ($support->status == 1 ? 'Open' : 'Closed') }} {{ Str::limit($support->user->name ?? '',10) }} {{ $support->created_at->format('d F y') }} {{ __('View Ticket') }}
@if(count($supports) == 0)
{{ __('!Opps no support query found') }}
@endif
@endsection