31require_once DOL_DOCUMENT_ROOT.
'/core/modules/commande/doc/pdf_eratosthene.modules.php';
32require_once DOL_DOCUMENT_ROOT.
'/product/class/product.class.php';
33require_once DOL_DOCUMENT_ROOT.
'/core/lib/company.lib.php';
34require_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
35require_once DOL_DOCUMENT_ROOT.
'/core/lib/pdf.lib.php';
51 global $conf, $langs, $mysoc;
53 parent::__construct($db);
55 $this->
name =
"proforma";
56 $this->
description = $langs->trans(
'PDFProformaDescription');
73 protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis =
null, $titlekey =
"InvoiceProForma")
76 global $conf, $langs, $hookmanager;
78 return parent::_pagehead($pdf, $object, $showaddress, $outputlangs, $outputlangsbis, $titlekey);
Class to generate PDF orders with template Eratosthene.
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.