Hi everybody.
So I've been searching this forum for a loooong time now.
I could really use some help.
I wrote with matt earliery today and he said that it is posible to add you own php variable in the tpl files.
So i did this in viewinvoice to get it to show and ekstra field, but.. it dosnt work. Dos anyone have an idea of what i am doing wrong?
First i added this:
{php}
$moms = $total/5;
{/php}
then where i wanted to show the amount (20% of the total amount) i added this:
{php} echo $moms; {/php}
but it shows 0
Anyone whom can help me please
Sincerely Matt

Reply With Quote