{% load i18n %}
{% if task.origin == "BASKET" %}
AI Basket
{% elif task.origin == "MEMBER_ORDER" %}
{% with order=task.created_from_order.root_order %} Order{% endwith %}
{% elif task.origin == "BOM" %}
Component
{% elif task.origin == "BLUEPRINT" %}
Blueprint
{% else %}
Manual
{% endif %}