How to add a match for two teams in a season division, one of which you are the captain of - Fabian-Sommer/HeroesLounge GitHub Wiki

TODO: someone please explain how to do this :)

Backend UI:

Go to Manage Matches in the backend and select Create. You'll then be able to add 2 teams to your match with Add Teams.

Next you can fill in details about the match times:
Has to be scheduled until : Is a deadline date for when the match need to be scheduled. (schedule_date)
To be played until : Is a deadline date for when the match results need to be uploaded. (TBP)
Schedule for : Is the date that the match has been scheduled for to be played. (WBP)

Leaving the Schedule for option empty will allow you to test scheduling as a captain from the front-end.

You can optionally add the match to a division and a specific round by filling in the Round and Division options. This will make the match show up in the correct division table, with a round. Do note that it can be quite confusing which division belongs to which season, however the sorting is from old to new.

If you want to make any further changes, you can find the match in the backend and update it. However, you won't be able to change the division and participating teams anymore.

Frontend UI:

You can look at your created match from the front-end, if you are a captain of the team. It will appear on the left sidebar under Matches. Here you can schedule the match or upload match results if the match has already been scheduled.

Raw SQL: