|
{{-- --}}
{{-- A.H.K Arkitek HananPerkhidmatan Arkitek: Perancangan, Rekabentuk Dalaman, Dan Landskap --}} |
Alamat: 19, Jalan Besi 1, Taman Sri Putri, 81300 Skudai, Johor Darul Ta'zim Tel: 07-562 3417 |
| No. | Description | {{--Ref No | --}}Client | Scope | Submission Status | {{--Remarks | --}} {{--Start Date | End Date | --}}Assignee(s) | Progress | Year Received |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{-- --}}
{{ $project->ref_no ?? '-' }}
{{-- --}}
{{ $project->description }} |
{{-- {{ $project->ref_no }} | --}}{{ $project->client }} | {{ Str::title($project->scope->name ?? '-') }} |
@php
$statuses = \App\Models\Status::all()->keyBy('id');
@endphp
@forelse ($project->submissionTypes as $type)
{{ strtoupper($type->name) }}:
@php
$statusId = $type->pivot->status_id ?? null;
$statusName = $statusId && isset($statuses[$statusId]) ? $statuses[$statusId]->name : 'Pending';
$submissionDate = $type->pivot->submission_date ? \Carbon\Carbon::parse($type->pivot->submission_date)->format('d M Y') : null;
$fileNo = $type->pivot->file_no ?? null;
@endphp
@if($fileNo)
{{ $fileNo }}
@endif
@if($submissionDate)
{{ $submissionDate }}
@endif
({{ $statusName }})
@empty
-
@endforelse
|
{{-- {{ $project->remarks ?? '-' }} | --}} {{--{{ $project->start_date ? $project->start_date->format('d M Y') : '-' }} | {{ $project->end_date ? $project->end_date->format('d M Y') : '-' }} | --}}@if ($project->assignees->isNotEmpty()) {{ $project->assignees->pluck('name')->join(', ') }} @else - @endif |
{{-- {{ $project->weighted_progress }}% --}}
@if ($project->weighted_progress == 100) {{ $project->weighted_progress }}% @elseif ($project->weighted_progress == 0) {{ $project->weighted_progress }}% @else {{ $project->weighted_progress }}% @endif {{ $project->remarks ?? '' }} |
{{ $project->received_year }} |