Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-01 11:54:39 +02:00
parent f8bcac51e1
commit ac97e47771
9 changed files with 358 additions and 321 deletions

View File

@@ -103,7 +103,7 @@ class _CustomerSearchSheetState extends State<CustomerSearchSheet> {
if (nuovoCliente != null) {
operationsCubit.updateField(
customerId: nuovoCliente.id,
customerDisplayName: nuovoCliente.nome,
customerDisplayName: nuovoCliente.name,
);
setState(() {
@@ -151,7 +151,7 @@ class _CustomerSearchSheetState extends State<CustomerSearchSheet> {
final customer = state.customers[index];
// Assumo che il tuo CustomerModel abbia le proprietà name e surname.
// Adatta queste variabili al tuo modello reale!
final displayName = customer.nome.trim();
final displayName = customer.name.trim();
return ListTile(
contentPadding: EdgeInsets.zero,