Skip to content

Commit

Permalink
fix: typo in endorsement emails
Browse files Browse the repository at this point in the history
forver -> forever
  • Loading branch information
blt950 committed Oct 14, 2023
1 parent 745631a commit 4742a88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Notifications/EndorsementCreatedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ') . '*',
Expand Down
2 changes: 1 addition & 1 deletion app/Notifications/EndorsementModifiedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ') . '*',
Expand Down

0 comments on commit 4742a88

Please sign in to comment.