31 require_once DOL_DOCUMENT_ROOT.
'/core/modules/commande/doc/pdf_eratosthene.modules.php';
32 require_once DOL_DOCUMENT_ROOT.
'/product/class/product.class.php';
33 require_once DOL_DOCUMENT_ROOT.
'/core/lib/company.lib.php';
34 require_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
35 require_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(".$version.") pid 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.