This commit is contained in:
Hamza-Ayed
2024-06-22 13:12:35 +03:00
parent 1cc0156cfd
commit 3c5321f70b
67 changed files with 91 additions and 740 deletions

View File

@@ -77,9 +77,7 @@ class OrderRequestController extends GetxController {
} else {
box.write(BoxName.statusDriverLocation, 'off');
}
} catch (e) {
print('Error executing custom query: $e');
}
} catch (e) {}
}
void getSQL() async {
@@ -95,7 +93,6 @@ class OrderRequestController extends GetxController {
AND created_at LIKE '%$todayDay%'
''';
List<Map<String, dynamic>> results = await sql.getCustomQuery(customQuery);
print(results);
}
void startTimer(String driverID, orderID) async {
@@ -108,8 +105,6 @@ class OrderRequestController extends GetxController {
}
if (remainingTime == 0) {
if (applied == false) {
print('applied=========================');
print(applied);
refuseOrder(orderID);
}
}
@@ -125,8 +120,6 @@ class OrderRequestController extends GetxController {
}
if (remainingTimeSpeed == 0) {
if (applied == false) {
print('applied=========================');
print(applied);
Get.back();
// refuseOrder(box.read(BoxName.driverID), orderID);
}