Open KieranP opened 15 years ago
Sounds like you've about got it done. :) It's on my plate to implement, as this is a feature I've wanted, too, but I suspect my solution will be much simpler than what you've described here. If you'd rather implement this to your own specification, let me know and I'll hold off on mine until a patch is ready.
I'd love to help but if I can't get it done sometime tomorrow, I probably won't have time for another week or two :-( If I find some time to implement it, and it's not already done, I'll give a shot and let you know.
Took a crack at implementing this. Code at
http://github.com/KieranP/bucketwise/commit/cd4fe87be309be492f1ae7700dd34f9084ebd1a6
Adding, editing, deleting and upcoming schedules are implemented. Still got to implement code to execute the actions along with other things (see commit message).
Feel free to take and continue with it. Sorry for the lack of tests.
That's all the time I'll have till next weekend. Hope this has helped.
Details
Everyone has payments that need to go out weekly, fortnightly etc. Schedules would work with these payments and in combination with buckets, to ensure they that amounts needed are met on time by indicating via green/orange/red current values for scheduled events, and to automatically create expenses that have occurred since your last login. The reverse where money is expected on a regular basis would in turn add deposits that occurred since your last login. This makes management of bills/automatic payments easier to keep track of. It would also be constructed so that if a expense/deposit is created, you'll get alerts on the dashboard to review the payments made, with the ability to delete that payment, amend etc.
Model Implementation
Routes Implementation
UI Implementation
Conclusion
I think think this feature would be quite useful. If you have any questions about its implementation, let me know.