This commit is contained in:
Hamza Aleghwairyeen
2024-04-23 16:16:03 +03:00
parent f2ed2736dc
commit 1c7afbb16d
14 changed files with 1599 additions and 1145 deletions

View File

@@ -98,7 +98,9 @@ class RateController extends GetxController {
await CRUD().post(link: AppLink.addDriversWalletPoints, payload: {
'driverID': Get.find<MapPassengerController>().driverId.toString(),
'paymentID': '${Get.find<MapPassengerController>().rideId}tip',
'amount': (tip * 100).toString(),
'amount': box.read(BoxName.countryCode) == 'Egypt'
? tip.toStringAsFixed(0)
: (tip * 100).toString(),
'paymentMethod': 'visa-tip',
});