fixed path company_id route issue..
This commit is contained in:
parent
8e7dc3f119
commit
9872d30eef
@ -40,6 +40,7 @@ class Notifications
|
|||||||
$message = str_replace('#path#', $path, $notification->message);
|
$message = str_replace('#path#', $path, $notification->message);
|
||||||
$message = str_replace('#token#', csrf_token(), $message);
|
$message = str_replace('#token#', csrf_token(), $message);
|
||||||
$message = str_replace('#url#', route('dashboard'), $message);
|
$message = str_replace('#url#', route('dashboard'), $message);
|
||||||
|
$message = str_replace('#company_id#', company_id(), $message);
|
||||||
|
|
||||||
if (!setting('notifications.' . $notification->path . '.' . $notification->id . '.status', 1)) {
|
if (!setting('notifications.' . $notification->path . '.' . $notification->id . '.status', 1)) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user