update calendar

This commit is contained in:
Felipe
2024-01-02 16:16:02 -05:00
parent 956222de76
commit cf34fdfb8e
7 changed files with 100 additions and 22 deletions
+2 -2
View File
@@ -62,10 +62,10 @@ Future<List<Event>> getByProId(String day) async {
try {
var snapshot = await FirebaseFirestore.instance
.collection('services')
.where('professional_id', isEqualTo: uid)
// .where('professional_id', isEqualTo: uid)
.where('day', isEqualTo: day.toString())
.where('status', isEqualTo: 'aprobado')
.orderBy('Timestamp', descending: true)
// .orderBy('Timestamp', descending: true)
.get();
List<Event> eventos = [];