ajency / cashflow-issue-tracker

Issue Tracker for issues
0 stars 1 forks source link

BUG - The "balance" field in " Bill " request seems inappropriate for end user to fill in. If "amount" and "balance" are a mismatch, kibana shows "amount" value in balance field #827

Closed HazelColaco19 closed 4 years ago

HazelColaco19 commented 4 years ago

Describe the bug

The "balance" field in " Bill " request seems inappropriate for end user to fill in. If "amount" and "balance" are a mismatch, kibana shows "amount" value in balance field

Request passed: image

kibana: image

Expected:

Do not allow the end user to add the balance. This should be calculated or assumed by the system. If its a bill, assume the initial bill creation amount as balance. Handle this for Update too.

If its a bill payment, deduct the balance accordingly.

legred21 commented 4 years ago

balance field removed from bill request. Balance is updated while processing bill payments

HazelColaco19 commented 4 years ago

Fixed in request