{% extends "base.html" %} {% block title %}Bibliotheks-Ausleihen - {{ APP_VERSION }}{% endblock %} {% block content %}
Nur Bibliotheksmedien. Hier kannst du offene Ausleihen abschließen, Rechnungen bezahlen und defekte Medien direkt zurücksetzen.
| Status | Element | Benutzer | Zeit | Rechnung | Schaden | Aktionen |
|---|---|---|---|---|---|---|
| {% if e.status == 'active' %} Aktiv {% elif e.status == 'planned' %} Geplant {% else %} Abgeschlossen {% endif %} |
{{ e.item_name }}
{{ e.item_author or '—' }}
{{ e.item_code or '—' }}
|
{{ e.user }}
{{ e.start }}{% if e.end %} bis {{ e.end }}{% endif %}
|
{{ e.period or '—' }}
{% if e.notes %}{{ e.notes }} {% endif %}
|
{% if e.invoice_number %}
{{ e.invoice_number }}
{{ e.invoice_amount }}
{% if e.invoice_corrections_count %}
{{ e.invoice_corrections_count }} Korrektur(en)
{% endif %}
{% if e.invoice_paid %}
Bezahlt
{% if e.invoice_paid_at %}am {{ e.invoice_paid_at }} {% endif %}
{% else %}
Offen
{% endif %}
{% else %}
Keine Rechnung
{% endif %}
|
{% if e.has_damage %}
{{ e.damage_count }} Schaden{% if e.damage_count != 1 %}s{% endif %}
{% if e.damage_text %} {{ e.damage_text }} {% endif %}
{% else %}
Kein Schaden
{% endif %}
|
{% if e.status == 'active' %}
{% endif %}
{% if e.invoice_number and ((not e.invoice_paid) or e.has_damage) %}
{% elif e.has_damage %}
{% endif %}
{% if e.invoice_number %}
{% endif %}
{% if e.status in ['active', 'planned'] %}
{% endif %}
|
| Element | Code | Schaden | Status | Aktion |
|---|---|---|---|---|
|
{{ item.name }}
{{ item.author or '—' }}
{{ item.isbn or '—' }}
|
{{ item.code or '—' }} |
{{ item.damage_count }} Schaden{% if item.damage_count != 1 %}s{% endif %}
{% if item.damage_text %} {{ item.damage_text }} {% endif %}
|
{% if item.available %}
Bereit zum Zurücksetzen
{% else %}
Nicht verfügbar
{% endif %}
{% if item.last_updated %} {{ item.last_updated }} {% endif %}
|