@extends('layouts.app') @section('page-pretitle', __('Management')) @section('page-title', __('Projects')) @section('content') {{-- Flash Messages --}} @if ($errors->any())
| # | Description | Client | Received Year | Start Date | End Date | Scope | Assignees | Project Progress | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $key + $projects->firstItem() }} |
{{ strtoupper($project->ref_no ?? '-') }}
@if ($project->is_registration)
Registered
@endif
{{ $project->description }}
|
{{ strtoupper($project->client ? $project->client : '-') }} | {{-- --}} {{ $project->received_year ? $project->received_year : '-' }} {{-- --}} | {{-- --}} {{ $project->start_date ? \Carbon\Carbon::parse($project->start_date)->format('d M Y') : '-' }} {{-- --}} | {{-- --}} {{ $project->end_date ? \Carbon\Carbon::parse($project->end_date)->format('d M Y') : '-' }} {{-- --}} | {{ $project->scope->name ?? 'N/A' }} | {{ $project->assignees->count() }} |
@if ($project->project_type && str_contains(strtolower($project->project_type->name), 'cancel'))
Cancelled Project
{{ $project->project_type->name }}
@else
{{ $project->weighted_progress }}%
Remarks:
@php
$words = explode(' ', $project->remarks); # Split remarks into words
@endphp
@endif
@foreach ($words as $index => $word)
{{ $word }}
@if (($index + 1) % 2 == 0) {{-- Add line break after every 2 words --}}
@endif @endforeach |
{{-- Dropdown --}}
|
| No Records | |||||||||