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

Using AccountLedger in Ledger #64

Merged
merged 5 commits into from
Apr 12, 2024
Merged

Conversation

sameer-639
Copy link
Contributor

No description provided.

pyluca/ledger.py Outdated
if as_of is not None:
return sum([j.dr_amount for j in self.journal.entries if j.account == account and j.date <= as_of])
return sum([j.dr_amount for j in self.journal.entries if j.account == account])
def enter_ledger(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add_entry

rahulsekar
rahulsekar previously approved these changes Apr 10, 2024
@sameer-639 sameer-639 merged commit 8196a9b into main Apr 12, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants