{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for cat, msg in messages %}
{{ msg }}
{% endfor %} {% endif %} {% endwith %}
{% if config.get('module_voicemail', 'true') == 'true' %}
Aktuelle Warteschlange
{% endif %}
{% if 'vm_' in active_tab %}
{% for vm in voicemails %}
{{ vm.received_formatted }}
{% if active_tab == 'vm_inbox' %}{% endif %}
{% if vm.transcription == '[Transkription wird vorbereitet...]' or vm.transcription == '[Transkription läuft...]' %} {{ vm.transcription }} {% else %}
{{ vm.transcription }}
{% endif %}
{% if vm.status == 'Neu' %} Erledigt {% else %} Zurück {% endif %}
{% else %}

Keine Voicemails vorhanden.

{% endfor %}
{% endif %} {% if active_tab in ['fax_inbox', 'doc_inbox', 'fax_review'] %} {% if active_tab == 'fax_review' and is_locked %}

Prüfliste gesperrt

PIN eingeben, um vertrauliche Dokumente anzuzeigen.

{% else %}
{% for fax in faxes %}
{{ fax.title }}
{% if fax.resolved_name != fax.sender %} {{ fax.resolved_name }} {% else %} {{ fax.sender }} {% endif %} -{{ fax.received_formatted }}
{% if active_tab in ['fax_inbox', 'doc_inbox'] and config.get('module_docs', 'true') == 'true' %} Prüfen {% endif %} {% if config.get('module_gdt', 'false') == 'true' %} {% endif %}
{% else %}

Keine Dokumente vorhanden.

{% endfor %}
{% endif %} {% endif %} {% if active_tab == 'fax_outbox' %}
{% for out in faxes_out %}
{% if out.status != 'Entwurf' %}
{% if out.resolved_name and out.resolved_name != out.recipient %} {{ out.resolved_name }} {% else %} {{ out.recipient }} {% endif %}
{% endif %}
{{ out.created_formatted }}{% if out.note and out.status != 'Entwurf' %} - {{ out.note }}{% endif %}
{% if out.status == 'Erfolgreich' %} Erfolgreich {% elif out.status == 'Fehlgeschlagen' %} Fehlgeschlagen {% elif out.status == 'In Arbeit' %} In Arbeit {% endif %}
{% if out.status == 'Entwurf' %}
{% endif %}
{% else %}

Keine ausgehenden Faxe.
Drucke ein Dokument über deinen PDF-Drucker.

{% endfor %}
{% endif %} {% if active_tab == 'contacts' %}
{% for c in contacts %}
{{ c.first_name }} {{ c.last_name }} {% if c.patient_id %} #{{ c.patient_id }}{% endif %}
{% if c.company %}{{ c.company }}{% endif %} {% if c.number %}{{ c.number }}{% endif %} {% if c.fax_number %}{{ c.fax_number }}{% endif %}
{% else %}

Keine Kontakte vorhanden.

{% endfor %}
{% endif %}