Expanded plan response and used provider portal seat pricing in create client component (#9753)
This commit is contained in:
parent
fa1a6359bc
commit
b2030d957d
|
@ -109,14 +109,14 @@ export class CreateClientDialogComponent implements OnInit {
|
||||||
this.planCards = [
|
this.planCards = [
|
||||||
{
|
{
|
||||||
name: this.i18nService.t("planNameTeams"),
|
name: this.i18nService.t("planNameTeams"),
|
||||||
cost: teamsPlan.PasswordManager.seatPrice * 0.65, // 35% off for MSPs,
|
cost: teamsPlan.PasswordManager.providerPortalSeatPrice * 0.65, // 35% off for MSPs,
|
||||||
type: teamsPlan.type,
|
type: teamsPlan.type,
|
||||||
plan: teamsPlan,
|
plan: teamsPlan,
|
||||||
selected: true,
|
selected: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: this.i18nService.t("planNameEnterprise"),
|
name: this.i18nService.t("planNameEnterprise"),
|
||||||
cost: enterprisePlan.PasswordManager.seatPrice * 0.65, // 35% off for MSPs,
|
cost: enterprisePlan.PasswordManager.providerPortalSeatPrice * 0.65, // 35% off for MSPs,
|
||||||
type: enterprisePlan.type,
|
type: enterprisePlan.type,
|
||||||
plan: enterprisePlan,
|
plan: enterprisePlan,
|
||||||
selected: false,
|
selected: false,
|
||||||
|
|
|
@ -110,9 +110,11 @@ export class PasswordManagerPlanFeaturesResponse extends BaseResponse {
|
||||||
// Seats
|
// Seats
|
||||||
stripePlanId: string;
|
stripePlanId: string;
|
||||||
stripeSeatPlanId: string;
|
stripeSeatPlanId: string;
|
||||||
|
stripeProviderPortalSeatPlanId: string;
|
||||||
stripePremiumAccessPlanId: string;
|
stripePremiumAccessPlanId: string;
|
||||||
basePrice: number;
|
basePrice: number;
|
||||||
seatPrice: number;
|
seatPrice: number;
|
||||||
|
providerPortalSeatPrice: number;
|
||||||
premiumAccessOptionPrice: number;
|
premiumAccessOptionPrice: number;
|
||||||
baseSeats: number;
|
baseSeats: number;
|
||||||
maxAdditionalSeats: number;
|
maxAdditionalSeats: number;
|
||||||
|
@ -134,10 +136,14 @@ export class PasswordManagerPlanFeaturesResponse extends BaseResponse {
|
||||||
super(response);
|
super(response);
|
||||||
this.stripePlanId = this.getResponseProperty("StripePlanId");
|
this.stripePlanId = this.getResponseProperty("StripePlanId");
|
||||||
this.stripeSeatPlanId = this.getResponseProperty("StripeSeatPlanId");
|
this.stripeSeatPlanId = this.getResponseProperty("StripeSeatPlanId");
|
||||||
|
this.stripeProviderPortalSeatPlanId = this.getResponseProperty(
|
||||||
|
"StripeProviderPortalSeatPlanId",
|
||||||
|
);
|
||||||
this.stripeStoragePlanId = this.getResponseProperty("StripeStoragePlanId");
|
this.stripeStoragePlanId = this.getResponseProperty("StripeStoragePlanId");
|
||||||
this.stripePremiumAccessPlanId = this.getResponseProperty("StripePremiumAccessPlanId");
|
this.stripePremiumAccessPlanId = this.getResponseProperty("StripePremiumAccessPlanId");
|
||||||
this.basePrice = this.getResponseProperty("BasePrice");
|
this.basePrice = this.getResponseProperty("BasePrice");
|
||||||
this.seatPrice = this.getResponseProperty("SeatPrice");
|
this.seatPrice = this.getResponseProperty("SeatPrice");
|
||||||
|
this.providerPortalSeatPrice = this.getResponseProperty("ProviderPortalSeatPrice");
|
||||||
this.baseSeats = this.getResponseProperty("BaseSeats");
|
this.baseSeats = this.getResponseProperty("BaseSeats");
|
||||||
this.maxAdditionalSeats = this.getResponseProperty("MaxAdditionalSeats");
|
this.maxAdditionalSeats = this.getResponseProperty("MaxAdditionalSeats");
|
||||||
this.premiumAccessOptionPrice = this.getResponseProperty("PremiumAccessOptionPrice");
|
this.premiumAccessOptionPrice = this.getResponseProperty("PremiumAccessOptionPrice");
|
||||||
|
|
Loading…
Reference in New Issue