@php $inbox = $inbox ?? 'pending'; $isSubmittedInbox = $inbox === 'submitted'; $pageTitle = $isSubmittedInbox ? __('Submitted Replies') : __('Submit Replies'); $filterRoute = $isSubmittedInbox ? route('mec-sims.compliances.submitted') : route('mec-sims.compliances.index'); @endphp @extends('layouts.app') @section('title', $pageTitle) @push('stylesheets') @include('reports.partials.mec-listing-table-styles') @include('partials.index-datatable-styles') @include('partials.filter-card-styles') @include('partials.scheme-visit-history-styles') @endpush @section('contents')

{{ $pageTitle }}

@include('reports.partials.mec-listing-scheme-name-toggle')

@if ($isSubmittedInbox) {{ __('Un-Satisfactory schemes in your department scope or assigned to you where your AD or EA reply is already submitted. Click a row for scheme and report details.') }} @else {{ __('Un-Satisfactory schemes in your department scope or assigned to you that still need your AD or EA reply. Click a row to view the report or submit a reply. EA users see assigned schemes only.') }} @endif

@include('mec-sims.compliances.partials.listing-table', [ 'tableId' => 'tblMecSimsCompliances', 'reportRows' => $reportRows, ])
{!! view('components.per-page-selector', ['current' => $perPage ?? 25, 'baseUrl' => $filterRoute])->render() !!}
@endsection @push('scripts') @include('partials.index-datatable-scripts') @include('reports.partials.mec-listing-scheme-name-toggle-scripts') @endpush