@php $d = $d ?? []; $cell = static fn ($v) => ($v !== null && $v !== '') ? e((string) $v) : '—'; $awp = is_array($d['annual_work_plan'] ?? null) ? $d['annual_work_plan'] : []; $qwp = is_array($d['quarterly_work_plan'] ?? null) ? $d['quarterly_work_plan'] : []; $cash = is_array($d['cash_plan'] ?? null) ? $d['cash_plan'] : []; $outputs = is_array($d['output_indicators'] ?? null) ? $d['output_indicators'] : []; $remarks = is_array($d['plan_remarks'] ?? null) ? $d['plan_remarks'] : []; $approved = is_array($d['approved_cost'] ?? null) ? $d['approved_cost'] : []; $cap = is_array($approved['capital'] ?? null) ? $approved['capital'] : []; $rev = is_array($approved['revenue'] ?? null) ? $approved['revenue'] : []; $exp = is_array($d['expenditure'] ?? null) ? $d['expenditure'] : []; $psdp = is_array($d['psdp_allocation'] ?? null) ? $d['psdp_allocation'] : []; $gest = is_array($d['gestation'] ?? null) ? $d['gestation'] : []; $revisions = is_array($d['revision_history'] ?? null) ? $d['revision_history'] : []; $consultants = is_array($d['consultants'] ?? null) ? $d['consultants'] : []; $officers = is_array($d['executing_officers'] ?? null) ? $d['executing_officers'] : []; $prepared = is_array($d['preparedBy'] ?? null) ? $d['preparedBy'] : []; $mon = is_array($d['monitoring_evaluation'] ?? null) ? $d['monitoring_evaluation'] : []; $revFiles = is_array($d['revision_history_files'] ?? null) ? $d['revision_history_files'] : []; $revHtml = (string) ($d['revision_history_html'] ?? ''); $sigUrl = trim((string) ($prepared['signature_url'] ?? '')); $preparedSigners = is_array($d['preparedSigners'] ?? null) ? $d['preparedSigners'] : []; $checkedSigners = is_array($d['checkedSigners'] ?? null) ? $d['checkedSigners'] : []; $approvedSigners = is_array($d['approvedSigners'] ?? null) ? $d['approvedSigners'] : []; if ($preparedSigners === [] && $prepared !== []) { $preparedSigners = [[ 'name' => $prepared['name'] ?? '—', 'designation' => $prepared['designation'] ?? '—', 'department' => $prepared['department'] ?? '—', 'date' => $prepared['date'] ?? '—', 'signature_url' => $sigUrl, ]]; } if ($checkedSigners === []) { $checkedSigners = [['name' => '—', 'designation' => '—', 'department' => '—', 'date' => '—', 'signature_url' => '']]; } if ($approvedSigners === []) { $approvedSigners = [['name' => '—', 'designation' => '—', 'department' => '—', 'date' => '—', 'signature_url' => '']]; } @endphp
For correct margins on all printers (especially HP): use Actual size / 100% and turn off Fit to page.
{{-- Cover --}}{!! $cell($d['formCode'] ?? 'PC-III (a) Form') !!}
{{ $d['governmentLine'] ?? 'GOVERNMENT OF PAKISTAN' }}
{{ $d['commissionLine'] ?? 'PLANNING COMMISSION' }}
{{ $d['coverTitle'] ?? 'PC-III FORM (A)' }}
{{ $d['coverSubtitle'] ?? '' }}
@if(!empty($d['proformaTitle'])){{ $d['proformaTitle'] }}
@endif @if(!empty($d['proformaSubtitle'])){{ $d['proformaSubtitle'] }}
@endif @if(!empty($d['alertNote'])){{ $d['alertNote'] }}
@endif{{ $d['departmentName'] ?? '—' }}
Government of Sindh
{!! $cell($d['formCode'] ?? null) !!}
{{ $d['governmentLine'] ?? 'GOVERNMENT OF PAKISTAN' }}
{{ $d['coverTitle'] ?? 'PC-III FORM (A)' }}
{{ $d['coverSubtitle'] ?? '' }}
| 1. Name of Project | {!! $cell($d['schemeName'] ?? null) !!} |
|---|---|
| Sponsoring Department | {!! $cell($d['departmentName'] ?? null) !!} |
| Financial Year | {!! $cell($d['financialYear'] ?? null) !!} |
| Town / UC | {!! $cell($d['townUc'] ?? null) !!} |
| Authorization Date | {!! $cell($d['authorization_date'] ?? null) !!} |
| Commencement Date | {!! $cell($d['commencement_date'] ?? null) !!} |
| Actual Start Date | {!! $cell($d['actual_start_date'] ?? null) !!} |
Gestation Period (PC-I)
| A.A. Issued | T.S. Approval | First Tender | Completion (as per PC-I) |
|---|---|---|---|
| {!! $cell($gest['aa_issued_date'] ?? null) !!} | {!! $cell($gest['ts_approval_date'] ?? null) !!} | {!! $cell($gest['first_tender_date'] ?? null) !!} | {!! $cell($gest['completion_date_pc_i'] ?? null) !!} |
2. Approved Capital Cost (Rs. Million)
Approved Capital Cost: {!! $cell($d['approved_capital_cost'] ?? ($cap['total'] ?? null)) !!}
| GoS | GoP | FPA | Total | |
|---|---|---|---|---|
| Capital | {!! $cell($cap['gos'] ?? null) !!} | {!! $cell($cap['gop'] ?? null) !!} | {!! $cell($cap['fpa'] ?? null) !!} | {!! $cell($cap['total'] ?? null) !!} |
| Revenue | {!! $cell($rev['gos'] ?? null) !!} | {!! $cell($rev['gop'] ?? null) !!} | {!! $cell($rev['fpa'] ?? null) !!} | {!! $cell($rev['total'] ?? null) !!} |
3. Expenditure up to last financial year (Rs. Million)
| Actual | Accrued | Total |
|---|---|---|
| {!! $cell($exp['actual'] ?? null) !!} | {!! $cell($exp['accrued'] ?? null) !!} | {!! $cell($exp['total'] ?? null) !!} |
| Actual | Accrued | |
|---|---|---|
| Capital | {!! $cell($exp['capital_actual'] ?? null) !!} | {!! $cell($exp['capital_accrued'] ?? null) !!} |
| Revenue | {!! $cell($exp['revenue_actual'] ?? null) !!} | {!! $cell($exp['revenue_accrued'] ?? null) !!} |
4. PSDP Allocation for current year (Rs. Million)
| Total | Local (Capital) | FEC / Revenue |
|---|---|---|
| {!! $cell($psdp['total'] ?? null) !!} | {!! $cell($psdp['local'] ?? ($psdp['capital'] ?? null)) !!} | {!! $cell($psdp['fec'] ?? ($psdp['revenue'] ?? null)) !!} |
5. Annual Work Plan
| S# | Item / Activity | Unit | Quantities (PC-I) | Achievements to date | Target (this year) |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {!! $cell($row['item'] ?? null) !!} | {!! $cell($row['unit'] ?? null) !!} | {!! $cell($row['quantities'] ?? null) !!} | {!! $cell($row['achievements'] ?? null) !!} | {!! $cell($row['target'] ?? null) !!} |
| — | |||||
6. Quarterly Work Plan
| S# | Item / Activity | Unit | Q1 | Q2 | Q3 | Q4 |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {!! $cell($row['item'] ?? null) !!} | {!! $cell($row['unit'] ?? null) !!} | {!! $cell($row['q1'] ?? null) !!} | {!! $cell($row['q2'] ?? null) !!} | {!! $cell($row['q3'] ?? null) !!} | {!! $cell($row['q4'] ?? null) !!} |
| — | ||||||
7. Cash Plan (Rs. Million)
| Q1 | Q2 | Q3 | Q4 | Total |
|---|---|---|---|---|
| {!! $cell($cash['q1'] ?? null) !!} | {!! $cell($cash['q2'] ?? null) !!} | {!! $cell($cash['q3'] ?? null) !!} | {!! $cell($cash['q4'] ?? null) !!} | {!! $cell($cash['total'] ?? null) !!} |
8. Output Indicators / Targets
| S# | Indicator | Unit | Baseline | Target |
|---|---|---|---|---|
| {{ $i + 1 }} | {!! $cell($row['indicator'] ?? null) !!} | {!! $cell($row['unit'] ?? null) !!} | {!! $cell($row['baseline'] ?? null) !!} | {!! $cell($row['target'] ?? null) !!} |
| — | ||||
Revision History
@forelse($revisions as $revRow){!! $cell($revRow['label'] ?? null) !!} — Forum: {!! $cell($revRow['forum'] ?? null) !!}
| A.A. | T.S. | First Tender | Completion |
|---|---|---|---|
| {!! $cell($revRow['aa_issued_date'] ?? null) !!} | {!! $cell($revRow['ts_approval_date'] ?? null) !!} | {!! $cell($revRow['first_tender_date'] ?? null) !!} | {!! $cell($revRow['completion_date_pc_i'] ?? null) !!} |
| GoS | GoP | FPA | Beneficiary | Total | |
|---|---|---|---|---|---|
| Capital | {!! $cell($rc['gos'] ?? null) !!} | {!! $cell($rc['gop'] ?? null) !!} | {!! $cell($rc['fpa'] ?? null) !!} | {!! $cell($rc['beneficiary'] ?? null) !!} | {!! $cell($rc['total'] ?? null) !!} |
| Revenue | {!! $cell($rr['gos'] ?? null) !!} | {!! $cell($rr['gop'] ?? null) !!} | {!! $cell($rr['fpa'] ?? null) !!} | {!! $cell($rr['beneficiary'] ?? null) !!} | {!! $cell($rr['total'] ?? null) !!} |
—
@endforelse @if($revHtml !== '' || $revFiles !== [])Revision history — attachments:
@if($revHtml !== '') {!! $revHtml !!} @elseAdaptation & Mitigation Review
Options actually put in place:
Impacts on other sectors:
Unexpected problems:
Cost expectations:
Consultants / Contractors
| Name | Nature of Work | Work Award Date | Remarks |
|---|---|---|---|
| {!! $cell($c['name'] ?? null) !!} | {!! $cell($c['nature'] ?? null) !!} | {!! $cell($c['work_award_date'] ?? null) !!} | {!! $cell($c['remarks'] ?? null) !!} |
| — | |||
Executing Officers
| Name | Designation | BPS | Charge | Posted | Relieved | Contact / Email | Remarks |
|---|---|---|---|---|---|---|---|
| {!! $cell($o['name'] ?? null) !!} | {!! $cell($o['designation'] ?? null) !!} | {!! $cell($o['bps'] ?? null) !!} | {!! $cell($o['charge_type'] ?? null) !!} | {!! $cell($o['date_of_posting'] ?? null) !!} | {!! $cell($o['relieved_date'] ?? null) !!} |
{!! $cell($o['contact'] ?? null) !!}
@if(($o['email'] ?? '—') !== '—')
{!! $cell($o['email'] ?? null) !!} @endif |
{!! $cell($o['remarks'] ?? null) !!} |
| — | |||||||
{!! $cell($d['formCode'] ?? null) !!}
{{ $d['governmentLine'] ?? 'GOVERNMENT OF PAKISTAN' }}
{{ $d['coverTitle'] ?? 'PC-III FORM (A)' }}
{{ $d['coverSubtitle'] ?? '' }}
Signatures
| Role | Name | Designation | Department | Date | Signature |
|---|---|---|---|---|---|
| Prepared By | {!! $cell($signer['name'] ?? null) !!} | {!! $cell($signer['designation'] ?? null) !!} | {!! $cell($signer['department'] ?? null) !!} | {!! $cell($signer['date'] ?? null) !!} |
@if(trim((string) ($signer['signature_url'] ?? '')) !== '')
|
| Checked By | {!! $cell($signer['name'] ?? null) !!} | {!! $cell($signer['designation'] ?? null) !!} | {!! $cell($signer['department'] ?? null) !!} | {!! $cell($signer['date'] ?? null) !!} |
@if(trim((string) ($signer['signature_url'] ?? '')) !== '')
|
| Approved By | {!! $cell($signer['name'] ?? null) !!} | {!! $cell($signer['designation'] ?? null) !!} | {!! $cell($signer['department'] ?? null) !!} | {!! $cell($signer['date'] ?? null) !!} |
@if(trim((string) ($signer['signature_url'] ?? '')) !== '')
|