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 module only ever returns the default currency from Dolibarr. It does not matter which currency I select in an invoice, for example.
I'm using dol_convertToWord($amount, $outputlangs, $object->multicurrency_code, true);.
But this method just calls $langs->getLabelFromNumber($num, $type); in the background.
This method does not recognize any currency, which is why the default currency is used.
So if the default Dolibarr method is not working, which method shall I use?
The text was updated successfully, but these errors were encountered:
The module only ever returns the default currency from Dolibarr. It does not matter which currency I select in an invoice, for example.
I'm using
dol_convertToWord($amount, $outputlangs, $object->multicurrency_code, true);
.But this method just calls
$langs->getLabelFromNumber($num, $type);
in the background.This method does not recognize any currency, which is why the default currency is used.
So if the default Dolibarr method is not working, which method shall I use?
The text was updated successfully, but these errors were encountered: