{{ display_text($mainTitle) }}

{{ display_text($departmentName) }}

{{ display_text($schemeTypeYear) }}
Logo
{{ display_text($schemeName) }}
{{ display_text($costLine) }}
@isset($page2)

{{ display_text($page2['header_organization']) }}

PC-I FORM

@if (! empty($page2['show_project']))
1. Name of Project:
{{ display_text($page2['project_name']) }}
@endif @if (! empty($page2['show_location']))
2. Location:
{{ display_text($page2['location_line']) }}@if (! empty($page2['map_attached'])) (project map on following page)@endif
@endif @if (! empty($page2['show_auth']))
3. Authorities responsible for:
 
i.  Sponsoring:
{{ display_text($page2['sponsoring_agency']) }}
ii.  Execution:
{{ display_text($page2['executing_agency']) }}
iii.  Operation and Maintenance:
{{ display_text($page2['operation_maintenance_agency']) }}
iv.  Concerned Federal Ministry:
{{ display_text($page2['concerned_federal_ministry']) }}
@endif @if (! empty($page2['authorities_attachments_html']))
{!! $page2['authorities_attachments_html'] !!}
@endif
@if (! empty($page2['show_plan']))
4.(a) Plan Provision
(i) Please indicate category of plan provision and the period (ADP / PSDP etc.) for which the scheme is included.
{{ display_text($page2['plan_q1_answer']) }}
(ii) Please indicate source of financing (foreign / local loan, grant, GOP, etc.).
{{ display_text($page2['plan_q2_answer']) }}
(iii) Block position (Rs. in million):
Total block provision Amount already committed Amount proposed for this project Balance available
{{ display_text($page2['plan_block_total']) }} {{ display_text($page2['plan_block_committed']) }} {{ display_text($page2['plan_block_this_project']) }} {{ display_text($page2['plan_block_balance']) }}
b) Provision in the current year PSDP / ADP
{{ display_text($page2['plan_4b_answer']) }}
@if (! empty($page2['plan_attachments_html']))
{!! $page2['plan_attachments_html'] !!}
@endif @endif @if (! empty($page2['show_objectives']))
5. Project objectives and its relationship with sector objectives
{{ display_text($page2['sector_intro']) }}
{!! $page2['objectives_html'] ?? '' !!}
@if (! empty($page2['objectives_attachments_html']))
{!! $page2['objectives_attachments_html'] !!}
@endif
@endif @if (! empty($page2['show_scopes_on_page2']))
Project scopes
{!! $page2['scopes_html'] !!}
@if (! empty($page2['scopes_attachments_html']))
{!! $page2['scopes_attachments_html'] !!}
@endif
@endif
{{ display_text($page2['page_footer']) }}
@endisset @if (! empty($preview_follow_pages)) @foreach ($preview_follow_pages as $docPage)
@foreach ($docPage['parts'] ?? [] as $part) @if (($part['type'] ?? '') === 'section_title' && ! empty($part['text']))
{{ display_text($part['text']) }}
@elseif (($part['type'] ?? '') === 'fullwidth' && ! empty($part['html'])) @php($pciFwLayout = (string) ($part['fullwidth_layout'] ?? ''))
{!! $part['html'] !!}
@elseif (($part['type'] ?? '') === 'technical_parameters_brief' && ! empty($part['html']))
{!! $part['html'] !!}
@elseif (($part['type'] ?? '') === 'embed_attachments' && ! empty(trim((string) ($part['html'] ?? ''))))
{!! $part['html'] !!}
@elseif (($part['type'] ?? '') === 'location_photos' && ! empty($part['photos']))
Field Location Photos
@foreach ($part['photos'] as $lPhoto)
{{ e($lPhoto['name_of_location'] ?: 'Location photo') }}
@if($lPhoto['name_of_location'])
{{ $lPhoto['name_of_location'] }}
@endif @if($lPhoto['latitude'] && $lPhoto['longitude'])
GPS: {{ $lPhoto['latitude'] }}, {{ $lPhoto['longitude'] }}
@endif @if($lPhoto['captured_at'])
{{ $lPhoto['captured_at'] }}
@endif
@endforeach
@elseif (($part['type'] ?? '') === 'sign_off_sheet' && ! empty($part['data']) && is_array($part['data'])) @php($sign = $part['data'])
NAME OF SCHEME :
{{ display_text($sign['scheme_upper'] ?? '—') }}
@foreach (($sign['blocks'] ?? []) as $sigBlock)
{{ display_text($sigBlock['side_label'] ?? '') }}
@foreach (($sigBlock['segments'] ?? $sigBlock['lines'] ?? []) as $seg) @if (($seg['type'] ?? '') === 'signature')
@if (! empty($seg['url'])) @else @endif
@else {{ display_text((string) ($seg['text'] ?? '')) }} @endif @endforeach
@endforeach
@elseif (($part['type'] ?? '') === 'sec5_continuation')
@if (! empty(trim((string) ($part['heading_text'] ?? ''))))
{{ display_text($part['heading_text']) }}
@endif
@if (! empty($part['show_sector_intro']))
{!! nl2br(e(display_text($part['sector_intro_plain'] ?? ''))) !!}
{!! $part['objectives_html'] !!}
@else
{!! $part['objectives_html'] !!}
@endif
@if (! empty(trim((string) ($part['attachments_html'] ?? ''))))
{!! $part['attachments_html'] !!}
@endif
@elseif (($part['type'] ?? '') === 'location_fields' && ! empty($part['fields']) && is_array($part['fields']))
@foreach ($part['fields'] as $locField) @if (is_array($locField))
{{ display_text($locField['label'] ?? '') }}
{{ display_text($locField['value'] ?? '') }}
@endif @endforeach
@elseif (($part['type'] ?? '') === 'lv') @php($pciLvLabel = trim((string) display_text($part['label'] ?? '')))
@if ($pciLvLabel !== ''){!! nl2br(e($pciLvLabel)) !!}:@endif
{!! ($part['value_html'] ?? '') !!}
@elseif (($part['type'] ?? '') === 'table' && ! empty($part['rows'])) @php($pciTableLayout = (string) ($part['layout'] ?? '')) @php($pciTableIsChecklist = $pciTableLayout === 'checklist') @php($pciTableIsSdg = $pciTableLayout === 'sdg') @php($pciTableIsLocationCoords = $pciTableLayout === 'location_coords') @php($pciTableIsCoaCombined = $pciTableLayout === 'coa_combined_total') @if (! empty($part['title']))
{{ display_text($part['title']) }}
@endif
@foreach ($part['headers'] ?? [] as $hi => $h) @endforeach @foreach ($part['rows'] as $trow) @foreach ($trow as $ci => $cell) @endforeach @endforeach @if (! empty($part['footer_row']) && is_array($part['footer_row'])) @foreach ($part['footer_row'] as $cell) @endforeach @endif
{{ display_text($h) }}
{{ display_text($cell) }}
{{ display_text($cell) }}
@endif @endforeach
{{ display_text($docPage['page_footer']) }}
@endforeach @endif @if (! empty($cover_preview_map_payloads)) @endif