forked from Wavyzz/dolibarr
FIX ajaxik URL in ExpenseReport to load coef calculation (#30918)
This commit is contained in:
committed by
GitHub
parent
fc1b4c9697
commit
bb295ddc86
@@ -2615,7 +2615,7 @@ if ($action == 'create') {
|
||||
let tva = jQuery("#vatrate").find(":selected").val();
|
||||
let qty = jQuery(".input_qty").val();
|
||||
|
||||
let path = "'.DOL_DOCUMENT_ROOT.'/expensereport/ajax/ajaxik.php";
|
||||
let path = "'.dol_buildpath("/expensereport/ajax/ajaxik.php", 1).'";
|
||||
path += "?fk_c_exp_tax_cat="+tax_cat;
|
||||
path += "&fk_expense="+'.((int) $object->id).';
|
||||
path += "&vatrate="+tva;
|
||||
|
||||
Reference in New Issue
Block a user