@extends('layouts.back-end.app') @section('title', \App\CPU\translate('Support Ticket')) @push('css_or_js') @endpush @section('content')

{{\App\CPU\translate('support_ticket')}} {{ $tickets->total() }}

@php($priority=request()->has('priority')?request()->input('priority'):'') @php($status=request()->has('status')?request()->input('status'):'')
@foreach($tickets as $key =>$ticket)
{{$ticket->customer->f_name??""}} {{$ticket->customer->l_name??""}}
{{$ticket->customer->email??""}}
{{\App\CPU\translate(str_replace('_',' ',$ticket->priority))}} {{\App\CPU\translate(str_replace('_',' ',$ticket->status))}}
{{\App\CPU\translate(str_replace('_',' ',$ticket->type))}}
{{date('d/M/Y H:i a',strtotime($ticket->created_at))}}
{{$ticket->description}}
@endforeach
{{$tickets->links()}}
@if(count($tickets)==0)
Image Description

{{\App\CPU\translate('No data to show')}}

@endif
@endsection @push('script') @endpush