[freeside-commits] branch FREESIDE_3_BRANCH updated. 66e82f51b41366104ae9acc37c5be149018ec085
Mark Wells
mark at 420.am
Mon Jan 4 18:00:11 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via 66e82f51b41366104ae9acc37c5be149018ec085 (commit)
from f058004f0670c4ffb1d334d1376ec751a43bd285 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 66e82f51b41366104ae9acc37c5be149018ec085
Author: Mark Wells <mark at freeside.biz>
Date: Mon Jan 4 17:59:29 2016 -0800
fix unit price display for one-time charges, #39641, from #31276
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 1d660ee..abbbc8d 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2959,6 +2959,20 @@ sub calc_recur {
$self->part_pkg->calc_recur($self, @_);
}
+=item base_setup
+
+Returns the base setup fee (per unit) of this package, from the package
+definition.
+
+=cut
+
+# minimal version for 3.x; in 4.x this can invoke currency conversion
+
+sub base_setup {
+ my $self = shift;
+ $self->part_pkg->unit_setup($self);
+}
+
=item base_recur
Calls the I<base_recur> of the FS::part_pkg object associated with this billing
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
More information about the freeside-commits
mailing list