Jump to content

[Solved] How to edit the footer of the pdf invoices ?


Recommended Posts

Hello.
I saw that on the pdf invoices there is a little problem :

NAME OF THE COMPANY - Siège social Adress France
Details : SIRET **************** -

the name of the company is in capital letters !? and I'd like to delete "Details :" (the accent on the e is missing in the translation and the SIRET is not a detail) and the "-" at the end.

Thanks

Link to comment
Share on other sites

hi bato,

go to backoffice > tools > translations and translate the fields "headquarter" and "details:" to a space and save it.

Then open /classes/PDF.php with your favorite editor and around line 108 you will find the code which generates the footer.

Change:

$this->Cell(0, 5, Tools::strtoupper($conf['PS_SHOP_NAME']).



To:

$this->Cell(0, 5, $conf['PS_SHOP_NAME'].



That should eliminate the uppercase problem.

In line 109 you can eliminate the '-'.

Hope that helps!

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