+
{{ "organizationName" | i18n }}
@@ -15,18 +15,24 @@
{{ "billingEmail" | i18n }}
-
-
-
{{ "accountOwnedBusiness" | i18n }}
-
-
- {{ "businessName" | i18n }}
-
+
+ {{ "clientOwnerEmail" | i18n }}
+
+
diff --git a/apps/web/src/app/modules/organizations/create/organization-information.component.ts b/apps/web/src/app/modules/organizations/create/organization-information.component.ts
index 5d35f6df8a..bd59a472ed 100644
--- a/apps/web/src/app/modules/organizations/create/organization-information.component.ts
+++ b/apps/web/src/app/modules/organizations/create/organization-information.component.ts
@@ -7,6 +7,9 @@ import { FormGroup } from "@angular/forms";
})
export class OrganizationInformationComponent {
@Input() nameOnly = false;
+ @Input() createOrganization = true;
+ @Input() isProvider = false;
+ @Input() acceptingSponsorship = false;
@Input() formGroup: FormGroup;
@Output() changedBusinessOwned = new EventEmitter
();
}
diff --git a/apps/web/src/app/settings/organization-plans.component.html b/apps/web/src/app/settings/organization-plans.component.html
index 4fe4c3263e..827554ea53 100644
--- a/apps/web/src/app/settings/organization-plans.component.html
+++ b/apps/web/src/app/settings/organization-plans.component.html
@@ -34,6 +34,9 @@
{{ "chooseYourPlan" | i18n }}
diff --git a/apps/web/src/app/settings/organization-plans.component.ts b/apps/web/src/app/settings/organization-plans.component.ts
index 72086a4d42..c894e3a2da 100644
--- a/apps/web/src/app/settings/organization-plans.component.ts
+++ b/apps/web/src/app/settings/organization-plans.component.ts
@@ -58,7 +58,7 @@ export class OrganizationPlansComponent implements OnInit {
premiumAccessAddon: [false],
additionalStorage: [0, [Validators.min(0), Validators.max(99)]],
additionalSeats: [0, [Validators.min(0), Validators.max(100000)]],
- clientOwnerEmail: [""],
+ clientOwnerEmail: ["", [Validators.email]],
businessName: [""],
plan: [this.plan],
product: [this.product],
@@ -96,6 +96,11 @@ export class OrganizationPlansComponent implements OnInit {
this.changedOwnedBusiness();
}
+ if (!this.createOrganization) {
+ this.formGroup.controls.product.setValue(ProductType.Families);
+ this.changedProduct();
+ }
+
this.loading = false;
}