@extends('layouts.app') @php $dec = static fn ($v): string => mws_notice_decode_plain((string) ($v ?? '')); $schemeLabel = trim($dec($letter['scheme_name'] ?? '')); if ($schemeLabel === '') { $schemeLabel = 'PC Form #'.(int) ($pcForm->id ?? 0); } $table = is_array($letter['table'] ?? null) ? $letter['table'] : []; $bodyHtml = trim((string) ($letter['body_html'] ?? '')); if ($bodyHtml === '') { $bodyHtml = 'I am directed to enclose herewith Administrative Approval, Office Memorandum, Minutes of PDWP meeting and Modified PC-I for the scheme namely ' .e($schemeLabel).'' .(trim((string) ($letter['adp_no'] ?? '')) !== '' ? ' '.e($letter['adp_no']).'' : '') .' at the cost of Rs.'.e($letter['cost_million'] ?? '—').' Million with nil FEC for authentication & return.'; } $enclLines = preg_split('/\R+/u', (string) ($letter['enclosures'] ?? '')) ?: []; $ccLines = preg_split('/\R+/u', (string) ($letter['cc_list'] ?? '')) ?: []; @endphp @section('title', 'AA Cover Letter — '.$schemeLabel) @push('styles') @endpush @section('contents')
← Back to AA letter @if (!empty($canEdit)) @endif
@if (!empty($canEdit)) @else
{{ $dec($letter['reference_no'] ?? '') }}
@endif
GOVERNMENT OF SINDH
{{ $dec($letter['department_upper'] ?? '') }}
Karachi dated the {{ $dec($letter['letter_date_long'] ?? '________ 2026') }}
To,
The Secretary,
Finance Department,
Government of Sindh,
KARACHI.
SUBJECT: ADMINISTRATIVE APPROVAL.
@if (!empty($canEdit))
{!! $bodyHtml !!}
@else
{!! $bodyHtml !!}
@endif
@foreach (['adp_no','name','location','agency','executive_engineer','fund_centre','approved_cost'] as $col) @endforeach
ADP No. Name of Scheme Location/ District of Scheme Executive Agency Concerned Executive Engineer Fund Centre Code / Cost Centre Approved Cost
@if (!empty($canEdit)) @else {{ $dec($table[$col] ?? '') }} @endif
@if (!empty($letter['letter_signature_url']))
@else @endif
({{ strtoupper($dec($letter['signatory_name'] ?: '________________')) }})
{{ strtoupper($dec($letter['signatory_designation'] ?: 'DEPUTY DIRECTOR-TECHNICAL')) }}
Encl: @if (!empty($canEdit)) @else
    @foreach ($enclLines as $line) @if (trim($line) !== '')
  • {{ $dec($line) }}
  • @endif @endforeach
@endif
A copy is forwarded for information and necessary action to:-
@if (!empty($canEdit)) @else
    @foreach ($ccLines as $line) @if (trim($line) !== '')
  • {{ $dec($line) }}
  • @endif @endforeach
@endif
{{ strtoupper($dec($letter['signatory_designation'] ?: 'DEPUTY DIRECTOR-TECHNICAL')) }}
@endsection @push('scripts') @endpush