Fix: Missing table of ordering methods in dictionnary.
This commit is contained in:
parent
17fa08a559
commit
7a4e2ee31f
@ -52,7 +52,7 @@ $active = 1;
|
||||
// Mettre ici tous les caracteristiques des dictionnaires
|
||||
|
||||
// Ordres d'affichage des dictionnaires (0 pour espace)
|
||||
$taborder=array(9,0,4,3,2,0,1,8,19,16,0,5,11,0,6,0,10,12,13,0,14,0,7,17,0,18,0,15);
|
||||
$taborder=array(9,0,4,3,2,0,1,8,19,16,0,5,11,0,6,0,10,12,13,0,14,0,7,17,0,20,18,0,15);
|
||||
|
||||
// Nom des tables des dictionnaires
|
||||
$tabname[1] = MAIN_DB_PREFIX."c_forme_juridique";
|
||||
@ -74,6 +74,7 @@ $tabname[16]= MAIN_DB_PREFIX."c_prospectlevel";
|
||||
$tabname[17]= MAIN_DB_PREFIX."c_type_fees";
|
||||
$tabname[18]= MAIN_DB_PREFIX."c_shipment_mode";
|
||||
$tabname[19]= MAIN_DB_PREFIX."c_effectif";
|
||||
$tabname[20]= MAIN_DB_PREFIX."c_methode_commande_fournisseur";
|
||||
|
||||
// Dictionary labels
|
||||
$tablib[1] = "DictionnaryCompanyJuridicalType";
|
||||
@ -95,6 +96,7 @@ $tablib[16]= "DictionnaryProspectLevel";
|
||||
$tablib[17]= "DictionnaryFees";
|
||||
$tablib[18]= "DictionnarySendingMethods";
|
||||
$tablib[19]= "DictionnaryStaff";
|
||||
$tablib[20]= "DictionnaryOrderMethods";
|
||||
|
||||
// Requete pour extraction des donnees des dictionnaires
|
||||
$tabsql[1] = "SELECT f.rowid as rowid, f.code, f.libelle, p.code as pays_code, p.libelle as pays, f.active FROM ".MAIN_DB_PREFIX."c_forme_juridique as f, ".MAIN_DB_PREFIX."c_pays as p WHERE f.fk_pays=p.rowid";
|
||||
@ -116,6 +118,7 @@ $tabsql[16]= "SELECT code, label as libelle, active FROM ".MAIN_DB_PREFIX."c_pro
|
||||
$tabsql[17]= "SELECT id as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_type_fees";
|
||||
$tabsql[18]= "SELECT rowid as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_shipment_mode";
|
||||
$tabsql[19]= "SELECT id as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_effectif";
|
||||
$tabsql[20]= "SELECT rowid as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_methode_commande_fournisseur";
|
||||
|
||||
// Critere de tri du dictionnaire
|
||||
$tabsqlsort[1] ="pays ASC, code ASC";
|
||||
@ -137,6 +140,7 @@ $tabsqlsort[16]="sortorder ASC";
|
||||
$tabsqlsort[17]="code ASC";
|
||||
$tabsqlsort[18]="code ASC, libelle ASC";
|
||||
$tabsqlsort[19]="id ASC";
|
||||
$tabsqlsort[20]="code ASC, libelle ASC";
|
||||
|
||||
// Nom des champs en resultat de select pour affichage du dictionnaire
|
||||
$tabfield[1] = "code,libelle,pays";
|
||||
@ -158,6 +162,7 @@ $tabfield[16]= "code,libelle";
|
||||
$tabfield[17]= "code,libelle";
|
||||
$tabfield[18]= "code,libelle";
|
||||
$tabfield[19]= "code,libelle";
|
||||
$tabfield[20]= "code,libelle";
|
||||
|
||||
// Nom des champs d'edition pour modification d'un enregistrement
|
||||
$tabfieldvalue[1] = "code,libelle,pays";
|
||||
@ -179,6 +184,7 @@ $tabfieldvalue[16]= "code,libelle";
|
||||
$tabfieldvalue[17]= "code,libelle";
|
||||
$tabfieldvalue[18]= "code,libelle";
|
||||
$tabfieldvalue[19]= "code,libelle";
|
||||
$tabfieldvalue[20]= "code,libelle";
|
||||
|
||||
// Nom des champs dans la table pour insertion d'un enregistrement
|
||||
$tabfieldinsert[1] = "code,libelle,fk_pays";
|
||||
@ -200,6 +206,7 @@ $tabfieldinsert[16]= "code,label";
|
||||
$tabfieldinsert[17]= "code,libelle";
|
||||
$tabfieldinsert[18]= "code,libelle";
|
||||
$tabfieldinsert[19]= "code,libelle";
|
||||
$tabfieldinsert[20]= "code,libelle";
|
||||
|
||||
// Nom du rowid si le champ n'est pas de type autoincrement
|
||||
// Example: "" if id field is "rowid" and has autoincrement on
|
||||
@ -223,6 +230,7 @@ $tabrowid[16]= "code";
|
||||
$tabrowid[17]= "id";
|
||||
$tabrowid[18]= "rowid";
|
||||
$tabrowid[19]= "id";
|
||||
$tabrowid[20]= "";
|
||||
|
||||
// Condition to show dictionnary in setup page
|
||||
$tabcond[1] = true;
|
||||
@ -244,6 +252,7 @@ $tabcond[16]= $conf->societe->enabled && empty($conf->global->SOCIETE_DISABLE_PR
|
||||
$tabcond[17]= $conf->deplacement->enabled;
|
||||
$tabcond[18]= $conf->expedition->enabled;
|
||||
$tabcond[19]= $conf->societe->enabled;
|
||||
$tabcond[20]= $conf->fournisseur->enabled;
|
||||
|
||||
|
||||
complete_dictionnary_with_modules($taborder,$tabname,$tablib,$tabsql,$tabsqlsort,$tabfield,$tabfieldvalue,$tabfieldinsert,$tabrowid,$tabcond);
|
||||
|
||||
@ -626,8 +626,9 @@ DictionnaryTypeContact=Contact types
|
||||
DictionnaryEcotaxe=Ecotax (WEEE)
|
||||
DictionnaryPaperFormat=Paper formats
|
||||
DictionnaryFees=Type of fees
|
||||
DictionnarySendingMethods=Sendings methods
|
||||
DictionnarySendingMethods=Shipping methods
|
||||
DictionnaryStaff=Staff
|
||||
DictionnaryOrderMethods=Ordering methods
|
||||
SetupSaved=Setup saved
|
||||
BackToModuleList=Back to modules list
|
||||
BackToDictionnaryList=Back to dictionaries list
|
||||
|
||||
@ -137,3 +137,9 @@ AddDeliveryCostLine=Add a delivery cost line indicating the weight of the order
|
||||
# Documents models
|
||||
PDFEinsteinDescription=A complete order model (logo...)
|
||||
PDFEdisonDescription=A simple order model
|
||||
# Orders modes
|
||||
OrderByMail=Mail
|
||||
OrderByFax=Fax
|
||||
OrderByEMail=EMail
|
||||
OrderByWWW=Online
|
||||
OrderByPhone=Phone
|
||||
@ -636,6 +636,7 @@ DictionnaryPaperFormat= Format papiers
|
||||
DictionnaryFees= Types de déplacement et notes de frais
|
||||
DictionnarySendingMethods= Méthodes d'expédition
|
||||
DictionnaryStaff= Effectifs
|
||||
DictionnaryOrderMethods=Méthodes de commandes
|
||||
SetupSaved= Configuration sauvegardée
|
||||
BackToModuleList= Retour liste des modules
|
||||
BackToDictionnaryList= Retour liste des dictionnaires
|
||||
|
||||
@ -137,3 +137,9 @@ AddDeliveryCostLine=Ajouter une ligne de frais port indiquant le poids de la com
|
||||
# Document models
|
||||
PDFEinsteinDescription=Modèle de commande complet (logo...)
|
||||
PDFEdisonDescription=Modèle de commande simple
|
||||
# Orders modes
|
||||
OrderByMail=Courrier
|
||||
OrderByFax=Fax
|
||||
OrderByEMail=EMail
|
||||
OrderByWWW=En ligne
|
||||
OrderByPhone=Téléphone
|
||||
Loading…
Reference in New Issue
Block a user