diff --git a/views/single-event.blade.php b/views/single-event.blade.php
index aaa0adbf..8c43e8a1 100644
--- a/views/single-event.blade.php
+++ b/views/single-event.blade.php
@@ -4,21 +4,21 @@
@stop
@section('above')
-@if(!empty($event['image_src']))
- @segment([
- 'layout' => 'full-width',
- 'image' => $event['image_src'],
- 'background' => 'primary',
- 'textColor' => 'light',
- 'overlay' => 'dark',
- 'classList' => ['modularity-event-hero', 'u-margin__bottom--5'],
- 'textAlignment' => 'center',
- 'title' => get_the_title(),
- 'subTitle' => 123,
- 'content' => $event['occasion']['formatted'] ?? false,
- ])
- @endsegment
-@endif
+ @if(!empty($event['image_src']))
+ @segment([
+ 'layout' => 'full-width',
+ 'image' => $event['image_src'],
+ 'background' => 'primary',
+ 'textColor' => 'light',
+ 'overlay' => 'dark',
+ 'classList' => ['modularity-event-hero', 'u-margin__bottom--5'],
+ 'textAlignment' => 'center',
+ 'title' => get_the_title(),
+ 'subTitle' => 123,
+ 'content' => $event['occasion']['formatted'] ?? false,
+ ])
+ @endsegment
+ @endif
@stop
@section('content')
@@ -29,7 +29,7 @@
])
@enddatebadge
@endif
-
+
@typography([
'variant' => 'h1',
'element' => 'span',
@@ -45,7 +45,7 @@
@if(!empty($event['introText']))
{!! $event['introText'] !!}
@endif
-
+
@if(!empty($event['booking_link']) || !empty($event['ticket_includes']))
@include('widgets.ticket')
diff --git a/views/widgets/additional-ticket-types.blade.php b/views/widgets/additional-ticket-types.blade.php
index e22197f6..e2a8016b 100644
--- a/views/widgets/additional-ticket-types.blade.php
+++ b/views/widgets/additional-ticket-types.blade.php
@@ -10,16 +10,16 @@
{{ $ticketType['ticket_name'] }}
@endtypography
@endif
-
+
@if(!empty($ticketType['ticket_type']))
-
- {{ $eventLang->ticketType }}:
+ {{ $eventLang->ticketType }}:
{{ strtolower($ticketType['ticket_type']) === 'seated' ? $eventLang->ticketSeated : $eventLang->ticketStanding }}
@endif
- @if($ticketType['minimum_price']['formatted_price'])
+ {{-- @if($ticketType['minimum_price']['formatted_price'])
-
{{ $eventLang->priceMin }}:
{{ $ticketType['minimum_price']['formatted_price'] }}
@@ -31,10 +31,24 @@
{{ $eventLang->priceMax }}:
{{ $ticketType['maximum_price']['formatted_price'] }}
+ @endif --}}
+ @if($ticketType['minimum_price'] && is_array($ticketType['minimum_price']) && array_key_exists('formatted_price', $ticketType['minimum_price']))
+ -
+ {{ $eventLang->priceMin }}:
+ {{ $ticketType['minimum_price']['formatted_price'] }}
+
+ @endif
+
+ @if($ticketType['maximum_price'] && is_array($ticketType['maximum_price']) && array_key_exists('formatted_price', $ticketType['maximum_price']))
+ -
+ {{ $eventLang->priceMax }}:
+ {{ $ticketType['maximum_price']['formatted_price'] }}
+
@endif
+
@endforeach
@endif
@endcard
-@endif
\ No newline at end of file
+@endif