dmc_ss Posted January 17, 2009 Share Posted January 17, 2009 I am having some trouble getting the EU bit in viewinvoice.tpl to work. I feel the "instructions" on removing the comments to be extremely confusing and not at all easy to follow. What exactly needs to be removed from this line to make it work: {* This code should be uncommented for EU companies using the sequential invoice numbering so that when unpaid it is shown as a proforma invoice {if $status eq "Paid"}*}{$LANG.invoicenumber}{*{else}{$LANG.proformainvoicenumber}{/if}*}{$invoicenum}</title> There are too many *'s and too many {} combinations. No matter what I remove from this line it errors every time. It also dislikes the "eq" at the start. Can someone please repost this line in it's working format. Thanks in advance. David. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 18, 2009 Share Posted January 18, 2009 remove from the {* up to but not including the next { remove the *} twice 0 Quote Link to comment Share on other sites More sharing options...
dmc_ss Posted January 18, 2009 Author Share Posted January 18, 2009 Thank you. I'm sure I tried that but it's working now. For future reference to others, the entire line should read: <title>{$companyname} - {if $status eq "Paid"}{$LANG.invoicenumber}{else}{$LANG.proformainvoicenumber}{/if}{$invoicenum}</title> 0 Quote Link to comment Share on other sites More sharing options...
numPhoenix Posted March 4, 2010 Share Posted March 4, 2010 You had a space added , however this is not working for me PDF works but not viewinvoice.tpl <title>{$companyname} - {if $status eq "Paid"}{$LANG.invoicenumber}{else}{$LANG.proformainvoicenumber}{/if}{$invoicenum}</title> 0 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.