NovaRising Posted October 1, 2009 Share Posted October 1, 2009 How do I change the HTML for the {$invoice_html_contents}? I'd like to stick the invoice items in a nicely formatted table. If this isn't possible how do I print the email invoice array in a loop and what power do I have over the fields? I tried this but got no results: {foreach from=$invoice_items item=data} {$data.option}: {$data.value} {/foreach} 0 Quote Link to comment Share on other sites More sharing options...
NovaRising Posted October 1, 2009 Author Share Posted October 1, 2009 Nevermind... I solved problem with: {foreach key=num item=invoiceitem from=$invoice_items} <tr> <td bgcolor="#ffffff">{$invoiceitem.description}</td> <td bgcolor="#ffffff">{$invoiceitem.amount}</td> </tr> {/foreach} 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.