@extends('user.layout') @section('title', 'Page Title') @section('content') @php // Treat blank, "-" and similar placeholders as empty, so empty facts are hidden. $telFilled = fn ($v) => is_string($v) ? !in_array(trim($v), ['', '-', '--', 'N/A', 'n/a'], true) : !empty($v); $telHighlights = array_values(array_filter((array) ($project->service_highlight ?? []), fn ($h) => is_string($h) && trim($h) !== '')); @endphp

{{ $project->name }}

{!! $project->description !!}
@if ($telFilled($project->build_up_area))
Build Up Area
{{ $project->build_up_area }}
@endif @if ($telFilled(optional($project->projectCategory)->name))
Project Type
{{ $project->projectCategory->name }}
@endif @if ($telFilled($project->timeline))
Timeline
{{ $project->timeline }}
@endif @if (count($telHighlights))
Service Highlights
    @foreach($telHighlights as $sh_key => $highlight)
  • {{ $highlight }}
  • @endforeach
@endif
@csrf
@endsection @push('styles') @endpush @push('scripts') @if ($project->projectCategory) @endif @endpush