Skip to content

Where this file lives

  • This path (docs/membership/membership-plan-create-defaults.md) is inside the rakletv3 repo for easy reference during review and maintenance.
  • This document describes the current implemented defaults for the manager membership plan create screen.

Membership Plan Create Defaults

Generated: 2026-04-17 Repo: rakletadmin/rakletv3 Focus: Manager UI defaults on #/manager/membership/plans/create

Purpose

Keep the new-plan form predictable so managers start from the expected recurring-plan configuration without manually setting the same values on every create.

Current defaults

When MembershipPlanEditController initializes in create mode, the Plan model starts with:

Field Default
CanPublicApply true
CanSocialNetworkApply true
PaymentFailAction 0 (Leave subscription as is)
ColorsInheritedFromDigitalCardSettings true
GroupMembershipPriceType 2 (Charge per sub member)

Source: membership-plan-edit.controller.js

When a manager changes Data.Plan.MembershipFee from free/empty to a value greater than zero during create mode:

  • Data.Plan.RenewalInterval is set to 1 if it is empty or non-positive.
  • Data.Plan.MembershipFeeInterval is set to 2 (Months) if it is null/undefined/0.

This happens only on the transition from free to paid in create mode. It does not run on edit screens, and it does not overwrite later user choices once the plan is already in a paid state.

QA checklist

  • Open #/manager/membership/plans/create.
  • Confirm Is visible on application form? starts enabled.
  • Confirm Is visible on membership page? starts enabled.
  • Confirm If Not Paid starts as Leave subscription as is.
  • Enter a positive Membership Fee on a fresh plan.
  • Confirm Interval defaults to 1 Months.