freeside/httemplate/browse part_referral.cgi,1.12.4.6,1.12.4.7
ivan
ivan at pouncequick.420.am
Thu Apr 1 03:09:31 PST 2004
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory pouncequick:/tmp/cvs-serv25751
Modified Files:
Tag: FREESIDE_1_4_BRANCH
part_referral.cgi
Log Message:
oops!
Index: part_referral.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_referral.cgi,v
retrieving revision 1.12.4.6
retrieving revision 1.12.4.7
diff -u -d -r1.12.4.6 -r1.12.4.7
--- part_referral.cgi 1 Apr 2004 10:56:32 -0000 1.12.4.6
+++ part_referral.cgi 1 Apr 2004 11:09:29 -0000 1.12.4.7
@@ -64,10 +64,10 @@
<%= $part_referral->refnum %></A></TD>
<TD><A HREF="<%= $p %>edit/part_referral.cgi?<%= $part_referral->refnum %>">
<%= $part_referral->referral %></A></TD>
- <% for my $after ( values %after ) {
+ <% for my $period ( keys %after ) {
$sth->execute( $part_referral->refnum,
- $today-$after,
- $today+$before{$today},
+ $today-$after{$period},
+ $today+$before{$period},
) or die $sth->errstr;
my $number = $sth->fetchrow_arrayref->[0];
%>
@@ -83,9 +83,9 @@
%>
<TR>
<TH COLSPAN=2>Total</TH>
- <% for my $after ( values %after ) {
- $sth->execute( $today-$after,
- $today+$before{$today},
+ <% for my $period ( keys %after ) {
+ $sth->execute( $today-$after{$period},
+ $today+$before{$period},
) or die $sth->errstr;
my $number = $sth->fetchrow_arrayref->[0];
%>
More information about the freeside-commits
mailing list