@extends('layouts.app') @section('content') @include ('components.Combo_FDP') @if($zmeny->isNotEmpty()) @include ('prostor.zmenyUziv') @endif @php($jendruzstevniDum = isset($druzstevniDum) ? $druzstevniDum : 0)

Uživatelé prostor domu {{ $dum->popis }}

@if (session('error'))
{{ session('error') }}
@endif
{{$komentZobr}}
{{-- {{ csrf_field() }} --}}
@if(isset($domyAccess[$dum->id]) || !$povinyDum)
@if(!$jendruzstevniDum) @endif @if($kontaktVisible) @endif @foreach ($prostory as $prostor) @if(!$jendruzstevniDum) @endif @if($kontaktVisible) @endif @if($spolubydVisible) @foreach ($prostor->SpolubydProstoru as $spolubydl) @if(!empty($spolubydl->CeoSpolubyd->jmeno)) @if ($loop->first) @else @endif @if($kontaktVisible) @endif @endif @endforeach @endif @if($prostor->kontAdresa && $kontAdrVisible == 1) @endif @endforeach
Č.pop. Prostor Uživatel/Spolubydlící Vztah Podlaží Spoluvl.podíl Telefon Email Počet osob
{{ $prostor->cp }} {{ $prostor->druh }} {{ $prostor->jednotka }} {{ isset($prostor->UzivatelProstoru->jmeno) ? $prostor->UzivatelProstoru->jmeno:'' }} {{ $prostor->vl_vztah }} @if(isset($prostor->typNajemce)) @if(!empty($prostor->typNajemce))
{{$prostor->typNajemce}} @endif @endif
{{ $prostor->podlazi }} @if($prostor->svp_prostoru && $prostor->svp_celkem) {{ number_format(($prostor->svp_prostoru / $prostor->svp_celkem) * 100,2,'.','' )}} % @endif @if(isset($prostor->UzivatelProstoru)) @if(!empty($prostor->UzivatelProstoru->mobil)) {{$prostor->UzivatelProstoru->mobil }}
@endif {{ $prostor->UzivatelProstoru->telefon }} @endif
@if(isset($prostor->UzivatelProstoru)) {{$prostor->UzivatelProstoru->email }} @endif {{$prostor->poc_osob==0 ? "":$prostor->poc_osob }} @if( $prostor->SpolubydProstoru->isNotEmpty() && $spolubydVisible || $prostor->kontAdresa && $kontAdrVisible == 1) @endif
{{ $spolubydl->CeoSpolubyd->jmeno }} {{ $spolubydl->vztah }} {{ $spolubydl->CeoSpolubyd->mobil }}
{{ $spolubydl->CeoSpolubyd->telefon }}
{{ $spolubydl->CeoSpolubyd->email }}
Kontaktní adresa: {{ $prostor->kontAdresa['jmeno'].' '.$prostor->kontAdresa['adresa'] }}
@else

Nemáte právo zobrazovat prostory tohoto domu !!!

@endif
@endsection