Jump to content

PDF Invoice problem after PS update


kmorgen

Recommended Posts

Hi, just updated PS from 1.6.0.14 to 1.6.1.1 and can see the PDF layout / coding changed.

 

Overall the new PDF invoice looks fine, but I noticed the following problems:

 

- If a Discount is applied, the Totals table + Payment table is completely missing.

- If added a message to an Invoice this is not showing anywere (invoice message added in Adminorder)

 

 

PS. I modded the invoice.addresses-tab.tpl to remove our address and invoice.summary-tab.tpl to include Carrier. 

However using the vanilla version still seem to have these issues.

 

I am not sure if this is a general bug, or only on mine?!

post-372914-0-58922100-1441183865_thumb.jpg

post-372914-0-83042300-1441183866_thumb.jpg

Edited by kmorgen (see edit history)
Link to comment
Share on other sites

After overriding all the files in the PDF folder with the Install files, it actually seem to solve the issue with the missing Totals. I also removed the translations in the theme folder to use the default. I think this might actually have been the problem, since a long word might have caused a linebreak screwing up the tables.

 

However regarding the 'Invoice messages', this is actually missing in the updated invoice.tpl file in 1.6.1.1

 

So I have manually added this code right under <!-- Hook -->

 

{if isset($order_invoice->note) && $order_invoice->note}
<div style="line-height: 1pt"> </div>
<table style="width: 100%">
<tr>
<td style="width: 15%"></td>
<td style="width: 85%">{$order_invoice->note|nl2br}</td>
</tr>
</table>
{/if}
 
 
Now Invoice Mesaages appear on the PDF invoices.
  • Like 1
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...