new ticket add clothing type (#46)

Reviewed-on: #46
This commit is contained in:
2025-03-03 21:00:46 +00:00
parent 24f28c24f2
commit 6e0168ce52
3 changed files with 21 additions and 5 deletions

View File

@ -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';

View File

@ -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,

View File

@ -52,11 +52,22 @@
<twig:ux:icon name="heroicons:map-pin" class="w-5 h-5 text-orange-600" />
<span class="text-gray-700">Graubündener Str. 4, 28325 Bremen</span>
</div>
<div class="flex items-center space-x-3">
<twig:ux:icon name="tabler:shirt" class="w-5 h-5 text-orange-600" />
<span class="text-gray-700">Abendgarderobe</span>
</div>
</div>
</div>
<div class="bg-white/80 backdrop-blur-md shadow-xl rounded-2xl sm:rounded-3xl p-5 mb-3 sm:mb-12 transform transition-all duration-300 border border-gray-100">
<h2 class="text-xl text-center font-semibold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-red-500 to-orange-500">Ablauf</h2>
<div class="space-y-3">
<div class="flex items-center space-x-3">
<twig:ux:icon name="heroicons:academic-cap" class="w-5 h-5 text-orange-600" />
<div class="text-gray-700">
<span class="font-medium">(14:00-16:30</span>
<span class="ml-2">Zeugnisvergabe)</span>
</div>
</div>
<div class="flex items-center space-x-3">
<twig:ux:icon name="heroicons:ticket" class="w-5 h-5 text-orange-600" />
<div class="text-gray-700">