Tickets moveable to basket, Basket shows tickets, removable

This commit is contained in:
2024-10-05 20:23:13 +02:00
parent e48782b897
commit d1cdf1f8fb
21 changed files with 301 additions and 334 deletions

View File

@@ -7,13 +7,21 @@ import { SeatGroup } from "../models/locations/seatGroup.model";
import { SeatRow } from "../models/locations/seatRow.model";
import { Seat } from "../models/locations/seat.model";
import { Ticket } from "../models/ordering/ticket.model";
import { Band } from "../models/acts/band.model";
export const concert = Router()
concert.get("/:id", (req: Request, res: Response) => {
Concert.findByPk(req.params.id, {
include: [
Event,
{
model: Event,
include: [
{
model: Band
}
]
},
{
model: Location,
include: [