Jump to content

Modifying invoice problem displaying variable


czshopper

Recommended Posts

I want modify invoice so it displays in total section prices with two decimals. So I modified the invoice.total-tab.tpl and filled apropriate variables in HTMLTemmplateInvoice.php. The problem is, that I have correctly filled variable (dumped):

 

'total_tax_incl_formatted' => '670.39 Kč'

 

and I think, that template is also correct

 

    <tr class="bold big">
        <td>
            {l s='Total' pdf='true'}
        </td>
        <td>
            {$footer.total_tax_incl_formatted}
        </td>
    </tr>

but in the resulting pdf file is that value ("670.39 Kč") is displayed without currency (there is only "670.39"). I beleive, it is something trivial, which I do not know and solution will be easy. Can someone help me?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...