diff --git a/app/Mail/Delivered.php b/app/Mail/Delivered.php index 2b843a8..402f0ee 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: 'Levererad', + subject: 'vBytes - Vara levererad', ); } diff --git a/app/Mail/ReservationCreated.php b/app/Mail/ReservationCreated.php index 12c28c6..5c09ed1 100644 --- a/app/Mail/ReservationCreated.php +++ b/app/Mail/ReservationCreated.php @@ -29,7 +29,7 @@ class ReservationCreated extends Mailable public function envelope(): Envelope { return new Envelope( - subject: 'Reservation Created', + subject: 'Reservation skapad', ); } @@ -44,6 +44,7 @@ class ReservationCreated extends Mailable 'reservationName' => $this->reservation->username, 'reservationDesc' => Item::where('id', $this->reservation->item_id)->pluck('desc')->first(), 'reservationEmail' => $this->reservation->email, + 'reservationPhone' => $this->reservation->phone, ], ); } diff --git a/app/Mail/ReservationCreatedUser.php b/app/Mail/ReservationCreatedUser.php index eed6970..afc9ff3 100644 --- a/app/Mail/ReservationCreatedUser.php +++ b/app/Mail/ReservationCreatedUser.php @@ -27,7 +27,7 @@ class ReservationCreatedUser extends Mailable public function envelope(): Envelope { return new Envelope( - subject: 'Reservation skapad', + subject: 'vBytes - Reservation skapad', ); } diff --git a/app/Mail/ReservationDeletedUser.php b/app/Mail/ReservationDeletedUser.php index fdf9236..ac0d900 100644 --- a/app/Mail/ReservationDeletedUser.php +++ b/app/Mail/ReservationDeletedUser.php @@ -27,7 +27,7 @@ class ReservationDeletedUser extends Mailable public function envelope(): Envelope { return new Envelope( - subject: 'Reservation borttagen', + subject: 'vBytes - Reservation borttagen', ); } diff --git a/app/Mail/ReturnDateReminder.php b/app/Mail/ReturnDateReminder.php index 639154f..6dda7cf 100644 --- a/app/Mail/ReturnDateReminder.php +++ b/app/Mail/ReturnDateReminder.php @@ -30,7 +30,7 @@ class ReturnDateReminder extends Mailable public function envelope(): Envelope { return new Envelope( - subject: 'Påminnelse om återlämning', + subject: 'vBytes - Påminnelse om återlämning', ); } diff --git a/resources/views/emails/admin/reservationcreated.blade.php b/resources/views/emails/admin/reservationcreated.blade.php index db0a375..884b9c9 100644 --- a/resources/views/emails/admin/reservationcreated.blade.php +++ b/resources/views/emails/admin/reservationcreated.blade.php @@ -7,5 +7,6 @@
{{ $reservationName }} har reserverat {{ $reservationDesc }}
Mail: {{ $reservationEmail }}
+Telefon: {{ $reservationPhone }}