25-6-23/1
This commit is contained in:
@@ -188,16 +188,16 @@ Download the Tripz app now and enjoy your ride!
|
||||
(driverInvitationData[index]['driverInviterId']),
|
||||
('500'),
|
||||
);
|
||||
await Get.find<CaptainWalletController>()
|
||||
.addSeferWallet('giftInvitation', ('-1000'));
|
||||
// await Get.find<CaptainWalletController>()
|
||||
// .addSeferWallet('giftInvitation', ('-1000'));
|
||||
NotificationCaptainController().addNotificationCaptain(
|
||||
driverInvitationData[index]['driverInviterId'].toString(),
|
||||
"You have got a gift for invitation".tr,
|
||||
'${"You have 500".tr} ${'LE'}',
|
||||
'${"You have 500".tr} ${'LE'.tr}',
|
||||
false);
|
||||
NotificationController().showNotification(
|
||||
"You have got a gift for invitation".tr,
|
||||
'${"You have 500".tr} ${'LE'}',
|
||||
'${"You have 500".tr} ${'LE'.tr}',
|
||||
'tone1',
|
||||
'');
|
||||
} else {
|
||||
@@ -264,6 +264,7 @@ Download the Tripz app now and enjoy your ride!
|
||||
link: AppLink.updatePassengerGift,
|
||||
payload: {'id': driverInvitationDataToPassengers[index]['id']},
|
||||
);
|
||||
|
||||
// Notify the inviter
|
||||
NotificationCaptainController().addNotificationCaptain(
|
||||
driverInvitationDataToPassengers[index]['passengerInviterId']
|
||||
|
||||
Reference in New Issue
Block a user