AAAH#55461 Afmeldtekst op opdrachtniveau inrichten

svn path=/Website/trunk/; revision=41516
This commit is contained in:
Alex Tiehuis
2019-03-12 15:25:21 +00:00
parent 7745299741
commit 53cacfa457

View File

@@ -128,6 +128,12 @@ function model_mld_afmeldtekst()
"label": L("mld_afmeldtekst_usefor_response"),
"typ": "check0",
"hidden_fld": true
},
"useforresorder": {
"dbs": "useformode.forresorder",
"label": L("mld_afmeldtekst_usefor_resorder"),
"typ": "check0",
"hidden_fld": true
}
};
@@ -139,6 +145,7 @@ function model_mld_afmeldtekst()
+ " , DECODE(BITAND(mld_afmeldtekst_usefor, 2), 2, 1, '') forreject"
+ " , DECODE(BITAND(mld_afmeldtekst_usefor, 4), 4, 1, '') fororder"
+ " , DECODE(BITAND(mld_afmeldtekst_usefor, 8), 8, 1, '') forresponse"
+ " , DECODE(BITAND(mld_afmeldtekst_usefor, 16), 16, 1, '') forresorder"
+ " FROM mld_afmeldtekst"
+ ") useformode ";
var get_param = {