2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 21:16:46 +00:00
InvenTree/InvenTree/templates/build_status.html
Oliver Walters 40d8332e7f Add 'allocated' status code to build
- This means that parts have been taken from stock
2019-05-08 07:48:39 +10:00

11 lines
353 B
HTML

{% if build.status == build.PENDING %}
<span class='label label-info'>
{% elif build.status == build.ALLOCATED %}
<span class='label label-primary'>
{% elif build.status == build.CANCELLED %}
<span class='label label-danger'>
{% elif build.status == build.COMPLETE %}
<span class='label label-success'>
{% endif %}
{{ build.get_status_display }}
</span>