[freeside-commits] freeside/FS/FS/Cron alert_expiration.pm, 1.1.2.1, 1.1.2.2
Mark Wells
mark at wavetail.420.am
Wed Sep 1 10:51:35 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv21676/FS/FS/Cron
Modified Files:
Tag: FREESIDE_1_9_BRANCH
alert_expiration.pm
Log Message:
make expdate available in new alerter templates, RT#9786
Index: alert_expiration.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/alert_expiration.pm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -w -d -r1.1.2.1 -r1.1.2.2
--- alert_expiration.pm 28 Jul 2010 23:20:58 -0000 1.1.2.1
+++ alert_expiration.pm 1 Sep 2010 17:51:33 -0000 1.1.2.2
@@ -99,6 +99,7 @@
my $msgnum = $conf->config('alerter_msgnum', $agentnum);
if ( $msgnum ) { # new hotness
my $msg_template = qsearchs('msg_template', { msgnum => $msgnum } );
+ $customer->setfield('expdate', $expire_time);
$error = $msg_template->send('cust_main' => $customer);
}
else { #!$msgnum, the hard way
More information about the freeside-commits
mailing list