Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the default tax type in sale order
#1
Hi,

I would like to change the default tax type when creating new in sale order, invoice etc.

I modify:
Smarty/templates/Inventory/ProductDetailsEditView.tpl

diff
Code:
<select class="small" id="taxtype" name="taxtype" onchange="decideTaxDiv(); calcTotal();">
-                       <OPTION value="individual" {$individual_selected}>{$APP.LBL_INDIVIDUAL}</OPTION>
                        <OPTION value="group" {$group_selected}>{$APP.LBL_GROUP}</OPTION>
+                       <OPTION value="individual" {$individual_selected}>{$APP.LBL_INDIVIDUAL}</OPTION>
                </select>

and delete
./Smarty/templates_c/25.............df_0.file.ProductDetailsEditView.tpl.php

But it didn't help.
Any idea?
Reply
#2
Inventory_Tax_Type_Default global variable, no need to modify any code for that

give it a try and let me know
Joe
TSolucio
Reply
#3
I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)