This commit is contained in:
jpb 2022-05-30 15:53:37 +02:00
parent 7aed7fbaa9
commit cbbe225705

View File

@ -2646,14 +2646,11 @@ class ExpenseReport extends CommonObject
} }
} }
} }
$total_ht = $coef; $total_ht = $coef;
//$total_ttc = price2num($total_ht + ( $total_ht * $tva / 100),'MT');
return $total_ht; return $total_ht;
} else { } else {
$this->error = $langs->trans('TaxUndefinedForThisCategory'); $this->error = $langs->trans('TaxUndefinedForThisCategory');
return 0;
return -1;
} }
} else { } else {
$this->error = $this->db->error()." sql=".$sql; $this->error = $this->db->error()." sql=".$sql;