{% extends 'admin/inspect.html' %} {% load i18n static admin_urls admin_modify simpelcore_tags %} {% block title %}{{ object }}{% endblock %} {% block extrastyle %} {% endblock extrastyle %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content_main %}

{{ object.estimation_price|currency }}

{% trans "Estimation Price" %}: {{ object.estimation_price|currency }}
{% trans "Partial" %}: {{ object.is_partial }}
{% if object.is_stockable %}
{% trans "Minimum Stock" %}: {{ object.min_stock }}
{% trans "Maximum Stock" %}: {{ object.max_stock }}
{% endif %}
{% trans "Minimum Order" %}: {{ object.min_order }}
{% trans "Maximum Order" %}: {{ object.max_order }}
{% trans "Category" %}: {{ object.category }}
{% trans "Tags" %}: {% for tag in object.tags.all %} {{ tag|title }} {% empty %} {% trans "No Tag" %} {% endfor %}

{% trans "Description" %}

{% if object.description %}{{ object.description|safe }}{% else %}{% trans "No description" %}{% endif %}
{% if object.audience_criterias %}

{% trans "Audience Criteria" %}

{{ object.audience_criterias|safe }}
{% endif %} {% if object.specifications.all %}

{% trans "Specifications" %}

    {% for spec in object.specifications.all %}
  • {{ spec.feature }}

    {% if spec.description %}
    {{ spec.description|safe }}
    {% endif %} {% if spec.value %}{% trans "Minimum Value" %}: {{ spec.value }}{% endif %}
  • {% endfor %}
{% endif %} {% if object.topics.count %}

{% trans "Training Topics" %}

    {% for topic in object.topics.all %}
  • {{ topic.title }}

    {% if topic.description %}

    {{ topic.description|safe }}

    {% endif %}
  • {% endfor %}
{% endif %} {% if object.specific.bundle_items.count %}

{% trans "Bundled Items" %}

{% for bundle in object.bundle_items.all %} {% endfor %}
{% trans "Inner ID" %} {% trans "Product" %} {% trans "Unit" %} {% trans "Quantity" %} {% trans "Tarif" %}
{{ bundle.item.inner_id }} {{ bundle.item }} {% if bundle.item.unit %}{{ recommendation.item.unit|safe }}{% else %}-{% endif %} {{ bundle.quantity }} {{ bundle.total|currency }}
{% endif %} {% if object.recommended_items.count %}

{% trans "Recommended Items" %}

{% for recommendation in object.recommended_items.all %} {% endfor %}
{% trans "Inner ID" %} {% trans "Product" %} {% trans "Satuan" %} {% trans "Quantity" %} {% trans "Tarif" %}
{{ recommendation.product.inner_id }} {{ recommendation.product }} {% if recommendation.product.unit_code %}{{ recommendation.product.unit_code }}{% endif %} {{ recommendation.quantity }} {% if recommendation.product.unit %}{{ recommendation.product.unit|safe }}{% endif %} {{ recommendation.total|currency }}
{% endif %}
{% endblock %}