add return on tax_rat <= 0

This commit is contained in:
jpb 2022-05-30 16:08:04 +02:00
parent dbd0c6d7d1
commit a549e922a9

View File

@ -2615,6 +2615,10 @@ if ($action == 'create') {
if (type_fee == 4) { // frais_kilométriques
if (tax_cat == "" || parseInt(tax_cat) <= 0){
return ;
}
jQuery.ajax({
url: path
,async:false