26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
48 $this->rights_class =
'workflow';
50 $this->family =
"technic";
52 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
56 $this->version =
'dolibarr';
58 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
62 $this->picto =
'technic';
65 $this->dirs = array(
"/workflow/temp");
68 $this->config_page_url = array(
'workflow.php');
71 $this->hidden =
false;
72 $this->depends = array();
73 $this->requiredby = array();
74 $this->conflictwith = array();
75 $this->phpmin = array(5, 4);
76 $this->need_dolibarr_version = array(2, 8);
77 $this->langfiles = array(
"@workflow");
87 0=>array(
'WORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL',
'chaine',
'1',
'WORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL', 0,
'current', 0),
88 1=>array(
'WORKFLOW_INVOICE_CLASSIFY_BILLED_PROPAL',
'chaine',
'1',
'WORKFLOW_INVOICE_CLASSIFY_BILLED_PROPAL', 0,
'current', 0),
89 2=>array(
'WORKFLOW_ORDER_CLASSIFY_SHIPPED_SHIPPING',
'chaine',
'1',
'WORKFLOW_ORDER_CLASSIFY_SHIPPED_SHIPPING', 0,
'current', 0),
90 4=>array(
'WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER',
'chaine',
'1',
'WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER', 0,
'current', 0),
91 5=>array(
'WORKFLOW_ORDER_CLASSIFY_BILLED_SUPPLIER_PROPOSAL',
'chaine',
'1',
'WORKFLOW_ORDER_CLASSIFY_BILLED_SUPPLIER_PROPOSAL', 0,
'current', 0),
92 6=>array(
'WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_SUPPLIER_ORDER',
'chaine',
'1',
'WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_SUPPLIER_ORDER', 0,
'current', 0),
93 7=>array(
'WORKFLOW_BILL_ON_RECEPTION',
'chaine',
'1',
'WORKFLOW_BILL_ON_RECEPTION', 0,
'current', 0)
97 $this->boxes = array();
100 $this->rights = array();
113 $this->menus = array();
153 public function init($options =
'')
156 $this->
remove($options);
160 return $this->
_init($sql, $options);
init($options= '')
Function called when module is enabled.
</td > param sortfield sortorder printFieldListOption< tdclass="liste_titremaxwidthsearchright"></td ></tr >< trclass="liste_titre">< inputtype="checkbox"onClick="toggle(this)"/> Ref p ref Label p label Duration p duration center DesiredStock p desiredstock right StockLimitShort p seuil_stock_alerte right stock_physique right stock_real_warehouse right Ordered right StockToBuy right SupplierRef right param sortfield sortorder printFieldListTitle warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow StockTooLow help help help< trclass="oddeven">< td >< inputtype="checkbox"class="check"name="choose'.$i.'"></td >< tdclass="nowrap"> stock</td >< td >< inputtype="hidden"name="desc'.$i.'"value="'.dol_escape_htmltag($objp-> description
Only used if Module[ID]Desc translation string is not found.
__construct($db)
Constructor.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.
Class to describe and enable module Workflow.
_init($array_sql, $options= '')
Enables a module.