From 6a95830a9c148b5e4c73b977c9d36fc7b6ca6621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna-Sara=20S=C3=A9lea?= Date: Fri, 28 Feb 2025 08:29:07 +0100 Subject: [PATCH] Changed mail texts --- app/Mail/Delivered.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Mail/Delivered.php b/app/Mail/Delivered.php index 7e1209f..2b843a8 100644 --- a/app/Mail/Delivered.php +++ b/app/Mail/Delivered.php @@ -29,7 +29,7 @@ class Delivered extends Mailable public function envelope(): Envelope { return new Envelope( - subject: 'Delivered', + subject: 'Levererad', ); } @@ -44,7 +44,7 @@ class Delivered extends Mailable 'reservationName' => $this->reservation->username, 'reservationDesc' => Item::where('id', $this->reservation->item_id)->pluck('desc')->first(), 'reservationEmail' => $this->reservation->email, - 'reservationReturnDate' => $this->reservation->return_date, + 'reservationReturnDate' => $this->reservation->return_date->toDateString(), ], ); }