@extends('theme.default.layouts.app') @section('dashboard-title')
' .print_r($components,true). ''; die; // $components = collect($components ?? [ // [ // 'title' => 'COMPONENT I', // 'description' => 'COMMUNITY INFRASTRUCTURE REHABILITATION', // 'data' => collect([ // (object)[ // 'serial_no' => '1.1', // 'activity' => 'Hiring of Design & Supervision Firm (Irrigation)', // 'description' => 'Hiring of the D&S Firm for the Irrigation sub-component', // 'target_start_date' => '2024-06-01', // 'planned_end_date' => '2024-12-09', // 'actual_end_date' => '2025-06-16', // 'status' => 'Completed', // ], // (object)[ // 'serial_no' => '1.2.1', // 'activity' => 'Design Phase inception Report Deliverable for Irrigation', // 'description' => 'Design Phase inception Report', // 'target_start_date' => '2025-10-25', // 'planned_end_date' => null, // 'actual_end_date' => '2025-09-25', // 'status' => 'Completed', // ], // (object)[ // 'serial_no' => '1.2.2', // 'activity' => 'Preliminary Site Assessment Report', // 'description' => 'Preliminary Site Assessment Report submitted by PIU', // 'target_start_date' => '2025-06-23', // 'planned_end_date' => '2025-07-16', // 'actual_end_date' => '2025-11-17', // 'status' => 'Completed', // ], // (object)[ // 'serial_no' => '1.2.4', // 'activity' => 'ESMP / IEE/ EIA Report', // 'description' => 'Environmental Reports', // 'target_start_date' => '2025-06-23', // 'planned_end_date' => '2025-10-14', // 'actual_end_date' => null, // 'status' => 'In Progress', // ], // (object)[ // 'serial_no' => '2.1', // 'activity' => 'Hiring of D&S firm for Road & Bridges', // 'description' => 'Hiring for Road & Bridges', // 'target_start_date' => '2024-06-01', // 'planned_end_date' => '2024-12-09', // 'actual_end_date' => '2025-06-23', // 'status' => 'Completed', // ], // ]) // ], // [ // 'title' => 'COMPONENT II', // 'description' => 'STRENGTHENING HYDROMET AND CLIMATE SERVICES', // 'data' => collect([ // (object)[ // 'serial_no' => '1', // 'activity' => 'Market Outreach', // 'description' => 'Market sessions completed', // 'target_start_date' => '2025-03-25', // 'planned_end_date' => null, // 'actual_end_date' => '2025-03-25', // 'status' => 'Completed', // ], // (object)[ // 'serial_no' => '2', // 'activity' => 'Selection of Sites for AWS', // 'description' => 'Evaluation report submitted', // 'target_start_date' => '2025-08-25', // 'planned_end_date' => null, // 'actual_end_date' => '2025-10-07', // 'status' => 'Completed', // ], // (object)[ // 'serial_no' => '3', // 'activity' => 'Procurement of AWS', // 'description' => 'Contract signed', // 'target_start_date' => '2025-09-03', // 'planned_end_date' => '2026-07-01', // 'actual_end_date' => null, // 'status' => 'In Progress', // ], // ]) // ], // ]); @endphp @foreach($components as $component)
| S # | Activity | Description | Target Start Date | Planned End Date | Actual End Date | Status |
|---|---|---|---|---|---|---|
| {{ $record->serial_no }} | {{ $record->activity }} | {{ $record->description }} | {{ $record->target_start_date ? date('M d, Y', strtotime($record->target_start_date)) : '-' }} | {{ $record->planned_end_date ? date('M d, Y', strtotime($record->planned_end_date)) : '-' }} | {{ $record->actual_end_date ? date('M d, Y', strtotime($record->actual_end_date)) : '-' }} | {{ $record->status }} |
| No records found. | ||||||