1
Add placeholders for numeric month output in invoice text
Source: invoiceninja/invoiceninja#13366 · opened by @codestylist
Current behavior Invoice Ninja supports date placeholders such as :MONTH, :YEAR, and :MONTHYEAR in invoice text. However, :MONTH returns the month name rather than its numeric value. Proposed functionality Add two placeholders to output the month as a number, optionally with a leading zero: | Placeholder | January | October | |---|---|---| | :MONTH_NUMBER | 1 | 10 | | :MONTH_NUMBER_PADDED | 01 | 10 | These names are suggestions. Alternatives that fit the existing naming conventions would be welcome. Use case For recurring invoices, this would allow descriptions such as: Service period: :MONTH_NUMBER_PADDED/:YEAR Expected output for January 2027: Service period: 01/2027 This would allow numeric billing-period descriptions to be generated automatically without manually editing each invoice. Expected behavior • Use the same reference date as the existing :MONTH placeholder. • Support the fields where :MONTH is currently supported. &…
No pledges yet. Be the first to back this.
Comments
Similar requests
Import invoices with several items into InvoiceNinja
0 votes · 0 comments
Feature Request: recurring invoice
2 votes · 0 comments
Resolve relative date keywords relative to invoice date instead of to now
0 votes · 0 comments
Twig-variable for raw-value of paid_to_date (better raw values for ALL numeric-values)
1 vote · 0 comments
Link many transactions to one expense
2 votes · 0 comments
No comments yet.