|
@@ -188,7 +188,7 @@ $tabsql[27]= "SELECT id as rowid, code, libelle, active FROM ".MAIN_DB_PREF
|
|
|
$tabsql[28]= "SELECT h.rowid as rowid, h.code, h.label, h.affect, h.delay, h.newbymonth, h.fk_country as country_id, c.code as country_code, c.label as country, h.active FROM ".MAIN_DB_PREFIX."c_holiday_types as h LEFT JOIN ".MAIN_DB_PREFIX."c_country as c ON h.fk_country=c.rowid";
|
|
|
$tabsql[29]= "SELECT rowid as rowid, code, label, percent, position, active FROM ".MAIN_DB_PREFIX."c_lead_status";
|
|
|
$tabsql[30]= "SELECT rowid, code, name, paper_size, orientation, metric, leftmargin, topmargin, nx, ny, spacex, spacey, width, height, font_size, custom_x, custom_y, active FROM ".MAIN_DB_PREFIX."c_format_cards";
|
|
|
-$tabsql[31]= "SELECT s.rowid as rowid, pcg_version, s.fk_pays as country_id, c.code as country_code, c.label as country, s.label, s.active FROM ".MAIN_DB_PREFIX."accounting_system as s, ".MAIN_DB_PREFIX."c_country as c WHERE s.fk_pays=c.rowid and c.active=1";
|
|
|
+$tabsql[31]= "SELECT s.rowid as rowid, pcg_version, s.label, s.active FROM ".MAIN_DB_PREFIX."accounting_system as s";
|
|
|
$tabsql[32]= "SELECT a.rowid as rowid, a.code as code, a.label, a.range_account, a.sens, a.category_type, a.formula, a.position as position, a.fk_country as country_id, c.code as country_code, c.label as country, a.active FROM ".MAIN_DB_PREFIX."c_accounting_category as a, ".MAIN_DB_PREFIX."c_country as c WHERE a.fk_country=c.rowid and c.active=1";
|
|
|
$tabsql[33]= "SELECT rowid, pos, code, label, active FROM ".MAIN_DB_PREFIX."c_hrm_department";
|
|
|
$tabsql[34]= "SELECT rowid, pos, code, label, c_level, active FROM ".MAIN_DB_PREFIX."c_hrm_function";
|
|
@@ -262,7 +262,7 @@ $tabfield[27]= "code,libelle";
|
|
|
$tabfield[28]= "code,label,affect,delay,newbymonth,country_id,country";
|
|
|
$tabfield[29]= "code,label,percent,position";
|
|
|
$tabfield[30]= "code,name,paper_size,orientation,metric,leftmargin,topmargin,nx,ny,spacex,spacey,width,height,font_size,custom_x,custom_y";
|
|
|
-$tabfield[31]= "pcg_version,country_id,country,label";
|
|
|
+$tabfield[31]= "pcg_version,label";
|
|
|
$tabfield[32]= "code,label,range_account,sens,category_type,formula,position,country_id,country";
|
|
|
$tabfield[33]= "code,label";
|
|
|
$tabfield[34]= "code,label";
|
|
@@ -299,7 +299,7 @@ $tabfieldvalue[27]= "code,libelle";
|
|
|
$tabfieldvalue[28]= "code,label,affect,delay,newbymonth,country";
|
|
|
$tabfieldvalue[29]= "code,label,percent,position";
|
|
|
$tabfieldvalue[30]= "code,name,paper_size,orientation,metric,leftmargin,topmargin,nx,ny,spacex,spacey,width,height,font_size,custom_x,custom_y";
|
|
|
-$tabfieldvalue[31]= "pcg_version,country,label";
|
|
|
+$tabfieldvalue[31]= "pcg_version,label";
|
|
|
$tabfieldvalue[32]= "code,label,range_account,sens,category_type,formula,position,country";
|
|
|
$tabfieldvalue[33]= "code,label";
|
|
|
$tabfieldvalue[34]= "code,label";
|
|
@@ -336,7 +336,7 @@ $tabfieldinsert[27]= "code,libelle";
|
|
|
$tabfieldinsert[28]= "code,label,affect,delay,newbymonth,fk_country";
|
|
|
$tabfieldinsert[29]= "code,label,percent,position";
|
|
|
$tabfieldinsert[30]= "code,name,paper_size,orientation,metric,leftmargin,topmargin,nx,ny,spacex,spacey,width,height,font_size,custom_x,custom_y";
|
|
|
-$tabfieldinsert[31]= "pcg_version,fk_pays,label";
|
|
|
+$tabfieldinsert[31]= "pcg_version,label";
|
|
|
$tabfieldinsert[32]= "code,label,range_account,sens,category_type,formula,position,fk_country";
|
|
|
$tabfieldinsert[33]= "code,label";
|
|
|
$tabfieldinsert[34]= "code,label";
|