Recurring invoices - date variable
  • hadzohadzo January 23

    I am starting to use recurring invoices as there are dozen recurring invoices....but I need the date (year) that is stated in the description field to update to current year. Is this possible?

  • ezbillingezbilling January 24

    I'm not sure if I understand correctly. You can put {$invoice.date} anywhere you like in "simpleinvoices/templates/invoices/default/template.tpl". Or to simply get the year try:<?php
    echo date("Y") ;
    ?>
    (This is untested off the top of my head)
    Move some HTML into the echo-statement if you get an undesirable linefeed.

  • hadzohadzo January 24

    Thanks for your reply, but I need a way to do that from the gui, when adding invoices. Need to put that date variable in Details or Notes field....so that the info can be copied using recurring function.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories