2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Add sub-category and part count

This commit is contained in:
Oliver Walters 2019-09-20 00:00:34 +10:00
parent 508a3fc35c
commit 5a9e5dea20

View File

@ -52,6 +52,14 @@
<td>{{ category.default_keywords }}</td> <td>{{ category.default_keywords }}</td>
</tr> </tr>
{% endif %} {% endif %}
<tr>
<td>Subcategories</td>
<td>{{ category.children.count }}</td>
</tr>
<tr>
<td>Parts (Including subcategories)</td>
<td>{{ category.partcount }}</td>
</tr>
</table> </table>
{% endif %} {% endif %}
</div> </div>