fixed #598
This commit is contained in:
parent
e8fccd5e3f
commit
99c735dba8
@ -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'));
|
||||
}
|
||||
}
|
||||
|
@ -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'));
|
||||
|
@ -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'));
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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'));
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user