MARX#39537 flexkenmerken kunnen worden aangegeven voor tonen in lijsten (MLD+OPDR)

svn path=/Website/trunk/; revision=33639
This commit is contained in:
Jos Groot Lipman
2017-05-01 13:33:22 +00:00
parent eb5c4e63dc
commit fa8cbebcd2
2 changed files with 4 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ function mld_list (pautfunction, params)
params.minfo = minfo;
var tiny = (params.tiny==1);
if (params.withflex)
if (params.withflex && !excel && !print)
{
// Fast check to see if we have any listable flex at all, to prevent superfluous column
var sql= "SELECT 1"
@@ -884,7 +884,7 @@ function mld_list (pautfunction, params)
rst.addColumn(new Column({caption: L("lcl_fac_like_remark"), content: "oordeel_opm"}));
}
if (anyflex && !excel && !print)
if (anyflex)
rst.addColumn(new Column({caption: L("lcl_flexlist"), content: "flex"}));
/* de mogelijke acties */

View File

@@ -191,7 +191,7 @@ function opdr_list(params)
}
}
if (params.withflex)
if (params.withflex && !excel && !print)
{
// Fast check to see if we have any listable flex at all, to prevent superfluous empty column
var sql= "SELECT 1"
@@ -622,7 +622,7 @@ function opdr_list(params)
{
rst.addColumn(new Column({caption: L("lcl_mld_invoiced") + " (" + L("lcl_valutasign") + ")", content: "gefactureerd", datatype: "currency", total: true}));
}
if (params.anyflex && !excel && !print)
if (params.anyflex)
rst.addColumn(new Column({caption: L("lcl_flexlist"), content: "flex"}));
// actions conditioneel maken?