mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-21 00:41:29 +01:00
PDF works with us letter format
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user