New: Rangement des modules dans une famille (CRM, Finance, Produit, ...)

This commit is contained in:
Laurent Destailleur 2004-06-26 17:15:28 +00:00
parent 9c4b3e8ecc
commit e96d86a453
24 changed files with 166 additions and 64 deletions

View File

@ -112,6 +112,7 @@ print 'Certains modules n
print '<br>';
print '<table class="noborder" cellpadding="3" cellspacing="0">';
print '<tr class="liste_titre">';
print '<td>Famille</td>';
print '<td>Nom</td>';
print '<td>Info</td>';
print '<td align="center">Actif</td>';
@ -140,29 +141,40 @@ while (($file = readdir($handle))!==false)
if ($objMod->numero > 0)
{
$j = $objMod->numero;
$modules[$objMod->numero] = $modName;
// $modules[$objMod->numero] = $modName;
}
else
{
$j = 1000 + $i;
}
$modules[$j] = $modName;
$orders[$i] = $j;
$modules[$i] = $modName;
$numero[$i] = $j;
$orders[$i] = "$objMod->family"."_".$j; // Tri par famille puis numero module
$j++;
$i++;
}
}
}
sort($orders);
asort($orders);
$var=True;
$familylib=array(
'crm'=>'Gestion client (CRM)',
'products'=>'Gestion produits',
'hr'=>'Ressources humaines',
'projects'=>'Projets/Travail collaboratif',
'other'=>'Autre',
'technic'=>'Modules techniques, interfaces',
'financial'=>'Modules financiers (Compta/trésorerie)'
);
foreach ($orders as $key => $value)
{
$tab=split('_',$value);
$family=$tab[0]; $numero=$tab[1];
$var=!$var;
$modName = $modules[$orders[$key]];
$modName = $modules[$key];
if ($modName)
{
$objMod = new $modName($db);
@ -171,8 +183,14 @@ foreach ($orders as $key => $value)
$const_name = $objMod->const_name;
$const_value = $objMod->const_config;
print "<tr $bc[$var]><td>";
echo $objMod->name;
print "<tr $bc[$var]>";
print "<td class='body'>";
if ($family!=$oldfamily) { print '<div class="titre">'.$familylib[$family].'</td>'; $oldfamily=$family; }
else { print '&nbsp;'; }
print "</td>";
print "<td>";
print $objMod->name;
print "</td><td>\n";
print $objMod->description;
print '</td><td align="center">';

View File

@ -34,12 +34,12 @@ function llxHeader($head = "", $urlp = "") {
$menu->add(DOL_URL_ROOT."/admin/index.php", "Configuration générale");
$menu->add(DOL_URL_ROOT."/admin/ihm.php", "Configuration IHM");
$menu->add(DOL_URL_ROOT."/admin/dict.php", "Configuration dictionnaires");
$menu->add(DOL_URL_ROOT."/admin/const.php", "Configuration autre");
$menu->add(DOL_URL_ROOT."/admin/ihm.php", "Configuration IHM");
$menu->add(DOL_URL_ROOT."/admin/modules.php", "Modules");
$menu->add(DOL_URL_ROOT."/admin/boxes.php", "Boites");
@ -49,8 +49,6 @@ function llxHeader($head = "", $urlp = "") {
$menu->add_submenu(DOL_URL_ROOT."/admin/external_rss.php", "Syndication");
}
//$menu->add_submenu("sqltables.php", "Tables");
$menu->add("system/", "Système");
left_menu($menu->liste);

View File

@ -1,6 +1,7 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,86 +35,58 @@ class modAdherent extends DolibarrModules
Function modAdherent($DB)
{
$this->db = $DB ;
$this->depends = array();
$this->numero = 310 ;
$this->family = "hr";
$this->name = "Adhérents";
$this->description = "Gestion des adhérents d'une association";
$this->const_name = "MAIN_MODULE_ADHERENT";
$this->const_config = MAIN_MODULE_ADHERENT;
// Config pages
$this->config_page_url = "adherent.php";
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
$this->const[0]= array("ADHERENT_MAIL_RESIL","texte","Votre adhesion sur %SERVEUR% vient d'etre resilie.\r\nNous esperons vous revoir tres bientot","Mail de résiliation");
$this->const[1]=array("ADHERENT_MAIL_VALID","texte","Votre adhesion vient d'etre validee. \r\nVoici le rappel de vos coordonnees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l'adresse suivante : \r\n%SERVEUR%public/adherents/","Mail de validation");
$this->const[2]= array("ADHERENT_MAIL_EDIT","texte","Voici le rappel des coordonnees que vous avez modifiees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l'adresse suivante :\r\n%SERVEUR%public/adherents/","Mail d'edition");
$this->const[3] = array("ADHERENT_MAIL_RESIL","texte","Votre adhesion sur %SERVEUR% vient d'etre resilie.\r\nNous esperons vous revoir tres bientot","Mail de résiliation");
$this->const[4] = array("ADHERENT_MAIL_NEW","texte","Merci de votre inscription. Votre adhesion devrait etre rapidement validee.^M\nVoici le rappel des coordonnees que vous avez rentrees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l'adresse suivante :\r\n%SERVEUR%public/adherents/","Mail de nouvel inscription");
$this->const[5] = array("ADHERENT_MAIL_VALID_SUBJECT","chaine"," Votre adh<E9>sion a ete valid<E9>e sur %SERVEUR%","sujet du mail de validation");
$this->const[6] = array("ADHERENT_MAIL_RESIL_SUBJECT","chaine","Resiliation de votre adhesion sur %SERVEUR% ","sujet du mail de resiliation");
$this->const[7] = array("ADHERENT_MAIL_NEW_SUBJECT","chaine","Bienvenue sur %SERVEUR%","Sujet du mail de nouvelle adhesion");
$this->const[8] = array("ADHERENT_MAIL_EDIT_SUBJECT","chaine","Votre fiche a ete editee sur %SERVEUR%","Sujet du mail d'edition");
$this->const[9] = array("ADHERENT_GLASNOST_SERVEUR","chaine","","serveur glasnost");
$this->const[10] = array("ADHERENT_MAILMAN_UNSUB_URL","chaine","http://%SERVER%/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%ADMINPW%&user=%EMAIL%","Url de desinscription aux listes mailman");
$this->const[11] = array("ADHERENT_MAILMAN_URL","chaine","http://%SERVER%/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%ADMINPW%&send_welcome_msg_to_this_batch=1&subscribees=%EMAIL%","url pour les inscriptions mailman");
$this->const[12] = array("ADHERENT_MAILMAN_LISTS","chaine","","Listes auxquelles les nouveaux adhérents sont inscris");
$this->const[13] = array("ADHERENT_GLASNOST_USER","chaine","","Administrateur glasnost");
$this->const[14] = array("ADHERENT_GLASNOST_PASS","chaine","","password de l'administrateur");
$this->const[15] = array("ADHERENT_USE_GLASNOST_AUTO","yesno","","inscription automatique a glasnost ?");
$this->const[16] = array("ADHERENT_USE_SPIP_AUTO","yesno","","Utilisation de SPIP automatiquement");
$this->const[17] = array("ADHERENT_SPIP_USER","chaine","","Utilisateur de connection a la base spip");
$this->const[18] = array("ADHERENT_SPIP_PASS","chaine","","Mot de passe de connection a la base spip");
$this->const[19] = array("ADHERENT_SPIP_SERVEUR","chaine","","serveur spip");
$this->const[20] = array("ADHERENT_SPIP_DB","chaine","","db spip");
$this->const[21] = array("ADHERENT_MAIL_FROM","chaine","","From des mails");
$this->const[22] = array("ADHERENT_MAIL_COTIS","texte","Bonjour %PRENOM%,^M\n^M\nCet email confirme que votre cotisation a ete recue\r\net enregistree","Mail de validation de cotisation");
$this->const[23] = array("ADHERENT_MAIL_COTIS_SUBJECT","chaine"," Recu de votre cotisation","sujet du mail de validation de cotisation");
$this->const[24] = array("ADHERENT_TEXT_NEW_ADH","texte","","Texte d'entete du formaulaire d'adhesion en ligne");
$this->const[25] = array("ADHERENT_CARD_HEADER_TEXT","chaine","%ANNEE%","Texte imprime sur le haut de la carte adherent");
$this->const[26] = array("ADHERENT_CARD_FOOTER_TEXT","chaine","Association %SERVER%","Texte imprime sur le bas de la carte adherent");
$this->const[27] = array("ADHERENT_CARD_TEXT","texte","%PRENOM% %NOM%\r\nMembre n° %ID%\r\n%EMAIL%\r\n%ADRESSE%\r\n%CP% %VILLE%\r\n%PAYS%","Texte imprime sur la carte adherent");
$this->const[28] = array("ADHERENT_MAILMAN_ADMINPW","chaine","","Mot de passe Admin des liste mailman");
$this->const[29] = array("ADHERENT_MAILMAN_SERVER","chaine","","Serveur hebergeant les interfaces d'Admin des listes mailman");
$this->const[30] = array("ADHERENT_MAILMAN_LISTS_COTISANT","chaine","","Liste(s) auxquelles les nouveaux cotisants sont inscris automatiquement");
$this->const[31] = array("ADHERENT_BANK_USE_AUTO","yesno","","Insertion automatique des cotisation dans le compte banquaire");
$this->const[32] = array("ADHERENT_BANK_ACCOUNT","chaine","","ID du Compte banquaire utilise");
$this->const[33] = array("ADHERENT_BANK_CATEGORIE","chaine","","ID de la categorie banquaire des cotisations");
$this->const[34] = array("ADHERENT_ETIQUETTE_TYPE","chaine","L7163","Type d etiquette (pour impression de planche d etiquette)");
}
/*

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -32,16 +33,19 @@ class modBanque extends DolibarrModules
Function modBanque($DB)
{
$this->nom = "Banque";
$this->numero = 85 ;
$this->db = $DB ;
$this->depends = array();
$this->numero = 85 ;
$this->family = "financial";
$this->name = "Banque";
$this->description = "Gestion des comptes bancaires";
$this->const_name = "MAIN_MODULE_BANQUE";
$this->const_config = MAIN_MODULE_BANQUE;
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
}

View File

@ -34,15 +34,21 @@ class modBoutique extends DolibarrModules
Function modBoutique($DB)
{
$this->db = $DB ;
$this->numero = 86 ;
$this->family = "products";
$this->name = "Boutique";
$this->description = "Gestion des boutiques";
$this->const_name = "MAIN_MODULE_BOUTIQUE";
$this->const_config = MAIN_MODULE_BOUTIQUE;
$this->depends = array();
// Config pages
$this->config_page_url = array("boutique.php","osc-languages.php");
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
/*

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,14 +35,22 @@ class modCommande extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 25 ;
$this->family = "crm";
$this->name = "Commande";
$this->description = "Gestion des commandes";
$this->const_name = "MAIN_MODULE_COMMANDE";
$this->const_config = MAIN_MODULE_COMMANDE;
// Config pages
$this->config_page_url = "commande.php";
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
$this->config_page_url = "commande.php";
$this->boxes[0][0] = "Commandes";
$this->boxes[0][1] = "box_commandes.php";
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,13 +35,17 @@ class modCommercial extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 2 ;
$this->depends = array();
$this->family = "crm";
$this->name = "Commercial";
$this->description = "Gestion commercial";
$this->const_name = "MAIN_MODULE_COMMERCIAL";
$this->const_config = MAIN_MODULE_COMMERCIAL;
// Dépendances
$this->depends = array("modSociete");
$this->requiredby = array("modPropale","modContrat","modCommande",);
$this->const = array();
$this->boxes = array();
$this->boxes[0][0] = "Derniers clients";

View File

@ -33,18 +33,22 @@ class modComptabilite extends DolibarrModules
Function modComptabilite($DB)
{
$this->nom = "Module comptabilité";
$this->numero = 10 ;
$this->db = $DB ;
$this->depends = array();
$this->requiredby = array("modFacture");
$this->numero = 10 ;
$this->family = "financial";
$this->name = "Comptabilite";
$this->description = "Gestion sommaire de comptabilité";
$this->const_name = "MAIN_MODULE_COMPTABILITE";
$this->const_config = MAIN_MODULE_COMPTABILITE;
// Config pages
$this->config_page_url = "compta.php";
// Dépendances
$this->depends = array();
$this->requiredby = array("modFacture");
$this->const = array();
$this->boxes = array();
}

View File

@ -34,12 +34,16 @@ class modContrat extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 54 ;
$this->family = "crm";
$this->name = "Contrats";
$this->description = "Gestion des contrats de services";
$this->const_name = "MAIN_MODULE_CONTRAT";
$this->const_config = MAIN_MODULE_CONTRAT;
// Dépendances
$this->depends = array("modService");
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -31,13 +32,17 @@ class modDon extends DolibarrModules
Function modDon($DB)
{
$this->db = $DB ;
$this->numero = 700 ;
$this->family = "finance";
$this->name = "Don";
$this->description = "Gestion des dons (expérimental)";
$this->const_name = "MAIN_MODULE_DON";
$this->const_config = MAIN_MODULE_DON;
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,13 +35,20 @@ class modExpedition extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 80 ;
$this->family = "crm";
$this->name = "Expedition";
$this->description = "Gestion des expéditions";
$this->const_name = "MAIN_MODULE_EXPEDITION";
$this->const_config = MAIN_MODULE_EXPEDITION;
// Config pages
$this->config_page_url = "expedition.php";
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -32,13 +33,17 @@ class modExternalRss extends DolibarrModules
Function modExternalRss($DB)
{
$this->db = $DB ;
$this->numero = 320;
$this->family = "hr";
$this->name = "Syndication";
$this->description = "Module de gestion de syndication de sites externes";
$this->const_name = "MAIN_MODULE_EXTERNALRSS";
$this->const_config = MAIN_MODULE_EXTERNALRSS;
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -33,13 +34,19 @@ class modFacture extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 30 ;
$this->family = "financial";
$this->name = "Factures";
$this->description = "Gestion des factures";
$this->const_name = "MAIN_MODULE_FACTURE";
$this->const_config = MAIN_MODULE_FACTURE;
// Dépendances
$this->depends = array("modSociete","modComptabilite");
$this->requiredby = array();
$this->config_page_url = "facture.php";
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -33,14 +34,20 @@ class modFicheinter extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 70 ;
$this->family = "crm";
$this->name = "Fiche d'intervention";
$this->description = "Gestion des fiches d'intervention";
$this->const_name = "MAIN_MODULE_FICHEINTER";
$this->const_config = MAIN_MODULE_FICHEINTER;
$this->depends = array("modSociete");
// Config pages
$this->config_page_url = "fichinter.php";
// Dépendances
$this->depends = array("modSociete");
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,14 +35,16 @@ class modFournisseur extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 40 ;
$this->nom = "Module fournisseur";
$this->family = "products";
$this->name = "Fournisseur";
$this->description = "Gestion des fournisseurs";
$this->const_name = "MAIN_MODULE_FOURNISSEUR";
$this->const_config = MAIN_MODULE_FOURNISSEUR;
// Dépendances
$this->depends = array("modSociete");
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -30,13 +31,20 @@ class modLdap extends DolibarrModules
Function modLdap($DB)
{
$this->db = $DB ;
$this->numero = 200 ;
$this->name = "Ldap";
$this->family = "technic";
$this->description = "Synchronisation Ldap";
$this->const_name = "MAIN_MODULE_LDAP";
$this->const_config = MAIN_MODULE_LDAP;
// Config pages
$this->config_page_url = "ldap.php";
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -32,13 +33,17 @@ class modPostnuke extends DolibarrModules
Function modPostnuke($DB)
{
$this->db = $DB ;
$this->numero = 210;
$this->family = "technic";
$this->name = "Postnuke";
$this->description = "Gestion de l'outil Postnuke";
$this->const_name = "MAIN_MODULE_POSTNUKE";
$this->const_config = MAIN_MODULE_POSTNUKE;
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,11 +35,14 @@ class modProduit extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 50 ;
$this->family = "products";
$this->name = "Produit";
$this->description = "Gestion des produits";
$this->const_name = "MAIN_MODULE_PRODUIT";
$this->const_config = MAIN_MODULE_PRODUIT;
// Dépendances
$this->depends = array();
$this->requiredby = array("modStock","modService");

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -33,13 +34,18 @@ class modProjet extends DolibarrModules
Function modProjet($DB)
{
$this->db = $DB ;
$this->numero = 60 ;
$this->numero = 400 ;
$this->family = "projects";
$this->name = "Projets";
$this->description = "Gestion des projets";
$this->const_name = "MAIN_MODULE_PROJET";
$this->const_config = MAIN_MODULE_PROJET;
// Dépendances
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,11 +35,14 @@ class modPropale extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 20 ;
$this->family = "crm";
$this->name = "Propositions commerciales";
$this->description = "Gestion des propositions commerciales";
$this->const_name = "MAIN_MODULE_PROPALE";
$this->const_config = MAIN_MODULE_PROPALE;
// Dépendances
$this->depends = array("modSociete","modCommercial");
$this->config_page_url = "propale.php";

View File

@ -35,11 +35,14 @@ class modService extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 53 ;
$this->family = "products";
$this->name = "Service";
$this->description = "Gestion des services";
$this->const_name = "MAIN_MODULE_SERVICE";
$this->const_config = MAIN_MODULE_SERVICE;
// Dépendances
$this->depends = array("modProduit");
$this->requiredby = array("modContrat");

View File

@ -34,13 +34,16 @@ class modSociete extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 1 ;
$this->family = "crm";
$this->name = "Module societe";
$this->description = "Module société";
$this->const_name = "MAIN_MODULE_SOCIETE";
$this->const_config = MAIN_MODULE_SOCIETE;
// Dépendances
$this->depends = array();
$this->requiredby = array("modFacture","modFournisseur","modFicheinter","modPropale");
$this->requiredby = array("modFacture","modFournisseur","modFicheinter","modPropale","modContrat","modCommande");
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,12 +35,16 @@ class modStock extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 52 ;
$this->family = "products";
$this->name = "Stock produits";
$this->description = "Gestion des stocks";
$this->const_name = "MAIN_MODULE_STOCK";
$this->const_config = MAIN_MODULE_STOCK;
// Dépendences
$this->depends = array("modProduit");
$this->requiredby = array();
$this->const = array();
$this->boxes = array();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -33,13 +34,20 @@ class modWebcalendar extends DolibarrModules
Function modWebcalendar($DB)
{
$this->db = $DB ;
$this->numero = 410 ;
$this->family = "projects";
$this->name = "Webcalendar";
$this->description = "Gestion de l'outil Webcalendar";
$this->const_name = "MAIN_MODULE_WEBCALENDAR";
$this->const_config = MAIN_MODULE_WEBCALENDAR;
// Config pages
$this->config_page_url = "webcalendar.php";
// Dépendences
$this->depends = array();
$this->requiredby = array();
$this->const = array();
$this->boxes = array();