diff --git a/htdocs/cashdesk/langs/en_US/cashdesk.lang b/htdocs/cashdesk/langs/en_US/cashdesk.lang index ecd846611bb..699535e5440 100644 --- a/htdocs/cashdesk/langs/en_US/cashdesk.lang +++ b/htdocs/cashdesk/langs/en_US/cashdesk.lang @@ -1,5 +1,2 @@ # Language file - en_US - cashdesk -CashDesk=Cash desk -Module50100Name=Cash desk -Module50100Desc=Cash desk module - +CashDesk=Cash desk \ No newline at end of file diff --git a/htdocs/cashdesk/langs/fr_FR/cashdesk.lang b/htdocs/cashdesk/langs/fr_FR/cashdesk.lang index 428d269e77a..0b0599a5184 100644 --- a/htdocs/cashdesk/langs/fr_FR/cashdesk.lang +++ b/htdocs/cashdesk/langs/fr_FR/cashdesk.lang @@ -1,2 +1,2 @@ # Language file - fr_FR - cashdesk -CashDesk=Caisse +CashDesk=Caisse \ No newline at end of file diff --git a/htdocs/includes/modules/modCashDesk.class.php b/htdocs/includes/modules/modCashDesk.class.php index 74836c7d096..38dc4c0e7a5 100644 --- a/htdocs/includes/modules/modCashDesk.class.php +++ b/htdocs/includes/modules/modCashDesk.class.php @@ -67,10 +67,11 @@ class modCashDesk extends DolibarrModules $this->style_sheet = ''; // Dependencies - $this->depends = array("modProduit"); // List of modules id that must be enabled if this module is enabled - $this->requiredby = array(); // List of modules id to disable if this one is disabled + $this->depends = array("modFacture","modProduit"); // List of modules id that must be enabled if this module is enabled + $this->requiredby = array(); // List of modules id to disable if this one is disabled $this->phpmin = array(4,1); // Minimum version of PHP required by module $this->need_dolibarr_version = array(2,4); // Minimum version of Dolibarr required by module + $this->langfiles = array("@cashdesk"); // Constantes $this->const = array(); diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 1c096c8ea2f..c2d0d6c5e1d 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -299,6 +299,8 @@ Module2400Name=Agenda Module2400Desc=Actions/tasks and agenda management Module2500Name=Electronic Content Management Module2500Desc=Save and share documents +Module50100Name=Cash desk +Module50100Desc=Cash desk module Permission11=Read invoices Permission12=Create invoices Permission13=Modify invoices diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index 8319ad4ebea..c668327853b 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -298,6 +298,8 @@ Module2400Name=Agenda Module2400Desc=Gestion des actions (évènements et taches) et de l'agenda Module2500Name=Gestion Electronique de Document Module2500Desc=Permet de stocker et administrer une base de documents +Module50100Name=Caisse +Module50100Desc=Caisse enregistreuse Permission11=Consulter les factures Permission12=Créer les factures Permission13=Modifier les factures