From 76d7379599b3e2988285c486aa757e3e79332b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Sun, 4 Sep 2022 21:45:21 +0200 Subject: [PATCH] : --- .idea/workspace.xml | 8 +- content/contents/solarmodule.blade.php | 143 ++++++++++++++++++------- content/index.blade.php | 2 +- 3 files changed, 114 insertions(+), 39 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2cf561a..0e50336 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,11 @@ - + + + + + diff --git a/content/contents/solarmodule.blade.php b/content/contents/solarmodule.blade.php index 3562a37..e67b343 100644 --- a/content/contents/solarmodule.blade.php +++ b/content/contents/solarmodule.blade.php @@ -43,53 +43,124 @@ - @isset($content->data_fields['preis_5']) +
+ @isset($content->data_fields['preis_5']) +
-

- -

-
-
- - - - - - - - +

+ +

+ + @endisset - @isset($content->data_fields['preis_5']) +
+ + +

+ +

+ + + + + +
+ +
+
+
+
AbnahmePreis pro Einheit
+ - - + + - @endisset + + - @isset($content->data_fields['preis_10']) - - - - - @endisset + @isset($content->data_fields['preis_5']) + + + + + @endisset - @isset($content->data_fields['preis_palette']) - - - - - @endisset + @isset($content->data_fields['preis_10']) + + + + + @endisset + + @isset($content->data_fields['preis_palette']) + + + + + @endisset - -
ab 5 Stück{{$content->data_fields['preis_5']}} €AbnahmePreis pro Einheit
ab 5 Stück{{$content->data_fields['preis_10']}} €
ab 5 Stück{{$content->data_fields['preis_5']}} €
Palette ({{$content->data_fields['module_pro_palette']}} Stück){{$content->data_fields['preis_palette']}} €
ab 10 Stück{{$content->data_fields['preis_10']}} €
Palette ({{$content->data_fields['module_pro_palette']}} Stück){{$content->data_fields['preis_palette']}} €
+ + +
- @endisset +
+ diff --git a/content/index.blade.php b/content/index.blade.php index 0bae29e..03847f0 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -41,7 +41,7 @@ - @foreach($contents as $content) + @foreach(filterByContentType($contents, "Balkonkraftwerk") as $content)