Results 1 to 4 of 4

Thread: Print to PDF for Quotes

  1. #1
    tanglin is offline Junior Member
    Join Date
    Jan 2011
    Posts
    4

    Arrow Print to PDF for Quotes

    How can I edit/manage the "print to PDF" function for quotes before I generate the PDF? I want to be able to include or exclude specific fields from appearing in the printed PDF quote.

    I recently went to ADMIN - STUDIO (under developer tools) - QUOTES - LAYOUTS - EDIT VIEW to add a new Row (a field titled FOB) under Quote Overview. This was done so that I could edit the field for FOB in any quotes. When I go "print to PDF" in a quote, this field is not showing up in the PDF after it has printed.

    Any way to fix this issue?


    My information:

    Sugar Version 6.0.3
    Sugar Professional
    Category: edit/manage quote fields before "print to pdf"
    OS: Windows 7

    Thank you,
    Tim

  2. #2
    blak3r's Avatar
    blak3r is offline Sugar Community Member
    Join Date
    Sep 2010
    Location
    Maryland
    Posts
    240

    Default Re: Print to PDF for Quotes

    I'm not aware of anyway to modify the quote templates in a upgrade safe way.

    The only way I have found is to edit the /modules/quotes/layouts/Standard.php and Invoice.php files directly. I was able to add terms and conditions to the bottom of our quotes by learning the TCPDF api and adding it towards the end.

    I'm interested to hear from others about a better way to do this if there is one.
    Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)

    My SugarForge Projects:
    Email To Sugar - Archive emails in any mail client by adding a BCC line.
    Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date

    www.blakerobertson.com

  3. #3
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: Print to PDF for Quotes

    My experience is the same. If you using ezPDF engine you need to modify quotes/layouts/standard or invoice.php

    Only upgrade safe way i was able to find is to redefine in a file in modules/quotes/ where you layouts are but apart from that i changed original.

    tcpdf engine layout files are located in quotes/pdf.layouts or something like that. You will know becouse they have commands like writeHTML etc.
    CRM Software Engineer
    Eontek - www.eontek.rs

  4. #4
    tanglin is offline Junior Member
    Join Date
    Jan 2011
    Posts
    4

    Default Re: Print to PDF for Quotes

    Thanks for the advice blak3r and eitrix. I will look into these suggestions and see if it works out.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2006-10-08, 03:52 AM
  2. Replies: 1
    Last Post: 2005-01-03, 11:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •