[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.53.2.1, 1.53.2.2
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Apr 25 21:47:18 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail:/tmp/cvs-serv14726/FS/FS/ClientAPI
Modified Files:
Tag: FREESIDE_1_7_BRANCH
MyAccount.pm
Log Message:
more datavolume format (backport)
Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.53.2.1
retrieving revision 1.53.2.2
diff -u -d -r1.53.2.1 -r1.53.2.2
--- MyAccount.pm 19 Apr 2007 23:38:33 -0000 1.53.2.1
+++ MyAccount.pm 26 Apr 2007 04:47:16 -0000 1.53.2.2
@@ -580,14 +580,14 @@
'username' => $svc_x->username,
'email' => $svc_x->email,
'seconds' => $svc_x->seconds,
- 'upbytes' => $svc_x->upbytes,
- 'downbytes' => $svc_x->downbytes,
- 'totalbytes'=> $svc_x->totalbytes,
+ 'upbytes' => FS::UI::bytecount::display_bytecount($svc_x->upbytes),
+ 'downbytes' => FS::UI::bytecount::display_bytecount($svc_x->downbytes),
+ 'totalbytes'=> FS::UI::bytecount::display_bytecount($svc_x->totalbytes),
'recharge_amount' => $part_pkg->option('recharge_amount', 1),
'recharge_seconds' => $part_pkg->option('recharge_seconds', 1),
- 'recharge_upbytes' => $part_pkg->option('recharge_upbytes', 1),
- 'recharge_downbytes' => $part_pkg->option('recharge_downbytes', 1),
- 'recharge_totalbytes' => $part_pkg->option('recharge_totalbytes', 1),
+ 'recharge_upbytes' => FS::UI::bytecount::display_bytecount($part_pkg->option('recharge_upbytes', 1)),
+ 'recharge_downbytes' => FS::UI::bytecount::display_bytecount($part_pkg->option('recharge_downbytes', 1)),
+ 'recharge_totalbytes' => FS::UI::bytecount::display_bytecount($part_pkg->option('recharge_totalbytes', 1)),
# more...
};
}
More information about the freeside-commits
mailing list