| Author |
Message |
|
popsicles1
|
Post subject: Creating a Receipt for customer Posted: Tue Apr 17, 2012 6:05 am |
|
Joined: Mon Dec 14, 2009 5:47 am Posts: 99
|
|
Hello Dave, How do I create a receipt for a customer that has paid for a product. Is it possible to create the receipt form in the following format?
Date:
Received From: Amount in words with the default currency Being payment for:
Payment method:
If yes kindly tell me how to do it.
thanks so much
popsicles1
|
|
 |
|
 |
|
alvin
|
Post subject: Re: Creating a Receipt for customer Posted: Tue Apr 17, 2012 7:53 am |
|
Joined: Wed Nov 21, 2007 10:30 am Posts: 569
|
|
You want the amount paid written out in words like we used to do on the old bank checks?
_________________ Alvin
|
|
 |
|
 |
|
rulola
|
Post subject: Re: Creating a Receipt for customer Posted: Tue Apr 17, 2012 9:51 am |
|
Joined: Fri Aug 28, 2009 8:50 am Posts: 186 Location: Miami, FL
|
|
This is one way:
Copy your invoice form Edit the copied form Select-> Field Setup tab Press properties icon for Data - Payment Rcvd Under Processing heading, Select->Number to words Enlarge corresponding box so the text fits. Make other changes to the format Save To print, choose this form instead of your usual form
_________________ Ruben.
|
|
 |
|
 |
|
popsicles1
|
Post subject: Re: Creating a Receipt for customer Posted: Fri Apr 20, 2012 6:56 am |
|
Joined: Mon Dec 14, 2009 5:47 am Posts: 99
|
|
Hello Reuben,
Thanks for the answers. My greatest challenge is that when i change from numbers to words, the currency that comes with it is US dollars. I want it in my own default currency, eg. Euro or pounds sterling. How do I make my default currency show in this number to word change.
Thanks.
Popsicles1
|
|
 |
|
 |
|
rulola
|
Post subject: Re: Creating a Receipt for customer Posted: Fri Apr 20, 2012 9:40 am |
|
Joined: Fri Aug 28, 2009 8:50 am Posts: 186 Location: Miami, FL
|
|
The currency name in the numbers to words processing is hardwired to the default currency. If your default currency is the Euro you can change the corresponding define or create an override.
Change define('TEXT_DOLLARS','Dollars'); to define('TEXT_DOLLARS','Euros');
Path: /modules/phreeform/language/en_us/language.php
Enclosed is the file to override TEXT_DOLLARS from Dollars to Euros as well as a modified invoice that spells out the amount received. The form CurrencyReceipt.xml has to be imported from the phreebooks module. Both files are in en_us language folders.
_________________ Ruben.
|
|
 |
|
 |
|
dave
|
Post subject: Re: Creating a Receipt for customer Posted: Tue May 01, 2012 5:38 pm |
|
Joined: Fri Oct 26, 2007 3:55 pm Posts: 3498 Location: Colorado, US
|
|
Thanks Ruben, the number to words function is more of a locale type operation. I don't know how to handle it as I'm sure every language formats the wording differently. It really should be a function located in the language directory but then I would need to have a php programmed assist on every translation.
Dave
|
|
 |
|
 |
|