@extends('layouts.app') @section('title') @php $map= ' '; if($projectType->id == \App\ProjectType::society){ $map= \App\ProjectType::society_map; } else { $map= \App\ProjectType::high_rise_map; } @endphp All {{$map}}s @stop @section('breadcrumb') @php $map= ' '; if($projectType->id == \App\ProjectType::society){ $map= \App\ProjectType::society_map; } else { $map= \App\ProjectType::high_rise_map; } @endphp @stop @section('css') @stop @section('content') @php $map= ' '; if($projectType->id == \App\ProjectType::society){ $map= \App\ProjectType::society_map; } else { $map= \App\ProjectType::high_rise_map; } @endphp

All {{$map}}s

@foreach($allUnitFloors as $floor) @endforeach
# Name Block Type Action
{{$count++}} {{$floor->name}} {{$floor->unitBlock? $floor->unitBlock->name : ''}} @foreach($floor->unitFloors as $b) @if($b->type) [{{$b->type->name}}]
@endif @endforeach
@permission('edit-unit-floor') @endpermission @permission('delete-unit-floor') @endpermission
@stop @section('js') @stop