mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Gestion apercu modele dans page config pour commande fournisseur.
Gestion multilangue sur modele muscadet.
This commit is contained in:
@@ -52,6 +52,7 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$this->db = $db;
|
||||
$this->name = "einstein";
|
||||
$this->description = $langs->trans('PDFEinsteinDescription');
|
||||
@@ -139,7 +140,7 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
{
|
||||
if (create_exdir($dir) < 0)
|
||||
{
|
||||
$this->error=$outputlangs->transnoentities("ErrorCanNotCreateDir",$dir);
|
||||
$this->error=$outputlangs->trans("ErrorCanNotCreateDir",$dir);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user