Register    Login    Forum    Search    FAQ

Board index » General Usage » Receivables




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Creating a Receipt for customer
 Post Posted: Tue Apr 17, 2012 6:05 am 
Offline

Joined: Mon Dec 14, 2009 5:47 am
Posts: 101
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


Top 
 Profile  
 
 Post subject: Re: Creating a Receipt for customer
 Post Posted: Tue Apr 17, 2012 7:53 am 
Offline

Joined: Wed Nov 21, 2007 10:30 am
Posts: 571
You want the amount paid written out in words like we used to do on the old bank checks?

_________________
Alvin


Top 
 Profile  
 
 Post subject: Re: Creating a Receipt for customer
 Post Posted: Tue Apr 17, 2012 9:51 am 
Offline

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.


Top 
 Profile  
 
 Post subject: Re: Creating a Receipt for customer
 Post Posted: Fri Apr 20, 2012 6:56 am 
Offline

Joined: Mon Dec 14, 2009 5:47 am
Posts: 101
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


Top 
 Profile  
 
 Post subject: Re: Creating a Receipt for customer
 Post Posted: Fri Apr 20, 2012 9:40 am 
Offline

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.


Attachments:
phreedom.zip [3.37 KiB]
Downloaded 26 times

_________________
Ruben.
Top 
 Profile  
 
 Post subject: Re: Creating a Receipt for customer
 Post Posted: Tue May 01, 2012 5:38 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
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


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 6 posts ] 

Board index » General Usage » Receivables


Who is online

Users browsing this forum: No registered users and 0 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron