Topic: Invoice:Figures to Words , previous code not working in version 2.4.17
Kindly help the previous code give to solve the problem of changing figures to words in invoices is no longer working in version 2.4.17 ,. Please help with new code.
This code works for versions 2.4.16 and below
From
if (!($document == ST_SUPPAYMENT || $document == ST_CUSTPAYMENT || $document == ST_CHEQUE))
To
if (!($document == ST_SUPPAYMENT || $document == ST_CUSTPAYMENT || $document == ST_CHEQUE || $document == ST_SALESINVOICE))
is not working any more>>
Any new suggestions on the code?