[freeside-commits] freeside/httemplate/misc/process
recharge_svc.html, 1.1, 1.2
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Dec 6 18:40:34 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail:/tmp/cvs-serv19099/httemplate/misc/process
Modified Files:
recharge_svc.html
Log Message:
retouch bandwidth countdown
Index: recharge_svc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/recharge_svc.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- recharge_svc.html 30 Nov 2006 02:27:56 -0000 1.1
+++ recharge_svc.html 7 Dec 2006 02:40:32 -0000 1.2
@@ -23,12 +23,12 @@
%
%unless ($error) {
%
-%my ($amount, $seconds, $up, $down) = (0, 0, 0, 0);
-%$error = $cust_main->get_prepay($prepaid, \$amount, \$seconds, \$up, \$down)
+%my ($amount, $seconds, $up, $down, $total) = (0, 0, 0, 0, 0);
+%$error = $cust_main->get_prepay($prepaid, \$amount, \$seconds, \$up, \$down, \$total)
% || $svc_acct->increment_seconds($seconds)
% || $svc_acct->increment_upbytes($up)
% || $svc_acct->increment_downbytes($down)
-% || $svc_acct->increment_totalbytes($up + $down)
+% || $svc_acct->increment_totalbytes($total)
% || $cust_main->insert_cust_pay_prepay( $amount, $prepaid );
%}
%
More information about the freeside-commits
mailing list