From: Stéphane Jacob Date: Tue, 7 Jul 2009 15:59:12 +0000 (+0200) Subject: Sends comments with the payment notifications (Closes #669). X-Git-Tag: xorg/0.10.1~19 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=cab6799bd173babae09054c0b807ae23b2301b5e;p=platal.git Sends comments with the payment notifications (Closes #669). --- 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}