{% extends "base.html" %} {% load static %} {% block title %}Sammelbestellung · Fil-A-Management{% endblock %} {% block content %}

Sammelbestellung

Bestellwünsche und Lieferstatus pro Person.

Konsolidierte Bestellliste + Bestellwunsch hinzufügen
Rollen insgesamt{{ total }}
Verschiedene Varianten{{ variant_count }}
Personen mit Bestellwünschen{{ groups|length }}
{% for username, entries, roll_count, snapshot, costs, missing_costs in groups %}

Bestellwunsch · {{ username }} · ×{{ roll_count }}

{% csrf_token %}
{% for entry in entries %} {% with catalog=entry.catalog_details purchase=entry.default_order_variant %} {% endwith %} {% endfor %}
StückProduktartFarbeArtikelnr.SpulenausführungStatusGesamtpreis (€)Aktionen
{{ entry.quantity }} {{ catalog.product }}{{ catalog.manufacturer }}
{% include "filament/variant_thumbnail.html" with variant=catalog only %}{{ catalog.color }}
{% if entry.is_pending %} {% include "filament/order_article_number.html" with article=purchase.manufacturer_color_code.strip icon_only=True only %} {% else %} {% include "filament/order_article_number.html" with article=catalog.article_number.strip icon_only=True only %} {% endif %} {% if entry.is_pending %}{{ entry.requested_spool_label }}{% else %}{{ catalog.spool }}{% endif %} {% if entry.allow_alternative_spool %}Alternative erlaubt{% else %}Verbindlich{% endif %} {% if entry.is_pending and not purchase %} Keine zulässige Ausführung im Katalog {% elif entry.is_pending and purchase.spool_type != entry.requested_spool_type %} Verfügbare Alternative: {{ purchase.get_spool_type_display }} {% elif not entry.is_pending and entry.variant.spool_type != entry.requested_spool_type %} Gewünscht: {{ entry.requested_spool_label }} {% endif %} {% if not entry.variant.is_active and not purchase %}Deaktiviert · Katalogvariante{% endif %}
{% csrf_token %} {% if entry.status == "open" %} {% include "filament/order_spool_choice.html" with entry=entry only %} {% endif %}
{% csrf_token %}
{% if entry.owner_id == user.pk or not entry.is_pending %} {% elif entry.adjustments.all %} {% endif %} {% if entry.owner_id == user.pk and entry.status == "open" and not entry.adjustments.all %} {% endif %}
Gesamtkosten {% if missing_costs %}{% if missing_costs == 1 %}Ein Betrag fehlt{% else %}{{ missing_costs }} Beträge fehlen{% endif %}{% endif %} {% if costs is not None %}{{ costs|floatformat:2 }} €{% else %}–{% endif %}
{% empty %}

Keine laufenden Bestellwünsche

Neue Wünsche erscheinen hier nach Person sortiert.

Bestellwunsch hinzufügen
{% endfor %} {% if groups %}

Bestellwunsch bearbeiten

{% endif %} {% endblock %}