Post by kestas » Fri Oct 29, 2010 7:42 pm

Hello,
I need in printed invoice amount in words with currency.
how to convert digits to words and include into the invoice?
for example:
Total:USD261.20
Total in words: two hundred sixty one US Dollars and twenty cents.


Somebody can help?


Thank you

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by kedgetech » Sat Oct 30, 2010 5:00 am

Did not test it out but looks promising refer this. Need some work i suppose.
http://articles.techrepublic.com.com/51 ... 93528.html

User avatar
Active Member

Posts

Joined
Mon Mar 22, 2010 5:20 pm
Location - USA, Australia, India

Post by olka » Tue Dec 14, 2010 4:30 pm

Hi,

I would like to have help with this question. I need to make custom invoice form, is there somebody willing to help me or where can I buy this kind of service. My e-mail is oliver@aage.ee

Newbie

Posts

Joined
Tue Dec 14, 2010 4:26 pm

Post by kestas » Thu Jan 27, 2011 11:29 pm

Hi,

I found the simple php script and now have invoice with amount in words.
Seems work fine if print only one invoice at once. But if I need to print few invoices at once I get
Fatal error: Cannot redeclare nb_to_words() (previously declared in /mounted-storage/.../numbtowords.php:2) in /mounted-storage/.../numbtowords.php on line ***
How I call nubtowords.php ?...
I put in order_invoice.tpl this string:
<?php include("numbtowords.php"); ?>
When I change this string into <?php include_once("numbtowords.php"); ?> only one invoice are printed with amount in words.
How to solve this little problem?

thank you.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by Dazzas » Tue Mar 01, 2011 12:34 am

Hi, need this too.. kestas what script do you use?
I tryed what kedgetech suggested but no luck.. Script works, but i do not know how to make it work with opencart..

Newbie

Posts

Joined
Tue Mar 01, 2011 12:13 am

Post by kestas » Tue Mar 01, 2011 4:05 pm

Dazzas wrote:Hi, need this too.. kestas what script do you use?
I tryed what kedgetech suggested but no luck.. Script works, but i do not know how to make it work with opencart..
Hi I write to you PM

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by kestas » Tue Oct 11, 2016 7:54 pm

Hi again...

I have this plugin "invoice with amont in words" a long time ago. Now I have modified to OC version 2.x.x This module can be used for multilanguage sites like a Lithuanian English even adapted for Russian.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by prof.yok » Mon May 27, 2019 6:14 pm

kestas wrote:
Tue Oct 11, 2016 7:54 pm
Hi again...

I have this plugin "invoice with amont in words" a long time ago. Now I have modified to OC version 2.x.x This module can be used for multilanguage sites like a Lithuanian English even adapted for Russian.
Do you have for version 3.x? if you have please upload to marketplace because i didn't found any of those. Thanks

Newbie

Posts

Joined
Sun May 26, 2019 10:06 pm

Post by kestas » Mon May 27, 2019 11:48 pm

I not have for OC 3.0.x yet.
Please check your PM and we can discus regarding this.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am
Who is online

Users browsing this forum: No registered users and 8 guests