Created
July 31, 2015 09:53
-
-
Save fballiano/336aa61d3945693679a3 to your computer and use it in GitHub Desktop.
Wees/FPT not shown in invoices PDF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93c93,106 | |
< $taxClassAmount = array_merge($taxClassAmount, $shippingTax); | |
--- | |
> $_weees = Mage::helper('tax')->getAllWeee($this->getOrder()); | |
> $wees = array(); | |
> foreach ($_weees as $name => $value) { | |
> $wees[] = array( | |
> "tax_amount" => $value, | |
> "base_tax_amount" => $value, | |
> "title" => $name, | |
> "percent" => null | |
> ); | |
> } | |
> | |
> $taxClassAmount = array_merge($taxClassAmount, $shippingTax, $wees); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment