Trad: Multicompany module
Restore level to development as admin page is not yet finished.
This commit is contained in:
parent
9622c6a0da
commit
fb51d0e4af
@ -58,7 +58,7 @@ class modMultiCompany extends DolibarrModules
|
|||||||
// Can be enabled / disabled only in the main company with superadmin account
|
// Can be enabled / disabled only in the main company with superadmin account
|
||||||
$this->core_enabled = 1;
|
$this->core_enabled = 1;
|
||||||
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = 'experimental';
|
$this->version = 'development';
|
||||||
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
|
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
|
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
|
||||||
|
|||||||
@ -764,6 +764,9 @@ YouMustRunCommandFromCommandLineAfterLoginToUser=You must run this command from
|
|||||||
YourPHPDoesNotHaveSSLSupport=SSL functions not available in your PHP
|
YourPHPDoesNotHaveSSLSupport=SSL functions not available in your PHP
|
||||||
DownloadMoreSkins=More skins to download
|
DownloadMoreSkins=More skins to download
|
||||||
SimpleNumRefModelDesc=Return the reference number with format %syymm-nnnn where yy is year, mm is month and nnnn is a sequence without hole and with no reset
|
SimpleNumRefModelDesc=Return the reference number with format %syymm-nnnn where yy is year, mm is month and nnnn is a sequence without hole and with no reset
|
||||||
|
ListOfEntities=List of entities
|
||||||
|
AddEntity=Add entity
|
||||||
|
EditEntity=Edit entity
|
||||||
|
|
||||||
##### Module password generation
|
##### Module password generation
|
||||||
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
||||||
|
|||||||
@ -765,6 +765,9 @@ YouMustRunCommandFromCommandLineAfterLoginToUser=Vous devez exécuter la command
|
|||||||
YourPHPDoesNotHaveSSLSupport=Fonctions SSL non présentes dans votre PHP
|
YourPHPDoesNotHaveSSLSupport=Fonctions SSL non présentes dans votre PHP
|
||||||
DownloadMoreSkins=Plus de thèmes à télécharger
|
DownloadMoreSkins=Plus de thèmes à télécharger
|
||||||
SimpleNumRefModelDesc=Renvoie le numéro sous la forme %syymm-nnnn où yy est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise à 0
|
SimpleNumRefModelDesc=Renvoie le numéro sous la forme %syymm-nnnn où yy est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise à 0
|
||||||
|
ListOfEntities=Liste des entités
|
||||||
|
AddEntity=Ajouter entité
|
||||||
|
EditEntity=Editer entité
|
||||||
|
|
||||||
##### Module password generation= undefined
|
##### Module password generation= undefined
|
||||||
PasswordGenerationStandard= Renvoie un mot de passe généré selon algorithme interne Dolibarr: 8 caractères, chiffres et caractères en minuscules mélangés.
|
PasswordGenerationStandard= Renvoie un mot de passe généré selon algorithme interne Dolibarr: 8 caractères, chiffres et caractères en minuscules mélangés.
|
||||||
|
|||||||
@ -51,6 +51,11 @@ if ($_GET["action"] == 'setvisible')
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* View
|
||||||
|
*/
|
||||||
|
|
||||||
llxHeader('',$langs->trans("MultiCompanySetup"));
|
llxHeader('',$langs->trans("MultiCompanySetup"));
|
||||||
|
|
||||||
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
||||||
@ -66,7 +71,7 @@ $smarty->template_dir = DOL_DOCUMENT_ROOT.'/multicompany/tpl/';
|
|||||||
|
|
||||||
if ($_GET["action"] == 'create')
|
if ($_GET["action"] == 'create')
|
||||||
{
|
{
|
||||||
print_titre($langs->trans("AddNewEntity"));
|
print_titre($langs->trans("AddEntity"));
|
||||||
|
|
||||||
$template = 'add-entity.tpl';
|
$template = 'add-entity.tpl';
|
||||||
}
|
}
|
||||||
@ -88,7 +93,7 @@ else if ($_GET["action"] == 'modify')
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print_titre($langs->trans("ListOfEntity"));
|
print_titre($langs->trans("ListOfEntities"));
|
||||||
|
|
||||||
$mc->getEntities(1);
|
$mc->getEntities(1);
|
||||||
//var_dump($mc->entities);
|
//var_dump($mc->entities);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user