X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-expiration-alerter;h=ffd75f9a5a12907a94d980c311c8daa93837955b;hb=82ac92e9804b65f209ee5d38f826c4b9c2897ce9;hp=691fd3aa5cf2bbc8433b654d0520b685e2f1f869;hpb=b8cfd0780aa40bb07f3215bf9cb58011f5e32a35;p=freeside.git diff --git a/FS/bin/freeside-expiration-alerter b/FS/bin/freeside-expiration-alerter index 691fd3aa5..ffd75f9a5 100755 --- a/FS/bin/freeside-expiration-alerter +++ b/FS/bin/freeside-expiration-alerter @@ -138,6 +138,10 @@ foreach my $customer (@customers) } $FS::alerter::_template::expdate = $expire_time; + $FS::alerter::_template::company_name = $conf->config('company_name'); + $FS::alerter::_template::company_address = + join("\n", $conf->config('company_address') ). "\n"; + my $message = new Mail::Internet ( 'Header' => $header, 'Body' => [ $alerter->fill_in( PACKAGE => 'FS::alerter::_template' ) ], @@ -200,10 +204,6 @@ is about to expire. Usually run as a cron job. user: From the mapsecrets file - see config.html from the base documentation -=head1 VERSION - -$Id: freeside-expiration-alerter,v 1.5 2003-04-21 20:53:57 ivan Exp $ - =head1 BUGS Yes..... Use at your own risk. No guarantees or warrantees of any