Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As per issues 689/690/692: Creation of match report from upload #715

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

As per issues 689/690/692: Creation of match report from upload #715

wants to merge 2 commits into from

Conversation

darkporpoise
Copy link

When using the match uploader tool this will now create a match report so that there is a record of things like FF and winnings.

Also fixes bug where neither team could upload if match was drawn.

e.g.:

Hardwoods coach rerolled winnings of 30000 to get 20000.Match report uploaded by the coach of the Hardwoods.

=====================
Results
=====================
Home Team: Hardwoods
Away Team: Richard
Score: 3:2
Winner: Hardwoods
Hardwoods Fan Factor: 6
Richard Fan Factor: 7
Hardwoods Fans: 12000
Richard Fans: 12000
Hardwoods Fame: 0
Richard Fame: 0
Hardwoods Winnings: 40000 (3)
Richard Winnings: 30000 (3)
FF Rolls Hardwoods [2][6][4]: +1
FF Rolls Richard [6][2]: +0
Gate: 24000

Also fixes bug where neither team could upload if match was drawn.
Changes to be committed:
modified:   modules/leegmgr/class_upload_botocs.php
modified:   modules/leegmgr/cyanide/lib_cy_match_db.php
Error in logic when checking if a re-rolled was required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant