Out-of-stock reminder settings

This commit is contained in:
Batuhan Baş
2018-09-29 17:37:55 +03:00
parent 826546e8fb
commit 4974940401
7 changed files with 127 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class Item extends Notification
public function toMail($notifiable)
{
$message = (new MailMessage)
->line(trans('items.notification.message', ['name' => $this->item->name]))
->line(trans('items.notification.message.out_of_stock', ['name' => $this->item->name]))
->action(trans('items.notification.button'), url('items/items', $this->item->id, true));
// Override per company as Laravel doesn't read config