{% extends "industry_reforged/base.html" %} {% load i18n %} {% load industry_tags %} {% block details %}
{% if not public %} {% endif %}

{{ contract.tracking_number }}

{% if contract.status == "PENDING" %}

{% trans "Create this contract in EVE" %}

{% trans "Create an Item Exchange contract with exactly these details. Use the copy buttons to avoid typos." %}

1. {% trans "Make it out to" %}
{{ contract.program.recipient_name }}
{% if contract.program.recipient_type == "CHARACTER" %}{% trans "Character" %}{% else %}{% trans "Corporation" %}{% endif %}
2. {% trans "Ask exactly (I will receive)" %}
{{ contract.quoted_price|floatformat:"2g" }} ISK
{% if contract.donation_amount %}
{% trans "Already net of your donation" %}
{% endif %}
3. {% trans "Title (reference)" %}
{{ contract.tracking_number }}
{% trans "Put this in the contract description" %}
4. {% if contract.program.drop_off_names|length > 1 %}{% trans "Location (one of)" %}{% else %}{% trans "Location" %}{% endif %}
{% for name in contract.program.drop_off_names %}
{{ name }}
{% empty %}
-
{% endfor %}
{% trans "Create it before" %} {{ contract.deadline|date:"Y-m-d H:i" }} ({% trans "EVE time" %}) · {% trans "Include exactly the items listed below." %}
{% if not public %}
{% csrf_token %}
{% endif %}
{% endif %}
{% trans "Status" %}
{{ contract.get_status_display }}
{% trans "Submitted By" %}
{{ contract.character.character_name|default:"-" }}
{% trans "Program" %}
{{ contract.program.name }} ({{ contract.program.drop_off_name }}) {% if contract.program.price_modifier_percent %} {% if contract.program.price_modifier_percent > 0 %}+{% endif %}{{ contract.program.price_modifier_percent }}% {% endif %}
{% trans "Base Market Value" %}
{{ contract.base_appraisal_total|eve_isk }}
{% if contract.modifier_impact %}
{% trans "Price Modifier / Item Rules / Bulk Tax" %}
{% if contract.modifier_impact > 0 %}+{% endif %}{{ contract.modifier_impact|eve_isk }}
{% endif %} {% if contract.hauling_cost %}
{% trans "Hauling" %}
-{{ contract.hauling_cost|eve_isk }}
{% endif %} {% if contract.donation_amount %}
{% trans "Appraisal" %}
{{ contract.gross_appraisal|eve_isk }}
{% trans "Donated to corp" %}
-{{ contract.donation_amount|eve_isk }}
{% endif %}
{% trans "Quoted Price" %}{% if contract.donation_amount %} ({% trans "net" %}){% endif %}
{{ contract.quoted_price|eve_isk }}
{% if contract.contract_price %}
{% trans "Actual Contract Price" %}
{{ contract.contract_price|eve_isk }}
{% endif %}
{% trans "Submitted" %}
{{ contract.created_at|date:"Y-m-d H:i" }}
{% if contract.seller_note %}
{% trans "Note from the seller" %}

{{ contract.seller_note }}

{% endif %} {% if contract.has_flags and not public %}
{% trans "This contract needs review" %}

{{ contract.flag_notes }}

