CSUN#37615 Bijlages [mee kunnen sturen met notificatie]

svn path=/Website/trunk/; revision=30956
This commit is contained in:
Erik Groener
2016-10-04 07:00:13 +00:00
parent d8a8c063bb
commit aff26ce698

View File

@@ -73,6 +73,7 @@ function sendNotification(ref_key, pcode)
+ " , fac_notificatie_key"
+ " , fac_srtnotificatie_xmlnode"
+ " , fac_srtnotificatie_code"
+ " , fac_srtnotificatie_kenmerk_key"
+ " , NVL(fac_notificatie_extrakey, -1) fac_notificatie_extrakey"
+ " , fac_notificatie_sender_email"
+ " , COALESCE(fac_notificatie_lang, 'NL') fac_notificatie_lang"
@@ -97,7 +98,8 @@ function sendNotification(ref_key, pcode)
Log2File(1, "== Notificatie: "
+ oRs("fac_notificatie_key").value + " "
+ oRs("fac_srtnotificatie_code").value + ": "
+ oRs("fac_notificatie_refkey").value
+ oRs("fac_notificatie_refkey").value + "; "
+ oRs("fac_srtnotificatie_kenmerk_key").value
+ " (" + toDateTimeString(new Date()) + ")"
);
if ((S("puo_flags") & 1) != 1) // Voor in testomgevingen
@@ -151,7 +153,7 @@ function notificationMail(rec, p_notificationXSL, params)
, rec("fac_notificatie_oms").Value
, ""
, { attachFileName: ""
, attachFolder: ""
, attachFolder: rec("fac_srtnotificatie_kenmerk_key").Value
, attachments: []
}
);
@@ -209,7 +211,7 @@ function notificationMail(rec, p_notificationXSL, params)
, ""
, strResult
, { attachFileName: ""
, attachFolder: ""
, attachFolder: rec("fac_srtnotificatie_kenmerk_key").Value
, attachments: attach_obj
}
);
@@ -243,7 +245,7 @@ function notificationMail(rec, p_notificationXSL, params)
, "Zie HTML attachment"
, strResult
, { attachFileName: "Facilitor.html"
, attachFolder: ""
, attachFolder: rec("fac_srtnotificatie_kenmerk_key").Value
, attachments: []
}
);