This commit is contained in:
Hamza Aleghwairyeen
2024-04-12 23:06:59 +03:00
parent 766f930a30
commit 4e35874f2b
12 changed files with 177 additions and 110 deletions

View File

@@ -481,6 +481,7 @@ class MapDriverController extends GetxController {
});
print('passengerWalletBurc aft ${double.parse(passengerWalletBurc)}');
}
double pointsSubstraction = 0;
pointsSubstraction = double.parse(paymentAmount) *
(-1) *

View File

@@ -668,6 +668,7 @@ class MapPassengerController extends GetxController {
rideTimerBegin = false;
box.write(BoxName.arrivalTime, '');
remainingTimeTimerRideBegin = 0;
box.write(BoxName.passengerWalletTotal, '0');
update();
}

View File

@@ -21,7 +21,7 @@ class OrderHistoryController extends GetxController {
'passenger_id': box.read(BoxName.passengerID).toString(),
});
if (res.toString() == 'failure') {
Get.snackbar('failure', 'message');
// Get.snackbar('failure', 'message');
isloading = false;
update();
} else {