@extends('layouts.app') @section('title', __('MEC users practice status')) @push('stylesheets') @endpush @section('contents')

{{ __('MEC users — practice status') }}

Y — {{ __('Submitted or published') }} N — {{ __('Not started') }} Draft — {{ __('Draft only') }}
@if (count($rows) === 0)

{{ __('No active MEC users found.') }}

@else
@foreach ($reportTypeCodes as $code) @endforeach @foreach ($visitPlanCodes as $code) @endforeach @foreach ($rows as $row) @foreach ($reportTypeCodes as $code) @php $val = $row['monitoring'][$code] ?? 'N'; @endphp @endforeach @foreach ($visitPlanCodes as $code) @php $val = $row['visit_plans'][$code] ?? 'N'; @endphp @endforeach @endforeach
{{ __('S.No.') }} {{ __('Name') }} {{ __('Region') }} {{ __('M&E Reports Practice Status') }} {{ __("Visit Plan's Practice Status") }}
{{ $code }}{{ $code }}
{{ $row['serial'] }} {{ $row['name'] }} {{ $row['region'] }}{{ $val }}{{ $val }}
@endif
@endsection