diff --git a/assets/controllers/hide_food_controller.js b/assets/controllers/hide_food_controller.js index d905cda..55d82d5 100644 --- a/assets/controllers/hide_food_controller.js +++ b/assets/controllers/hide_food_controller.js @@ -11,7 +11,7 @@ export default class extends Controller { } hide() { - if (this.ticketSelectTarget.value === '2') { + if (this.ticketSelectTarget.value === '2' || this.ticketSelectTarget.value === '0') { this.foodSelectTarget.disabled = true; this.prevValue = this.foodSelectTarget.value; this.foodSelectTarget.value = '0'; diff --git a/src/Enum/TicketData.php b/src/Enum/TicketData.php index 4be6ff0..5b66836 100644 --- a/src/Enum/TicketData.php +++ b/src/Enum/TicketData.php @@ -5,14 +5,14 @@ namespace App\Enum; class TicketData { public const TICKET_DATA = [ + 0 => [ + 'name' => 'Zeugnisvergabe', + 'price' => 0, + ], 1 => [ 'name' => 'All-Inclusive Ticket', 'price' => 50, ], - 2 => [ - 'name' => 'After-Show Ticket', - 'price' => 20, - ], 3 => [ 'name' => 'Kind (12-15 Jahre)', 'price' => 25, @@ -25,9 +25,14 @@ class TicketData 'name' => 'Kind (0-6 Jahre)', 'price' => 0, ], + 2 => [ + 'name' => 'After-Show Ticket (ab 22 Uhr)', + 'price' => 20, + ], ]; public const TYPES = [ + 'Zeugnisvergabe' => 0, 'All-Inclusive Ticket' => 1, 'After-Show Ticket' => 2, 'Kind (12-15 Jahre)' => 3, diff --git a/templates/home/index.html.twig b/templates/home/index.html.twig index bb6da31..730a4cf 100644 --- a/templates/home/index.html.twig +++ b/templates/home/index.html.twig @@ -52,11 +52,22 @@ Graubündener Str. 4, 28325 Bremen +
+ + Abendgarderobe +

Ablauf

+
+ +
+ (14:00-16:30 + Zeugnisvergabe) +
+