Skip to content

fix(invoice-preview): Ensure that plan lookup uses only parent plans #4091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 4, 2025

Conversation

floganz
Copy link
Contributor

@floganz floganz commented Aug 4, 2025

Context

When we look for a plan by code it possible to find children plan, which share the same code as parent. For invoice preview that creates an issue as it could pick up child plan which is not visible anywhere in the UI and be confusing for users when they got different values from visible parent plans.

Description

Ensure that we look for a plan only within parent plans when using invoice preview feature.

@floganz floganz self-assigned this Aug 4, 2025
@floganz floganz force-pushed the fix-invoice-preview-plan-lookup branch from 417b233 to 44e6e86 Compare August 4, 2025 08:01
@floganz floganz merged commit 12775d4 into main Aug 4, 2025
14 checks passed
@floganz floganz deleted the fix-invoice-preview-plan-lookup branch August 4, 2025 08:42
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.

2 participants