forked from DGNum/gestioCOF
add low stock css to WS
This commit is contained in:
parent
95e96d8ce5
commit
2394a5e5d2
1 changed files with 2 additions and 0 deletions
|
@ -1335,6 +1335,8 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
for (var i=0; i<data['articles'].length; i++) {
|
for (var i=0; i<data['articles'].length; i++) {
|
||||||
article = data['articles'][i];
|
article = data['articles'][i];
|
||||||
|
articles_container.find('#data-article-'+article['id'])
|
||||||
|
.addClass('low-stock');
|
||||||
articles_container.find('#data-article-'+article['id']+' .stock')
|
articles_container.find('#data-article-'+article['id']+' .stock')
|
||||||
.text(article['stock']);
|
.text(article['stock']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue