mirror of
https://github.com/grocy/grocy.git
synced 2025-04-28 17:23:56 +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 => {
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user