grammar fix
This commit is contained in:
parent
852913caed
commit
de7dd930ab
@ -44,7 +44,7 @@ class ItemReminder extends Notification
|
|||||||
public function toMail($notifiable)
|
public function toMail($notifiable)
|
||||||
{
|
{
|
||||||
$message = (new MailMessage)
|
$message = (new MailMessage)
|
||||||
->line(trans('items.notification.message.reminder', ['name' => $this->item->name]))
|
->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, true));
|
||||||
|
|
||||||
// Override per company as Laravel doesn't read config
|
// Override per company as Laravel doesn't read config
|
||||||
|
@ -9,7 +9,7 @@ return [
|
|||||||
|
|
||||||
'notification' => [
|
'notification' => [
|
||||||
'message' => [
|
'message' => [
|
||||||
'reminder' => 'You are receiving this email because the :name is remind of stock.',
|
'reminder' => 'You are receiving this email because only :quantity of :name has remained.',
|
||||||
'out_of_stock' => 'You are receiving this email because the :name is running out of stock.',
|
'out_of_stock' => 'You are receiving this email because the :name is running out of stock.',
|
||||||
],
|
],
|
||||||
'button' => 'View Now',
|
'button' => 'View Now',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user