Skip to content

1.21: --budget doesn't do anything with incomestatement #2302

Description

@lowercasename

From the docs it appears that incomestatement should take the --budget command, like balance. But I don't see that happening (hledger 1.41, mac-aarch64):

> hledger bal --budget -M

Budget performance in 2024-11-01..2024-12-31:

                           ||                         Nov                                Dec
===========================++================================================================
...
 expenses                  ||   £36.00 [1% of  £2,453.22]    £3,071.67 [ 125% of  £2,453.22]
 expenses:bills            ||   £36.00 [7% of    £532.22]      £384.67 [  72% of    £532.22]
...
---------------------------++----------------------------------------------------------------
                           ||        0 [               0]            0 [                  0]
                           
> hledger is --budget -M
Monthly Income Statement 2024-11-01..2024-12-31

                           ||     Nov         Dec
===========================++=====================
 Revenues                  ||
---------------------------++---------------------
...
---------------------------++---------------------
                           ||       0     £633.51
===========================++=====================
 Expenses                  ||
---------------------------++---------------------
 expenses:bills            ||  £36.00     £384.67
...
---------------------------++---------------------
                           ||  £36.00   £3,071.67
===========================++=====================
 Net:                      || £-36.00  £-2,438.16

(I've removed most of the lines, but the point is that is doesn't show the square bracketed numbers and percentages).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.balancebountyThar's some kind o' loot on offer..budgetThe balance command's --budget reportdocsDocumentation-related.incomestatementregressionA backwards step, indicating a weakness in our QA. We don't like these.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions