feat(frontend): add performance booking form

This commit is contained in:
bisco
2026-04-29 18:14:07 +02:00
parent 56d8c31a0d
commit 144c48c02f
4 changed files with 236 additions and 22 deletions
@@ -95,7 +95,7 @@ import { ShowDetail, ShowPerformance, ShowsApiService } from '../services/shows-
</mat-card-content>
<mat-card-actions>
@if (performance.booking_enabled) {
<a mat-flat-button [routerLink]="['/book', performance.id]">Book this performance</a>
<a mat-flat-button [routerLink]="['/performances', performance.id, 'book']">Book this performance</a>
} @else {
<button mat-stroked-button type="button" disabled>Booking unavailable</button>
}