Description
Correctly obtain the invoices for each type of user plan (business/individual). If the user wants the business ones, then we will show the invoices for the business subscriptions the user has, otherwise we will show the invoices for the lifetime and individual subscriptions. Each of the invoices will be displayed in the appropriate section (Account or Workspace).
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
How Has This Been Tested?
Go to Settings > in Account options, select Billing > all individual invoices the user has (subscriptions and lifetimes) will be displayed.
Go to the Workspace > go to Settings > in Workspace options, select Billing > all business invoices the user has will be displayed.