refactor nomi tabelle

This commit is contained in:
2026-05-20 11:03:33 +02:00
parent f190ad9353
commit c85f4b086e
24 changed files with 217 additions and 159 deletions

View File

@@ -306,6 +306,8 @@ class AttachmentsBloc extends Bloc<AttachmentsEvent, AttachmentsState> {
return file.copyWith(operationId: event.targetId);
case AttachmentParentType.shippingDocument:
return file.copyWith(shippingDocumentId: event.targetId);
case AttachmentParentType.note:
return file.copyWith(noteId: event.targetId);
}
}
return file;
@@ -405,6 +407,8 @@ class AttachmentsBloc extends Bloc<AttachmentsEvent, AttachmentsState> {
return Bucket.documents;
case AttachmentParentType.shippingDocument:
return Bucket.companyDocuments;
case AttachmentParentType.note:
return Bucket.documents;
}
}
}