aggiunta scelta business o privato
This commit is contained in:
@@ -206,6 +206,7 @@ class OperationFormCubit extends Cubit<OperationFormState> {
|
||||
String? staffId,
|
||||
String? staffDisplayName,
|
||||
OperationStatus? status,
|
||||
bool? isBusiness,
|
||||
|
||||
bool clearProvider = false,
|
||||
bool clearType = false,
|
||||
@@ -247,6 +248,7 @@ class OperationFormCubit extends Cubit<OperationFormState> {
|
||||
staffId: staffId ?? current.staffId,
|
||||
staffDisplayName: staffDisplayName ?? current.staffDisplayName,
|
||||
status: status ?? current.status,
|
||||
isBusiness: isBusiness ?? current.isBusiness,
|
||||
);
|
||||
|
||||
emit(state.copyWith(operation: updated));
|
||||
|
||||
Reference in New Issue
Block a user