netgescon-master/docs/specifiche/TODO_PRIORITA.md
2025-07-20 14:57:25 +00:00

301 lines
8.1 KiB
Markdown

# 📋 TODO e PRIORITÀ - NetGesCon Laravel
**📅 Creato**: 9 Luglio 2025
**🔄 Ultimo aggiornamento**: 9 Luglio 2025
**🎯 Scopo**: Task management con priorità chiare
---
## 🚨 **PRIORITÀ IMMEDIATE (Sprint Corrente)**
### 🔥 **CRITICAL (Fare ORA)**
#### 💰 **Fix Contabilità - ZERO ARROTONDAMENTI**
- [ ] 🚨 **Fix algoritmo distribuzione millesimi**
- **Issue**: `1000/3 = 333.33` → errore 0.01€
- **Soluzione**: Algoritmo distribuzione resto
- **Test**: Verificare con tutti gli scenari
- **File**: `app/Services/ContabilitaService.php`
- **Deadline**: **IMMEDIATO**
#### 🔐 **Sistema Switch Utente per Michele**
- [ ] 🔥 **Implementare switch multi-ruolo**
- **User**: `michele@admin.com`
- **Funzione**: "Diventa: Admin/Condomino/Fornitore/etc"
- **Scopo**: Test completo del sistema
- **File**: Middleware + Controller
- **Deadline**: **Oggi**
#### 🎨 **Menu Mapping e Verifica**
- [ ] 🔥 **Creare MENU_MAPPING.md**
- **Lista**: Tutti i menu implementati
- **Status**: Fatto/Da fare/In corso
- **Test**: Link verificati e funzionanti
- **Vista ad albero**: Struttura gerarchica
- **Deadline**: **Oggi**
---
## ⚡ **HIGH PRIORITY (Questa Settimana)**
### 🧪 **Sistema Testing Strutturato**
#### 📊 **Test Contabilità**
- [ ]**Creare TEST_CONTABILITA.md**
- **Test**: Distribuzione millesimi perfetta
- **Test**: Partita doppia bilanciata
- **Test**: Arrotondamenti zero
- **Automation**: PHPUnit test cases
- **Deadline**: **Entro venerdì**
#### 🎨 **Test Interfaccia**
- [ ]**Creare TEST_INTERFACCIA.md**
- **Browser test**: Cross-browser compatibility
- **Responsive**: Mobile/tablet/desktop
- **Menu**: Tutti i link funzionanti
- **Forms**: Validazione e submit
- **Deadline**: **Entro venerdì**
### 📄 **Sistema Stampe**
#### 📋 **Specifiche Stampe PDF**
- [ ]**Creare SPECIFICHE_STAMPE.md**
- **Template**: Contratti, estratti conto, convocazioni
- **Dati dinamici**: Merge fields sistema
- **Layout**: Header, footer, paginazione
- **API**: Come integrarle in NetGesCon
- **Deadline**: **Entro venerdì**
#### 🖨️ **Template System Base**
- [ ]**Template engine setup**
- **Library**: DomPDF o simile
- **Blade templates**: Per ogni tipo documento
- **Controller**: Generazione PDF
- **Test**: Sample PDFs
- **Deadline**: **Prossima settimana**
---
## 📊 **MEDIUM PRIORITY (Prossimi Sprint)**
### 🗃️ **Gestione Dati e Seeder**
#### 📋 **DATI_ESEMPIO.md Completo**
- [ ] 📊 **Centralizzare tutti i dati esempio**
- **Stabili**: Tipologie diverse
- **Unità**: Varie configurazioni
- **Soggetti**: Persone fisiche/giuridiche
- **Contratti**: Scenari reali
- **Deadline**: **Prossima settimana**
#### 🔄 **Seeder Modulari**
- [ ] 📊 **Separare seeder per tipologia**
- **StabiliSeeder**: Solo stabili e unità
- **SoggettiSeeder**: Solo persone
- **ContrattiSeeder**: Solo contratti
- **ContabilitaSeeder**: Solo movimenti
- **Deadline**: **Tra 2 settimane**
### 🔐 **Sicurezza e Audit**
#### 🛡️ **Error Tracking Database**
- [ ] 📊 **Sistema intercettazione errori**
- **Table**: `error_logs` con dettagli
- **Handler**: Custom exception handler
- **Dashboard**: Visualizzazione errori
- **GitHub**: Sync con issues
- **Deadline**: **Tra 2 settimane**
#### 📝 **Audit Trail Completo**
- [ ] 📊 **Tracciamento operazioni**
- **Model events**: Created, updated, deleted
- **User tracking**: Chi ha fatto cosa
- **Data changes**: Before/after values
- **Reporting**: Dashboard audit
- **Deadline**: **Tra 3 settimane**
---
## 🔮 **LOW PRIORITY (Futuro)**
### 🐳 **Deploy e Infrastruttura**
#### 🚀 **Docker Setup Completo**
- [ ] 🔮 **Container per produzione**
- **Dockerfile**: Multi-stage build
- **Docker-compose**: Completo con DB, Redis
- **Environment**: Variabili configurazione
- **Scripts**: Deploy automatico
- **Deadline**: **Tra 1 mese**
#### 🌐 **Macchina Test in Rete**
- [ ] 🔮 **Setup testing server**
- **Server**: Accessibile da remoto
- **Deploy**: Auto-sync con dev
- **Demo**: Per utenti finali
- **Monitoring**: Status sistema
- **Deadline**: **Tra 1 mese**
### 💸 **Gestione Fiscale Avanzata**
#### 📊 **Modulo F24 e Dichiarazioni**
- [ ] 🔮 **Sistema fiscale completo**
- **Ritenute**: Calcolo automatico
- **F24**: Generazione modelli
- **Certificazione Unica**: Export dati
- **770**: Riepilogo annuale
- **Deadline**: **Tra 2 mesi**
#### 💰 **Piano Previsionale Spese**
- [ ] 🔮 **Previsioni 3-6 mesi**
- **Spese ricorrenti**: Assicurazioni, IMU
- **Scadenze**: Alert automatici
- **Cash flow**: Previsioni liquidità
- **Affidabilità**: Scoring condomini
- **Deadline**: **Tra 3 mesi**
---
## 📞 **COMUNICAZIONI E NOTIFICHE**
### 📧 **Sistema Comunicazioni Avanzato**
#### 📱 **Canali Multipli**
- [ ] 🔮 **Integrazione completa**
- **Email**: SMTP + template
- **PEC**: Provider certificato
- **SMS**: Gateway Twilio
- **WhatsApp**: Business API
- **Deadline**: **Tra 2 mesi**
#### 📋 **Registro Comunicazioni**
- [ ] 🔮 **Tracciabilità legale**
- **Protocollo**: Numerazione automatica
- **Consegna**: Certificazione lettura
- **Assemblee**: Proof of delivery
- **Legale**: Compliance normative
- **Deadline**: **Tra 3 mesi**
---
## 📊 **BACKLOG ORGANIZED**
### 🎯 **SPRINT 1 (Settimana Corrente)**
```
🚨 CRITICAL
├── Fix calcoli contabilità (ZERO arrotondamenti)
├── Switch utente per Michele
├── Menu mapping completo
└── Test contabilità base
⚡ HIGH
├── Specifiche stampe PDF
├── Test interfaccia base
└── Template system setup
```
### 🎯 **SPRINT 2 (Prossima Settimana)**
```
📊 MEDIUM
├── DATI_ESEMPIO.md completo
├── Seeder modulari
├── Error tracking database
└── Sistema stampe funzionante
🔮 LOW (se tempo)
├── Docker setup base
└── Audit trail basic
```
### 🎯 **SPRINT 3-4 (Successive)**
```
🔮 FUTURE
├── Deploy automation
├── Macchina test remota
├── Gestione fiscale F24
├── Sistema comunicazioni
└── Piano previsionale
```
---
## ⚠️ **BLOCKERS E DEPENDENCIES**
### 🚨 **CURRENT BLOCKERS**
-**Calcoli contabilità**: DEVE essere risolto prima di tutto
- ⚠️ **Menu mapping**: Necessario per development plan
- ⚠️ **Test system**: Serve per validation
### 🔗 **DEPENDENCIES**
- **Stampe PDF** ← Template system ← Blade components
- **Test automation** ← Menu mapping ← Interface complete
- **Fiscal module** ← Contabilità fixed ← Calculations perfect
- **Deploy** ← All tests passing ← Security audit
---
## 📈 **PROGRESS TRACKING**
### 📊 **Completion Status**
#### ✅ **COMPLETED (100%)**
- Database schema e modelli
- Sistema autenticazione e ruoli
- Localizzazione italiana
- Seeder base funzionante
- Credenziali test complete
#### 🔄 **IN PROGRESS (60-90%)**
- Interface UI (70%)
- Menu implementation (60%)
- Test system setup (30%)
#### ⏳ **NOT STARTED (0%)**
- Contabilità advanced
- Sistema stampe
- Fiscal management
- Deploy automation
---
## 🎯 **MILESTONE TARGETS**
### 📅 **End Sprint 1 (Fine Settimana)**
- ✅ Calcoli contabilità perfetti
- ✅ Switch utente funzionante
- ✅ Menu mapping completo
- ✅ Test base implementati
### 📅 **End Sprint 2 (Fine Mese)**
- ✅ Sistema stampe operativo
- ✅ Test automation completa
- ✅ Error tracking attivo
- ✅ Dati esempio centralizzati
### 📅 **End Sprint 4 (Fine Trimestre)**
- ✅ Deploy automation
- ✅ Macchina test in rete
- ✅ Fiscal module base
- ✅ Production ready
---
## 📞 **ASSIGNMENT & OWNERSHIP**
### 👤 **CURRENT ASSIGNMENTS**
- **Michele**: Product management, requirements, testing
- **AI Assistant**: Development, documentation, implementation
- **Shared**: Code review, testing, specifications
### 🔄 **ROTATION POLICY**
- Critical fixes: **Immediate assignment**
- Feature development: **Sprint planning**
- Documentation: **Continuous update**
- Testing: **Before every commit**
---
*📋 Aggiornare questo TODO ogni fine giornata*
*🎯 Review priorità ogni inizio settimana*
*📊 Track progress su milestone settimanali*