PDF works with us letter format

This commit is contained in:
Laurent Destailleur
2011-08-31 13:19:05 +00:00
parent b82cb2c5a8
commit 72e6650d71
13 changed files with 300 additions and 227 deletions

View File

@@ -311,12 +311,14 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
}
/**
* \brief Affiche en-tete
* \param pdf objet PDF
* \param delivery object delivery
* \param showadress 0=non, 1=oui
* Show header of page
*
* @param $pdf Object PDF
* @param $object Object delivery
* @param $showaddress 0=no, 1=yes
* @param $outputlangs Object lang for output
*/
function _pagehead(&$pdf, $object, $showadress=1, $outputlangs)
function _pagehead(&$pdf, $object, $showaddress=1, $outputlangs)
{
global $langs,$conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);

View File

@@ -464,12 +464,14 @@ class pdf_typhon extends ModelePDFDeliveryOrder
}
/**
* \brief Affiche en-tete bon livraison
* \param pdf objet PDF
* \param delivery object delivery
* \param showadress 0=non, 1=oui
* Show header of page
*
* @param $pdf Object PDF
* @param $object Object order
* @param $showaddress 0=no, 1=yes
* @param $outputlangs Object lang for output
*/
function _pagehead(&$pdf, $object, $showadress=1, $outputlangs)
function _pagehead(&$pdf, $object, $showaddress=1, $outputlangs)
{
global $langs,$conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -566,7 +568,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
}
}
if ($showadress)
if ($showaddress)
{
// Emetteur
$posy=42;