@extends('admin.layouts.master') @section('title') {{ translate('Complaints - List') }} @endsection @section('content')
{{ translate('List View') }}
{{ translate('Complaints List') }}
{{-- --}} {{-- @if($permissionForMembers !== null && $permissionForMembers->can_create == '1') --}} {{-- {{ translate('Add Report') }} --}} {{-- @endif --}}
{{-- --}} {{-- --}} {{-- --}} @php $a = 1; // dd($reports); @endphp @foreach ($reports as $report) {{-- --}} {{-- --}} {{-- --}} @php $a++; @endphp @endforeach
{{ translate('Bulk Select') }}# {{ translate('Reported User') }} {{ translate('Reported By') }}{{ translate('Reason') }}{{ translate('Option') }}
{{$a}} {{ $report->reportedUser->name ?? '-'}} {{ $report->reportedBy->name ?? '-'}} {{ $report->reason ?? '-' }} @if($permissionForReports !== null && $permissionForReports->can_view == '1') @endif @if($permissionForReports !== null && $permissionForReports->can_delete == '1') @endif

{!! sprintf(translate('Showing %d of %d Results'), $reports->count(), $reports->total()) !!}

    @foreach($reports->links()->elements[0] as $page => $link)
  • {{ $page }}
  • @endforeach
@endsection @section('scripts') @endsection