@extends ('../welcome') @section ('content')
@csrf @if(auth()->user()->isAbleTo('units-update')) @endif @if(auth()->user()->type == 'admin') @endif
@if(!empty($unit->client_id))
@csrf
@endif
@if(!empty($unit->bedrooms))
@endif
@if ($unit->floor == 1)
@endif @foreach($unit->unitSettings as $type) @if($type->type == 'types')
@elseif($type->type == 'view')
@elseif($type->type == 'finishing')
@endif @endforeach
@if(auth()->user()->type == 'admin')
@endif
@if(!empty($unit->client_id))
@if(!empty($unit->facilities))
@foreach($unit->facilities as $facility)
  • {{$facility->name}} - {{$facility->price}}L.E
  • @endforeach
    @endif @endif
    @endsection