Skip to content
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

fix: remove default recipient address for correct advanced payments validation #4222

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

Nortsova
Copy link
Contributor

Description

The oneliner fix for Advanced Payment validation. When you upload CSV with an empty recipient address, our app sets a default address, and we can submit a form with default address. We want to show an error in case if recipient field is empty in CSV file.

Testing

Step 1. Download CSV:
expenditures_batch.14.csv

Step 2. Open Advanced Payments
Step 3. Upload file
Step 4. Submit form and verify that you can see an error "Recipient is required"

image

Resolves #3964

@Nortsova Nortsova requested a review from a team as a code owner January 31, 2025 13:57
Copy link
Contributor

@iamsamgibbs iamsamgibbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice simple fix, but a much better experience!

On this PR:
Screenshot 2025-01-31 at 20 57 51

On master:
Screenshot 2025-01-31 at 20 59 22

Copy link
Contributor

@mmioana mmioana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bellissimo! Thanks for fixing this issue @Nortsova 🫶

Screenshot 2025-02-03 at 11 28 27

@Nortsova Nortsova self-assigned this Feb 3, 2025
Copy link
Member

@rdig rdig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and simple! Very nice!

@Nortsova Nortsova merged commit 2fab5af into master Feb 4, 2025
2 checks passed
@Nortsova Nortsova deleted the fix/3964-adv-payment-empty-field-csv branch February 4, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants