Open
Description
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?