diff --git a/app/Notifications/Auth/Reset.php b/app/Notifications/Auth/Reset.php index 7353221f1..ef3c1752a 100644 --- a/app/Notifications/Auth/Reset.php +++ b/app/Notifications/Auth/Reset.php @@ -47,7 +47,7 @@ class Reset extends Notification return (new MailMessage) ->line(trans('auth.notification.message_1')) - ->action(trans('auth.notification.button'), url('auth/reset', $this->token, true)) + ->action(trans('auth.notification.button'), url('auth/reset', $this->token)) ->line(trans('auth.notification.message_2')); } } diff --git a/app/Notifications/Common/Item.php b/app/Notifications/Common/Item.php index 09bdd1d52..335ecc1a3 100644 --- a/app/Notifications/Common/Item.php +++ b/app/Notifications/Common/Item.php @@ -45,7 +45,7 @@ class Item extends Notification { $message = (new MailMessage) ->line(trans('items.notification.message.out_of_stock', ['name' => $this->item->name])) - ->action(trans('items.notification.button'), url('items/items', $this->item->id, true)); + ->action(trans('items.notification.button'), url('items/items', $this->item->id)); // Override per company as Laravel doesn't read config $message->from(config('mail.from.address'), config('mail.from.name')); diff --git a/app/Notifications/Common/ItemReminder.php b/app/Notifications/Common/ItemReminder.php index 4aa84dcb9..c8a801582 100644 --- a/app/Notifications/Common/ItemReminder.php +++ b/app/Notifications/Common/ItemReminder.php @@ -45,7 +45,7 @@ class ItemReminder extends Notification { $message = (new MailMessage) ->line(trans('items.notification.message.reminder', ['name' => $this->item->name, 'quantity' => $this->item->quantity])) - ->action(trans('items.notification.button'), url('items/items', $this->item->id, true)); + ->action(trans('items.notification.button'), url('items/items', $this->item->id)); // Override per company as Laravel doesn't read config $message->from(config('mail.from.address'), config('mail.from.name')); diff --git a/app/Notifications/Customer/Invoice.php b/app/Notifications/Customer/Invoice.php index 6e7559ea5..94210f12c 100644 --- a/app/Notifications/Customer/Invoice.php +++ b/app/Notifications/Customer/Invoice.php @@ -62,7 +62,7 @@ class Invoice extends Notification ]); } - $message->action(trans('customers.notification.button'), url('incomes/invoices', $this->invoice->id, true)); + $message->action(trans('customers.notification.button'), url('incomes/invoices', $this->invoice->id)); return $message; } diff --git a/app/Notifications/Expense/Bill.php b/app/Notifications/Expense/Bill.php index 85fa96668..73a751cdd 100644 --- a/app/Notifications/Expense/Bill.php +++ b/app/Notifications/Expense/Bill.php @@ -48,7 +48,7 @@ class Bill extends Notification { $message = (new MailMessage) ->line('You are receiving this email because you have an upcoming ' . money($this->bill->amount, $this->bill->currency_code, true) . ' bill to ' . $this->bill->vendor_name . ' vendor.') - ->action('Add Payment', url('expenses/bills', $this->bill->id, true)); + ->action('Add Payment', url('expenses/bills', $this->bill->id)); // Override per company as Laravel doesn't read config $message->from(config('mail.from.address'), config('mail.from.name')); diff --git a/app/Notifications/Income/Invoice.php b/app/Notifications/Income/Invoice.php index ad6dd01bb..5a06a646a 100644 --- a/app/Notifications/Income/Invoice.php +++ b/app/Notifications/Income/Invoice.php @@ -60,7 +60,7 @@ class Invoice extends Notification } if ($this->invoice->customer->user) { - $message->action(trans('invoices.notification.button'), url('customers/invoices', $this->invoice->id, true)); + $message->action(trans('invoices.notification.button'), url('customers/invoices', $this->invoice->id)); } return $message;