phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r721 - trunk/invoicing/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r721 - trunk/invoicing/include
Date: Fri, 14 Mar 2014 17:57:30 +0100 (CET)

Author: danydb
Date: 2014-03-14 17:57:29 +0100 (Fri, 14 Mar 2014)
New Revision: 721

Modified:
   trunk/invoicing/include/invoice_send_mail.inc.php
Log:
Task #991 - Proposer d'ajouter la facture dans le suivi
Title in followup is the same as the subject of email if empty

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
===================================================================
--- trunk/invoicing/include/invoice_send_mail.inc.php   2014-03-14 16:56:29 UTC 
(rev 720)
+++ trunk/invoicing/include/invoice_send_mail.inc.php   2014-03-14 16:57:29 UTC 
(rev 721)
@@ -41,7 +41,7 @@
 
 //-- Follow up
 $ag_timestamp = HtmlInput::default_value_post('ag_timestamp', date('d.m.Y'));
-$ag_title = HtmlInput::default_value_post('ag_title', _('Ajouté depuis 
plugin'));
+$ag_title = HtmlInput::default_value_post('ag_title', $message);
 $ag_remind_date=HtmlInput::default_value_post('ag_remind_date','');
 $ag_dest=HtmlInput::default_value_post('ag_dest',1);
 
@@ -49,7 +49,7 @@
     $ag_timestamp = date('d.m.Y');
 
 if (trim($ag_title) == "")
-    $ag_title = _("Ajouté depuis plugin");
+    $ag_title = $message;
 
 if (isDate($ag_remind_date) == null) {
     $ag_remind_date=null;



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]