Refactor customer management: migrate from Bloc to Cubit, update state handling, and implement customer search functionality
This commit is contained in:
@@ -124,6 +124,7 @@ class ServicesCubit extends Cubit<ServicesState> {
|
||||
bool? isBozza,
|
||||
bool? resultOk,
|
||||
String? customerId,
|
||||
String? customerDisplayName,
|
||||
}) {
|
||||
if (state.currentService == null) return;
|
||||
|
||||
@@ -138,6 +139,7 @@ class ServicesCubit extends Cubit<ServicesState> {
|
||||
isBozza: isBozza,
|
||||
resultOk: resultOk,
|
||||
customerId: customerId,
|
||||
customerDisplayName: customerDisplayName,
|
||||
);
|
||||
|
||||
emit(state.copyWith(currentService: updated));
|
||||
|
||||
Reference in New Issue
Block a user