Skip to content

Introduce multi-period Account data type and use it for MultiBalanceReport and BudgetReport. #2360

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

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
678d555
ref: lib: Allow Account to store date-indexed balances.
Xitian9 Nov 26, 2024
d2986f9
ref: lib: Allow generating day-indexed Account from postings.
Xitian9 Nov 27, 2024
ecb241b
ref: lib: Better show instances for AccountBalance, AccountBalances, …
Xitian9 Mar 24, 2025
8073f97
imp: lib: Create mergeAccounts to merge two Accounts.
Xitian9 Mar 13, 2025
763a171
test: Add new test for --flat --empty
Xitian9 Mar 14, 2025
4ce2af8
!dev: Make --declared treat parent accounts consistently
Xitian9 Mar 12, 2025
38a626a
ref: lib: Begin using new Account for MultiBalanceReport.
Xitian9 Jan 4, 2025
3f0940b
fix: lib: Ensure accounts with no postings are not shown in flat mode.
Xitian9 Mar 16, 2025
496ba81
fix: Make sure declared accounts are added.
Xitian9 Mar 17, 2025
007e1e4
ref: Allow more efficient and general calculation of PeriodicReportRows.
Xitian9 Mar 14, 2025
ace58ea
ref: Sorting Account by amount needs to specify which amount.
Xitian9 Mar 14, 2025
8a2de38
!dev: lib: Use new infrastructure in budget report.
Xitian9 Mar 14, 2025
44bc185
ref: lib: Refactor boolean logic in markAccountBoring.
Xitian9 Mar 25, 2025
9e19f40
fix: Get hledger-ui and hledger-web working with new Account interface.
Xitian9 Mar 25, 2025
7d2db1e
ref: lib: Simplify Account type.
Xitian9 Mar 26, 2025
bb53c94
ref: lib: Use sparse accounts to increase efficiency and flexibility.
Xitian9 Mar 27, 2025
c14e01c
ref: lib: Clean up unused functions and add mapAccountBalances.
Xitian9 Mar 28, 2025
a38688c
ref: lib: Make mergeAccountBalances safer.
Xitian9 Mar 29, 2025
125bd1f
ref: Split Hledger.Data.AccountBalance and clean up documentation.
Xitian9 Apr 23, 2025
8a942e1
;doc: Improve documentation.
Xitian9 Apr 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion hledger-lib/Hledger/Data.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ functionality. This package re-exports all the Hledger.Data.* modules

module Hledger.Data (
module Hledger.Data.Account,
module Hledger.Data.AccountBalance,
module Hledger.Data.AccountBalances,
module Hledger.Data.AccountName,
module Hledger.Data.Amount,
module Hledger.Data.Balancing,
Expand All @@ -36,6 +38,8 @@ where

import Test.Tasty (testGroup)
import Hledger.Data.Account
import Hledger.Data.AccountBalance
import Hledger.Data.AccountBalances
import Hledger.Data.AccountName
import Hledger.Data.Amount
import Hledger.Data.Balancing
Expand All @@ -58,7 +62,10 @@ import Hledger.Data.Types hiding (MixedAmountKey, Mixed)
import Hledger.Data.Valuation

tests_Data = testGroup "Data" [
tests_AccountName
tests_Account
,tests_AccountName
,tests_AccountBalance
,tests_AccountBalances
,tests_Amount
,tests_Balancing
-- ,tests_Currency
Expand Down
Loading