Display item overage in the allocation list

This commit is contained in:
Oliver Walters 2020-03-19 10:16:58 +11:00
parent 15bc457714
commit 6fd0380196

View File

@ -18,7 +18,7 @@
<b>{% decimal item.sub_part.total_stock %}</b> <b>{% decimal item.sub_part.total_stock %}</b>
</div> </div>
<div class='col-sm-2'> <div class='col-sm-2'>
<b>{% multiply build.quantity item.quantity %}</b> <b>{% multiply build.quantity item.quantity %}{% if item.overage %} (+ {{ item.overage }}){% endif %}</b>
</div> </div>
<div class='col-sm-2'> <div class='col-sm-2'>
<b><span id='allocation-total-{{ item.sub_part.id }}'>{% part_allocation_count build item.sub_part %}</span></b> <b><span id='allocation-total-{{ item.sub_part.id }}'>{% part_allocation_count build item.sub_part %}</span></b>