2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Display some basic stats

This commit is contained in:
Oliver Walters
2020-02-02 22:13:10 +11:00
parent aa210efad6
commit 244d364575
3 changed files with 51 additions and 3 deletions

View File

@ -2,4 +2,27 @@
{% load inventree_extras %}
{% load i18n %}
HELLO WORLD
<table class='table table-striped table-condensed'>
<tr>
<td colspan='2'><b>{% trans "Parts" %}</b></td>
</tr>
<tr>
<td>{% trans "Parts" %}</td>
<td>{{ part_count }}</td>
</tr>
<tr>
<td>{% trans "Part Categories" %}</td>
<td>{{ part_cat_count }}</td>
</tr>
<tr>
<td colspan="2"><b>{% trans "Stock Items" %}</b></td>
</tr>
<tr>
<td>{% trans "Stock Items" %}</td>
<td>{{ stock_item_count }}</td>
</tr>
<tr>
<td>{% trans "Stock Locations" %}</td>
<td>{{ stock_loc_count }}</td>
</tr>
</table>