--- /tmp/dsg/dolibarr/htdocs/core/modules/bom/doc/github_19.0.3_doc_generic_bom_odt.modules.php +++ /tmp/dsg/dolibarr/htdocs/core/modules/bom/doc/client_doc_generic_bom_odt.modules.php @@ -44 +44,2 @@ - * @var string Dolibarr version of the loaded document + * Issuer + * @var Societe @@ -45,0 +47,11 @@ + public $emetteur; + + /** + * @var array Minimum version of PHP required by module. + * e.g.: PHP ≥ 5.5 = array(5, 5) + */ + public $phpmin = array(5, 5); + + /** + * @var string Dolibarr version of the loaded document + */ @@ -54 +66 @@ - public function __construct($db) + public function __construct($db) @@ -59 +71 @@ - $langs->loadLangs(array("main", "companies")); + $langs->loadLangs(array("main", "companies")); @@ -80 +92 @@ - // Get source company + // Recupere emetteur @@ -82,3 +94 @@ - if (!$this->emetteur->country_code) { - $this->emetteur->country_code = substr($langs->defaultlang, -2); // By default if not defined - } + if (!$this->emetteur->country_code) $this->emetteur->country_code = substr($langs->defaultlang, -2); // By default if not defined @@ -94 +104 @@ - public function info($langs) + public function info($langs) @@ -99 +109 @@ - $langs->loadLangs(array("errors", "companies")); + $langs->loadLangs(array("errors", "companies")); @@ -104 +114 @@ - $texte .= '