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:
parent
f46c09e3a7
commit
b114001678
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user