Hi Everyone,
I've created a custom HTML invoice but I'm having issues with it displaying the itemization of the invoice.
Here's what I have so far (it's inside a table already):
With the code above, only the last item is displayed and not each item.Code:{foreach key=num item=invoiceitem from=$invoice_items} <tr> <td>{$invoiceitem.description}</td> <td>{$invoiceitem.amount}</td> </tr> {/foreach}
Can anyone help me make this work? Is it possible?
Secondly, once I get this working, how do I set it to be the default email that gets sent when the invoice is generated?
Thank you for your help!
Lance

Reply With Quote