Open jrchoo opened 9 months ago
Duplicate of #2734 since it's the same bug
[The team marked this bug as a duplicate of the following bug]
Can pay $0 to someone
It may be redundant to be able to pay someone $0.
[original: nus-cs2103-AY2324S1/pe-interim#2172] [original labels: type.FeatureFlaw severity.VeryLow]
[This is the team's response to the above 'original' bug]
Thanks for the bug report! My interpretation of your bug report is that you think it's redundant to be able to record a payment of $0 (either through the pay or owe command), and a possible new enhancement for this bug is that we could add an error or warning message when someone uses pay/owe for $0 stating that no transaction is recorded.
If that's the case, I think that's fair and makes sense as a bugfix to ease user confusion. We agree with your assessment that it is a Feature Flaw since this is not a feature we thought of implementing. We agree with your assessment that it is severity.VeryLow since it is purely cosmetic and does not affect usage -- trying to pay or owe $0 does in fact have the same outcome as implementing the new warning message, which is that the contact's balance changes by 0.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Not really sure why it is possible to key in 0.00 for pay.