@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',[ 'title'=>__('Device'), 'buttons'=>[ [ 'name'=>' '.__('Create Support Request'), 'url'=> route('user.support.create'), ] ]]) @endsection @section('content')
{{ $total }}

{{ __('Total Tickets') }}

{{ $openSupport }}

{{ __('Open Tickets') }}

{{ $pendingSupport }}

{{ __('Pending Supports') }}

@if(count($supports ?? []) > 0)
@foreach($supports ?? [] as $support) @endforeach
{{ __('Subject') }} {{ __('Conversations') }} {{ __('Status') }} {{ __('Created At') }} {{ __('Ticket') }}
{{ $support->subject }} {{ $support->conversations_count }} {{ $support->status == 2 ? 'pending' : ($support->status == 1 ? 'Open' : 'Closed') }} {{ $support->created_at->format('d F y') }} {{ __('View Ticket') }}
{{ $supports->links('vendor.pagination.bootstrap-4') }}
@else
{{ __('Opps you have not created any support now....') }}
@endif
@endsection