33require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
34require_once DOL_DOCUMENT_ROOT.
'/core/class/commonnumrefgenerator.class.php';
35require_once DOL_DOCUMENT_ROOT.
'/compta/bank/class/account.class.php';
36require_once DOL_DOCUMENT_ROOT.
'/core/class/discount.class.php';
102 public $atleastoneratenotnull = 0;
106 public $atleastonediscount = 0;
111 public $showAmountBeforeDiscount = 1;
116 public $showDiscountAmount = 1;
133 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
152 abstract public function write_file(
$object, $outputlangs, $srctemplatepath =
'', $hidedetails = 0, $hidedesc = 0, $hideref = 0);
if(! $sortfield) if(! $sortorder) $object
Parent class for documents (PDF, ODT, ...) generators.
Parent class for number ref generators.
Parent class to manage numbering of Sale Orders.
getNextValue($objsoc, $object)
Return next free value.
getExample()
Return an example of numbering.
Parent class for orders models.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
write_file($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
Function to build pdf onto disk.
getListOfModels($db, $type, $maxfilenamelength=0, $showempty=0)
Return list of activated modules usable for document generation.