@once @push('stylesheets') @endpush @endonce @php $pciVEdit = canField('pc-forms', 'project_brief_descriptions', 'edit'); $pciVDisplayMillion = fn (mixed $raw): string => app(\App\Services\PC\PcFormService::class)->formatPcIiiMillionForFormDisplay($raw, $pciVEdit); $pciVDisplayQty = fn (mixed $raw): string => app(\App\Services\PC\PcFormService::class)->formatPcIiiQtyForFormDisplay($raw, $pciVEdit); $pciVSrc = $pcForm ?? null; $pciVFill = $pciCrudDraftFill ?? []; $pciVPhysicalOutput = old('pc_v_planned_actual_physical_output'); if (! is_array($pciVPhysicalOutput)) { $pciVPhysicalOutput = $pciVSrc?->pc_v_planned_actual_physical_output ?? ($pciVFill['pc_v_planned_actual_physical_output'] ?? []); if (! is_array($pciVPhysicalOutput)) { $pciVPhysicalOutput = []; } } $pciVPhysicalOutputRows = is_array($pciVPhysicalOutput['rows'] ?? null) ? array_values($pciVPhysicalOutput['rows']) : []; if ($pciVPhysicalOutputRows === []) { $pciVPhysicalOutputRows = [['quantifiable_item' => '', 'envisaged_pci_target' => '', 'actual_realized_output' => '', 'shortfall_surplus_analysis' => '']]; } $pciVIncomeRevenue = old('pc_v_planned_actual_income_revenue'); if (! is_array($pciVIncomeRevenue)) { $pciVIncomeRevenue = $pciVSrc?->pc_v_planned_actual_income_revenue ?? ($pciVFill['pc_v_planned_actual_income_revenue'] ?? []); if (! is_array($pciVIncomeRevenue)) { $pciVIncomeRevenue = []; } } $pciVIncomeRevenueRows = is_array($pciVIncomeRevenue['rows'] ?? null) ? array_values($pciVIncomeRevenue['rows']) : []; if ($pciVIncomeRevenueRows === []) { $pciVIncomeRevenueRows = [['revenue_channel' => '', 'pci_projected_income' => '', 'actual_earned_revenue' => '', 'variance_notes' => '']]; } $pciVSocioEconomic = old('pc_v_socio_economic_benefits'); if (! is_array($pciVSocioEconomic)) { $pciVSocioEconomic = $pciVSrc?->pc_v_socio_economic_benefits ?? ($pciVFill['pc_v_socio_economic_benefits'] ?? []); if (! is_array($pciVSocioEconomic)) { $pciVSocioEconomic = []; } } $pciVOutputsIncomeWizardStep = (int) ($pciVOutputsIncomeWizardStep ?? 3); $pciVOutputsIncomeStepTitle = $pciVOutputsIncomeStepTitle ?? ($pciVOutputsIncomeWizardStep . '. Physical Outputs, Income Streams & Socio-Economic Benefits'); @endphp
{{-- Subsection 1: Planned vs Actual Physical Output of the Project --}}
@if($pciVEdit)
@endif
@if($pciVEdit)@endif @foreach($pciVPhysicalOutputRows as $poIdx => $poRow) @php $poRow = is_array($poRow) ? $poRow : []; @endphp @if($pciVEdit) @endif @endforeach
Quantifiable Item / Target Metric Envisaged PC-I Target Actual Realized Output (During Year) Shortfall / Surplus Analysis
{{-- Subsection 2: Planned vs Actual Income / Revenue Generation Metrics (PKR Millions) --}}
@if($pciVEdit)
@endif
@if($pciVEdit)@endif @foreach($pciVIncomeRevenueRows as $irIdx => $irRow) @php $irRow = is_array($irRow) ? $irRow : []; @endphp @if($pciVEdit) @endif @endforeach
Revenue Channels / Services Rendered PC-I Projected Income Actual Earned Revenue Streams Variance Explanatory Notes

* State core financial model assumptions and revenue baseline considerations in execution.

{{-- Subsections 3 & 4: Quantifiable Benefits + Tangible Social Benefits --}}