{% extends "htmx/form_base.html" %} {% block form %} {# Header #}
| Item | Container | Amount | User | When | Location |
|---|---|---|---|---|---|
| {% include "inventory_management/dashboard_item.html" %} | {% foreign_key_link container %} | {{ log.amount_removed|floatformat:"-3" }} {{ container.amount_units|default:"" }} | {{ log.user.username|default:"--" }} | {{ log.created_at|timesince }} ago | {{ container.location.name|default:"--" }} |
| No usage has been logged yet. | |||||
| Batch | Item | Remaining | Supplier | Expires | Status |
|---|---|---|---|---|---|
| {% foreign_key_link batch %} {% if batch.batch_number %}· #{{ batch.batch_number }}{% endif %} | {% include "inventory_management/dashboard_item.html" %} | {% if batch.total_current_amount is not None %} {{ batch.total_current_amount|floatformat:"-3" }} {{ batch.amount_units|default:"" }} {% else %} -- {% endif %} | {{ batch.supplier|default:"in-house" }} | {{ batch.expiration_date|date:"Y-m-d" }} | {% status_badge batch.status_text batch.badge_theme %} |
| No batches expire within the next {{ expiring_days }} days. | |||||