@php /** * DDWP Working Paper Form (Word-like). * Expects: $data (array) */ $data = \App\Support\WorkingPaperRichTextHtml::decodePayloadStrings(is_array($data ?? null) ? $data : []); $v = function (string $key, $default = '') use ($data) { $raw = data_get($data ?? [], $key, $default); if (is_string($raw)) { return \App\Support\HtmlDisplay::decodeEntities($raw, 8); } if (is_array($raw)) { return \App\Support\WorkingPaperRichTextHtml::decodePayloadStrings($raw); } return $raw; }; $m = function (string $key) use ($data): string { $raw = data_get($data ?? [], $key, ''); if ($raw === null || $raw === '') { return ''; } return \App\Helpers\PC\AmountMillionHelper::amountToMillion($raw); }; $pcLinkedKeys = is_array($pcLinkedKeys ?? null) ? $pcLinkedKeys : []; $ro = function (string $key) use ($pcLinkedKeys): string { return in_array($key, $pcLinkedKeys, true) ? 'readonly' : ''; }; $rbmRows = data_get($data ?? [], 'rbm', []); $rbmCount = max(1, is_array($rbmRows) ? count($rbmRows) : 0); $ce = is_array($ceProjectCostBreakdown ?? null) ? $ceProjectCostBreakdown : []; $ceHasCostBreakdown = ! empty($ce['has_lines']); @endphp @push('stylesheets') @endpush

GOVERNMENT OF SINDH

PLANNING AND DEVELOPMENT DEPARTMENT

WORKING PAPER FOR DDWP

