Ticket #41 (closed enhancement: fixed)
Converting number to letter
| Reported by: | dev@… | Owned by: | florian |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4 |
| Component: | pdf_generation | Version: | 0.2 |
| Keywords: | number to letter | Cc: |
Description
Hi,
I would like to get the general idea on how to implement a number to letter feature into phpaga's quotation and billing system, i tried to include a class into the billing plugin, that add's a new row in my quotation but it only shows zero and not the number in letter, I think that it is because of a filtering somewhere and I can't figure out where to find that or if there is a bette and cleaner way to do it
I added that to my moded bill plugin
include_once(PHPAGA_LIBPATH."chiffreEnLettre.php"); // the number to letter class
and at the end of the file
//hack chiffre en lettre
$lettre=new ChiffreEnLettre();
$lettre->Conversion($endsum);
$details->add_separator ();
$details->add_detail ("Arrete la presente a : ", $lettre);
// fin chiffre en lettre
return PHPAGA_ERR_NONE;
Regards
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
