forked from DGNum/gestioCOF
change stock warning threshold
This commit is contained in:
parent
75be9fd2a6
commit
4db55efb67
1 changed files with 1 additions and 1 deletions
|
@ -816,7 +816,7 @@ $(document).ready(function() {
|
||||||
article_data = articlesList[i];
|
article_data = articlesList[i];
|
||||||
|
|
||||||
stock = article_data[4] ;
|
stock = article_data[4] ;
|
||||||
return (stock >= 0 && stock < nb) ;
|
return (-5 <= stock - nb && stock - nb <= 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
function addDeposit(amount, is_checkout=1) {
|
function addDeposit(amount, is_checkout=1) {
|
||||||
|
|
Loading…
Reference in a new issue