Jump to content

Add company code in address form


Recommended Posts

  On 10/8/2013 at 10:20 AM, l33tas said:

Yes its works, but how this code print into pdf invoice? Now printing only vat and compnay and etc.. but dont print dni

What is your PrestaShop version? It should work even for invoices in v1.5.

Link to comment
Share on other sites

There is nothing to edit. If you have "dni" in the address format for all countries (!) it should be in the invoice too.

 

Code is in /classes/pdf/HTMLTemplateInvoice.php, AddressFormat::generateAddress() in the getContent() function.

Link to comment
Share on other sites

  • 2 years later...

I know it's an old topic to revoke but for some reason adding DNI field into address through localization > countries does not make it to appear when registering. VAT does appear, but DNI doesn't - maybe anyone had same problem???

Link to comment
Share on other sites

×
×
  • Create New...