Skip to content

Commit

Permalink
enterprises: better finances currency handling (fixes #7336) (#7338)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Mutugiii and dogi committed Nov 23, 2023
1 parent 32b4285 commit 5acb9a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.13.81",
"version": "0.13.82",
"myplanet": {
"latest": "v0.11.55",
"min": "v0.11.30"
"latest": "v0.11.56",
"min": "v0.11.31"
},
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/app/teams/teams-reports-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class TeamsReportsDetailComponent implements OnChanges {
income: number;
net: number;
endingBalance: number;
curCode = this.stateService.configuration.currency || undefined;
curCode = this.stateService.configuration.currency || '';

constructor(
private stateService: StateService
Expand Down
2 changes: 1 addition & 1 deletion src/app/teams/teams-view-finances.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class TeamsViewFinancesComponent implements OnInit, OnChanges {
endDate: Date;
emptyTable = true;
showBalanceWarning = false;
curCode = this.stateService.configuration.currency || undefined;
curCode = this.stateService.configuration.currency || '';

constructor(
private teamsService: TeamsService,
Expand Down

0 comments on commit 5acb9a6

Please sign in to comment.