uff
This commit is contained in:
@@ -13,8 +13,10 @@ class OperationFormCubit extends Cubit<OperationFormState> {
|
||||
final OperationsRepository _repository = GetIt.I<OperationsRepository>();
|
||||
final SessionCubit _sessionCubit = GetIt.I<SessionCubit>();
|
||||
final Uuid _uuid = const Uuid();
|
||||
final String createdById;
|
||||
final String createdByName;
|
||||
|
||||
OperationFormCubit()
|
||||
OperationFormCubit({required this.createdById, required this.createdByName})
|
||||
: super(
|
||||
OperationFormState(
|
||||
// Inizializziamo con un modello vuoto di sicurezza
|
||||
|
||||
@@ -18,7 +18,7 @@ class OperationsRepository {
|
||||
.from('operation')
|
||||
.select('''
|
||||
*,
|
||||
customer(name),
|
||||
customer(*),
|
||||
store(name),
|
||||
staff_member(name),
|
||||
provider(name),
|
||||
@@ -47,7 +47,7 @@ class OperationsRepository {
|
||||
.from('operation')
|
||||
.select('''
|
||||
*,
|
||||
customer(name),
|
||||
customer(*),
|
||||
store(name),
|
||||
provider(name),
|
||||
model(name_with_brand),
|
||||
|
||||
Reference in New Issue
Block a user