Accessing Variables in Invoice Footer

Version 5.10.48

Environment (own hosting, but classed as Shared Hosting, as other sites on the server

Most my clients are created via your API and all include “id_number”
I use this to the UserID that we identify users by.

I would like to add it in the footer of Invoices sent to the client, which includes our bank payment details.
(i.e. Please add the referrence of {id_number})

In addition it would also be useful if i could see this “id_number” within the invoice ninja admin, when i select the client. Is this possible?

Thank you for any advice on how i can achieve this or any “work arounds”

Thanks
Jon

PS, sorry, but i have not ran any test of the obvious attempts at adding $client.id_number for the simple reason, this is a live account system and i dont want to trigger any mistakes to real clients…

So could i answer my own question with “just add $client.id_number”?

Jon

Hi,

You can set a custom email footer on Settings > Email Settings.

You can click ‘Columns’ in the lower right corner of the datatable screen to customize the columns.

Thank you for taking your time to help

It is the invoice footer i would like to use variables within, not the emails

Basically i would like the people who pay by bank transfer to add a reference number to the payment.
As i set the client > id_number to our userID, this would be ideal

Thanks
Jon

Hello all

I think i have answered my own question.
if i add “$client.id_number” to the default invoice footer, it just outputs the code ($client.id_number)
However if i add it to a custom invoice (within the HTML) it outputs the variable (i.e CLI_12345)

So i think the solution is to build a custom invoice design :slight_smile:

Hope this helps others

1 Like