{% load inventory_monitor %} {% with status=record|get_status:status_type %} {% if status %}
{{ status.message }}
{% elif start_date or end_date %} {{ start_date|date:"Y-m-d"|default:"?" }} — {{ end_date|date:"Y-m-d"|default:"∞" }} {% else %} {{ ''|placeholder }} {% endif %} {% endwith %}