MARX#39537 flexkenmerken kunnen worden aangegeven voor tonen in lijsten (MLD+OPDR)
svn path=/Website/trunk/; revision=33639
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user