Commit Graph

12928 Commits

Author SHA1 Message Date
Simon Michael
55d47ceacd fix:pkg:ui: avoid brick 2.3.2 which doesn't build on windows
That version depends on unix as well as unix-compat.
2024-09-09 14:03:41 -07:00
Simon Michael
53373d9620 install: bump versions 2024-09-09 14:03:35 -07:00
Simon Michael
08a356a7cb ;dev: pkg: bump to latest nightly stackage snapshot 2024-09-09 14:03:35 -07:00
Simon Michael
30b58272b8 ;dev: cleanup [#2218] 2024-09-09 11:04:26 -07:00
Michael Rees
e34fa491af Add abs implementation for MixedAmount 2024-09-05 11:56:07 +01:00
Michael Rees
52253c01f6 Add absamount as --sort field for register 2024-09-05 11:56:07 +01:00
Michael Rees
d96e3a1e5a ;Include desc/description field in help text for --sort 2024-09-05 11:56:07 +01:00
Michael Rees
693360344c Add desc/description as possible sort field 2024-09-05 11:56:07 +01:00
Michael Rees
25bcf3eebb ;Don't apply sort spec when only sorting by date
If there is no sort spec given, then the postings are already sorted by
date, so there's no need to apply the default sort spec again.
2024-09-05 11:56:07 +01:00
Michael Rees
275c72b770 ; Use defsortspec everywhere instead of hard-coding default 2024-09-05 11:56:07 +01:00
Michael Rees
74db7f688c Document register --sort in Register.md 2024-09-05 11:56:07 +01:00
Michael Rees
b429f57afb Show error message on conflicting --sort and -H 2024-09-05 11:56:07 +01:00
Michael Rees
4b564966c9 Improve register --sort help message 2024-09-05 11:56:07 +01:00
Michael Rees
b4a9f87fe4 Move SortSpec to Hledger.Reports.ReportOptions
As part of this migration, I also switched from using Data.List.splitOn
to Hledger.Utils.splitAtElement.
2024-09-05 11:56:07 +01:00
Michael Rees
00eb0aa16b feat: register: add --sort as in ledger 2024-09-05 11:56:07 +01:00
Simon Michael
c24c09337c ;doc: whitespace 2024-09-04 16:26:41 +01:00
Henning Thielemann
57b2d02760 cli: Commands.Balance.budgetReportAsSpreadsheetHelper: no longer needed 2024-09-04 16:15:19 +01:00
Henning Thielemann
2d59bc8591 cli: Commands.Balance.budgetReportAsCsv, budgetReportAsSpreadsheet: remove duplicate transposition 2024-09-04 16:15:19 +01:00
Simon Michael
3fbad1892d dev: rename some Intervals for clarity [#2218] 2024-09-04 16:07:54 +01:00
Simon Michael
038ebd8c7a fix: three more interval start date cases; add tests; cleanup [#2218] 2024-09-04 16:07:54 +01:00
Simon Michael
c8b6ca7b70 fix: 'every Nth day of month from DATE' start date [#2218] 2024-09-04 16:07:54 +01:00
Simon Michael
e2053374f5 ;doc: relnotes: correction to 1.29's date adjustment notes [#1982], [#2218] 2024-09-04 16:07:54 +01:00
Simon Michael
7fe6de02cf ;doc: date adjustments, period headings: rewrite, clarify [#2218] 2024-09-04 16:07:54 +01:00
Simon Michael
ceb7f289f5 ;dev: Justfile: cleanups 2024-09-04 15:30:38 +01:00
Simon Michael
e9a52b4b9c ;bin: bashrc: also define TIMEDOT 2024-09-04 15:30:38 +01:00
Simon Michael
6fc117fa15 ;cabal: update cabal files [#2213] 2024-08-29 23:20:39 +01:00
Simon Michael
375fb07ede ;dev: cleanups 2024-08-29 10:07:02 +01:00
Simon Michael
6355134592 ;doc: input: clarify multiple -f options allowed 2024-08-29 10:07:02 +01:00
Arto Jonsson
f001b23114 ;examples: csv: add Nordea CSV rules file 2024-08-20 20:06:58 +01:00
Simon Michael
982401704f
Merge pull request #2213 from thielema/balance-export-fods
Balance export FODS and HTML
2024-08-16 17:35:38 +01:00
Henning Thielemann
fdc007d446 doc: hledger.m4.md: new column for FODS
balance support for HTML export is now complete
2024-08-16 16:57:38 +02:00
Henning Thielemann
70e556998f cli: Command.Balance.budgetReportAsSpreadsheet: support for budget export to HTML and FODS 2024-08-16 16:57:38 +02:00
Henning Thielemann
3af8eb3bc6 cli: Command.Balance: use Date format for dates in LayoutTidy 2024-08-16 16:57:38 +02:00
Henning Thielemann
da61b64f94 cli: Command.Balance: support FODS export for multibalance
Data.Amount.showMixedAmountLinesPartsB: new helper function
2024-08-16 16:57:38 +02:00
Henning Thielemann
66a047aade lib: Write.Spreadsheet.Cell: add type parameter for the text type
instance Functor Cell
This way you can choose between Text, Lazy.Text, WideBuilder for cell content.
2024-08-16 16:57:38 +02:00
Henning Thielemann
f306df6d61 imp: lib: Write.Html: use Lucid to generate HTML 2024-08-16 16:57:38 +02:00
Henning Thielemann
48723c930c cli: Cli.Balance.balanceReportAsCvs: now based on balanceReportAsSpreadsheet
This warrants consistency of ODS, HTML and CSV export.
2024-08-16 16:57:38 +02:00
Henning Thielemann
37be769540 doc: Commands/Balance.md: mention FODS export format 2024-08-16 16:57:38 +02:00
Henning Thielemann
8c42a735c2 cli: lib: Write.Spreadsheet: common data types for Write.Ods and Write.Html
Write.Html: write spreadsheet data to a HTML table

enables HTML export for the balance command
2024-08-16 16:57:38 +02:00
Henning Thielemann
29b67691fb cli: Write.Ods: also use a number cell if the total amount has a single commodity 2024-08-16 16:57:38 +02:00
Henning Thielemann
2a1f3920c6 lib: Write.Ods.escape: escape cell contents 2024-08-16 16:57:38 +02:00
Henning Thielemann
ba0db5feec cli: Write.Ods: write single amounts as numbers with units
This way you can do computations with the numbers in LibreOffice Calc.
2024-08-16 16:57:38 +02:00
Henning Thielemann
7b136600fa cli: Cli.Balance.balanceReportAsFods: use distinguished cell formatting styles 2024-08-16 16:57:38 +02:00
Henning Thielemann
0e158d0c3e cli: lib: Hledger.Write.Ods: basic support for FODS export
used in Commands.Balance
2024-08-16 16:57:38 +02:00
Henning Thielemann
14b5a1f82a imp: Hledger.Read.CsvUtils -> Write.Csv 2024-08-16 16:57:38 +02:00
Simon Michael
bafe70efb4 ;doc: scripts and add-ons: edits 2024-08-12 11:59:41 +01:00
Simon Michael
aa7a38f586 ;doc: update stack doc urls 2024-08-12 11:55:06 +01:00
Simon Michael
a0c8237697 ;doc: scripts and add-ons: edits 2024-08-12 11:40:59 +01:00
Simon Michael
b352a5e281 ;doc: scripts and add-ons: edits 2024-08-12 11:36:58 +01:00
Simon Michael
1fd6fbb4f7 ;doc: scripts and add-ons: edits 2024-08-12 11:10:13 +01:00