@extends('layouts.new_theme') @section('content')

{{ __('Tickets') }}

@include('common.demo') @include('common.errors')

{{ __('List of Tickets') }}

@if (!count($tickets))

{{ __('No tickets found') }} !!

{{ __('Sorry we cant find any data, to get rid of this message, make at least 1 entry') }}.

@else @foreach ($tickets as $ticket) @if (env('APP_ENV') != 'demo') @endif @endforeach
{{ __('Ticket Id') }} @if ($sort_order == 'asc') @else @endif {{ __('User Name') }} @if ($sort_order == 'asc') @else @endif {{ __('Subject') }} @if ($sort_order == 'asc') @else @endif {{ __('Status') }} @if ($sort_order == 'asc') @else @endif {{ __('Last action') }} @if ($sort_order == 'asc') @else @endif
#{{ $ticket->tid }} {{ str_replace('_', ' ', $ticket->user->first_name) }} {{ $ticket->user->last_name }} {{ $ticket->subject }} {{ __($ticket->status) }} {{ $ticket->updated_at->diffForHumans() }}
@method('DELETE') @csrf

{{ $tickets->appends($request->all())->links('pagination::bootstrap-4') }} @endif
@endsection