6/22/1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user