Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installments stream make dueTo part of the config.json #88

Open
andyadamides opened this issue Aug 15, 2022 · 0 comments
Open

Installments stream make dueTo part of the config.json #88

andyadamides opened this issue Aug 15, 2022 · 0 comments

Comments

@andyadamides
Copy link
Contributor

andyadamides commented Aug 15, 2022

For installments stream:

 "dueTo": utils.now().strftime("%Y-%m-%d")[:10],

Having this, in conjunction with filtering only for entries that have a last_paid_date prevents from getting all future installments for a loan account even if they exist in the database.

dueFrom is ultimately derived from the config.json:

"dueFrom": transform_datetime(self.start_date)[:10],

Could dueTo be sourced from config.json as well and last_paid_date filter to be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant