Skip to content

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

Open
darkporpoise wants to merge 2 commits into
nicholasmr:masterfrom
darkporpoise:upstream6
Open

darkporpoise wants to merge 2 commits into
nicholasmr:masterfrom
darkporpoise:upstream6

Conversation

@darkporpoise

Copy link
Copy Markdown

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