Display free tickets in standing areas

This commit is contained in:
2024-10-23 13:36:21 +02:00
parent 376a4ec385
commit 093eba9af6
9 changed files with 81 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ function handleSeatClick() {
<v-row>
<v-col class="text-center text-h6">
{{ seatGroup.capacity }} {{ $t('standingPlaces') }}
{{ seatGroup.capacity - seatGroup.occupied }} {{ $t('standingPlaces') }}
</v-col>
</v-row>
</v-sheet>

View File

@@ -4,5 +4,6 @@ export class LocationModel {
address: string = ""
imageIndoor: string = ""
imageOutdoor: string = ""
capacity: number = 0
layout: number = 1
}

View File

@@ -5,5 +5,6 @@ export class SeatGroupModel {
surcharge: number = 0
standingArea: boolean = false
capacity: number = 0
occupied: number = 0
seatRows: Array<SeatRowModel>
}