This commit is contained in:
2026-05-19 16:00:40 +02:00
parent 364474471c
commit 8a1b582f4e
5 changed files with 62 additions and 47 deletions

View File

@@ -27,7 +27,7 @@ class OperationDetailsSection extends StatelessWidget {
ProviderModel provider,
String operationType,
) {
if (operationType == 'Custom') return true;
if (operationType == 'Altro') return true;
// Controlliamo che il fornitore abbia il ruolo specifico nel suo array
switch (operationType) {
@@ -241,7 +241,7 @@ class OperationDetailsSection extends StatelessWidget {
],
// 3. SCENARIO ENTERTAINMENT O CUSTOM (Testo libero)
if (currentType == 'Entertainment' || currentType == 'Custom') ...[
if (currentType == 'Entertainment' || currentType == 'Altro') ...[
TextFormField(
controller: freeTextSubtypeController,
decoration: InputDecoration(
@@ -258,7 +258,7 @@ class OperationDetailsSection extends StatelessWidget {
'Energy',
'Fin',
'Entertainment',
'Custom',
'Altro',
].contains(currentType)) ...[
const SizedBox(height: 8),
durationQuickPicks, // Passiamo i chips dall'esterno