{% extends "base.html" %} {% block title %}{{ inq.inquiry_no or 'Anfrage' }}{% endblock %} {% block body_data %}data-page-type="inquiry" data-page-id="{{ inq.id }}" data-page-label="{{ inq.inquiry_no or '#'~inq.id }}" data-page-sub="{{ (inq.subject or '')[:40] }}"{% endblock %} {% block breadcrumb %}
Anfragen / {{ inq.inquiry_no or inq.id }}
{% endblock %} {% block heading %}{{ inq.inquiry_no }} · {{ inq.subject }}{% endblock %} {% block topbar_actions %} {{ STATUS_LABELS.get(inq.status, inq.status) }} {% if not inq.created_quote_id %} → Angebot erstellen {% else %} Angebot {{ inq.quote_no or '#'~inq.created_quote_id }} öffnen {% endif %} {% endblock %} {% block content %} {% include "_workflow_stepper.html" %}{{ inq.subject }}
{% if inq.body %}{{ inq.body }}
{% else %}
— kein Anfrage-Text hinterlegt —
{% endif %}Strukturiert aus Webformular / E-Mail-Import
| # | Beschreibung | Artikel-Nr | Menge | Einh. | Notiz |
|---|---|---|---|---|---|
| {{ loop.index }} | {{ it.description or '—' }} | {{ it.item_code or '—' }} | {{ it.qty or '—' }} | {{ it.unit or 'Stk' }} | {{ it.notes or '—' }} |
Vor dem Angebot kalkulieren — Preis-Vorschlag wird automatisch berechnet
{% if pricing %}Letzte Kalkulation: {{ "%.2f"|format(pricing.suggested_unit_price)|replace(".", ",") }} €/Stk, gesamt {{ "%.2f"|format(pricing.total_price)|replace(".", ",") }} €{% else %}Noch nicht geplant{% endif %}
Bilder/PDFs vom Kunden — z.B. per E-Mail erhalten
Keine Anhänge.
{% endif %}{{ STATUS_LABELS.get(inq.status, inq.status) }}
{{ inq.customer_name }}
{% if inq.customer_email %}{{ inq.customer_email }}
{% endif %} {% if inq.customer_phone %}{{ inq.customer_phone }}
{% endif %} {% if inq.customer_country_iso %}{{ inq.customer_country_iso }}
{% endif %} {% else %}{{ inq.customer_name_text or '— unbekannt —' }}
{% if inq.customer_email_text %}{{ inq.customer_email_text }}
{% endif %} {% if inq.customer_phone_text %}{{ inq.customer_phone_text }}
{% endif %}Externer Absender — kein Kundendatensatz
{% endif %}Eingang: {{ inq.created_at[:16] }}
Quelle: {{ SOURCE_LABELS.get(inq.source, inq.source) }}
{% if inq.assigned_first %}Bearbeiter: {{ inq.assigned_first }} {{ inq.assigned_last }}
{% endif %}