Created
April 9, 2024 11:06
-
-
Save webtoffee-git/1903920784cfbb129b6c5f232ed2f3d8 to your computer and use it in GitHub Desktop.
Code to change incl_tax text in Total and Subtotal to incl_GST - By WebToffee
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
<?php //Do not add this line of code | |
add_filter('wf_pklist_alter_tax_inclusive_text','wf_pklist_remove_tax_text',10,3); | |
function wf_pklist_remove_tax_text($incl_tax_text, $template_type, $order) | |
{ | |
if($template_type=='invoice') | |
{ | |
$incl_tax_text='Incl. GST'; | |
} | |
return $incl_tax_text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment