WordPress.org

Ready to get started?Download WordPress

Forums

WP-Invoice - Web Invoice and Billing
[resolved] Change name of tax to GST or VAT? (6 posts)

  1. bridieamelia
    Member
    Posted 4 months ago #

    Hi! It appears you fixed the ability to change TAX to GST or VAT back in 2009 but perhaps this was lost in the rewrite?

    Please see here

    As it is not documented in current documentation

    Thanks!

    https://wordpress.org/plugins/wp-invoice/

  2. Anton Korotkoff
    WP-Invoice Support
    Posted 3 months ago #

    Hello,

    where exactly you what to change it?

    Thanks.

  3. bridieamelia
    Member
    Posted 3 months ago #

    Everywhere that it occurs? EG on invoice_page.php. Ideally, it would change either when AUD$ is selected, or there could be an option in Tax Handling to change the name.

    However, I'm comfortable with changing it in MySQL or PHP if you can point me in the right direction|?

    Thanks in advance :)

  4. bridieamelia
    Member
    Posted 3 months ago #

    That is, I can see it would be implemented in invoice_page.php in the code:

    <div class="wpi_itemized_table">
          <?php show_itemized_table(); ?>
        </div>

    And that would mean the show_itemized_table() function draws the column name TAX from (presumable an SQL entry)...somewhere? But can't for the life of me work out where.

  5. Anton Korotkoff
    WP-Invoice Support
    Posted 3 months ago #

    it is in wpi_template_functions.php line 206. But you should understand that your changes may be removed after next plugin upgrade.

  6. bridieamelia
    Member
    Posted 3 months ago #

    Awesome thanks! No worries, I can replace if need be - though it would be great if this option was added back to the plugin!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags