2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Pre-fill allocation count

This commit is contained in:
Oliver Walters
2019-05-18 12:17:57 +10:00
parent 34d1ef7d8d
commit a95e77c429
2 changed files with 8 additions and 1 deletions

View File

@ -25,7 +25,7 @@
Allocated:
</div>
<div class='col-sm-1' id='allocation-panel-{{ item.sub_part.id }}'>
<b><span id='allocation-total-{{ item.sub_part.id }}'>0</span></b>
<b><span id='allocation-total-{{ item.sub_part.id }}'>{% part_allocation_count build item.sub_part %}</span></b>
</div>
<div class='col-sm-2'>
<div class='btn-group' style='float: right;'>