Results 1 to 2 of 2

Thread: Group Name not in Quote Print-to-PDF?

  1. #1
    corylinton is offline Member
    Join Date
    Nov 2005
    Posts
    8

    Default Group Name not in Quote Print-to-PDF?

    Is there a simple way to have the group name print in the PDF version of a Quote? The PDF has breaks for groups, and subtotals, but there is no Group Name. Can someone show me an easy way to modify the standard.php layout file to add this....thanks in advance!

  2. #2
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Group Name not in Quote Print-to-PDF?

    Hello Cory,

    I just added this functionality-- it should be appearing in the next version (after 4.0.1). In the meantime, if you'd like to add it yourself, open ./modules/Quotes/layouts/Standard.php (and/or Invoice.php) and find the following lines (~200-204):

    Code:
    $options['width'] = 545;
    $options['xPos'] = 25;
    $pdf->ezSetDy(-20);
    $pdf->ezTable($item,'' ,'' ,$options);
    $pdf->ezSetDy(-20);
    And change it to:

    Code:
    $options['width'] = 545;
    $options['xPos'] = 25;
    $pdf->ezSetDy(-20);
    $bundle_name_options = array('aleft' => 24);
    $pdf->ezText($product_bundle->name, 13, $bundle_name_options);
    $pdf->ezTable($item,'' ,'' ,$options);
    $pdf->ezSetDy(-20);
    Enjoy,
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

Thread Information

Users Browsing this Thread

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

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
  •