--- /tmp/dsg/dolibarr/htdocs/core/modules/stock/doc/github_19.0.3_doc_generic_stock_odt.modules.php +++ /tmp/dsg/dolibarr/htdocs/core/modules/stock/doc/client_doc_generic_stock_odt.modules.php @@ -27,2 +27,2 @@ -require_once DOL_DOCUMENT_ROOT.'/core/modules/stock/modules_stock.php'; -require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/modules/stock/modules_stock.class.php'; +require_once DOL_DOCUMENT_ROOT.'/stock/class/stock.class.php'; @@ -41 +41,2 @@ - * @var string Dolibarr version of the loaded document + * Issuer + * @var Societe @@ -42,0 +44,12 @@ + public $emetteur; + + /** + * @var array Minimum version of PHP required by module. + * e.g.: PHP ≥ 5.5 = array(5, 5) + */ + public $phpmin = array(5, 5); + + /** + * Dolibarr version of the loaded document + * @var string + */ @@ -56 +69 @@ - $langs->loadLangs(array("main", "companies")); + $langs->loadLangs(array("main", "companies")); @@ -73,6 +86,7 @@ - $this->option_logo = 1; // Display logo - $this->option_tva = 0; // Manage the vat option STOCK_TVAOPTION - $this->option_modereg = 0; // Display payment mode - $this->option_condreg = 0; // Display payment terms - $this->option_multilang = 1; // Available in several languages - $this->option_escompte = 0; // Displays if there has been a discount + $this->option_logo = 1; // Affiche logo + $this->option_tva = 0; // Gere option tva STOCK_TVAOPTION + $this->option_modereg = 0; // Affiche mode reglement + $this->option_condreg = 0; // Affiche conditions reglement + $this->option_codeproduitservice = 0; // Affiche code produit-service + $this->option_multilang = 1; // Dispo en plusieurs langues + $this->option_escompte = 0; // Affiche si il y a eu escompte @@ -83 +97 @@ - // Get source company + // Recupere emetteur @@ -85,3 +99 @@ - 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 @@ -102 +114 @@ - $langs->loadLangs(array("errors", "companies")); + $langs->loadLangs(array("errors", "companies")); @@ -107 +119 @@ - $texte .= '