25 include_once DOL_DOCUMENT_ROOT .
'/core/modules/DolibarrModules.class.php';
44 $this->family =
"products";
46 $this->
name = preg_replace(
'/^mod/i',
'',get_class($this));
47 $this->
description =
"Enable the usage of math expressions for prices";
49 $this->version =
'experimental';
51 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
53 $this->picto=
'technic';
56 $this->dirs = array();
60 $this->config_page_url = array(
"dynamic_prices.php@product");
64 $this->depends = array();
65 $this->requiredby = array();
66 $this->langfiles = array(
"other");
70 $this->
const = array();
74 $this->tabs = array();
78 $this->boxes = array();
82 $this->rights = array();
83 $this->rights_class =
'dynamicprices';
</td >< td class="liste_titre" align="right"></td ></tr >< tr class="liste_titre">< input type="checkbox" onClick="toggle(this)"/> Ref p ref Label p label Duration p duration warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow img yes disabled img no img no< tr class="oddeven">< td >< input type="checkbox" class="check" name="' . $i . '"' . $disabled . '></td >< td >< input type="checkbox" class="check" name="choose'.$i.'"></td >< td class="nowrap"></td >< td >< input type="hidden" name="desc' . $i . '" value="' . dol_escape_htmltag($objp-> 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.
Class descriptor of DynamicPrices module.
__construct($db)
Constructor.