Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fballiano/336aa61d3945693679a3 to your computer and use it in GitHub Desktop.
Save fballiano/336aa61d3945693679a3 to your computer and use it in GitHub Desktop.
Wees/FPT not shown in invoices PDF
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