Part view shows next available serial number

This commit is contained in:
Oliver Walters 2020-05-26 11:34:11 +10:00
parent ae4bfd07da
commit 27ca84fd2a

View File

@ -33,6 +33,13 @@
<td>{{ part.revision }}</td>
</tr>
{% endif %}
{% if part.trackable %}
<tr>
<td><span class='fas fa-hashtag'></span></td>
<td><b>{% trans "Next Serial Number" %}</b></td>
<td>{{ part.getNextSerialNumber }}</td>
</tr>
{% endif %}
<tr>
<td><span class='fas fa-info-circle'></span></td>
<td><b>{% trans "Description" %}</b></td>