UWVA#25933: mogelijkheid aanpassing reply to-adres bij handmatig doorsturen.
svn path=/Website/trunk/; revision=18162
This commit is contained in:
@@ -37,7 +37,6 @@ var subject = getQParam("subject", "");
|
||||
var pshowcompany = getQParamInt("pshowcompany", 0) == 1;
|
||||
var submitting = getQParamInt("submitting", 0) == 1;
|
||||
var emails = getQParam("emails", "");
|
||||
var mailfrom = getQParamInt("mailfrom", 0) == 1;
|
||||
|
||||
function tracksentemail(key, srttracking, emails, mailfrom, subject, prs_perslid_key, xkey)
|
||||
{
|
||||
@@ -56,6 +55,12 @@ function tracksentemail(key, srttracking, emails, mailfrom, subject, prs_perslid
|
||||
|
||||
function addnotification(pfrom, pto, pcode, pref, poptmessage, poptstatus, poptemail, poptmailfrom, poptmobile, pxref)
|
||||
{
|
||||
if (poptmailfrom == "")
|
||||
{ // Geen namens mail adres meegekregen. Dan mailadres van user invullen
|
||||
// notify approver and requestor by message & mail as configured in fac_srtnotificatie with BESAPx
|
||||
poptmailfrom = user.prs_perslid_email();
|
||||
}
|
||||
|
||||
Oracle.Execute("BEGIN fac.putnotificationsrtprio("
|
||||
+ pfrom
|
||||
+ ", " + pto
|
||||
@@ -67,7 +72,7 @@ function tracksentemail(key, srttracking, emails, mailfrom, subject, prs_perslid
|
||||
+ ", " + poptmobile
|
||||
+ ", " + pxref
|
||||
+ ", 2"
|
||||
+ ", " + safe.quoted_sql(poptmailfrom)
|
||||
+ ", " + (poptmailfrom? safe.quoted_sql(poptmailfrom) : "NULL")
|
||||
+ "); END;");
|
||||
return true;
|
||||
}
|
||||
@@ -124,7 +129,8 @@ if (submitting)
|
||||
<%
|
||||
}
|
||||
else
|
||||
{ %>
|
||||
{
|
||||
var mailfrom = getQParamInt("mailfrom", 0) == 1; %>
|
||||
<html>
|
||||
<head>
|
||||
<% // Bepaal default email
|
||||
|
||||
Reference in New Issue
Block a user