Fix member management issues and add refined view
All checks were successful
Build And Push Image / docker (push) Successful in 2m0s

- Sort dues management cards alphabetically by last name
- Change 'Invalid Date' display to 'N/A' in formatDate functions
- Add new refined member management view with modern UI design
  - Glassmorphism effects and gradient accents
  - Enhanced stat cards with progress indicators
  - Improved search and filter interface
  - Better card and table layouts
  - Smooth animations and transitions

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-05 16:26:59 +02:00
parent 183bba0c9e
commit 12469a7952
4 changed files with 1019 additions and 5 deletions

View File

@@ -607,7 +607,10 @@ const getDuesColor = (status: string) => {
};
const formatDate = (date: string) => {
return new Date(date).toLocaleDateString('en-US', {
if (!date) return 'N/A';
const parsedDate = new Date(date);
if (isNaN(parsedDate.getTime())) return 'N/A';
return parsedDate.toLocaleDateString('en-US', {
month: 'short',
day: 'numeric',
year: 'numeric'