[Vtigercrm-developers] account number in quote module (pdf export)
Sebastian Schmitzdorff
sebastian.schmitzdorff at hamburgnet.de
Sun Apr 19 10:34:47 PDT 2009
Hi,
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
http://trac.vtiger.com/svn/vtiger/vtigercrm/branches/5.1/.
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
modules/Quotes/pdf_templates/header.php
kind regards
Sebastian
-------------- 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