add return on tax_rat <= 0
This commit is contained in:
parent
dbd0c6d7d1
commit
a549e922a9
@ -2615,6 +2615,10 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
if (type_fee == 4) { // frais_kilométriques
|
if (type_fee == 4) { // frais_kilométriques
|
||||||
|
|
||||||
|
if (tax_cat == "" || parseInt(tax_cat) <= 0){
|
||||||
|
return ;
|
||||||
|
}
|
||||||
|
|
||||||
jQuery.ajax({
|
jQuery.ajax({
|
||||||
url: path
|
url: path
|
||||||
,async:false
|
,async:false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user