clients/libs/pricing
cyprain-okeke 7989ad7b7c
[PM-26682] [Milestone 2d] Display discount on subscription page (#17229)
* The discount badge implementation

* Use existing flag

* Added the top spaces as requested

* refactor: move discount-badge to pricing library and consolidate discount classes

* fix: add CommonModule import to discount-badge component and simplify discounted amount calculation

- Add CommonModule import to discount-badge component for *ngIf directive
- Simplify discountedSubscriptionAmount to use upcomingInvoice.amount from server instead of manual calculation

* Fix the lint errors

* Story update

---------

Co-authored-by: Alex Morask <amorask@bitwarden.com>
2025-11-12 20:38:13 +01:00
..
src [PM-26682] [Milestone 2d] Display discount on subscription page (#17229) 2025-11-12 20:38:13 +01:00
jest.config.js Billing/pm 23385 premium modal in web after registration (#16182) 2025-09-04 14:44:04 +00:00
package.json Billing/pm 23385 premium modal in web after registration (#16182) 2025-09-04 14:44:04 +00:00
project.json Billing/pm 24996/implement upgrade from free dialog (#16470) 2025-10-08 10:20:15 -04:00
README.md Billing/pm 23385 premium modal in web after registration (#16182) 2025-09-04 14:44:04 +00:00
test.setup.ts Billing/pm 23385 premium modal in web after registration (#16182) 2025-09-04 14:44:04 +00:00
tsconfig.json Billing/pm 24996/implement upgrade from free dialog (#16470) 2025-10-08 10:20:15 -04:00
tsconfig.lib.json Billing/pm 23385 premium modal in web after registration (#16182) 2025-09-04 14:44:04 +00:00
tsconfig.spec.json Billing/pm 23385 premium modal in web after registration (#16182) 2025-09-04 14:44:04 +00:00

pricing

Owned by: billing

Components and services that facilitate the retrieval and display of Bitwarden's pricing.