mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
How many units are in stock doesn't really mean anything...
This commit is contained in:
parent
4cc31a87e0
commit
9221d787a5
@ -172,7 +172,7 @@ function RefreshStatistics()
|
|||||||
result.forEach(element => {
|
result.forEach(element => {
|
||||||
amountSum += parseInt(element.amount);
|
amountSum += parseInt(element.amount);
|
||||||
});
|
});
|
||||||
$("#info-current-stock").text(__n(result.length, '%s Product', '%s Products') + ", " + __n(amountSum, '%s Unit', '%s Units'));
|
$("#info-current-stock").text(__n(result.length, '%s Product', '%s Products'));
|
||||||
},
|
},
|
||||||
function(xhr)
|
function(xhr)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user