Jump to content

Sending Voided Invoice says Invoice Due


Recommended Posts

Posted

Hi, I have voided an invoice and when I used the checkbox to send the voided invoice to the customer, the subject remains with Invoice Due but it should not since its voided and nothing is due.

Is there a way around this issue?

Posted

Since the voided invoice is an unpaid invoice, it sends that email template. You can update the email template if you'd like to be more specific. For example, since that email template accepts multiple invoices, you might check that the status of the first invoice and set the subject conditionally:

{% if invoices[0].status == "void" %}Invoice Voided{% else %}Invoice Due{% endif %}

I did not test this, so you should before using it.

  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...