FSN#31698 Rapportgenerator fixes

svn path=/Website/trunk/; revision=24704
This commit is contained in:
Jos Groot Lipman
2015-04-07 11:52:06 +00:00
parent 3c4dbf3f94
commit 805396cf06
9 changed files with 133 additions and 17 deletions

View File

@@ -115,6 +115,7 @@ function model_reportcolumns(usrrap_key, params)
var special_cols = ucolname.match(/^(HIDE_F_|FCLT_X_|FCLT_3D_|FCLT_KEY|FCLT_F_|HTML_|FCLT_D_|FCLT_C_)/);
if (special_cols)
colpar.caption = colpar.caption.substring(special_cols[0].length);
colpar.caption = colpar.caption.replace(/\_/g, " "); // underscores er uit
if (ucolname.match(/^(HIDE_F_|FCLT_3D_|FCLT_KEY)/))
colpar.visible = 'H'; // Hidden
@@ -125,8 +126,10 @@ function model_reportcolumns(usrrap_key, params)
if (view_name_short.match(/_V_UDR/))
colpar.visible = 'H'; // Hidden, die hebben te veel kolommen
if (ucolname.match(/^(FCLT_F_|FCLT_D_|FCLT_X_)/))
if (ucolname.match(/^(FCLT_F_|FCLT_X_)/))
colpar.filter = 'A';
if (ucolname.match(/^(FCLT_D_)/))
colpar.filter = 'R'; // Altijd range
var ora_type = oRs("data_type").Value;
var ora_length = oRs("data_length").Value;