2021-05-09 03:20:42 +03:00
|
|
|
{-# LANGUAGE FlexibleInstances #-}
|
|
|
|
{-# LANGUAGE OverloadedStrings #-}
|
|
|
|
|
2011-07-18 03:47:52 +04:00
|
|
|
{-|
|
|
|
|
|
2011-07-19 03:30:40 +04:00
|
|
|
Generate several common kinds of report from a journal, as \"*Report\" -
|
2011-07-18 04:21:13 +04:00
|
|
|
simple intermediate data structures intended to be easily rendered as
|
|
|
|
text, html, json, csv etc. by hledger commands, hamlet templates,
|
2013-12-07 02:06:12 +04:00
|
|
|
javascript, or whatever.
|
2011-07-18 03:47:52 +04:00
|
|
|
|
|
|
|
-}
|
|
|
|
|
2011-08-16 02:59:06 +04:00
|
|
|
module Hledger.Reports (
|
2014-03-20 04:11:48 +04:00
|
|
|
module Hledger.Reports.ReportOptions,
|
2018-04-03 15:06:52 +03:00
|
|
|
module Hledger.Reports.ReportTypes,
|
2014-03-20 04:11:48 +04:00
|
|
|
module Hledger.Reports.EntriesReport,
|
|
|
|
module Hledger.Reports.PostingsReport,
|
2019-05-24 07:43:53 +03:00
|
|
|
module Hledger.Reports.AccountTransactionsReport,
|
2014-03-20 04:11:48 +04:00
|
|
|
module Hledger.Reports.BalanceReport,
|
2019-06-14 21:45:25 +03:00
|
|
|
module Hledger.Reports.MultiBalanceReport,
|
2018-04-03 15:07:13 +03:00
|
|
|
module Hledger.Reports.BudgetReport,
|
2011-07-19 03:30:40 +04:00
|
|
|
-- * Tests
|
2018-09-06 23:08:26 +03:00
|
|
|
tests_Reports
|
2011-07-18 03:47:52 +04:00
|
|
|
)
|
|
|
|
where
|
|
|
|
|
2021-08-30 08:23:23 +03:00
|
|
|
import Test.Tasty (testGroup)
|
2014-03-20 04:11:48 +04:00
|
|
|
import Hledger.Reports.ReportOptions
|
2018-04-03 15:06:52 +03:00
|
|
|
import Hledger.Reports.ReportTypes
|
2019-05-24 07:51:45 +03:00
|
|
|
import Hledger.Reports.AccountTransactionsReport
|
2014-03-20 04:11:48 +04:00
|
|
|
import Hledger.Reports.EntriesReport
|
|
|
|
import Hledger.Reports.PostingsReport
|
|
|
|
import Hledger.Reports.BalanceReport
|
2019-06-14 21:45:25 +03:00
|
|
|
import Hledger.Reports.MultiBalanceReport
|
2018-04-03 15:07:13 +03:00
|
|
|
import Hledger.Reports.BudgetReport
|
2011-07-18 03:47:52 +04:00
|
|
|
|
2021-08-30 08:23:23 +03:00
|
|
|
tests_Reports = testGroup "Reports" [
|
2018-09-06 23:08:26 +03:00
|
|
|
tests_BalanceReport
|
|
|
|
,tests_BudgetReport
|
2019-05-24 07:51:45 +03:00
|
|
|
,tests_AccountTransactionsReport
|
2018-09-06 23:08:26 +03:00
|
|
|
,tests_EntriesReport
|
2019-06-14 21:45:25 +03:00
|
|
|
,tests_MultiBalanceReport
|
2018-09-06 23:08:26 +03:00
|
|
|
,tests_PostingsReport
|
2018-09-04 22:23:07 +03:00
|
|
|
]
|