[freeside-commits] freeside/FS/FS/part_pkg flat.pm,1.13,1.13.2.1
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Apr 11 20:18:27 PDT 2007
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.180.2.4, 1.180.2.5 part_pkg.pm, 1.56.2.1, 1.56.2.2 part_svc.pm, 1.30, 1.30.2.1 svc_acct.pm, 1.217.2.5, 1.217.2.6
- Next message: [freeside-commits] freeside/httemplate/browse part_pkg.cgi, 1.37, 1.37.2.1 part_svc.cgi, 1.30, 1.30.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail:/tmp/cvs-serv8008/FS/FS/part_pkg
Modified Files:
Tag: FREESIDE_1_7_BRANCH
flat.pm
Log Message:
input and output on data volume fields specified with k,m,g,or t (backport)
Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -d -r1.13 -r1.13.2.1
--- flat.pm 2 Feb 2007 06:29:34 -0000 1.13
+++ flat.pm 12 Apr 2007 03:18:24 -0000 1.13.2.1
@@ -28,27 +28,43 @@
},
'upbytes' => { 'name' => 'Upload limit for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'downbytes' => { 'name' => 'Download limit for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'totalbytes' => { 'name' => 'Transfer limit for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'recharge_amount' => { 'name' => 'Cost of recharge for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'recharge_seconds' => { 'name' => 'Recharge time for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'recharge_upbytes' => { 'name' => 'Recharge upload for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'recharge_downbytes' => { 'name' => 'Recharge download for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
'recharge_totalbytes' => { 'name' => 'Recharge transfer for this package',
'default' => '',
+ 'format' => \&FS::UI::Web::display_bytecount,
+ 'parse' => \&FS::UI::Web::parse_bytecount,
},
},
'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit',
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.180.2.4, 1.180.2.5 part_pkg.pm, 1.56.2.1, 1.56.2.2 part_svc.pm, 1.30, 1.30.2.1 svc_acct.pm, 1.217.2.5, 1.217.2.6
- Next message: [freeside-commits] freeside/httemplate/browse part_pkg.cgi, 1.37, 1.37.2.1 part_svc.cgi, 1.30, 1.30.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list