vtiger Forum Index vtiger
The Honest Open Source CRM
 

Edit PDF
Click here to go to the original topic

 
       vtiger Forum Index -> Feature Requests - 5.0.2
Previous topic :: Next topic  
Author Message
sharok



Joined: 23 Jun 2007
Posts: 17

Posted: Mon Nov 12, 2007 3:40 pm    Post subject: Edit PDF  

Hi all,

I've edited the PDF export file for sales order. I've changed "Quote Name" to "Sales Order" in header.php. I want to dedicate Salesorderid to this field. Could any one help me please on the steps of how to do the job?

thank you very much in advance,

Sharok
Back to top  
sharok



Joined: 23 Jun 2007
Posts: 17

Posted: Tue Nov 13, 2007 12:36 pm    Post subject: Edit PDF  

Hi All,

can any one help me on this, please. I'm really stuck!

many thanks
Back to top  
andyrav



Joined: 29 Mar 2006
Posts: 78

Posted: Wed Nov 14, 2007 1:37 pm    Post subject: Re: Edit PDF  

Should you not be editing the sales order PDF?
Back to top  
sharok



Joined: 23 Jun 2007
Posts: 17

Posted: Wed Nov 14, 2007 3:20 pm    Post subject: Re: Edit PDF  

Hi Andy,

As usual you are the best professional friend! I've changed the name From 'Quote Name' to 'Sales Order' but when I tell it to pickup salesorderid it just shows blank! it pickes up the other values such as sostatus. Any help will be gratefully received!
thanks a lot in advance,

Sharok
Back to top  
joebordes



Joined: 18 Aug 2006
Posts: 1100
Location: Alicante/Valencia, Spain

Posted: Wed Nov 14, 2007 4:47 pm    Post subject: Re: Edit PDF  

Hi,

modules/SalesOrder/CreateSOPDF.php

around line 35 you will find:
Code: if($focus->column_fields["quote_id"] != '')
   $quote_name = getQuoteName($focus->column_fields["quote_id"]);
else
   $quote_name = '';


right after this "if" add:

Code: $quote_name = $id;

so it ends up looking like this:

Code: if($focus->column_fields["quote_id"] != '')
   $quote_name = getQuoteName($focus->column_fields["quote_id"]);
else
   $quote_name = '';
$quote_name = $id;


Joe
TSolucio[/code]
Back to top  
sharok



Joined: 23 Jun 2007
Posts: 17

Posted: Wed Nov 14, 2007 5:14 pm    Post subject: Re: Edit PDF  

Thank you very much indeed, Joe. You've been of great help!
It worked a treat!

regards,

Sharok
Back to top  
 
       vtiger Forum Index -> Feature Requests - 5.0.2
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group