7/1/5
This commit is contained in:
@@ -525,8 +525,7 @@ class MapDriverController extends GetxController {
|
||||
}
|
||||
|
||||
double pointsSubtraction = 0;
|
||||
pointsSubtraction =
|
||||
double.parse(paymentAmount) * (-1) * double.parse(kazan);
|
||||
pointsSubtraction = double.parse(paymentAmount) * (-1);
|
||||
var paymentToken2 =
|
||||
await generateTokenDriver((pointsSubtraction).toStringAsFixed(0));
|
||||
var res = await CRUD().post(link: AppLink.addDriversWalletPoints, payload: {
|
||||
@@ -554,7 +553,7 @@ class MapDriverController extends GetxController {
|
||||
Get.to(() => RatePassenger(), arguments: {
|
||||
'passengerId': passengerId,
|
||||
'rideId': rideId,
|
||||
'price': price.toString(),
|
||||
'price': paymentAmount.toString(), //price
|
||||
'walletChecked': walletChecked
|
||||
});
|
||||
// Get.back();
|
||||
|
||||
Reference in New Issue
Block a user