{% extends "base.html" %} {% block title %}{{ pi.inq_no }} — {{ pi.subject }}{% endblock %} {% block heading %}{{ pi.inq_no }} — {{ pi.subject }}{% endblock %} {% block topbar_actions %} ← Zurück
{% endblock %} {% block content %}

{{ pi.note or '—' }}

Erstellt: {{ pi.created_at[:16] }} · Status: {{ pi.status }}

Positionen {{ pi.lines|length }}

{% if pi.lines %} {% for l in pi.lines %} {% endfor %}
# Material Beschreibung Menge Einheit Ziel-Preis
{{ loop.index }} {{ l.material_code or '—' }} {{ l.description }} {{ '%g' % l.qty }} {{ l.unit }} {% if l.target_price is not none %}{{ '%.2f' % l.target_price }} €{% else %}—{% endif %}
{% endif %}
+ Position hinzufügen

Antworten {{ pi.responses|length }}

{% if pi.responses %} {% for r in pi.responses %} {% endfor %}
Lieferant Summe netto Lieferzeit Gültig bis Notiz Empfangen
{{ r.vendor_name }}{% if loop.first %} ⭐{% endif %} {{ '%.2f' % r.total_net }} € {% if r.lead_time_days %}{{ r.lead_time_days }} Tage{% else %}—{% endif %} {{ r.valid_until or '—' }} {{ r.note or '—' }} {{ r.received_at[:10] }}

Sortiert nach Preis aufsteigend. Bestes Angebot ist mit ⭐ markiert.

{% endif %}
+ Antwort erfassen
{% endblock %}