1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-02 16:43:19 +00:00

Update payment info (#1274)

* Added manual routing

* Add additional copy for free trial

* Revert

* Fix formatting

* Switch text to be on the top of the payment info

* Update to put text at top of the screen
This commit is contained in:
Justin Baur
2021-11-05 14:59:45 -04:00
committed by GitHub
parent e5f77e2c4e
commit b164a39abc
3 changed files with 13 additions and 17 deletions

View File

@@ -67,7 +67,6 @@ export class OrganizationPlansComponent implements OnInit {
productTypes = ProductType;
formPromise: Promise<any>;
singleOrgPolicyBlock: boolean = false;
freeTrial: boolean = false;
plans: PlanResponse[];
@@ -176,6 +175,10 @@ export class OrganizationPlansComponent implements OnInit {
return subTotal;
}
get freeTrial() {
return this.selectedPlan.trialPeriodDays != null;
}
get taxCharges() {
return this.taxComponent != null && this.taxComponent.taxRate != null ?
(this.taxComponent.taxRate / 100) * this.subtotal :
@@ -200,7 +203,6 @@ export class OrganizationPlansComponent implements OnInit {
this.selectedPlan.hasAdditionalSeatsOption) {
this.additionalSeats = 1;
}
this.freeTrial = this.selectedPlan.trialPeriodDays != null;
}
changedOwnedBusiness() {