[Vtigercrm-developers] account number in quote module (pdf export)

Sebastian Schmitzdorff sebastian.schmitzdorff at hamburgnet.de
Sun Apr 19 10:34:47 PDT 2009


while playing with 5.1 val1 I noticed the following.

When exporting a Quote to PDF it uses the $account_id variable for the 
account number.

I expected it to print the account_no field from the account table instead.

I wrote attached patch to add a new $account_no variable.
The patch is created using todays svn checkout from 

1.) add function getAccountNumber to include/utils/CommonUtils.php
2.) add $account_no variable include/InventoryPDF.php for invoice, quote 
and sales order.
3.) replace $account_id with $account_no in 

kind regards

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: accountno.patch
Url: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20090419/f4468211/attachment-0003.pl 

More information about the vtigercrm-developers mailing list