diff --git a/templates/bootstrap_table.html b/templates/bootstrap_table.html index 16d7e78..9fd1e41 100644 --- a/templates/bootstrap_table.html +++ b/templates/bootstrap_table.html @@ -70,77 +70,6 @@ -

Spares

-
- - - - - - - - - {% for i in json_file['unit'] %} - - {% endfor %} - - - - {% for brick in inventory_file.results %} - {% if brick.is_spare == True %} - - {% if brick.element_id == None %} - - {% else %} - - {% endif %} - - - - - {% for i in json_file['unit'] %} - - - {% endfor %} - - {% endif %} - {% endfor %} - -
IDNameColorQtyMissing ({{ loop.index }})
{{ brick.part.part_num }}{{ brick.part.name }}{{ brick.color.name }}{{ brick.quantity }} -
- {% set ns = namespace(count='') %} -
- - - - - - - {% for j in json_file['unit'][loop.index0]['bricks']['missing'] %} - {% if j['brick']['ID'] == brick.part.part_num and j['brick']['color_name'] == brick.color.name %} - - {% if j['brick']['is_spare']|lower == brick.is_spare|lower %} - - {% set ns.count = j['brick']['amount'] %} - {% endif %} - {% endif %} - {% endfor %} -
- - -
- -
-
- - -
-
- - -