freeside/httemplate/edit/process part_bill_event.cgi,1.5,1.5.4.1
ivan
ivan at pouncequick.420.am
Fri May 14 05:25:52 PDT 2004
- Previous message: freeside/httemplate/edit part_bill_event.cgi,1.10.4.5,1.10.4.6
- Next message: freeside/FS/FS part_bill_event.pm,1.6.4.5,1.6.4.6 cust_main.pm,1.92.2.46,1.92.2.47 cust_bill.pm,1.41.2.47,1.41.2.48 Conf.pm,1.47.4.45,1.47.4.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory pouncequick:/tmp/cvs-serv23947/httemplate/edit/process
Modified Files:
Tag: FREESIDE_1_4_BRANCH
part_bill_event.cgi
Log Message:
add per-agent invoice templates, add per-package suspend invoice events, fix automatic creation of invoice_latex alternate templates
Index: part_bill_event.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/part_bill_event.cgi,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -d -r1.5 -r1.5.4.1
--- part_bill_event.cgi 30 Aug 2002 23:42:47 -0000 1.5
+++ part_bill_event.cgi 14 May 2004 12:25:48 -0000 1.5.4.1
@@ -5,7 +5,7 @@
my $old = qsearchs('part_bill_event',{'eventpart'=>$eventpart}) if $eventpart;
#s/days/seconds/
-$cgi->param('seconds', $cgi->param('days') * 86400 );
+$cgi->param('seconds', int( $cgi->param('days') * 86400 ) );
my $error;
if ( ! $cgi->param('plan_weight_eventcode') ) {
@@ -21,7 +21,8 @@
my $plandata = '';
while ( $eventcode =~ /%%%(\w+)%%%/ ) {
my $field = $1;
- my $value = $cgi->param($field);
+ my $value = join(', ', $cgi->param($field) );
+ $cgi->param($field, $value); #in case it errors out
$eventcode =~ s/%%%$field%%%/$value/;
$plandata .= "$field $value\n";
}
- Previous message: freeside/httemplate/edit part_bill_event.cgi,1.10.4.5,1.10.4.6
- Next message: freeside/FS/FS part_bill_event.pm,1.6.4.5,1.6.4.6 cust_main.pm,1.92.2.46,1.92.2.47 cust_bill.pm,1.41.2.47,1.41.2.48 Conf.pm,1.47.4.45,1.47.4.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list