diff --git a/app/Notifications/EndorsementCreatedNotification.php b/app/Notifications/EndorsementCreatedNotification.php index c805750c1..caaa803ae 100644 --- a/app/Notifications/EndorsementCreatedNotification.php +++ b/app/Notifications/EndorsementCreatedNotification.php @@ -41,7 +41,7 @@ public function via($notifiable) */ public function toMail($notifiable) { - $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forver'; + $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forever'; $textLines = [ 'A new **' . ucwords(strtolower((string) $this->endorsement->type)) . ' Endorsement** has been issued for your training, at following positions: *' . $this->endorsement->positions->pluck('callsign')->implode(', ') . '*', diff --git a/app/Notifications/EndorsementModifiedNotification.php b/app/Notifications/EndorsementModifiedNotification.php index 8d43dddc2..f84bac63f 100644 --- a/app/Notifications/EndorsementModifiedNotification.php +++ b/app/Notifications/EndorsementModifiedNotification.php @@ -41,7 +41,7 @@ public function via($notifiable) */ public function toMail($notifiable) { - $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forver'; + $validTo = isset($this->endorsement->valid_to) ? $this->endorsement->valid_to->toEuropeanDateTime() : 'Forever'; $textLines = [ 'Your **' . ucwords(strtolower((string) $this->endorsement->type)) . ' Endorsement** has been modified at following positions: *' . $this->endorsement->positions->pluck('callsign')->implode(', ') . '*',