Fehlermeldung, wenn keine Daten für Property vorhanden.
This commit is contained in:
1 parent
0d3bc7acd3
commit
e4462b0cfa
2 files changed
+26
-16
No files matched your search
@@ -24,13 +24,18 @@
|
||||
@endsection
|
||||
|
||||
@section('main')
|
||||
@if(!isset($propertyCapacities['capacities']))
|
||||
<div style="position: absolute;">
|
||||
Für dieses Mietobjekt sind keine Daten vorhanden.
|
||||
</div>
|
||||
@else
|
||||
<article style="grid-area: timeline;">
|
||||
<div id="timeline"></div>
|
||||
</article>
|
||||
<article class="header" style="grid-area: chart1;">
|
||||
<header>
|
||||
<h2 id="belegung-title">
|
||||
Kalenderansicht der Belegung am <span class="date">{{ $startDate }}</span>
|
||||
Kalenderansicht der Verfügbarkeit am <span class="date">{{ $startDate }}</span>
|
||||
</h2><button popovertarget="popup-cal"></button>
|
||||
<div popover id="popup-cal">
|
||||
<p>
|
||||
@@ -51,7 +56,7 @@
|
||||
<article class="header" style="grid-area: chart3;">
|
||||
<header>
|
||||
<h2>
|
||||
Belegung Mietobjekt Monate am <span class="date">{{ $startDate }}</span>
|
||||
Verfügbarkeit Mietobjekt Monate am <span class="date">{{ $startDate }}</span>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="chart-capacity-monthly">
|
||||
@@ -73,7 +78,7 @@
|
||||
<article class="header" style="grid-area: chart4;">
|
||||
<header>
|
||||
<h2>
|
||||
Belegung Mietobjekt Tage am <span class="date">{{ $startDate }}</span>
|
||||
Verfügbarkeit Mietobjekt Tage am <span class="date">{{ $startDate }}</span>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="chart-capacity-daily">
|
||||
@@ -460,4 +465,5 @@ cCapacity.on('click', 'series', (e) => {
|
||||
|
||||
|
||||
</script>
|
||||
@endif
|
||||
@endsection
|
||||
Reference in new issue
Block a user