{% load i18n bid_shares solawi_ui bid_fiscal %} {% get_current_language as LANGUAGE_CODE %} {% translate "Ergebnis der Gebotsrunde" %} / {% blocktranslate with round=result.round_number %}Runde Nr. {{ round }}{% endblocktranslate %} {% spaceless %}

{% translate "Ergebnis der Gebotsrunde" %}

{% blocktranslate with round=result.round_number %}Runde Nr. {{ round }}{% endblocktranslate %}

{% blocktranslate with started=round.created %}Runde begonnen: {{ started }} Uhr{% endblocktranslate %}
{% blocktranslate with finished=result.closed_at %}Runde beendet: {{ finished }} Uhr{% endblocktranslate %}

{{ round.fiscal_plan_fk.currency }}
{% translate "Benötigter Betrag" %} {{ round.fiscal_plan_fk.required_amount|amount_format }}
{% translate "Erzieltes Ergebnis" %} {{ result.total_amount|amount_format }}
{% if round.fiscal_plan_fk.required_amount > result.total_amount %} {% translate "Der benötigte Betrag wurde nicht erreicht." %} {% else %} {% translate "Der benötigte Betrag wurde erreicht." %} {% endif %}

Gebote im Einzelnen

{% for bid in result.bids %} {% endfor %}
{% translate 'Anteils-ID' %} {% translate 'Anteils-Besitzer' %} {% blocktranslate with currency=round.fiscal_plan_fk.currency %}Gebot ({{ currency }}){% endblocktranslate %}
{{ bid.share.share_id }} {% if bid.share.share_owner.name or bid.share.share_owner.email %} {% if bid.share.share_owner.name %} {{ bid.share.share_owner.name }} {% endif %} {% if bid.share.share_owner.name and bid.share.share_owner.email %}
{% endif %} {% if bid.share.share_owner.email %} {{ bid.share.share_owner.email }} {% endif %} {% else %} - {% endif %}
{{ bid.value|amount_format }}

{% translate "Zusammensetzung der Gebote" %}

{% for trace in tracing.traces %} {% for comp in trace.components %} {% if forloop.first %} {% endif %} {% if forloop.first %} {% endif %} {% endfor %} {% endfor %}
{% translate 'Anteils-ID' %} {% translate 'Zusammensetzung' %} {% translate 'Wert' %}
{{ trace.share_id }}

{{ comp.name }}{% if comp.description %}
{{ comp.description }}{% endif %}

{{ comp.value|amount_format }}

{{ trace.value|amount_format }}
{% comment %}

{% translate "Entstehung der Gebote" %}

{% for bid in result.bids %} {% endfor %}
{% translate 'Anteils-ID' %} {% translate 'Entstehung' %}
{{ bid.share.share_id }} {% with o=bid.origin %} {% translate "Herkunft" %}: {{ o.origin|default:"-" }}
{% translate "Zeitstempel" %}: {% blocktranslate with ts=o.timestamp %}{{ ts }} Uhr{% endblocktranslate %}
{% translate "Identifikation" %}: {{ o.identifier|default:"-" }}
{% translate "IP-Adresse" %}: {{ o.ip_address|default:"-" }} {% endwith %}
{% endcomment %} {% endspaceless %}