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

user is not able make transfer transaction withing same account #130

Conversation

MHamzaBham
Copy link
Contributor

No description provided.

@MHamzaBham MHamzaBham requested a review from mjawaids December 15, 2024 13:58
const srcAccountDropdown = document.getElementById('src_account_id');
const destAccountDropdown = document.getElementById('dest_account_id');

srcAccountDropdown.addEventListener('change', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I haven't tested it yet but it seems if user has accounts CASH, BANK, and MOBILE for example, and user selects CASH in source then it would be removed from destination account which is fine, but if user selects BANK in the destination account then it will be removed from the source account which is incorrect because what if user wants to change their selection in source account to BANK? They won't be able to do that easily. Removing only from destination would be sufficient and changing source would do the trick.

@mjawaids mjawaids merged commit cb7e52c into master Dec 18, 2024
3 checks passed
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