From d4e62805ef1810c26bc6643f743a3eba1273a513 Mon Sep 17 00:00:00 2001 From: simnandez <jmenent@2byte.es> Date: Thu, 5 Sep 2013 16:13:30 +0200 Subject: [PATCH] Fix: service to expire instead invoice unpayed --- scripts/contracts/email_expire_services_to_customers.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/contracts/email_expire_services_to_customers.php b/scripts/contracts/email_expire_services_to_customers.php index 83f71d7e65d..458f0989bb2 100755 --- a/scripts/contracts/email_expire_services_to_customers.php +++ b/scripts/contracts/email_expire_services_to_customers.php @@ -196,8 +196,8 @@ if ($resql) } } else - { - print "No unpaid invoices found\n"; + { + print "No services to expire found\n"; } exit(0); @@ -261,7 +261,7 @@ function envoi_mail($mode,$oldemail,$message,$total,$userlang,$oldtarget,$durati $allmessage.=$conf->global->SCRIPT_EMAIL_EXPIRE_SERVICES_CUSTOMERS_HEADER; } else - { + { $allmessage.= "Dear customer".($usehtml?"<br>\n":"\n").($usehtml?"<br>\n":"\n"); $allmessage.= "Please, find a summary of the services contracted by you that are about to expire.".($usehtml?"<br>\n":"\n").($usehtml?"<br>\n":"\n"); } -- GitLab