Gestion apercu modele dans page config pour commande fournisseur.

Gestion multilangue sur modele muscadet.
This commit is contained in:
Laurent Destailleur
2007-03-22 23:20:21 +00:00
parent f18fff97e2
commit fc415a0a8e
6 changed files with 609 additions and 417 deletions

View File

@@ -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;
}
}