Skip to content

Fix print selected statement validation#1699

Open
Aishwarya-kamkar09 wants to merge 2 commits intoLibreHealthIO:masterfrom
Aishwarya-kamkar09:fix-print-selected-statement-validation
Open

Fix print selected statement validation#1699
Aishwarya-kamkar09 wants to merge 2 commits intoLibreHealthIO:masterfrom
Aishwarya-kamkar09:fix-print-selected-statement-validation

Conversation

@Aishwarya-kamkar09
Copy link
Copy Markdown

#1458
Problem
In the Billing → Payments module, clicking "Print Selected Statement" with all search fields empty results in incorrect behavior instead of prompting the user.

Solution
Added proper backend validation to ensure at least one search filter is provided before executing the query.

Impact

  • Prevents empty or unintended queries
  • Improves user experience
  • Aligns behavior with expected workflow

Testing
Tested locally by attempting to print a selected statement with empty and non-empty search fields.

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