summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-05-09 12:25:44 -0700
committerMark Wells <mark@freeside.biz>2014-05-09 12:25:44 -0700
commit7c1cc70e0d76ab8a26fc3b9dca8f20978c71e3d8 (patch)
treebe4a60354b9dcbe30e837ed2000b0bb98fc426ed /FS/FS/cust_bill_pkg.pm
parentd3aa3f6d535a70bfe9a6b9ceeaf98127982824a9 (diff)
improve late fee descriptions, #25899
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-rw-r--r--FS/FS/cust_bill_pkg.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index f1267d391..4b85d303b 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -906,6 +906,18 @@ sub cust_tax_exempt_pkg {
$self->{Hash}->{cust_tax_exempt_pkg} ||= [];
}
+=item cust_bill_pkg_fee
+
+Returns the list of associated cust_bill_pkg_fee objects, if this is
+a fee-type item.
+
+=cut
+
+sub cust_bill_pkg_fee {
+ my $self = shift;
+ qsearch('cust_bill_pkg_fee', { billpkgnum => $self->billpkgnum });
+}
+
=item cust_bill_pkg_tax_Xlocation
Returns the list of associated cust_bill_pkg_tax_location and/or