{% load i18n %} {% load humanize %} {% load moonmining %}
{% if extraction.products_sorted|length > 0 %} {% for product in extraction.products_sorted %} {% endfor %}
{% translate 'Ore Type' %} {% translate 'Rarity' %} {% translate 'Est. Unit Price' %} {% translate 'Volume' %} {% translate 'Est. Total Price' %}
{{ product.ore_type.name }} {{ product.ore_type.rarity_class.bootstrap_tag_html }} {{ product.ore_type.price|floatformat:"0"|intcomma|default:"?" }} {{ product.volume|floatformat:"0"|intcomma }} {{ product.total_price|formatisk:"b"|default:""}}
{% translate 'Total' %} {{ extraction.volume|floatformat:"0"|intcomma }} {{ extraction.value|formatisk:"b"|default:""}}
{% else %}

{% translate 'No data.' %}

{% endif %}