Merge pull request #2713 from SchrodingersGat/auto-allocate

Adds "Auto allocate" feature for build orders
This commit is contained in:
Oliver authored and GitHub committed 2022-03-07 09:32:49 +11:00
commit 776138f2e2
9 files changed
+398 -23

No files matched your search

@@ -244,7 +244,7 @@
{% for allocation in item.allocations.all %}
<div class='alert alert-block alert-info'>
{% object_link 'build-detail' allocation.build.id allocation.build %}
{% object_link 'build-detail' allocation.build.id allocation.build as link %}
{% decimal allocation.quantity as qty %}
{% trans "This stock item is allocated to Build Order" %} {{ link }} {% if qty < item.quantity %}({% trans "Quantity" %}: {{ qty }}){% endif %}
</div>