@extends('layouts.master') @section('title',__('index.support')) @section('action',__('index.query_lists')) @section('main-content')
@include('admin.section.flash_message')

@include('admin.support.common.breadcrumb')
{{ __('index.support_filter') }}
@if(!isset(auth()->user()->branch_id))
@endif
@if(\App\Helpers\AppHelper::ifDateInBsEnabled())
@else
@endif
{{ __('index.reset') }}
@lang('index.support_list')
@canany(['show_query_detail','delete_query']) @endcanany @forelse($supportQueries as $key => $value) {{-- --}} @canany(['show_query_detail','delete_query']) @endcanany @empty @endforelse
# {{ __('index.title') }} {{ __('index.date') }} {{ __('index.query_by') }} {{ __('index.branch') }} {{ __('index.concerned_department') }} {{ __('index.status') }}{{ __('index.action') }}
{{(($supportQueries->currentPage()- 1 ) * (\App\Models\Support::RECORDS_PER_PAGE) + (++$key))}} {{ucfirst($value->title)}} {{\App\Helpers\AppHelper::formatDateForView($value->created_at)}} {{ucfirst($value->createdBy?->name)}} {{ucfirst($value->createdBy?->branch?->name)}}{{ucfirst($value->createdBy?->department?->dept_name)}}{{ucfirst($value->departmentQuery?->dept_name)}} {{removeSpecialChars($value->status)}}
    @can('show_query_detail')
  • @endcan @can('delete_query')
  • @endcan

{{ __('index.no_records_found') }}

{{$supportQueries->appends($_GET)->links()}}
@include('admin.support.show') @endsection @section('scripts') @include('admin.support.common.scripts') @endsection