summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/discount_Mixin.pm
AgeCommit message (Collapse)Author
2018-03-27RT# 33362 - fixed Argument 1d is not numeric when trying to discount daily ↵Christopher Burger
recuring packages
2017-12-04RT# 33362 - fixed discount_mixin to not throw perl error when trying to ↵Christopher Burger
discount non monthly recuring.
2015-12-04correctly handle percentage discounts with duration less than package ↵Mark Wells
billing cycle, #39165, from #19173
2015-10-30fix missing import, #14092Mark Wells
2015-10-27fix interaction of percentage discount and quantity, #19354, etc.Mark Wells
2015-10-16separate setup and recur discounts, #14092Mark Wells
2015-09-07rework discount calculation, #20613, #19173, #19354Mark Wells
2015-08-29Changed min() call to reduce possibility of rounding error returning aRob Van Dam
discount > base_recur. Also added comments for other possible problem areas
2015-08-29Renamed $br to $br_permonth to clarify value is base_recur_permonth, NOTRob Van Dam
base_recur
2014-11-16fix discounts in general, #31273Mark Wells
2014-11-14show active discounts on invoices more cleanly, #31273Mark Wells
2014-09-11FS RT #27189 - only printing 'each' if package quantity > 1 ; removed ↵C.J. Adams-Collier
now-obsolete checks for pluralization of 'month'
2014-09-10ticket: 28287; adding parens to sprintfDavid Houghton
Mark didn't like the sprintf without parens, so I'm fixing it.
2014-09-10ticket: 28287; rolling back mystery deletionDavid Houghton
I'm not sure how these two lines got ditched, but they're back.
2014-09-09ticket: 28287; add undiscounted monthly amountDavid Houghton
I figured this need only parallel the discount report. That is, the discount only is reported and applied if the period of recurrence is some whole number of months. From my exploration of discounts it appeared that one could specify discounts for other periods, but they did not appear on invoices.
2014-09-08for one-time discounts, print line item in different format - FS RT #27189C.J. Adams-Collier
2012-03-24fix flat-rate discounts when charging zero months, #17043Mark Wells
2012-03-24fix final month application of percentage discounts to bundled packages, ↵Ivan Kohler
RT#17045
2011-12-23fix edge case with prorated packages discounted 100% causing discounts to be ↵ivan
off by +- $0.01, RT#15590
2011-10-24fix discounting setup when recur < setup, RT#11512ivan
2011-10-01show available term discounts on invoice, #14210mark
2011-09-08fix mixin inheritence preventing prorate_delayed packages from billing, RT#14372ivan
2011-09-07show available discounts on invoice, #5318mark
2011-06-27fix over-discounting resulting in an error, RT#13450ivan
2011-06-13bug fix for discounts on setup fees, RT11512levinse
2011-06-03fix annual discounts, RT#12977ivan
2011-05-06discounts on setup fees, part 2 of 2, RT11512levinse
2011-04-29apply discount to setup fees, part 1 of 2, RT11512levinse
2011-01-20intro periods and DST, RT#11018mark
2011-01-18add discount capability to sql_external, RT10481levinse
2010-10-30discount_Mixinmark