Jump to content

How to show Invoice Notes on Invoice Email Reminder Template


Recommended Posts

Yes it can be done.

go to email templates in admin and click the image to edit the template

click the disable rich text editor button and insert this code where you need it and save.

 

<p><br /><strong>Invoice Notes</strong></p>
<p>{php}$inv_id = $this->_tpl_vars['invoice_id'];$result = select_query("tblinvoices","",array("tblinvoices.id"=>$inv_id));$data = mysql_fetch_array($result);$this->assign('invoice_notes',$data['notes']);{/php}{$invoice_notes}</p>
<p>------------------------------------------------------</p> 

If you try and edit it again you will need to change the

> 

back to

>

because tinymce will convert it when it opens the file.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated