mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
Remove the VAT field for family plan (#16098)
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
<h2 class="tw-mb-3 tw-text-base tw-font-semibold">{{ "paymentType" | i18n }}</h2>
|
||||
<app-payment [showAccountCredit]="false"></app-payment>
|
||||
<app-manage-tax-information
|
||||
[showTaxIdField]="showTaxIdField"
|
||||
(taxInformationChanged)="onTaxInformationChanged()"
|
||||
></app-manage-tax-information>
|
||||
|
||||
|
||||
@@ -259,6 +259,15 @@ export class TrialBillingStepComponent implements OnInit, OnDestroy {
|
||||
return planType ? this.applicablePlans.find((plan) => plan.type === planType) : null;
|
||||
}
|
||||
|
||||
protected get showTaxIdField(): boolean {
|
||||
switch (this.organizationInfo.type) {
|
||||
case ProductTierType.Families:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
private getBillingInformationFromTaxInfoComponent(): BillingInformation {
|
||||
return {
|
||||
postalCode: this.taxInfoComponent.getTaxInformation()?.postalCode,
|
||||
|
||||
Reference in New Issue
Block a user