This commit is contained in:
Hamza Aleghwairyeen
2024-03-27 14:50:52 +03:00
parent eb67f93e71
commit ed63445fc5
5 changed files with 48 additions and 18 deletions

View File

@@ -28,6 +28,7 @@ class HomeCaptainController extends GetxController {
bool isCallOn = false;
String totalMoneyToday = '0';
String rating = '0';
String rideId = '0';
String countRideToday = '0';
String totalMoneyInSEFER = '0';
String totalDurationToday = '0';
@@ -244,7 +245,7 @@ class HomeCaptainController extends GetxController {
getDriverRate() async {
var res = await CRUD().get(
link: AppLink.getDriveRrate,
link: AppLink.getDriverRate,
payload: {'driver_id': box.read(BoxName.driverID).toString()});
data = jsonDecode(res);