mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
set deposit percent to zero on change
This commit is contained in:
parent
6aa4d6a940
commit
5fd5eae3b1
|
|
@ -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