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';
50 global
$conf, $langs, $mysoc;
52 parent::__construct($db);
54 $this->
name =
"proforma";
55 $this->
description = $langs->trans(
'PDFProformaDescription');
72 protected function _pagehead(&$pdf,
$object, $showaddress, $outputlangs, $outputlangsbis =
null, $titlekey =
"InvoiceProForma")
75 return parent::_pagehead($pdf,
$object, $showaddress, $outputlangs, $outputlangsbis, $titlekey);
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
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.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
$conf db name
Only used if Module[ID]Name translation string is not found.