Enhance Destinataer functionality: inline editing and improved list view
- Add inline edit mode to destinataer detail view with AJAX save/cancel - Fix form validation by aligning select choices with model definitions - Update Destinataer model to make familienzweig and berufsgruppe optional - Fix StiftungsKonto integration in forms and views - Redesign destinataer list view with new column layout: * Vorname, Nachname, E-Mail, Vierteljährlicher Betrag * Letzter Studiennachweis, Unterstützung bestätigt, Aktionen - Improve form styling and user experience - Add proper field validation and error handling - Enhance UI with better badges, icons, and formattingv2_sortorderfixed_remmer
This commit is contained in:
@@ -1109,11 +1109,17 @@ def destinataer_list(request):
|
||||
|
||||
# Sorting
|
||||
sort_map = {
|
||||
"vorname": ["vorname"],
|
||||
"nachname": ["nachname"],
|
||||
"email": ["email"],
|
||||
"vierteljaehrlicher_betrag": ["vierteljaehrlicher_betrag"],
|
||||
"letzter_studiennachweis": ["letzter_studiennachweis"],
|
||||
"unterstuetzung_bestaetigt": ["unterstuetzung_bestaetigt"],
|
||||
# Keep old mappings for backward compatibility
|
||||
"name": ["nachname", "vorname"],
|
||||
"familienzweig": ["familienzweig"],
|
||||
"berufsgruppe": ["berufsgruppe"],
|
||||
"institution": ["institution"],
|
||||
"email": ["email"],
|
||||
"foerderungen": ["total_foerderungen"],
|
||||
"status": ["aktiv"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user