This commit is contained in:
Hamza-Ayed
2024-07-02 00:16:16 +03:00
parent 94d70237ff
commit b271101979
26 changed files with 128 additions and 31 deletions

View File

@@ -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();