Jump to content

Editing PDF Invoice Tax Exempt String


Recommended Posts

Hi,

In the standard 1.4.1 pdf.php class file there is a condition that adds a string in the ouput pdf only when the tranasction is made with another EU VAT valid number customer.


if (Configuration::get('VATNUMBER_MANAGEMENT') AND !empty($invoiceAddress->vat_number) AND $invoiceAddress->id_country != Configuration::get('VATNUMBER_COUNTRY'))
       {
           $this->Ln();
           $this->Cell(30, 0, self::l('Exempt of VAT according section 259B of the General Tax Code.'), 0, 0, 'L');
           return;
       } 




Italian laws and I think many other EU states needs to add another string when the transaction is made out of EU customer and VAT exempt. I would like editing such "if condition" to print the string only when the transaction is tax exempt. I tried if (self::$_priceDisplayMethod == PS_TAX_EXC) but does not work any help here?

Thanks

Link to comment
Share on other sites

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