{% extends 'base.html' %} {% load static %} {% load qr_code %} {% load crispy_forms_tags %} {% block content %}
| Name | Package | Manufacturer | Type | Total # | 
|---|---|---|---|---|
| {{component.name}} | 
                            {% if component.package %}
                            {{component.package.name}}
                            {% if component.package.image %}
                             | 
                        
                            {% if component.manufacturer %}
                            {{component.manufacturer.name}}
                            {% if component.manufacturer.image %}
                             | 
                        {% if component.component_type %}{{component.component_type.class_name}}{% endif %} | {{component.get_total_amount}} | 
| Storage | Amount | {% for stock in stocks %}
|---|---|
| {{stock.storage.get_full_path}} | {{stock.amount}} |