@include('working-papers.partials.scheme-meta-header', [ 'v' => $v, 'inputClass' => 'ddwpwp-input', 'textareaClass' => 'ddwpwp-textarea', 'fontSize' => '14px', ])
PART-A
(Project Profile)
1. Project Title:
2. Location:
3. Authorities Responsible for;
(i) Sponsoring Agency
(ii) Executing Agency
(iii) Operation & Maintenance
4. Date of Forwarding of PC-1 to P&D:
5. Cost of Project:
(Rs. in Million)
Original
Revised
7. Expenditure Incurred (if any) {{-- keep legacy keys if present (read-only) --}}
8. Period of Implementation:
9. Plan Provision:
a) As per PC-1 format:
b) Provision in current year’s ADP:
c) Relationship of the project with sector strategy:
10. Project’s Objectives and Brief Description: @include('working-papers.partials.objectives-brief-field', [ 'v' => $v, 'textareaClass' => 'ddwpwp-textarea', 'fieldIdPrefix' => 'ddwpwp-objectives-brief', 'canEditWorkingPaperBody' => $canEditWorkingPaperBody ?? true, ])
11. Implementation Arrangement:
12. Result Based Monitoring (RBM) Indicators
@for ($idx = 0; $idx < $rbmCount; $idx++) @endfor
Input/
Activity
Output Outcome Targeted
Impact
Baseline Indicator Target after completion
{{ $v("rbm.$idx.input") }}
{{ $v("rbm.$idx.output") }}
{{ $v("rbm.$idx.baseline") }}
{{ $v("rbm.$idx.target") }}
{{ $v("rbm.$idx.impact") }}
13. Outcome of Stakeholders Consultation:
@if ($ceHasCostBreakdown) @include('working-papers.partials.ce-project-cost-breakdown', ['ce' => $ce, 'variant' => 'dd']) @else @endif
14. Breakdown of the Project Cost (Rs. In Million)
A.  Capital Cost component
i  
ii  
Sub-Total Capital
B.  Revenue Component
i  
ii  
Sub-Total Revenue
Total (Capital + Revenue)
{{-- 15 to 23 as per DDWP screenshot --}} @php $phys = is_array($v('schedule.physical', [])) ? $v('schedule.physical', []) : []; $fin = is_array($v('schedule.financial', [])) ? $v('schedule.financial', []) : []; $physCount = max(1, count($phys)); $finCount = max(1, count($fin)); @endphp @for($i=0; $i<$physCount; $i++) @endfor @for($i=0; $i<$finCount; $i++) @endfor
15. Physical and Financial Scheduling:
A. Physical Scheduling Unit Year-1 Year-2 Year-3 Year-4 Total
B. Financial Scheduling
(Cost Items, Rs. in Million)
Year-1 Year-2 Year-3 Year-4 Total
Total
16. In Case of Revised Project;
@php $rev = is_array($v('revised.compare', [])) ? $v('revised.compare', []) : []; $revCount = max(1, count($rev)); @endphp @for($i=0; $i<$revCount; $i++) @endfor
(i) Comparison of cost estimates of the last sanctioned and revised project
Item No: Last Sanction Revised Proposal Total
Unit Rate Total Work Done To Be Done Unit Rate Total
{{ $i + 1 }}
(ii)Reasons for Revision for each Activity:
(iii)Total expenditure incurred for each item;
(iv)Physical Progress Achieved;
Actual achievement Reasons for delay
As per original sanction
(v)Comments of Technical Section reasons for revision
17.Overall Unit Cost with Basis of Cost Estimates:
18. Sustainability of the Project:
a. Annual recurring expenditure after completion (source of financing)
b. Income Generation (if any):
@php $veh = is_array($v('vehicles', [])) ? $v('vehicles', []) : []; $vehCount = max(1, count($veh)); @endphp @for($i=0; $i<$vehCount; $i++) @endfor
19.  Requirement of Vehicles:
Sr. No Make and Model of vehicles Existing owned by the Executing Agency Requirement under the project Justifications for additional requirement
{{ $i + 1 }}
@php $fac = is_array($v('facilities', [])) ? $v('facilities', []) : []; $facCount = max(1, count($fac)); @endphp @for($i=0; $i<$facCount; $i++) @endfor
20.  Existing Facilities:
Sr. No Facilities/Inputs/Services Existing with Executing Agency Requirement under project Justifications for additional requirement
{{ $i + 1 }}
@php $assets = is_array($v('assets', [])) ? $v('assets', []) : []; $assetsCount = max(1, count($assets)); @endphp @for($i=0; $i<$assetsCount; $i++) @endfor
21.  Ownership of project assets after completion:
Sr. No Assets Description Ownership to be transferred to Justification
{{ $i + 1 }}
22.Reduced map & elevation of buildings (for civil works only):
23.Other major on-going and potential projects in the Sector:
PART-B
(Technical Appraisal)
24. Technical Appraisal by the Administrative Department
@php $ta = is_array($v('tech_appraisal', [])) ? $v('tech_appraisal', []) : []; $taCount = max(1, count($ta)); @endphp @for($i = 0; $i < $taCount; $i++) @endfor
S# Observations Response of Executing Agency Follow-up Comments
{{ $i + 1 }}
@php $finRows = is_array($v('comments.financial', [])) ? $v('comments.financial', []) : []; $socRows = is_array($v('comments.social', [])) ? $v('comments.social', []) : []; $envRows = is_array($v('comments.environmental', [])) ? $v('comments.environmental', []) : []; $finN = max(1, count($finRows)); $socN = max(1, count($socRows)); $envN = max(1, count($envRows)); @endphp @for($i=0; $i<$finN; $i++) @endfor @for($i=0; $i<$socN; $i++) @endfor @for($i=0; $i<$envN; $i++) @endfor
PART-C
(Project Cost & Benefit Analysis)
25. Comments on Financial / Social / Environmental aspects are as under:
i. Financial:
ii. Social:
iii. Environmental:
iv. Results of Analysis:
v. Other issues (if any):
vi. Risks and mitigation measures:
26. Conclusion / Recommendations
@include('working-papers.partials.comments-inline', ['variant' => 'ddwp']) @include('working-papers.partials.attachments', ['variant' => 'ddwp'])
@push('scripts') @endpush