VENR#36728 ook Kostenplaats tonen in MI variant
svn path=/Website/trunk/; revision=30830
This commit is contained in:
@@ -328,6 +328,9 @@ function opdr_list (params)
|
||||
+ " , (SELECT " + S("prs_pers_string")
|
||||
+ " FROM prs_perslid p"
|
||||
+ " WHERE p.prs_perslid_key = o.prs_perslid_key) behandelaar"
|
||||
+ " , (SELECT " + S("prs_kpn_string")
|
||||
+ " FROM prs_kostenplaats k"
|
||||
+ " WHERE k.prs_kostenplaats_key = o.prs_kostenplaats_key) kpstring"
|
||||
+ " , o.mld_opdr_key"
|
||||
+ " , c.cnt_contract_key"
|
||||
+ " , c.cnt_contract_nummer"
|
||||
@@ -1051,21 +1054,27 @@ function opdr_list (params)
|
||||
}
|
||||
if (!tiny && S("mld_show_order_details"))
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_inf_Opmerking"), content: "mld_opdr_opmerking"})); // INKORTEN als niet print??
|
||||
|
||||
if (groepering_key == 2 || groepering_key == 16)
|
||||
{
|
||||
rst.addColumn(new Column({caption: L("lcl_account"), content: "kpstring"}));
|
||||
}
|
||||
|
||||
if (!tiny)
|
||||
rst.addColumn(new Column({caption: L("lcl_opdr_kosten") + " (" + S("currency_pref") + ")", content: "mld_opdr_kosten", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_opdr_kosten") + " (" + L("lcl_valutasign") + ")", content: "mld_opdr_kosten", datatype: "currency", total: true}));
|
||||
if (fronto || backo)
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_approver"), content: fncolFiatteur}));
|
||||
|
||||
if (groepering_key == 16)
|
||||
{
|
||||
rst.addColumn(new Column({caption: L("lcl_hours"), content: "mld_opdr_uren", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_hour_rate") + "(" + S("currency_pref") + ")", content: "mld_opdr_uurloon", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_mater_cost") + "(" + S("currency_pref") + ")", content: "mld_opdr_materiaal", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_correct") + "(" + S("currency_pref") + ")", content: "correctie", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_hour_rate") + " (" + L("lcl_valutasign") + ")", content: "mld_opdr_uurloon", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_mater_cost") + " (" + L("lcl_valutasign") + ")", content: "mld_opdr_materiaal", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_correct") + " (" + L("lcl_valutasign") + ")", content: "correctie", datatype: "currency", total: true}));
|
||||
}
|
||||
if (groepering_key == 2 || groepering_key == 16)
|
||||
{
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_invoiced") + "(" + S("currency_pref") + ")", content: "gefactureerd", datatype: "currency", total: true}));
|
||||
rst.addColumn(new Column({caption: L("lcl_mld_invoiced") + " (" + L("lcl_valutasign") + ")", content: "gefactureerd", datatype: "currency", total: true}));
|
||||
}
|
||||
|
||||
// actions conditioneel maken?
|
||||
|
||||
Reference in New Issue
Block a user