diff --git a/src/Service/FCMSender.php b/src/Service/FCMSender.php index 9cd15356..8130fe1a 100644 --- a/src/Service/FCMSender.php +++ b/src/Service/FCMSender.php @@ -82,8 +82,9 @@ class FCMSender return; } - // attach jo id + // attach jo info $data['jo_id'] = $job_order->getID(); + $data['jo_status'] = $job_order->getStatus(); // send fcm notification $result = $this->send($device_ids, $this->translator->trans($title), $this->translator->trans($body), $data);