Up to [cvsweb.bsd.lv] / pta
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 16 19:09:34 2025 UTC (5 months, 3 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)
Fix a bug regarding the summation of partial amounts in split journal entries. Since the $entry{amount} field is used as a running difference, it can move past zero, depending on the content of the journal file. In that case, the bug caused the sign of the partial amounts on subsequent continuation lines to flip. Fix this by determining up front, when initializing the split entry, once and for all continuation lines what the sign has be de, depending on whether we are splitting the debit or the credit side.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 16 18:39:51 2025 UTC (5 months, 3 weeks ago) by schwarze
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)
Support specifying the name on the journal file as a command line argument. This is for example useful when keeping the journal files for multiple years in the same directory.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 19 23:55:50 2020 UTC (4 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)
trim trailing whitespace
Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 18 16:35:40 2020 UTC (4 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +55 -38 lines
Diff to previous 1.7 (colored)
Add the -D date range option. The startday part is already parsed but not yet used. Omit entries later then the endday from account lists, balance sheets, and profit lists. Feature originally suggested by Oliver Marugg <quandolf at gmail dot com>, reminded by Stephen Taylor <staylor at encom dot us>.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 18 12:55:44 2020 UTC (4 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)
use Time::Local::timegm(3p) to calculate days, which simplifies calculations spanning years and avoids treating the 31st of a month and the 1st of the following month as the same day; changes rounding errors slightly, but no significant functional change is intended
Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 10 19:08:06 2020 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)
relax booking ID format
Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 20 10:25:47 2020 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +11 -2 lines
Diff to previous 1.4 (colored)
if a journal entry contains both a statistical and a non-statistical account, treat it as an error; issue noticed while talking to <Paul dot Kelly at mailfence dot com>
Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 20 09:23:24 2020 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +6 -11 lines
Diff to previous 1.3 (colored)
simplify translation handling, also improving fallbacks
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 18 23:47:35 2020 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)
if a cost center has no profit entries, skip printing the profit/loss table, avoiding a division by zero, similar to what was done in rev. 1.2 for the global table of profits and losses; bug reported by <Paul dot Kelly at mailfence dot com>
Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 29 20:29:42 2020 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
If there are no profits and losses from investments, skip printing the "Profits and losses" table, also avoiding a division by zero. Fixing a crash reported by <Paul dot Kelly at mailfence dot com>.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 27 14:35:34 2020 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_0_1
initial version