Field "codes"

Is there a list of $codes to use in emails? For instance, I want emails to be addressed to first name and to be able to include the invoice number in the body of the email.

You can show the invoice number using $invoice. I’ve added $firstName, it will be included in our next release.

We’re working on better documentation but if you want to reference the code the full list of variables is visible in the processVariables functions here:

https://github.com/hillelcoren/invoice-ninja/blob/master/app/Ninja/Mailers/ContactMailer.php

Thanks I tried $invoice and it doesn’t seem to work. Any ideas?

I’m not sure. Is it working in the live preview but not working when you send a test email?

It’s not working in preview or test.

screenshot

Can you please try posting the screenshot again or email it to contact@invoiceninja.com.

Also, are you using our hosted platform or are you self-hosting.