4/12/7
This commit is contained in:
@@ -481,6 +481,7 @@ class MapDriverController extends GetxController {
|
||||
});
|
||||
print('passengerWalletBurc aft ${double.parse(passengerWalletBurc)}');
|
||||
}
|
||||
|
||||
double pointsSubstraction = 0;
|
||||
pointsSubstraction = double.parse(paymentAmount) *
|
||||
(-1) *
|
||||
|
||||
@@ -668,6 +668,7 @@ class MapPassengerController extends GetxController {
|
||||
rideTimerBegin = false;
|
||||
box.write(BoxName.arrivalTime, '');
|
||||
remainingTimeTimerRideBegin = 0;
|
||||
box.write(BoxName.passengerWalletTotal, '0');
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user