CoreBOSBB
Change the default tax type in sale order - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Change the default tax type in sale order (/showthread.php?tid=2163)



Change the default tax type in sale order - addady2 - 06-17-2021

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?


RE: Change the default tax type in sale order - joebordes - 06-17-2021

Inventory_Tax_Type_Default global variable, no need to modify any code for that

give it a try and let me know


Its an informative topic - Beauvais - 01-01-2022

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