Skip to content

Numberwords Currency #67

Open
Open
@KreativeKrise

Description

@KreativeKrise

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions