2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-07 15:58:49 +00:00

Fixed display of part allocation count

This commit is contained in:
Oliver 2018-04-24 17:59:20 +10:00
parent f46c09e3a7
commit b114001678

View File

@ -75,11 +75,10 @@
<tr> <tr>
<td>Allocated</td> <td>Allocated</td>
{% if part.allocation_count > part.total_stock %} {% if part.allocation_count > part.total_stock %}
<td><span class='label label-danger'>{{ part.allocation_count }}</span> <td><span class='label label-danger'>{{ part.allocation_count }}</span></td>
{% else %} {% else %}
{{ part.allocation_count }} <td>{{ part.allocation_count }}</td>
{% endif %} {% endif %}
</td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>