dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [bug #15929] Le cadre sur le modele PDF azur est pla


From: LO Vieng Nong
Subject: [Dolibarr-bugtrack] [bug #15929] Le cadre sur le modele PDF azur est placé sur des propals de plusieurs pages
Date: Tue, 28 Feb 2006 13:50:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.10) Gecko/20050925 Firefox/1.0.4 (Debian package 1.0.4-2sarge5)

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15929>

                 Summary: Le cadre sur le modele PDF azur est placé sur des
propals de plusieurs pages
                 Project: Dolibarr
            Submitted by: bugblaster
            Submitted on: mar 28.02.2006 à 13:50
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: None
        Platform Version: GNU/Linux

    _______________________________________________________

Details:

Le cadre sur le modele PDF azur est placé sur des propals de plusieurs pages
et/ou avec les descriptions des produits activés.

Je propose cette correction qui marche bien chez moi :

fichier /includes/modules/propale/pdf_propale_azur.modules.php

299c299,302
<                         $this->_tableau($pdf, $tab_top, $tab_height + 20,
$nexY);
---
>                       if ($pagenb == 1)
>                           $this->_tableau($pdf, $tab_top, $nexY - $tab_top
+ 20, $nexY);
>                         else
>                           $this->_tableau($pdf, $tab_top_newpage, $nexY -
$tab_top_newpage + 20, $nexY);
316,317c319,320
<                     $this->_tableau($pdf, $tab_top, $tab_height, $nexY);
<                     $bottomlasttab=$tab_top + $tab_height + 1;
---
>                     $this->_tableau($pdf, $tab_top, $nexY - $tab_top + 20,
$nexY);
>                     $bottomlasttab=$tab_top + $nexY - $tab_top + 20  + 1;
321,322c324,325
<                     $this->_tableau($pdf, $tab_top_newpage, $tab_height,
$nexY);
<                     $bottomlasttab=$tab_top_newpage + $tab_height + 1;
---
>                   $this->_tableau($pdf, $tab_top_newpage, $nexY -
$tab_top_newpage + 20, $nexY);
>                     $bottomlasttab=$tab_top_newpage + $nexY -
$tab_top_newpage + 20 + 1;


-------------
Version: 2.1-alpha
Server: Apache/2.0.51 (Fedora)
Url: /comm/propal.php?propalid=17







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15929>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]