@if (($scheme['department_name'] ?? '') !== '' || ($scheme['scheme_name'] ?? '') !== '')
@if (empty($hideSchemeTable))
@if (($scheme['department_name'] ?? '') !== '')
{{ $scheme['department_name'] }}
@endif
Agenda No. |
ADP {{ $adpYearLabel }} |
District / Location |
Name of Scheme |
| {{ $scheme['agenda_no'] ?? '—' }} |
@foreach ($adpLines as $adpLine)
{{ $adpLine }}@if (! $loop->last) @endif
@endforeach
|
@foreach ($districtLines as $districtLine)
{{ $districtLine }}@if (! $loop->last) @endif
@endforeach
|
{{ $scheme['scheme_name'] ?? '—' }}
@php
$momCostLines = is_array($scheme['cost_lines'] ?? null) ? $scheme['cost_lines'] : [];
if ($momCostLines === []) {
$momCostLines = [
[
'text' => 'Approved Cost. Rs. '.($scheme['approved_cost'] ?? '—').' million.',
],
[
'text' => 'Considered Cost. Rs. '.($scheme['considered_cost'] ?? '—').' million.',
],
];
}
@endphp
@foreach ($momCostLines as $costLine)
{{ $costLine['text'] ?? '' }}
@endforeach
|
@endif
@endif
@if (\App\Support\MwsMomGovtPreviewHtml::deliberationsHaveVisibleContent($deliberationsHtml))
{!! \App\Support\MwsMomGovtPreviewHtml::sanitizeDeliberationsHtml($deliberationsHtml) !!}
@endif
@php
$decisionsHtml = (string) ($decisionsHtml ?? '');
$showDecisionsHtml = \App\Support\MwsMomGovtPreviewHtml::decisionsHaveVisibleContent($decisionsHtml);
@endphp
@if ($showDecisionsHtml)
Decisions:
{!! $decisionsHtml !!}
@elseif ($decisionItems !== [])
Decisions:
@foreach ($decisionItems as $dIdx => $decision)
{{ \App\Support\MwsMomGovtPreviewHtml::romanLower($dIdx + 1) }}.
{!! $decision !!}
@endforeach
@endif
@if ($participantsByDepartment !== [])
{{ $participantsListTitle }}
| S. NO. |
NAME & DESIGNATION |
@foreach ($participantsByDepartment as $group)
| {{ $group['department'] ?? '' }} |
@foreach (($group['rows'] ?? []) as $row)
| {{ $row['sno'] ?? '' }} |
@if (! empty($row['in_chair']))
{{ $row['name'] ?? '' }}@if (($row['designation'] ?? '') !== ''), {{ $row['designation'] }}@endif
In Chair
@else
{{ $row['name'] ?? '' }}@if (($row['designation'] ?? '') !== ''), {{ $row['designation'] }}@endif
@endif
|
@endforeach
@endforeach
@endif
@php
$circulationLetterHtml = trim((string) ($circulationLetterHtml ?? ''));
@endphp
@if ($circulationLetterHtml !== '')
@include('reports.publish-letter.partials.styles')
@include('meeting-workspace.meetings.circulate-letter.partials.styles')
@php
$hasRoot = str_contains($circulationLetterHtml, 'mec-gov-letter-root');
$hasPage = str_contains($circulationLetterHtml, 'class="page"');
$logoW = (int) config('mec-report-publish-letters.logo_width_px', 75);
$logoH = (int) config('mec-report-publish-letters.logo_height_px', 75);
@endphp