HSLE#38450 Standaard "afmeld"teksten bij mailen

svn path=/Website/trunk/; revision=38289
This commit is contained in:
Erik Groener
2018-06-21 11:28:38 +00:00
parent 179b83fdad
commit 2e57f13f1a

View File

@@ -443,7 +443,7 @@ function bestandenlijstALL(pmodule, pniveau, pkey)
+ " OR (ma.mld_stdmelding_key IS NULL AND ma.mld_ins_discipline_key IS NULL)"
+ " )"
+ " AND BITAND(ma.mld_afmeldtekst_usefor, 8) = 8"
+ " AND mm.mld_melding_key = " + pkey;
+ " AND mm.mld_melding_key = " + pkey
+ " UNION "
+ "SELECT mo.mld_opdr_key"
+ " ," + safe.quoted_sql(L("lcl_opdr_closeremark") + " /") +"|| mo.mld_opdr_bedrijfopdr_volgnr"