0
Hello
We need to display user id in invoice templates which is our default customer number.
Can you explain how to do it ?
Do we have to add tag translation somewhere or can you do it in a new release ?
Thanks
best regards
We need to display user id in invoice templates which is our default customer number.
Can you explain how to do it ?
Do we have to add tag translation somewhere or can you do it in a new release ?
Thanks
best regards
Responses (7)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Thanks but you could explain a little more...
How do you load the joomla id from the user if it exists ? do you have a function for this or do I have to write a DB query directly in the template ?
BTW you did not reply neither to our request for custom coding neither for the CBsubs plugin that I sent... -
Accepted Answer
-
Accepted Answer
0no, it's not a template you need to override, it's from the frontend indeed.
it's a bit more complicated I'm afraid... you need to add the token into the file I mentioned, but if you want it for "live preview" (on backend) you also need to add it into the function called "templateToVue" which is defined in file /components/com_invoices/helpers/helpers.php -
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »