You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simple vouchers page allows a user to create a transaction using the same accounts as both the "to" and "from" field. While it's technically not wrong, I can see it leading to a lot of useless transactions where the user made an incorrect choice and didn't realize it.
Steps to Reproduce
Navigate to vouchers/simple
Input any valid values for the description, type, date, and value fields.
Choose the same two accounts for the "To" and "From" ui-selects.
Submit
Expected Result
An error message stating that the same accounts were duplicated.
Actual Result
A successful Journal Voucher payment.
The text was updated successfully, but these errors were encountered:
This commit disables the title accounts on all voucher pages. The title
accounts are still shown, but are disabled by checking the TITLE
bhConstant value.
It also does not allow a user to use the same account twice in a simple
voucher, as this would lead to an invalid transaction.
ClosesIMA-WorldHealth#884. ClosesIMA-WorldHealth#896.
This commit disables the title accounts on all voucher pages. The title
accounts are still shown, but are disabled by checking the TITLE
bhConstant value.
It also does not allow a user to use the same account twice in a simple
voucher, as this would lead to an invalid transaction.
ClosesIMA-WorldHealth#884. ClosesIMA-WorldHealth#896.
jniles
pushed a commit
to jniles/bhima
that referenced
this issue
Nov 18, 2016
This commit disables the title accounts on all voucher pages. The title
accounts are still shown, but are disabled by checking the TITLE
bhConstant value.
It also does not allow a user to use the same account twice in a simple
voucher, as this would lead to an invalid transaction.
ClosesIMA-WorldHealth#884. ClosesIMA-WorldHealth#896.
This commit disables the title accounts on all voucher pages. The title
accounts are still shown, but are disabled by checking the TITLE
bhConstant value.
It also does not allow a user to use the same account twice in a simple
voucher, as this would lead to an invalid transaction.
Closes#884. Closes#896.
The simple vouchers page allows a user to create a transaction using the same accounts as both the "to" and "from" field. While it's technically not wrong, I can see it leading to a lot of useless transactions where the user made an incorrect choice and didn't realize it.
Steps to Reproduce
vouchers/simple
Expected Result
An error message stating that the same accounts were duplicated.
Actual Result
A successful Journal Voucher payment.
The text was updated successfully, but these errors were encountered: