Jump to content

Change invoice address in PDF delivery slip


Dead

Recommended Posts

good day

 

i need to change address view in pdf delivery slip

 

i want to move post code to bottom of address

 

so instead

 

 

Some Person

House name

Address

County

HR1 2HE City

United Kingdom

Phone

Name

 

I want to have

 

 

Some Person

House name

Address

County

City

United Kingdom

HR1 2HE

Phone

Name

 

I have found template for pdf generation /classes/pdf/HTMLTemplateOrderSlip.php

 

but it has following code

 

  $delivery_address = new Address((int)$this->order->id_address_delivery);
  $formatted_delivery_address = AddressFormat::generateAddress($delivery_address, array(), '<br />', ' ');

 

and no breakdown for fields. I think i may spend few hours in research, so if anyone know how to change this faster - your help will be appreciated very much.

 

Or maybe there's a link to presta development documentation (i'm seriously doubt as presta is well known for lack of this ((((( )

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