Skip to content

plans: remove the built-in 35 percent discount - #4201

Merged
BaseMax merged 1 commit into
mainfrom
fix/plans-no-discount
Nov 24, 2026
Merged

BaseMax merged 1 commit into
mainfrom
fix/plans-no-discount

Conversation

@BaseMax

@BaseMax BaseMax commented Nov 24, 2026

Copy link
Copy Markdown
Member

The server added 35 percent to every plan with no discount set and the plans page showed a fixed 35 percent badge. The sale price now comes only from each option's own discount, the badges show the real percentage only when there is one, and the default plan options have no discount. The options table inputs in the admin plan form now look like the other fields.

…inus the plan's own discount; the plan options table inputs get the form field look
@BaseMax
BaseMax requested a review from a team as a code owner November 24, 2026 18:10
@BaseMax
BaseMax merged commit 93c74a9 into main Nov 24, 2026
@BaseMax
BaseMax deleted the fix/plans-no-discount branch November 24, 2026 18:10
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89fad5b2-8642-4252-85ab-a082cc5f9eb3
Commits

Reviewing files that changed from the base of the PR and between fdb4fdb and 3be4b62.

Files selected for processing: 3

  • ai/backend/billing.salam
  • ai/frontend/src/Plans.tsx
  • ai/frontend/src/styles.css
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant