Skip to content

Commit

Permalink
#2059 fix currency error in team analyzer's total salary column (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsbrenk committed May 5, 2024
1 parent 13dc635 commit 53f0d82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import core.model.HOVerwaltung;
import core.model.enums.MatchType;
import core.model.match.Matchdetails;
import core.util.CurrencyUtils;
import core.util.Helper;
import module.teamAnalyzer.SystemManager;
import module.teamAnalyzer.report.TeamReport;
Expand Down Expand Up @@ -220,7 +221,7 @@ public IHOTableEntry getTableEntry(TeamLineup lineup) {
new RecapUserColumn("ls.team.sumsalary", 50) {
@Override
public IHOTableEntry getTableEntry(TeamLineup lineup) {
return createIntegerTableEntry(lineup.getSalarySum(), MatchesColumnModel.getColor4Matchtyp(lineup.getMatchType()), true);
return createIntegerTableEntry(CurrencyUtils.convertCurrency(lineup.getSalarySum()), MatchesColumnModel.getColor4Matchtyp(lineup.getMatchType()), true);
}
},
new RecapUserColumn("ls.team.numhomegrown", 50) {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* Restore size of match prediction dialog box (#1898)
* Improve layout of Team Analyzer a bit, add option to hide Special Events, and add info about selected team (#2020)
* Fix Home/Away setup in Simulator panel (#1885)
* Fix currency error in total salary column (#2059)

### Rating
* Implement schum rating prediction (#1782)
Expand Down

0 comments on commit 53f0d82

Please sign in to comment.