@extends('admin.layouts.app') @section('content')

{{__("All tickets")}}

@include('admin.message')
@if(!empty($rows))
{{csrf_field()}}
@endif

{{__('Found :total items',['total'=>$rows->total()])}}

@if($rows->total() > 0) @foreach($rows as $row) @endforeach @else @endif
{{ __('Name')}} {{ __('Category')}} {{ __('Customer')}} {{ __('Agent')}} {{ __('Date')}} {{ __('Status')}}
{{$row->title}} {{$row->cat->name ?? '' }} {{$row->customer->display_name ?? ''}} @if($row->agent) {{$row->agent->display_name}} @else
{{__('Unassigned')}}
@endif
{{ display_date($row->updated_at)}} {{ $row->status }}
{{__("No data")}}
{{$rows->appends(request()->query())->links()}}
@endsection