summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/subscription.pm
AgeCommit message (Collapse)Author
2016-10-14per-customer option to force anniversary packages to prorate, #38191Mark Wells
2013-07-02fix discounts vs. quantities for prorate packages, RT#23530Ivan Kohler
2011-01-08fix introrate/prorate interaction, RT#11018mark
2010-12-24part_pkg option inheritance, part 1mark
2010-10-30discount_Mixinmark
2010-04-01fix nasty discount fallout (i hope)ivan
2010-01-31discounts, RT#6679ivan
2008-04-13shorter names and rearranged weights for a brighter tommorow^W^Wbetter price ↵ivan
plan <SELECT>
2007-12-23add a reset feature to manual recharges (#1858)jeff
2007-10-04support part_pkg option input validation, check bytecounts and allow commas ↵jeff
(closes 1863)
2007-09-18allow assignment of auto recharge values AND rolloverjeff
2007-08-01event refactor, landing on HEAD!ivan
2007-05-08add formatting to plan datajeff
2006-12-07retouch bandwidth countdownjeff
2006-05-01fix some very annoying clucks (warnings with backtraces) when cutoff day ↵ivan
isn't found in old packages
2006-04-21fix some indentation and the default cutoff dayivan
2006-03-31fixed the errors pointed out by Ivan in the following email:lsc
---- before and after now? I gave subscription and prorate a try. Subscription came out as: subscription 27th (03/25/06 - 04/27/06) $10.00 subscription 23rd (03/25/06 - 04/23/06) $10.00 the "23rd" one is right, but the "27th" one should have only advanced the date two days to 3/27/06. Prorate came out as: prorate 23rd (03/25/06 - 04/23/06) $9.20 prorate 27th (03/25/06 - 04/27/06) $10.49 The "23rd" one is right, but the "27th" one should have only advanced the date two days to 4/27/06. lsc@prgmr.com
2006-03-23for subscription.pm and prorate.pm:lsc
-modify the subscription and prorate price plans (FS/FS/part_pkg/subscription.pm and prorate.pm) to have a configurable (add a field to the %info hash) billing day instead of "1st of the month" only. subscription will be easy, prorate will be a little trickier. essentially, I replaced the '1' in the 'day' field of the timelocal that generates $$date with the value I added to the %info hash, 'cutoff_day' -implement a price plan (new file in FS/FS/part_pkg/ - probably @ISA FS::part_pkg::subscription) that charges the first full month if the customer signs up between the 1st and the configurable billing day, and gives them the remainder of the month free if they sign up between the configurable billing day and the end of the month. if this is the first time the customer is billed, and if the date is greater than the cutoff date, advance $ssdate to cutoff_day of next month, else $$date is cutoff_date of this month. Either way, charge them for a month. ----------------------------------------------------------------------
2005-07-09add desc method to cust_bill_pkg and use it in cust_bill... this should help ↵ivan
with any *other* cust_bill_pkg.pkgnum == -1 stuff that needs to be sorted out
2005-01-19credit for unused portion at cancellation, patch from pbowenivan
2004-12-01creditcard-less promo code signupivan
2004-10-26modular price plans!ivan