freeside/httemplate/view svc_acct.cgi,1.41,1.42
Ivan Kohler
ivan at pouncequick.420.am
Wed Jun 8 02:03:09 PDT 2005
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory pouncequick:/tmp/cvs-serv25069/httemplate/view
Modified Files:
svc_acct.cgi
Log Message:
prepaid card recharge
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_acct.cgi,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- svc_acct.cgi 13 Apr 2005 12:31:30 -0000 1.41
+++ svc_acct.cgi 8 Jun 2005 09:03:06 -0000 1.42
@@ -283,6 +283,11 @@
print '<TR><TD ALIGN="right">RADIUS groups</TD><TD BGCOLOR="#ffffff">'.
join('<BR>', $svc_acct->radius_groups). '</TD></TR>';
+if ( $svc_acct->seconds =~ /^\d+$/ ) {
+ print '<TR><TD ALIGN="right">Prepaid time</TD><TD BGCOLOR="#ffffff">'.
+ duration_exact($svc_acct->seconds). '</TD></TR>';
+}
+
# Can this be abstracted further? Maybe a library function like
# widget('HTML', 'view', $svc_acct) ? It would definitely make UI
# style management easier.
More information about the freeside-commits
mailing list