Merge pull request '3451-client_balance fix amountToReturn is 0' (#828) from 3451-client_balance into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #828
Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
Carlos Jimenez Ruiz 2021-12-24 09:27:28 +00:00
commit 4b2c309672
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Controller extends Dialog {
} }
set amountToReturn(value) { set amountToReturn(value) {
if (!value) return; if (isNaN(value)) return;
value = value.toFixed(2); value = value.toFixed(2);