Jump to content

Recommended Posts

At this moment the invoice is showing the price per item/line Excl. GST

Total price excluding gst and seperate GST, Shipping and then total price.

 

 

 

I would like the invoice showing the price per line/item including GST

Total price excluding gst and seperate GST, Shipping and then total price.

 

So the invoice look the same as in the cart!

 

(This is like a normal invoice you get from a shop)

 

The first photo is how the invoice looks now, the second photo is how it did look in the past (and correct)

post-763716-0-05287100-1466756870_thumb.gif

post-763716-0-37047200-1466756878_thumb.gif

Edited by MarMis (see edit history)

Share this post


Link to post
Share on other sites

Is there no one who can help?

Strangely enough it was ok in the past, it just recently changed

 

I am using an old version of prestashop without any problems. With gst. Why is this now changed with 2 amounts including gst?!

 

Or is there something else I need to look

Share this post


Link to post
Share on other sites

This may help...


 


If you want to customize the look of your store's invoices, you must change its template files.


PDF template files are located in the /pdf folder. Open the invoice.tpl file and edit it to your likings: it is an HTML file with Smarty tags.


 


http://doc.prestashop.com/display/PS16/Invoices


Edited by ronny_g (see edit history)

Share this post


Link to post
Share on other sites

Thank you for your advice. I had a look at this file, but nowhere can find how to change the second column into tax included.

 

The strangest thing is that it was tax included in the past, but suddenly both amounts are excluded and I don't know how it did.

 

Hope that someone can point me in the right direction to change this,

Share this post


Link to post
Share on other sites

I think I need to change this in the pdf file:  invoice.tx-tab.tpl

 

Somewhere in between

 

                <tr>
                    <td class="white">
                        {if !$label_printed}
                            {if $label == 'product_tax'}
                                {l s='Products' pdf='true'}
                            {elseif $label == 'shipping_tax'}
                                {l s='Shipping' pdf='true'}
                            {elseif $label == 'ecotax_tax'}
                                {l s='Ecotax' pdf='true'}
                            {elseif $label == 'wrapping_tax'}
                                {l s='Wrapping' pdf='true'}
                            {/if}
                            {assign var=label_printed value=true}
                        {/if}
                    </td>

                    <td class="center white">
                        {$line.rate} %
                    </td>

                    {if $display_tax_bases_in_breakdowns}
                        <td class="right white">
                            {if isset($is_order_slip) && $is_order_slip}- {/if}
                            {displayPrice currency=$order->id_currency price=$line.total_tax_excl}
                        </td>
                    {/if}

                    <td class="right white">
                        {if isset($is_order_slip) && $is_order_slip}- {/if}
                        {displayPrice currency=$order->id_currency price=$line.total_amount}

 

But where????

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More