Pass Slip and Leave approval/rejection push notifications

This commit is contained in:
2026-03-15 22:36:33 +08:00
parent 6fd3b66251
commit 885b543fb5
5 changed files with 421 additions and 10 deletions
+2 -1
View File
@@ -264,7 +264,8 @@ class NotificationsController {
'data': data ?? {},
};
await _client.functions.invoke('send_fcm', body: bodyPayload);
final res = await _client.functions.invoke('send_fcm', body: bodyPayload);
debugPrint('send_fcm result: $res');
} catch (err) {
debugPrint('sendPush invocation error: $err');
}