Skip to content

Commit

Permalink
Fix: service to expire instead invoice unpayed
Browse files Browse the repository at this point in the history
  • Loading branch information
simnandez committed Sep 5, 2013
1 parent 7229b72 commit d4e6280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/contracts/email_expire_services_to_customers.php
Expand Up @@ -196,8 +196,8 @@
}
}
else
{
print "No unpaid invoices found\n";
{
print "No services to expire found\n";
}

exit(0);
Expand Down Expand Up @@ -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");
}
Expand Down

0 comments on commit d4e6280

Please sign in to comment.