projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shorter names and rearranged weights for a brighter tommorow^W^Wbetter price plan...
[freeside.git]
/
FS
/
FS
/
part_pkg
/
voip_sqlradacct.pm
diff --git
a/FS/FS/part_pkg/voip_sqlradacct.pm
b/FS/FS/part_pkg/voip_sqlradacct.pm
index
382ebac
..
09e7a09
100644
(file)
--- a/
FS/FS/part_pkg/voip_sqlradacct.pm
+++ b/
FS/FS/part_pkg/voip_sqlradacct.pm
@@
-14,11
+14,12
@@
$DEBUG = 1;
%info = (
'name' => 'VoIP rating by plan of CDR records in an SQL RADIUS radacct table',
%info = (
'name' => 'VoIP rating by plan of CDR records in an SQL RADIUS radacct table',
+ 'shortname' => 'VoIP/telco CDR rating (external RADIUS)',
'fields' => {
'setup_fee' => { 'name' => 'Setup fee for this package',
'default' => 0,
},
'fields' => {
'setup_fee' => { 'name' => 'Setup fee for this package',
'default' => 0,
},
- 'recur_flat' => { 'name' => 'Base
monthly charg
e for this package',
+ 'recur_flat' => { 'name' => 'Base
recurring fe
e for this package',
'default' => 0,
},
'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
'default' => 0,
},
'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
@@
-41,6
+42,7
@@
sub calc_setup {
$self->option('setup_fee');
}
$self->option('setup_fee');
}
+#false laziness w/voip_cdr... resolve it if this one ever gets used again
sub calc_recur {
my($self, $cust_pkg, $sdate, $details ) = @_;
sub calc_recur {
my($self, $cust_pkg, $sdate, $details ) = @_;