From cab6799bd173babae09054c0b807ae23b2301b5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 7 Jul 2009 17:59:12 +0200 Subject: [PATCH] Sends comments with the payment notifications (Closes #669). --- ChangeLog | 3 +++ modules/payment.php | 1 + templates/xnetevents/edit.tpl | 10 ++++++---- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e51e981..be4b077 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,9 @@ Bug/Wish: - #963: Fixes notification email on removal of "nom d'usage" -VZA - #972: Adds a legend on the email redirection page -JAC + * Payment: + - #669: Sends comments with the payment notifications -JAC + * Profile: - #951: The address of a dead person is her last address -JAC - #958: Fix the address in the professionnal vcard -JAC diff --git a/modules/payment.php b/modules/payment.php index f54ce5b..8f1cd61 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -226,6 +226,7 @@ class PaymentModule extends PLModule $conf_text = str_replace("",$nom,$conf_text); $conf_text = str_replace("",$promo,$conf_text); $conf_text = str_replace("",$montant,$conf_text); + $conf_text = str_replace("", Env::v('comment'), $conf_text); $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); diff --git a/templates/xnetevents/edit.tpl b/templates/xnetevents/edit.tpl index f282b58..5670261 100644 --- a/templates/xnetevents/edit.tpl +++ b/templates/xnetevents/edit.tpl @@ -163,9 +163,9 @@ function deadlineChange(box) Il faut que tu définisses le texte de l'email de confirmation de paiement. Pour ceci, tu peux adapter le modèle qui suit : {javascript name=ajax}