How do I add month name to an invoice?

Bodo Wewer's Avatar

Bodo Wewer

09 Nov, 2013 12:02 PM

Dear Support Team,

for one customer i create a monthe scheduled invice. In the description field i want to write the actual month automaticaly ("hosting fee for november"). can I insert variables in scheduled invoices?

Thanks & Bye

Bodo Wewer

  1. Support Staff 1 Posted by Seth B on 09 Nov, 2013 06:18 PM

    Seth B's Avatar

    Hi Bodo,

    You can easily add the name of the month the invoice was issued by using this code snippet:

    {{ invoice.invoice_date | date: "%B" }}
    

    For more options on how to use the "date" filter, here's a good reference from Shopify (who also uses Liquid templates)

  2. Bodo Wewer closed this discussion on 05 Feb, 2016 12:14 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac