TWYN#52191 Rapport BMUt_NUM

svn path=/Website/branches/v2017.3/; revision=37194
This commit is contained in:
Erik Groener
2018-02-27 11:56:30 +00:00
parent cbb9b1b9ef
commit 13a921d012

View File

@@ -84,7 +84,7 @@ function model_bgt_budgetmutatie()
"dbs": "bgt_budgetmutatie_code",
"label": L("bgt_budgetmutatie_code"),
"typ": "varchar",
"LOV": ";;E;E;M;M;R;R",
"LOV": budgetmutatie_code_LOV(),
"emptyoption": null
},
"sequence": {
@@ -230,6 +230,16 @@ function model_bgt_budgetmutatie()
]
};
function budgetmutatie_code_LOV()
{
var mutatie_code = ";;"
+ "A;A - automatische overboeking;"
+ "E;E - extra;"
+ "M;M - mutatie;"
+ "R;R - reserve";
return mutatie_code;
}
this.hook_pre_edit = function (obj, fld)
{
var btw_data = {};