mirror of
https://github.com/bitwarden/server.git
synced 2026-06-13 00:47:35 -05:00
* [PM-37064] feat: Add ScheduleBusinessPriceIncrease scheduler entry point Extends PriceIncreaseScheduler (PM-32645) with a parallel entry point for Teams/Enterprise 2020 → current plan migrations under epic PM-35215. The business path consumes a cohort directly, preserves existing discounts, optionally appends the cohort's proactive coupon, and stamps ScheduledDate on the assignment row on success. Existing Schedule renames to SchedulePersonalPriceIncrease across four call sites; ResolvePhase2Async becomes private. Shared concerns extract into ActiveScheduleExistsAsync and CreateAndConfigureScheduleAsync helpers. ScheduleBusinessPriceIncrease has zero production callers — the UpcomingInvoiceHandler dispatcher branch lands in a follow-up. The new PM35215_BusinessPlanPriceMigration feature flag defaults off. * Address PR review: prevent orphan schedules and fix Release flag gate