@php $sectionType = $sectionType ?? request('section_type'); @endphp @extends('layouts.app') @push('pageTitle') {{ __('labels.pending_approvals_with_type', ['type' => __("labels.$sectionType")]) }} @endpush @push('css') @endpush @section('content')
@include('pages.pending-approvals.partials.stats',[ 'section_type' => $sectionType, 'comments_count' => $counts['comments'] ?? 0, 'posts_count' => $counts['posts'] ?? 0, 'discussions_count' => $counts['discussions'] ?? 0, 'total_count' => $counts['total'] ?? 0, ])
@include('pages.pending-approvals.partials.sort-filters') @include('components.common.flush-message')
@include('components.datatable.backend-pagination.error') @include('components.datatable.backend-pagination.loading')
@include('pages.pending-approvals.partials.datatable-rows', ['listresults' => $listresults])
@include('components.datatable.backend-pagination.pagination',[ 'listresults' => $listresults ])
@endsection @push('js') @endpush