{% extends "industry_reforged/base.html" %} {% load i18n humanize %} {% load industry_tags %} {% block details %}

{% trans "Director Configurations" %}

{% trans "Back" %}

{% trans "Set corporate rules for production, material efficiency, and pricing overrides." %}

{% trans "Specific Item Rules" %}
{% trans "Add Item Rule" %}
{% for config in configs %} {% endfor %}
Corporation {% translate "Item" %} BOM Strategy ME/TE Price Override Threshold Auto Produce Excluded? {% translate "Actions" %}
{{ config.corporation.corporation_name }}
{{ config.item_type.name }} {{ config.item_type.name }}
{{ config.get_build_or_buy_display }} {% if config.has_blueprint %} ME: {{ config.manual_me }}
TE: {{ config.manual_te }}
Runs: {% if config.max_runs == 0 %}BPO{% else %}{{ config.max_runs }}{% endif %} {% else %} N/A {% endif %}
{% if config.manual_price %}{{ config.manual_price|eve_isk }}{% else %}Auto (ESI Market){% endif %} {{ config.target_threshold|intcomma }} {% if config.auto_produce %}{% else %}{% endif %} {% if config.exclude_from_orders %} Excluded {% endif %} {% if config.is_unclaimable_parent %} Unclaimable {% endif %} {% if not config.exclude_from_orders and not config.is_unclaimable_parent %} - {% endif %}
{% trans "Builder Reward Configurations" %}
{% trans "Add Builder Pricing" %}
{% trans "Configure member rewards for executing corporate jobs. Formula: Base Fee + (Slot Duration Hours × Hourly Rate) + (Item Market Value × Value Incentive %), bounded between Floor and Cap, scaled by Priority Multipliers." %}
{% for p in pricing_configs %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Base Fee" %} {% trans "Hourly Rate" %} {% trans "Value %" %} {% trans "Floor / Cap" %} {% trans "Priority Multipliers" %} {% trans "Actions" %}
{{ p.corporation.corporation_name }} {{ p.builder_base_fee|eve_isk }} {{ p.builder_hourly_rate|eve_isk }}/h {{ p.builder_reward_percent }}% Floor: {{ p.builder_min_reward|eve_isk }} Cap: {{ p.builder_max_reward|eve_isk }} Urgent: {{ p.builder_urgent_multiplier }}x High: {{ p.builder_high_multiplier }}x Low: {{ p.builder_low_multiplier }}x
{% trans "No corporate builder pricing configurations found." %}
{% trans "Customer Pricing & ME Defaults" %}
{% trans "Add Config" %}
{% for p in pricing_configs %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Default Discount" %} {% trans "Default ME (T1 / T2)" %} {% trans "Actions" %}
{{ p.corporation.corporation_name }} {% if p.default_discount_percent > 0 %}{{ p.default_discount_percent }}% OFF{% else %}0%{% endif %} T1: ME {{ p.default_t1_me }} / T2: ME {{ p.default_t2_me }}
{% trans "No corporate pricing configurations found." %}
{% trans "Pricing Method & Margin" %}
{% trans "Configure Method" %}
{% for p in corp_pricing_configs %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Valuation Method" %} {% trans "Trade Hub" %} {% trans "Minimum Margin Floor" %} {% trans "Actions" %}
{{ p.corporation.corporation_name }} {{ p.get_material_valuation_method_display }} {{ p.get_price_hub_display }} {{ p.minimum_margin_floor }}%
{% trans "No pricing method configurations found." %}
{% trans "Discord Messages" %}
{% trans "Edit" %}
{% trans "Language of webhook messages:" %} {{ discord_language_label }}
{% trans "Posts to your corporation's Discord webhooks always use this language. Direct messages follow each member's own language." %}
{% trans "Job Alerts" %}
{% trans "Configure Alerts" %}
{% for jt in job_tracking_configs %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Overdue Grace / Reminder Interval" %} {% trans "Actions" %}
{{ jt.corporation.corporation_name }} {{ jt.completion_buffer_hours }}h
{% trans "No job alert configuration found - a default 2h grace/reminder interval applies." %}
{% trans "System Taxes & Fees" %}
{% trans "Add Tax Config" %}
{% for t in tax_configs %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Industry Tax Rate" %} {% trans "Broker Fee Rate" %} {% trans "Actions" %}
{{ t.corporation.corporation_name }} {{ t.industry_tax_rate }}% {{ t.broker_fee_rate }}%
{% trans "No tax configurations found." %}
{% trans "Type Discounts" %}
{% trans "Add Discount" %}
{% for d in type_discounts %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Type / Group" %} {% trans "Rule Type" %} {% trans "Discount %" %} {% trans "Actions" %}
{{ d.config.corporation.corporation_name }} {% if d.eve_type %}
{{ d.eve_type.name }} {{ d.eve_type.name }}
{% endif %}
Specific Type -{{ d.discount_percent }}%
{% trans "No specific discounts configured. Everyone pays full price (or markup)." %}
{% trans "Background Task Logs" %}
{% for log in task_logs %} {% empty %} {% endfor %}
{% trans "Task Name" %} {% trans "Status" %} {% trans "Last Run" %} {% trans "Duration" %} {% trans "Message" %}
{{ log.task_name }} {% if log.status == 'SUCCESS' %} Success {% elif log.status == 'FAILED' %} Failed {% else %} {% translate "Running" %} {% endif %} {{ log.last_run|naturaltime }} {{ log.duration_seconds|floatformat:2 }}s {% if log.status == 'FAILED' and log.message %} {% else %} {{ log.message|truncatechars:50 }} {% endif %}
{% trans "No tasks have run yet." %}
{% trans "Production Facilities" %}
{% csrf_token %}
{% trans "Add Facility" %}
{% for facility in facilities %} {% empty %} {% endfor %}
{% trans "Facility ID" %} {% trans "Name" %} {% trans "Type" %} {% trans "System ID" %} {% trans "Security Space" %} {% trans "Sync Inventory" %} {% trans "Rigs Installed" %} {% trans "Actions" %}
{{ facility.facility_id }} {{ facility.name }} {% if facility.is_default %} Default {% endif %} {% if facility.is_default_reaction %} Reactions {% endif %} {% if facility.type_id %} Type {{ facility.type_id }} {{ facility.type_name }} {% else %} - {% endif %} {{ facility.solar_system_id|default:"-" }} {{ facility.get_security_space_display }}
{% csrf_token %}
{% for r in facility.rigs.all %} {{ r.rig.name }}
{% empty %} None {% endfor %}
{% csrf_token %}
{% trans "No facilities configured." %}
{% trans "Output Locations" %}
{% for loc in output_locations %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Actions" %}
{{ loc.name }}
{% trans "No output locations configured. You can add them while quoting orders." %}
{% trans "Buyback Programs" %}
{% trans "Add Program" %}
{% for program in buyback_programs %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Corporation" %} {% trans "Drop-off" %} {% trans "Price Modifier" %} {% trans "Active" %} {% trans "Actions" %}
{{ program.name }} {{ program.tracking_prefix }}- {% if program.restricted_to_groups.exists or program.restricted_to_states.exists %}{% trans "Restricted" %}{% endif %} {% if program.is_public %}
{% trans "Public" %} {{ request.scheme }}://{{ request.get_host }}{% url 'industry_reforged:buyback_public_calculator' program.id %}
{% endif %}
{% trans "Contracts to:" %} {{ program.recipient_name }}
{{ program.corporation.corporation_ticker }} {{ program.drop_off_name }} {% if program.price_modifier_percent > 0 %}+{% endif %}{{ program.price_modifier_percent }}% {% if program.price_density_threshold > 0 %}
< {{ program.price_density_threshold|eve_isk }}/m³ (+{{ program.price_density_tax_percent }}% tax)
{% endif %}
{% if program.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}
{% trans "No buyback programs configured yet." %}
{% trans "Buyback Watchlist" %}
{% trans "Add Watchlist Item" %}
{% for item in buyback_watchlist_items %} {% empty %} {% endfor %}
{% trans "Program" %} {% trans "Item" %} {% trans "Reason" %} {% trans "Blocks Submission" %} {% trans "Actions" %}
{{ item.program.name }} {{ item.target_name }} {{ item.reason }} {% if item.blocks_submission %} {% trans "Blocked" %} {% else %} {% trans "Flagged" %} {% endif %}
{% trans "No watchlist items configured." %}
{% trans "Item Rules" %}
{% if not market_groups_loaded %}
{% csrf_token %}
{% endif %} {% trans "Add Rule" %}

{% trans "Raise, lower or block the price of one item or a whole market group. A group rule covers every group below it; the most specific rule wins." %}

{% for rule in buyback_item_rules %} {% empty %} {% endfor %}
{% trans "Program" %} {% trans "Item or market group" %} {% trans "Price modifier" %} {% trans "Actions" %}
{{ rule.program.name }} {{ rule.target_name }} {% if rule.disallow %} {% trans "Not accepted" %} {% else %} {% if rule.price_modifier_percent > 0 %}+{% endif %}{{ rule.price_modifier_percent }}% {% endif %}
{% trans "No item rules configured." %}
{% trans "Fixed Prices" %}
{% trans "Add Fixed Price" %}

{% trans "Pay a fixed ISK price per unit instead of the market value. No price modifier, item rule or density tax applies." %}

{% for sp in buyback_static_prices %} {% empty %} {% endfor %}
{% trans "Program" %} {% trans "Item" %} {% trans "Price per unit" %} {% trans "Actions" %}
{{ sp.program.name }} {{ sp.eve_type.name }} {{ sp.price|eve_isk }}
{% trans "No fixed prices configured." %}
{% trans "Buyback FAQ" %}
{% trans "Add Question" %}
{% for faq in buyback_faqs %} {% empty %} {% endfor %}
# {% trans "Question" %} {% trans "Actions" %}
{{ faq.order }} {{ faq.question }}
{% trans "No FAQ entries yet. Members always see the built-in 'How it works' steps." %}
{% trans "Build Materials" %}
{% trans "Add Build Material" %}

{% trans "Items and market groups the corporation keeps for building. The sell-or-reprocess advice never sells them, and reprocessed materials on this list are valued at what buying them would cost. A market group covers every group below it." %}

{% if not market_groups_loaded %}

{% trans "Load the market groups (Item Rules section) before choosing a market group." %}

{% endif %}
{% for material in build_materials %} {% empty %} {% endfor %}
{% trans "Item or market group" %} {% trans "Note" %} {% trans "Actions" %}
{% if material.eve_type_id %} {{ material.eve_type.name }} {% else %} {% if material.eve_market_group.parent_market_group %}{{ material.eve_market_group.parent_market_group.name }} > {% endif %}{{ material.eve_market_group.name }} {% endif %} {{ material.note|default:"-" }}
{% trans "No build materials yet: everything is either sold or reprocessed." %}
{% trans "Selling or reprocessing" %}
{% trans "Edit" %}

{% trans 'Used for the "Sell or reprocess?" advice that directors see on each buyback contract.' %}

{% trans "Advice based on" %}
{{ reprocessing_config.get_sell_route_display }}
{% trans "Ore / ice / moon yield" %}
{{ reprocessing_config.ore_yield_percent }}%
{% trans "Scrap yield" %}
{{ reprocessing_config.scrap_yield_percent }}%
{% trans "Reprocessing tax" %}
{{ reprocessing_config.reprocessing_tax_percent }}%
{% trans "Broker fee" %}
{{ broker_fee_rate }}%
{% trans "Sales tax" %}
{{ reprocessing_config.sales_tax_percent }}%
{% trans "Hauling to Jita" %}
{{ reprocessing_config.hauling_cost_per_m3 }} ISK/m³
{% trans "Either way below" %}
{{ reprocessing_config.margin_percent }}% {% trans "and" %} {{ reprocessing_config.margin_isk }} ISK
{% trans "Count stock shortages" %}
{% if reprocessing_config.use_stock_needs %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}
{% trans "Reprocess outputs again" %}
{% if reprocessing_config.chain_reprocessing %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}
{% endblock %} {% block extra_javascript %} {{ block.super }} {% endblock %}