mifos-mobile icon indicating copy to clipboard operation
mifos-mobile copied to clipboard

some currencies are not visible in the accounts section

Open PratyushSingh07 opened this issue 2 years ago • 6 comments
trafficstars

Summary:

  • some currencies are not visible in the accounts section namely in the saving and loan section

Steps to reproduce:

  • open the accounts section in the home screen

Expected behaviour:

  • currency should have been visible for all of the transacitons

Observed behaviour:

Device and Android version:

Device: Pixel 7 Android : 14

PratyushSingh07 avatar Nov 04 '23 06:11 PratyushSingh07

Hey @PratyushSingh07 i want to work on this, Please assign me this.

sebesti0n avatar Nov 04 '23 11:11 sebesti0n

yes you can work on it @sebesti0n . Before working on it please make sure if this issue is backend related or the error is due to a bug in the front end

PratyushSingh07 avatar Nov 04 '23 14:11 PratyushSingh07

hey @PratyushSingh07 i think this issue is backend related

savingAccount Screenshot 2023-11-17 230910

SavingAccount Screenshot 2023-11-17 230540

for loanAccount displaySymbol property is not set in loanaccountListAdapter

vyom198 avatar Nov 17 '23 18:11 vyom198

@vyom198 , are you working on this?

rohit9625 avatar Jan 09 '24 12:01 rohit9625

@vyom198 , are you working on this?

no , you can work on this but i think it is backend related

vyom198 avatar Jan 10 '24 13:01 vyom198

@sebesti0n , are you working on this?

kapmaurya avatar Feb 14 '24 15:02 kapmaurya

hi @PratyushSingh07, I will be working on this. Appreciate it if you can assign this to me

AbrahamOsmondE avatar Mar 29 '24 16:03 AbrahamOsmondE

Re assigned due to inactivity

PratyushSingh07 avatar Mar 29 '24 16:03 PratyushSingh07

The list of currencies is taken from a database table, whose implementation differs from tenant to tenant. The default currency list and properties can be found here

It seems that MySQL does not support some of these currency symbols (source), causing displaySymbol to be null for some currencies.

We should instead implement a fallback for these cases

AbrahamOsmondE avatar Mar 29 '24 17:03 AbrahamOsmondE