mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-05 21:20:56 +00:00
Add stock information for top-level stock page
This commit is contained in:
@ -53,6 +53,9 @@ class StockIndex(ListView):
|
||||
context['locations'] = locations
|
||||
context['items'] = StockItem.objects.all()
|
||||
|
||||
context['loc_count'] = StockLocation.objects.count()
|
||||
context['stock_count'] = StockItem.objects.count()
|
||||
|
||||
return context
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user