Pass jo status with each notification #730
This commit is contained in:
parent
c2418b117e
commit
b81b10840b
1 changed files with 2 additions and 1 deletions
|
|
@ -82,8 +82,9 @@ class FCMSender
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// attach jo id
|
// attach jo info
|
||||||
$data['jo_id'] = $job_order->getID();
|
$data['jo_id'] = $job_order->getID();
|
||||||
|
$data['jo_status'] = $job_order->getStatus();
|
||||||
|
|
||||||
// send fcm notification
|
// send fcm notification
|
||||||
$result = $this->send($device_ids, $this->translator->trans($title), $this->translator->trans($body), $data);
|
$result = $this->send($device_ids, $this->translator->trans($title), $this->translator->trans($body), $data);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue