4/22/1
This commit is contained in:
@@ -241,10 +241,14 @@ class HomeCaptainController extends GetxController {
|
||||
var res = await CRUD().get(
|
||||
link: AppLink.getDriverpaymentToday,
|
||||
payload: {'driverID': box.read(BoxName.driverID).toString()});
|
||||
data = jsonDecode(res);
|
||||
totalMoneyToday = data['message'][0]['todayAmount'];
|
||||
if (res != 'failure') {
|
||||
data = jsonDecode(res);
|
||||
totalMoneyToday = data['message'][0]['todayAmount'];
|
||||
|
||||
update();
|
||||
update();
|
||||
} else {
|
||||
print(res);
|
||||
}
|
||||
}
|
||||
|
||||
getKazanPercent() async {
|
||||
|
||||
Reference in New Issue
Block a user