feat(WP-0014): Aufgaben-Phasenzuordnung und Fertigstellungs-Scores

Aufgabe bekommt ein phase-Feld (1–8). aufgaben_score()-Helper in
core/services.py berechnet abgeschlossen/total/score_pct für jedes
QuerySet. Score-Spalten in Ausschreibungen-Liste, Lose-Liste und
Ausschreibungs-Detail; per-Phase-Scores in der Seitenleisten-Navigation.
Phasenfilter in Aufgaben-Liste. 68 Tests grün.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-05-14 01:47:05 +02:00
parent f5950b6cbc
commit e4eb5bc368
14 changed files with 343 additions and 5 deletions

View file

@ -32,6 +32,15 @@
{% endfor %}
</select>
</div>
<div>
<label class="form-label">Phase</label>
<select name="phase" class="form-input text-xs">
<option value="">Alle Phasen</option>
{% for val, label in phase_choices %}
<option value="{{ val }}"{% if current_phase == val|stringformat:"s" %} selected{% endif %}>{{ val }}. {{ label }}</option>
{% endfor %}
</select>
</div>
<div>
<label class="form-label">Verantwortlich</label>
<select name="verantwortlicher" class="form-input text-xs">