Open mrrichardasmith opened 2 years ago
As a user of the subscription feature, Given that I need to account for a subscription, then the auto renewal date will update according to the term selected in the database and will then show below in the summary. And I will have the opportunity to check that I intend to allow the subscription to roll over. When the current date equals the subscription renewal date then the subscription cost should be added to the account ledger and deducted from that months account balance. Then if the rollover is unchecked the subscription will no longer appear in the summary list after it passes the renewal date.
In the current state of the subscription feature, the term and start date are available but the auto renewal date is not. Implement an auto renewal date and a checkbox like the rollover feature used for other costs that rolls the monthly cost over into the next months account sheet but only deducts the cost of the yearly term subscription on the renewal date. Use the term to auto fill the auto renew date.
There is also a bug in the current feature that causes the subscription cost to be added to the account balance instead of deducted. Fix this so that the cost is deducted.