diff options
author | Mark Wells <mark@freeside.biz> | 2014-05-09 12:25:44 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-05-09 12:25:44 -0700 |
commit | 7c1cc70e0d76ab8a26fc3b9dca8f20978c71e3d8 (patch) | |
tree | be4a60354b9dcbe30e837ed2000b0bb98fc426ed /FS/FS/cust_bill_pkg.pm | |
parent | d3aa3f6d535a70bfe9a6b9ceeaf98127982824a9 (diff) |
improve late fee descriptions, #25899
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-rw-r--r-- | FS/FS/cust_bill_pkg.pm | 12 |
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 |