{% endif %}
{% if comparison and not public %}
{% trans "Appraisal vs. in-game contract" %}
{% for row in comparison %} {% endfor %}
{% trans "Item" %} {% trans "Appraised" %} {% trans "In contract" %}
{{ row.name }}{% if not row.matches %} {% if not row.actual %}{% trans "Missing" %}{% elif not row.quoted %}{% trans "Not appraised" %}{% else %}{% trans "Quantity differs" %}{% endif %}{% endif %} {{ row.quoted }} {{ row.actual }}
{% endif %} {% if advice and not public %}
{% trans "What to do with these items" %}
{% if advice.route == "LISTED" %}{% trans "Based on a Jita sell order (after broker fee and sales tax)" %}{% else %}{% trans "Based on selling straight to Jita buy orders" %}{% endif %} · {% trans "Settings" %}
{% trans "Sell" %}
{{ advice.sell.value|eve_isk_short }}
{% blocktrans count counter=advice.sell.count %}{{ counter }} item{% plural %}{{ counter }} items{% endblocktrans %}
{% trans "Reprocess" %}
{{ advice.reprocess.value|eve_isk_short }}
{% blocktrans count counter=advice.reprocess.count %}{{ counter }} item{% plural %}{{ counter }} items{% endblocktrans %}{% if advice.gain > 0 %} · +{{ advice.gain|eve_isk_short }}{% endif %}
{% trans "Build material" %}
{{ advice.build.value|eve_isk_short }}
{% blocktrans count counter=advice.build.count %}{{ counter }} item{% plural %}{{ counter }} items{% endblocktrans %} · {% trans "kept" %}
{% trans "To be sorted" %}
{{ advice.sort.value|eve_isk_short }}
{% blocktrans count counter=advice.sort.count %}{{ counter }} item{% plural %}{{ counter }} items{% endblocktrans %} · {% trans "you decide" %}

{% trans "Selling everything as-is would bring" %} {{ advice.sell_all|eve_isk }}. {% trans "Build material is valued at what buying it at Jita would cost." %}

{% csrf_token %}
{% for item in advice.ordered_items %} {% if item.advice == "BUILD" %} {% else %} {% if item.reprocessable %} {% else %} {% endif %} {% endif %} {% endfor %}
{% trans "Item" %} {% trans "Qty" %} {% trans "Sell (instant)" %} {% trans "Sell (sell order)" %} {% trans "Reprocess (instant)" %} {% trans "Reprocess (sell order)" %} {% trans "Decision" %}
{% if item.advice != "BUILD" %} {% else %} {% endif %} {{ item.eve_type.name }} {% if item.leftover %}
{% blocktrans with count=item.leftover %}{{ count }} left over (less than one reprocessing batch), counted as sold{% endblocktrans %}
{% endif %}
{{ item.quantity }}{% trans "Kept for building" %} · {% trans "Jita value" %} {{ item.replacement_value|eve_isk }}{{ item.sell_instant|eve_isk }} {{ item.sell_listed|eve_isk }}{{ item.reprocess_instant|eve_isk }} {{ item.reprocess_listed|eve_isk }}{% trans "Can't be reprocessed" %} {% if item.advice == "SELL" %} {% trans "Sell" %}{% if item.reprocessable %} +{{ item.advantage|eve_isk }}{% endif %} {% elif item.advice == "REPROCESS" %} {% trans "Reprocess" %} +{{ item.advantage|eve_isk }} {% if item.fills_shortage %}
{% trans "keeps:" %} {{ item.fills_shortage|join:", " }}
{% endif %} {% elif item.advice == "BUILD" %} {% trans "Build material" %} {% else %} {% trans "To be sorted" %}
{% if item.sort_reason == "no_price" %}{% trans "No Jita price known" %}{% elif item.sort_reason == "slow" %}{% trans "More than 5 days of Jita trade volume" %}{% else %}{% trans "Selling and reprocessing are about equal" %}{% endif %}
{% endif %}
{% trans "They'll be kept in-house here and on every future contract, instead of sold or reprocessed." %}
{% if advice.build_materials %}
{% trans "Keep as build material" %}
{% for mat in advice.build_materials %} {{ mat.eve_type.name }} {{ mat.quantity|floatformat:"0g" }} {% endfor %}
{% endif %} {% if advice.sell_materials %}
{% trans "Sell after reprocessing" %}
{% for mat in advice.sell_materials %} {{ mat.eve_type.name }} {{ mat.quantity|floatformat:"0g" }} {% endfor %}
{% endif %}
{% endif %}
{% trans "Items" %}
{% for item in items %} {% endfor %}
{% trans "Item" %} {% trans "Qty" %} {% trans "Unit Price" %} {% trans "Total" %}
{{ item.eve_type.name }} {{ item.quantity }} {{ item.unit_price|eve_isk }} {{ item.line_total|eve_isk }}
{% endblock %} {% block extra_javascript %} {{ block.super }} {% endblock %}