web-app
web-app copied to clipboard
Savings Product - Edit Product - Accounting - Previously saved accounts are not pre-selected in the drop-downs
Description
When opening a Savings Product for edit, the Accounting related fields are not pre-filled with the previously saved values.
Steps to Reproduce
- Have GL accounts created of each type (Asset, Liability, Income, Expense) on Accounting / Chart of Accounts. Set "DETAIL" as Account Usage. Have unique GL code for each (does not matter, what number, just unique in the system). Account name is irrelevant, just remember it for step 3.
- Have a Fee and a Penalty typed Charge created on Admin / Products / Charges. (They will be needed for Advanced Accounting Rules)
- Create a Savings product on Admin / Products / Savings Products. Details are irrelevant, just fill the mandatory fields with random values. Only important: on Accounting screen set the radio button to "Cash", and select a GL account in every dropdown, including Advanced Accounting Rules.
- Save the product.
- On Admin / Products / Savings Products click on the product. On the opening details view, in the Accounting section, the saved accounting rules can be seen. So far it is OK.
- Open the product for edit, with clicking the Edit button, and navigate to the "Accounting" view.
Expected Behaviour
The previously saved accounts should be pre-selected in the drop-downs of the accounts.
Actual Behaviour
The "Cash" radio button is correctly selected, but none of the drop-downs have the previously saved accounts. Neither the Advanced Accounting Rules
Settings
- Mifos X version: according to the UI: Version 0.0.0 :) This might be a bug also... It is reproducible with the commit hash 6e973dd50aba148edc26e7b8e6bb2433c1522b71
- Browser used: Chrome Version 103.0.5060.114 (Official Build) (x86_64)
Screenshots, if any