Changed tax rate, but old orders PDF invoice show changed rate
-
G’day Ewout,
I just changed the tax rate from 6% to 0%, and I noticed that the old orders PDF invoice show the changed rate.
By the way, I added the following snippet …
// Change 'tax' to 'GST (0%)' add_filter( 'woocommerce_countries_tax_or_vat', function() { return __( 'GST (0%)', 'woocommerce' ); });
Fortunately, when I edit/view the old orders via admin > WooCommerce >> Orders, the tax section still shows the old tax, as ‘GST (6%)’. However, when I click on the Create PDF > PDF Tax Invoice button, the generated PDF shows the changed rate, as ‘GST (0%)’.
How do I make the generated PDF Tax Invoice get the old tax rate?
Please advise. Thank you in advance.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Changed tax rate, but old orders PDF invoice show changed rate’ is closed to new replies.