projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
break _bytecount subroutines out of FS::UI::Web
[freeside.git]
/
FS
/
FS
/
svc_acct.pm
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
a244919
..
1e34ff0
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-24,6
+24,7
@@
use FS::UID qw( datasrc );
use FS::Conf;
use FS::Record qw( qsearch qsearchs fields dbh dbdef );
use FS::Msgcat qw(gettext);
use FS::Conf;
use FS::Record qw( qsearch qsearchs fields dbh dbdef );
use FS::Msgcat qw(gettext);
+use FS::UI::bytecount;
use FS::svc_Common;
use FS::cust_svc;
use FS::part_svc;
use FS::svc_Common;
use FS::cust_svc;
use FS::part_svc;
@@
-277,22
+278,22
@@
sub table_info {
type => 'text',
disable_inventory => 1,
disable_select => 1,
type => 'text',
disable_inventory => 1,
disable_select => 1,
- 'format' => \&FS::UI::
Web
::display_bytecount,
- 'parse' => \&FS::UI::
Web
::parse_bytecount,
+ 'format' => \&FS::UI::
bytecount
::display_bytecount,
+ 'parse' => \&FS::UI::
bytecount
::parse_bytecount,
},
'downbytes' => { label => 'Download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
},
'downbytes' => { label => 'Download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
- 'format' => \&FS::UI::
Web
::display_bytecount,
- 'parse' => \&FS::UI::
Web
::parse_bytecount,
+ 'format' => \&FS::UI::
bytecount
::display_bytecount,
+ 'parse' => \&FS::UI::
bytecount
::parse_bytecount,
},
'totalbytes'=> { label => 'Total up and download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
},
'totalbytes'=> { label => 'Total up and download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
- 'format' => \&FS::UI::
Web
::display_bytecount,
- 'parse' => \&FS::UI::
Web
::parse_bytecount,
+ 'format' => \&FS::UI::
bytecount
::display_bytecount,
+ 'parse' => \&FS::UI::
bytecount
::parse_bytecount,
},
'seconds_threshold' => { label => 'Seconds',
type => 'text',
},
'seconds_threshold' => { label => 'Seconds',
type => 'text',
@@
-303,22
+304,22
@@
sub table_info {
type => 'text',
disable_inventory => 1,
disable_select => 1,
type => 'text',
disable_inventory => 1,
disable_select => 1,
- 'format' => \&FS::UI::
Web
::display_bytecount,
- 'parse' => \&FS::UI::
Web
::parse_bytecount,
+ 'format' => \&FS::UI::
bytecount
::display_bytecount,
+ 'parse' => \&FS::UI::
bytecount
::parse_bytecount,
},
'downbytes_threshold' => { label => 'Download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
},
'downbytes_threshold' => { label => 'Download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
- 'format' => \&FS::UI::
Web
::display_bytecount,
- 'parse' => \&FS::UI::
Web
::parse_bytecount,
+ 'format' => \&FS::UI::
bytecount
::display_bytecount,
+ 'parse' => \&FS::UI::
bytecount
::parse_bytecount,
},
'totalbytes_threshold'=> { label => 'Total up and download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
},
'totalbytes_threshold'=> { label => 'Total up and download',
type => 'text',
disable_inventory => 1,
disable_select => 1,
- 'format' => \&FS::UI::
Web
::display_bytecount,
- 'parse' => \&FS::UI::
Web
::parse_bytecount,
+ 'format' => \&FS::UI::
bytecount
::display_bytecount,
+ 'parse' => \&FS::UI::
bytecount
::parse_bytecount,
},
},
};
},
},
};