@php $size= ''; if($projectType->id == \App\ProjectType::society){ $size= \App\ProjectType::society_size; } else { $size= \App\ProjectType::high_rise_size; } @endphp @php $map= ' '; if($projectType->id == \App\ProjectType::society){ $map= \App\ProjectType::society_map; } else { $map= \App\ProjectType::high_rise_map; } @endphp '