calendario profesional
This commit is contained in:
@@ -41,7 +41,7 @@ class FirebaseServiceRepository {
|
||||
String professionalId) {
|
||||
return serviceCollection
|
||||
.where('professional_id', isEqualTo: professionalId)
|
||||
.where('status', whereIn: [0, 1, 2, 3])
|
||||
.where('status', whereIn: [1, 2, 3])
|
||||
.snapshots()
|
||||
.map((querySnapshot) => querySnapshot.docs
|
||||
.map((doc) => ServiceEntity.fromDocument(doc.data(), doc.id))
|
||||
@@ -52,7 +52,7 @@ class FirebaseServiceRepository {
|
||||
String professionalId) async {
|
||||
QuerySnapshot<Map<String, dynamic>> query = await serviceCollection
|
||||
.where('professional_id', isEqualTo: professionalId)
|
||||
.where('status', whereIn: [0, 1, 2, 3]).get();
|
||||
.where('status', whereIn: [0, 1, 2, 3, 6]).get();
|
||||
|
||||
return query.docs
|
||||
.map((doc) => ServiceEntity.fromDocument(doc.data(), doc.id))
|
||||
|
||||
Reference in New Issue
Block a user