-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PC-32278)[PRO] feat: cover no venue selection case in income page - …
…TESTS BREAK
- Loading branch information
1 parent
0795146
commit 2e95101
Showing
11 changed files
with
295 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import { StatisticsModel } from "apiClient/v1"; | ||
|
||
export const statisticsFactory = (): StatisticsModel => { | ||
return { | ||
incomeByYear: { | ||
'2020': {}, | ||
'2021': { | ||
revenue: { | ||
total: 0, | ||
individual: 0, | ||
collective: 0, | ||
}, | ||
expectedRevenue: { | ||
total: 0, | ||
individual: 0, | ||
collective: 0, | ||
}, | ||
}, | ||
'2022': { | ||
expectedRevenue: { | ||
total: 0, | ||
individual: 0, | ||
collective: 0, | ||
}, | ||
revenue: { | ||
total: 2000.27, | ||
individual: 2000, | ||
collective: 0, | ||
}, | ||
}, | ||
'2023': { | ||
expectedRevenue: { | ||
total: 0, | ||
individual: 0, | ||
collective: 0, | ||
}, | ||
revenue: { | ||
total: 3000, | ||
individual: 1500, | ||
collective: 1500, | ||
}, | ||
}, | ||
'2024': { | ||
revenue: { | ||
total: 4000, | ||
individual: 2000, | ||
collective: 2000, | ||
}, | ||
expectedRevenue: { | ||
total: 5000, | ||
individual: 2500, | ||
collective: 2500, | ||
}, | ||
}, | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.