This commit is contained in:
Hamza-Ayed
2023-11-15 15:22:43 +03:00
parent c81ded3c98
commit 8e835f8c93
4 changed files with 247 additions and 241 deletions

View File

@@ -11,7 +11,7 @@ import '../../functions/crud.dart';
class OrderRequestController extends GetxController {
double progress = 0;
int duration = 25;
int duration = 15;
int remainingTime = 0;
String countRefuse = '0';
bool applied = false;
@@ -84,6 +84,7 @@ class OrderRequestController extends GetxController {
void refuseOrder(String driverID, orderID) async {
await CRUD().postFromDialogue(link: AppLink.addDriverOrder, payload: {
//TODO need review
'driver_id': box.read(BoxName.driverID).toString(),
// box.read(BoxName.driverID).toString(),
'order_id': orderID,