Fix: Missing table of ordering methods in dictionnary.
This commit is contained in:
parent
51c1cfed8a
commit
1970a5dda9
@ -72,6 +72,7 @@ For users:
|
|||||||
readers when using "mail php function".
|
readers when using "mail php function".
|
||||||
- Fix: When cloning commercial proposal, due date is creation date + delay
|
- Fix: When cloning commercial proposal, due date is creation date + delay
|
||||||
by default.
|
by default.
|
||||||
|
- Fix: Can edit ordering methods.
|
||||||
|
|
||||||
For translators:
|
For translators:
|
||||||
- New: Update and complete slovenian language sl_SL.
|
- New: Update and complete slovenian language sl_SL.
|
||||||
|
|||||||
@ -30,6 +30,7 @@
|
|||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/core/class/html.formadmin.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/class/html.formadmin.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/core/class/html.formcompany.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/class/html.formcompany.class.php");
|
||||||
|
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
|
||||||
|
|
||||||
$langs->load("other");
|
$langs->load("other");
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
@ -51,7 +52,7 @@ $active = 1;
|
|||||||
// Mettre ici tous les caracteristiques des dictionnaires
|
// Mettre ici tous les caracteristiques des dictionnaires
|
||||||
|
|
||||||
// Ordres d'affichage des dictionnaires (0 pour espace)
|
// 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
|
// Nom des tables des dictionnaires
|
||||||
$tabname[1] = MAIN_DB_PREFIX."c_forme_juridique";
|
$tabname[1] = MAIN_DB_PREFIX."c_forme_juridique";
|
||||||
@ -73,6 +74,7 @@ $tabname[16]= MAIN_DB_PREFIX."c_prospectlevel";
|
|||||||
$tabname[17]= MAIN_DB_PREFIX."c_type_fees";
|
$tabname[17]= MAIN_DB_PREFIX."c_type_fees";
|
||||||
$tabname[18]= MAIN_DB_PREFIX."c_shipment_mode";
|
$tabname[18]= MAIN_DB_PREFIX."c_shipment_mode";
|
||||||
$tabname[19]= MAIN_DB_PREFIX."c_effectif";
|
$tabname[19]= MAIN_DB_PREFIX."c_effectif";
|
||||||
|
$tabname[20]= MAIN_DB_PREFIX."c_methode_commande_fournisseur";
|
||||||
|
|
||||||
// Dictionary labels
|
// Dictionary labels
|
||||||
$tablib[1] = $langs->trans("DictionnaryCompanyJuridicalType");
|
$tablib[1] = $langs->trans("DictionnaryCompanyJuridicalType");
|
||||||
@ -94,6 +96,7 @@ $tablib[16]= $langs->trans("DictionnaryProspectLevel");
|
|||||||
$tablib[17]= $langs->trans("DictionnaryFees");
|
$tablib[17]= $langs->trans("DictionnaryFees");
|
||||||
$tablib[18]= $langs->trans("DictionnarySendingMethods");
|
$tablib[18]= $langs->trans("DictionnarySendingMethods");
|
||||||
$tablib[19]= $langs->trans("DictionnaryStaff");
|
$tablib[19]= $langs->trans("DictionnaryStaff");
|
||||||
|
$tablib[20]= $langs->trans("DictionnaryOrderMethods");
|
||||||
|
|
||||||
// Requete pour extraction des donnees des dictionnaires
|
// 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";
|
$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";
|
||||||
@ -115,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[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[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[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
|
// Critere de tri du dictionnaire
|
||||||
$tabsqlsort[1] ="pays ASC, code ASC";
|
$tabsqlsort[1] ="pays ASC, code ASC";
|
||||||
@ -136,6 +140,7 @@ $tabsqlsort[16]="sortorder ASC";
|
|||||||
$tabsqlsort[17]="code ASC";
|
$tabsqlsort[17]="code ASC";
|
||||||
$tabsqlsort[18]="code ASC, libelle ASC";
|
$tabsqlsort[18]="code ASC, libelle ASC";
|
||||||
$tabsqlsort[19]="id ASC";
|
$tabsqlsort[19]="id ASC";
|
||||||
|
$tabsqlsort[20]="code ASC, libelle ASC";
|
||||||
|
|
||||||
// Nom des champs en resultat de select pour affichage du dictionnaire
|
// Nom des champs en resultat de select pour affichage du dictionnaire
|
||||||
$tabfield[1] = "code,libelle,pays";
|
$tabfield[1] = "code,libelle,pays";
|
||||||
@ -157,6 +162,7 @@ $tabfield[16]= "code,libelle";
|
|||||||
$tabfield[17]= "code,libelle";
|
$tabfield[17]= "code,libelle";
|
||||||
$tabfield[18]= "code,libelle";
|
$tabfield[18]= "code,libelle";
|
||||||
$tabfield[19]= "code,libelle";
|
$tabfield[19]= "code,libelle";
|
||||||
|
$tabfield[20]= "code,libelle";
|
||||||
|
|
||||||
// Nom des champs d'edition pour modification d'un enregistrement
|
// Nom des champs d'edition pour modification d'un enregistrement
|
||||||
$tabfieldvalue[1] = "code,libelle,pays";
|
$tabfieldvalue[1] = "code,libelle,pays";
|
||||||
@ -178,6 +184,7 @@ $tabfieldvalue[16]= "code,libelle";
|
|||||||
$tabfieldvalue[17]= "code,libelle";
|
$tabfieldvalue[17]= "code,libelle";
|
||||||
$tabfieldvalue[18]= "code,libelle";
|
$tabfieldvalue[18]= "code,libelle";
|
||||||
$tabfieldvalue[19]= "code,libelle";
|
$tabfieldvalue[19]= "code,libelle";
|
||||||
|
$tabfieldvalue[20]= "code,libelle";
|
||||||
|
|
||||||
// Nom des champs dans la table pour insertion d'un enregistrement
|
// Nom des champs dans la table pour insertion d'un enregistrement
|
||||||
$tabfieldinsert[1] = "code,libelle,fk_pays";
|
$tabfieldinsert[1] = "code,libelle,fk_pays";
|
||||||
@ -199,8 +206,11 @@ $tabfieldinsert[16]= "code,label";
|
|||||||
$tabfieldinsert[17]= "code,libelle";
|
$tabfieldinsert[17]= "code,libelle";
|
||||||
$tabfieldinsert[18]= "code,libelle";
|
$tabfieldinsert[18]= "code,libelle";
|
||||||
$tabfieldinsert[19]= "code,libelle";
|
$tabfieldinsert[19]= "code,libelle";
|
||||||
|
$tabfieldinsert[20]= "code,libelle";
|
||||||
|
|
||||||
// Nom du rowid si le champ n'est pas de type autoincrement
|
// Nom du rowid si le champ n'est pas de type autoincrement
|
||||||
|
// Example: "" if id field is "rowid" and has autoincrement on
|
||||||
|
// "nameoffield" if id field is not "rowid" or has not autoincrement on
|
||||||
$tabrowid[1] = "";
|
$tabrowid[1] = "";
|
||||||
$tabrowid[2] = "";
|
$tabrowid[2] = "";
|
||||||
$tabrowid[3] = "";
|
$tabrowid[3] = "";
|
||||||
@ -220,6 +230,7 @@ $tabrowid[16]= "code";
|
|||||||
$tabrowid[17]= "id";
|
$tabrowid[17]= "id";
|
||||||
$tabrowid[18]= "rowid";
|
$tabrowid[18]= "rowid";
|
||||||
$tabrowid[19]= "id";
|
$tabrowid[19]= "id";
|
||||||
|
$tabrowid[20]= "";
|
||||||
|
|
||||||
// Condition to show dictionnary in setup page
|
// Condition to show dictionnary in setup page
|
||||||
$tabcond[1] = true;
|
$tabcond[1] = true;
|
||||||
@ -241,6 +252,7 @@ $tabcond[16]= $conf->societe->enabled;
|
|||||||
$tabcond[17]= $conf->deplacement->enabled;
|
$tabcond[17]= $conf->deplacement->enabled;
|
||||||
$tabcond[18]= $conf->expedition->enabled;
|
$tabcond[18]= $conf->expedition->enabled;
|
||||||
$tabcond[19]= $conf->societe->enabled;
|
$tabcond[19]= $conf->societe->enabled;
|
||||||
|
$tabcond[20]= $conf->fournisseur->enabled;
|
||||||
|
|
||||||
$msg='';
|
$msg='';
|
||||||
|
|
||||||
|
|||||||
@ -625,8 +625,9 @@ DictionnaryTypeContact=Contact types
|
|||||||
DictionnaryEcotaxe=Ecotax (WEEE)
|
DictionnaryEcotaxe=Ecotax (WEEE)
|
||||||
DictionnaryPaperFormat=Paper formats
|
DictionnaryPaperFormat=Paper formats
|
||||||
DictionnaryFees=Type of fees
|
DictionnaryFees=Type of fees
|
||||||
DictionnarySendingMethods=Sendings methods
|
DictionnarySendingMethods=Shipping methods
|
||||||
DictionnaryStaff=Staff
|
DictionnaryStaff=Staff
|
||||||
|
DictionnaryOrderMethods=Ordering methods
|
||||||
SetupSaved=Setup saved
|
SetupSaved=Setup saved
|
||||||
BackToModuleList=Back to modules list
|
BackToModuleList=Back to modules list
|
||||||
BackToDictionnaryList=Back to dictionaries list
|
BackToDictionnaryList=Back to dictionaries list
|
||||||
|
|||||||
@ -635,6 +635,7 @@ DictionnaryPaperFormat= Format papiers
|
|||||||
DictionnaryFees= Types de déplacement et notes de frais
|
DictionnaryFees= Types de déplacement et notes de frais
|
||||||
DictionnarySendingMethods= Méthodes d'expédition
|
DictionnarySendingMethods= Méthodes d'expédition
|
||||||
DictionnaryStaff= Effectifs
|
DictionnaryStaff= Effectifs
|
||||||
|
DictionnaryOrderMethods=Méthodes de commandes
|
||||||
SetupSaved= Configuration sauvegardée
|
SetupSaved= Configuration sauvegardée
|
||||||
BackToModuleList= Retour liste des modules
|
BackToModuleList= Retour liste des modules
|
||||||
BackToDictionnaryList= Retour liste des dictionnaires
|
BackToDictionnaryList= Retour liste des dictionnaires
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user