special case: theater in march '26

This commit is contained in:
2025-10-01 21:36:00 +02:00
parent 447ae6d97d
commit 49fa19ed1e
17 changed files with 72 additions and 23 deletions

View File

@@ -61,7 +61,8 @@ class EventStoreController {
if($this->isSomeKindOfReservation($newEvent)){
$reservationType = $newEvent->reservation()->first()->name;
if($reservationType == "Mit Tischwahl"){
$dates = array('2025-06-20', '2025-06-21', '2025-06-27', '2025-06-28', '2025-07-04', '2025-07-05', '2025-07-06', '2025-07-11', '2025-07-12', '2025-07-18', '2025-07-19', '2025-07-20' );
$dates = array('2026-03-13','2026-03-14','2026-03-15','2026-03-18','2026-03-19');
//$dates = array('2025-12-21');
//$dates = array($this->request["start_date"]);
$newEvent->start_date = $dates[0];
@@ -160,26 +161,42 @@ class EventStoreController {
private function updateSeatMapWithTables($seat)
{
for($x = 1; $x <= 13; $x ++){
$cols = 16;
if ($x >= 12) {
$cols = 10;
}else if($x >= 11) {
$cols = 12;
}
for($x = 9; $x <= 13; $x ++){
$cols = 20;
for($y = 1; $y <= $cols; $y++){
$s = new SingleSeat;
$s->x = $x;
$s->y = $y;
if($x <= 5){
$s->category = 'b';
} else{
$s->category = 'a';
}
$s->seat()->associate($seat);
$s->save();
}
}
// start sommertheater
// for($x = 1; $x <= 13; $x ++){
// $cols = 16;
// if ($x >= 12) {
// $cols = 10;
// }else if($x >= 11) {
// $cols = 12;
// }
// for($y = 1; $y <= $cols; $y++){
// $s = new SingleSeat;
// $s->x = $x;
// $s->y = $y;
// if($x <= 5){
// $s->category = 'b';
// } else{
// $s->category = 'a';
// }
// $s->seat()->associate($seat);
// $s->save();
// }
// }
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 150 KiB

View File

@@ -40,7 +40,13 @@ $i = 0;
<div class="left event">
<span id="eventDate">{{date('d. m. Y', strtotime($seat->singleSeat()->first()->seat()->first()->date))}}</span>
<span id="additionalDate">{{date('H:i',strtotime($seat->singleSeat()->first()->seat()->first()->event()->first()->starttime))}}</span><br/>
<span id="additionalDate">
@if(date('d.m.Y', strtotime($seat->singleSeat()->first()->seat()->first()->date)) == '15.03.2026')
18:00
@else
{{date('H:i',strtotime($seat->singleSeat()->first()->seat()->first()->event()->first()->starttime))}}
@endif
</span><br/>
<span id="eventRoom">{{$seat->singleSeat()->first()->seat()->first()->event()->first()->room}}</span>
</div>
@@ -129,7 +135,14 @@ $i = 0;
<div class="left event">
<span id="eventDate">{{date('d.m.Y', strtotime($seat->singleSeat()->first()->seat()->first()->date))}}</span>
<span id="additionalDate">{{date('H:i',strtotime($seat->singleSeat()->first()->seat()->first()->event()->first()->starttime))}}</span><br/>
<span id="additionalDate">
@if(date('d.m.Y', strtotime($seat->singleSeat()->first()->seat()->first()->date)) == '15.03.2026')
18:00
@else
{{date('H:i',strtotime($seat->singleSeat()->first()->seat()->first()->event()->first()->starttime))}}
@endif
</span><br/>
<span id="eventRoom">{{$seat->singleSeat()->first()->seat()->first()->event()->first()->room }}
@if($seat->singleSeat->seat->event->reservation->name == "Mit Tischwahl")
(bei Schlechtwetter im Saal/Findling &bull; gleicher Sitzplan)

View File

@@ -49,6 +49,9 @@
$eventName = $event->title;
$eventDate = date("d. m. Y", strtotime($seat->date));
$eventTime = $event->starttime;
if($eventDate == '15. 03. 2026'){
$eventTime = '18:00';
}
$sumPrice = 0;
$my_user = Auth::user();

View File

@@ -42,6 +42,7 @@
div.seatCharts-row:nth-child(7){
padding-top: 70px;
}
/*
div.seatCharts-row:nth-child(1){
margin-left: 96px;
}
@@ -50,7 +51,7 @@ div.seatCharts-row:nth-child(2){
}
div.seatCharts-row:nth-child(3){
margin-left: 64px;
}
}*/
/*SOMMERTHEATERdiv.seatCharts-row:nth-last-child(53){
margin-left: 32%;
}

View File

@@ -3,7 +3,7 @@ $seat = $order->singleseatusers()->first();
$i = 0;
?>
@if(!is_null($seat))
Ihre Ticketbestellung für "{{$seat->singleSeat()->first()->seat()->first()->event()->first()->title}}" am {{date('d. F Y', strtotime($seat->singleSeat()->first()->seat()->first()->date))}} wurde erfolgreich abgeschlossen. Folgende Tickets wurden für Sie reserviert:
Ihre Ticketbestellung für "{{$seat->singleSeat()->first()->seat()->first()->event()->first()->title}}" am {{date('d.n.Y', strtotime($seat->singleSeat()->first()->seat()->first()->date))}} wurde erfolgreich abgeschlossen. Folgende Tickets wurden für Sie reserviert:
@else
Ihre Ticketbestellung für die Silvesterveranstaltung wurde erfolgreich abgeschlossen. Folgende Tickets wurden für Sie reserviert:
@endif

View File

@@ -111,21 +111,21 @@ HIER ENDET DER GALERIEEINTRAG----------------->
<!------ HIER BEGINNT OBERES BILD----->
<a href="https://www.bruckmuehle.at/event/1833">
<a href="https://www.bruckmuehle.at/event/1837">
<div class="date">
<span class="day">25</span>
<span class="month month09">September</span>
<span class="day">02</span>
<span class="month month10">Oktober</span>
<span class="year">2025</span>
</div>
<div class="title">
<h2 style ="font-size: 24pt; text-shadow: 0px 0px 14px black;">RUDI ANSCHOBER</h2>
<h2 style ="font-size: 24pt; text-shadow: 0px 0px 14px black;">GABRIEL CASTANEDA</h2>
<h3 style ="font-size: 16pt; text-shadow: 0px 0px 14px black;">Ermutigung - Vortrag und Diskussion</h3>
<h3 style ="font-size: 16pt; text-shadow: 0px 0px 14px black;">"Hardi Gatti"</h3>
</div>
<img src="/imgs/events/anschober_big.jpg" style="max-width: none;width:900 px;">
<img src="/imgs/events/castaneder_big.jpg" style="max-width: none;width:900 px;">
</a>

View File

@@ -7,6 +7,21 @@
<div class="ui styled accordion">
<div class="title">
<i class="dropdown icon"></i>
JOHANN WIMMER 14.September 2025
</div>
<div class="content">
"Den Puls der Zeit spüren, sich aber nicht vom Sog der Zeit mitreißen lassen." | <a href="https://www.bruckmuehle.at/event/1862" target="_blank">Vernissage Bruckmühle</a><p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/4EzOmKRpWWk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</p>
</div>
<div class="title">
<i class="dropdown icon"></i>
PROF. HERBERT FRIEDL 4.Mai 2025
@@ -110,7 +125,7 @@
Lets come together | <a href="https://www.bruckmuehle.at/event/1677" target="_blank">Vernissage Bruckmühle</a><p>
<iframe width="560" height="315" src="https://teambuntesfernsehen.at/videos/vernissage_michael_unterluggauer.mp4" title="Michael Unterluggauer" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/nJbt2AGZ-EM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</p>