summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-03 23:24:57 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-03 23:24:57 -0700
commitaf4463a31677181a21df0cde767cc11728cfeb0c (patch)
tree044b100fab75941c0eb7a0ac12140dac1e45f405 /FS/FS/cust_bill_pkg.pm
parentbf265b9f6f18bd5e0a6089888cb6dfc20ae0d430 (diff)
cleanup
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-rw-r--r--FS/FS/cust_bill_pkg.pm17
1 files changed, 2 insertions, 15 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index 6551ca829..e866a3f2d 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -955,8 +955,6 @@ sub cust_bill_pkg_display {
my $default =
new FS::cust_bill_pkg_display { billpkgnum =>$self->billpkgnum };
- return ( $default ) unless defined dbdef->table('cust_bill_pkg_display');#hmmm
-
my $type = $opt{type} if exists $opt{type};
my @result;
@@ -1043,19 +1041,8 @@ sub cust_bill_pkg_discount {
=cut
-sub recur_show_zero {
- #my $self = shift;
- # $self->recur == 0
- #&& $self->pkgnum
- #&& $self->cust_pkg->part_pkg->recur_show_zero;
-
- shift->_X_show_zero('recur');
-
-}
-
-sub setup_show_zero {
- shift->_X_show_zero('setup');
-}
+sub recur_show_zero { shift->_X_show_zero('recur'); }
+sub setup_show_zero { shift->_X_show_zero('setup'); }
sub _X_show_zero {
my( $self, $what ) = @_;