projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
need to use table modules we call ut_foreign_key on: rate, rate_region
[freeside.git]
/
FS
/
FS
/
part_pkg
/
flat_comission_pkg.pm
diff --git
a/FS/FS/part_pkg/flat_comission_pkg.pm
b/FS/FS/part_pkg/flat_comission_pkg.pm
index
1e6e69b
..
befa77e
100644
(file)
--- a/
FS/FS/part_pkg/flat_comission_pkg.pm
+++ b/
FS/FS/part_pkg/flat_comission_pkg.pm
@@
-5,7
+5,7
@@
use vars qw(@ISA %info);
#use FS::Record qw(qsearch qsearchs);
use FS::part_pkg;
#use FS::Record qw(qsearch qsearchs);
use FS::part_pkg;
-@ISA = qw(FS::part_pkg);
+@ISA = qw(FS::part_pkg
::flat
);
%info = (
'name' => 'Flat rate with recurring commission per (selected) active package',
%info = (
'name' => 'Flat rate with recurring commission per (selected) active package',
@@
-37,11
+37,7
@@
use FS::part_pkg;
'weight' => '64',
);
'weight' => '64',
);
-sub calc_setup {
- my($self, $cust_pkg ) = @_;
- $self->option('setup_fee');
-}
-
+# XXX this needs to be fixed!!!
sub calc_recur {
my($self, $cust_pkg ) = @_;
$self->option('recur_fee');
sub calc_recur {
my($self, $cust_pkg ) = @_;
$self->option('recur_fee');