This commit is contained in:
denisdulici 2018-11-06 11:50:40 +03:00
parent e8fccd5e3f
commit 99c735dba8
6 changed files with 6 additions and 6 deletions

View File

@ -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'));
}
}

View File

@ -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'));

View File

@ -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'));

View File

@ -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;
}

View File

@ -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'));

View File

@ -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;