Jump to content

How to change pdf Invoice Footer


mirustics

Recommended Posts

I would like to change the look of my Invoice Footer.

 

Currently it looks like this:

 

Michigan Rustics - 10292 US HWY 10 P. O. Box 726 - Evart, Michigan 49637 - United States

For more assistance, contact Support: 855-578-7842 or [email protected]

Thank you for your business!

 

 

I would like to break up these lines and remove the country, like this:

 

Michigan Rustics

10292 US HWY 10

P. O. Box 726

Evart, Michigan 49637

For more assistance, contact Support:

855-578-7842 or [email protected]

Thank you for your business!

 

Is this possible? If so, how do I go about it.

 

Thank you!

Link to comment
Share on other sites

Changing <br /> does not work. Also (An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).) do not show up on the invoice.

 

Here it the part of the footer code I am trying to edit:

{l s='An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).' pdf='true'}

<br />

{/if}

{$shop_address|escape:'htmlall':'UTF-8'}

 

{if isset($shop_details)}

- {$shop_details|escape:'htmlall':'UTF-8'}<br />

{else}

<br />

{/if}

 

{if !empty($shop_phone) OR !empty($shop_fax)}

{l s='For more assistance, contact Support:' pdf='true'}

{if !empty($shop_phone)}

{$shop_phone|escape:'htmlall':'UTF-8'} or [email protected]

{/if}

Link to comment
Share on other sites

I don't think the advices above would really solve the prob, because you have to regenerate the {shop_address}, which is not possible in the footer.tpl where the address is just assigned.

 

I'd suggest an override for function getFooter() in /classes/pdf/HTMLTemplate.php, where the footer is 'composed'.

Link to comment
Share on other sites

  • 6 years later...

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...