Pass Slip and Leave approval/rejection push notifications
This commit is contained in:
@@ -7,6 +7,8 @@ class NotificationItem {
|
||||
required this.actorId,
|
||||
required this.ticketId,
|
||||
required this.taskId,
|
||||
this.leaveId,
|
||||
this.passSlipId,
|
||||
required this.itServiceRequestId,
|
||||
required this.messageId,
|
||||
required this.type,
|
||||
@@ -19,6 +21,8 @@ class NotificationItem {
|
||||
final String? actorId;
|
||||
final String? ticketId;
|
||||
final String? taskId;
|
||||
final String? leaveId;
|
||||
final String? passSlipId;
|
||||
final String? itServiceRequestId;
|
||||
final int? messageId;
|
||||
final String type;
|
||||
@@ -34,6 +38,8 @@ class NotificationItem {
|
||||
actorId: map['actor_id'] as String?,
|
||||
ticketId: map['ticket_id'] as String?,
|
||||
taskId: map['task_id'] as String?,
|
||||
leaveId: map['leave_id'] as String?,
|
||||
passSlipId: map['pass_slip_id'] as String?,
|
||||
itServiceRequestId: map['it_service_request_id'] as String?,
|
||||
messageId: map['message_id'] as int?,
|
||||
type: map['type'] as String? ?? 'mention',
|
||||
|
||||
Reference in New Issue
Block a user