mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #33084 from rycks/18.0_fix_change_deposit_conditions_value
set deposit percent to zero on change
This commit is contained in:
commit
54df3c2991
|
|
@ -4332,7 +4332,7 @@ class Form
|
|||
if (depositPercent.length > 0) {
|
||||
$("#' . $htmlname . '_deposit_percent_container").show().find("#' . $htmlname . '_deposit_percent").val(depositPercent);
|
||||
} else {
|
||||
$("#' . $htmlname . '_deposit_percent_container").hide();
|
||||
$("#' . $htmlname . '_deposit_percent_container").hide().find("#' . $htmlname . '_deposit_percent").val(0);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user