davers44 Posted May 30, 2011 Share Posted May 30, 2011 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 More sharing options...
davers44 Posted June 4, 2011 Author Share Posted June 4, 2011 This should be quite simple but I can't get it to work.Anyone knows simply the if condition for tax exempt? Link to comment Share on other sites More sharing options...
istox Posted July 7, 2011 Share Posted July 7, 2011 Try to use Tools>Translations>PDF Translation and just change the translation Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now