diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index eff277edfe..5f511d87a8 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -75,11 +75,10 @@ <tr> <td>Allocated</td> {% 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 %} - {{ part.allocation_count }} + <td>{{ part.allocation_count }}</td> {% endif %} - </td> </tr> {% endif %} </table>