Skip to content

Commit

Permalink
lan ht 23: change pricing and num seats
Browse files Browse the repository at this point in the history
* 125 kr for normal, 75 kr for no computer
* 55 seats for computer, 20 for no computer
  • Loading branch information
vilhelmprytz committed Oct 19, 2023
1 parent e4c00e7 commit 8dd5067
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions backend/blueprints/booking.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

booking_blueprint = Blueprint("booking", __name__, template_folder="../templates")

NUM_SEATS = 60
NUM_CONSOLE_SEATS = 10
NUM_SEATS = 55
NUM_CONSOLE_SEATS = 20


@booking_blueprint.route("/bookings")
Expand Down
2 changes: 1 addition & 1 deletion backend/swish.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import qrcode.image.svg

# normal, bc
amount_types = ["150", "80"]
amount_types = ["125", "75"]

SWISH_PHONE = environ.get("SWISH_PHONE", None)

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Index/InfoDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function InfoDialog() {
</Typography>
<Typography gutterBottom={true}>
Mottagare ska vara <b>{event.swish_phone}</b>, belopp ska vara{" "}
<b>150 kr</b> för vanlig plats och <b>80 kr</b> för en konsol- och
<b>125 kr</b> för vanlig plats och <b>75 kr</b> för en konsol- och
brädspelsplats. Ange ditt namn och klass i meddelandet.
</Typography>

Expand Down
7 changes: 2 additions & 5 deletions frontend/src/components/Index/Overview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,13 @@ function Overview(props) {
<Row min={43} max={48} seat_type={"standard"} />
</Grid>
<Grid container item xs={row_xs} spacing={1}>
<Row min={49} max={54} seat_type={"standard"} />
</Grid>
<Grid container item xs={row_xs} spacing={1}>
<Row min={55} max={60} seat_type={"standard"} />
<Row min={49} max={55} seat_type={"standard"} />
</Grid>
</Grid>
<Typography>Platser utan bordsplacering</Typography>
<Grid container>
<Grid container item xs={row_xs} spacing={1}>
<Row min={1} max={10} seat_type={"console"} />
<Row min={1} max={20} seat_type={"console"} />
</Grid>
</Grid>
</div>
Expand Down

0 comments on commit 8dd5067

Please sign in to comment.