Fix keep the standard behaviour
This commit is contained in:
parent
6b20bad847
commit
579d350599
@ -1063,7 +1063,9 @@ if (empty($reshook))
|
||||
}
|
||||
|
||||
if ($totalamount != 0) {
|
||||
$amountdeposit[] = ($totalamount * $valuedeposit) / 100;
|
||||
$amountdeposit[$lines[$i]->tva] = ($totalamount * $valuedeposit) / 100;
|
||||
} else {
|
||||
$amountdeposit[] = 0;
|
||||
}
|
||||
} else {
|
||||
setEventMessages($srcobject->error, $srcobject->errors, 'errors');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user