mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-26 23:47:13 +01:00
Updated mail templates
This commit is contained in:
parent
581a1fbf74
commit
de94eb4e30
6 changed files with 7 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ class Delivered extends Mailable
|
||||||
public function envelope(): Envelope
|
public function envelope(): Envelope
|
||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: 'Levererad',
|
subject: 'vBytes - Vara levererad',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ class ReservationCreated extends Mailable
|
||||||
public function envelope(): Envelope
|
public function envelope(): Envelope
|
||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: 'Reservation Created',
|
subject: 'Reservation skapad',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -44,6 +44,7 @@ class ReservationCreated extends Mailable
|
||||||
'reservationName' => $this->reservation->username,
|
'reservationName' => $this->reservation->username,
|
||||||
'reservationDesc' => Item::where('id', $this->reservation->item_id)->pluck('desc')->first(),
|
'reservationDesc' => Item::where('id', $this->reservation->item_id)->pluck('desc')->first(),
|
||||||
'reservationEmail' => $this->reservation->email,
|
'reservationEmail' => $this->reservation->email,
|
||||||
|
'reservationPhone' => $this->reservation->phone,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ class ReservationCreatedUser extends Mailable
|
||||||
public function envelope(): Envelope
|
public function envelope(): Envelope
|
||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: 'Reservation skapad',
|
subject: 'vBytes - Reservation skapad',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ class ReservationDeletedUser extends Mailable
|
||||||
public function envelope(): Envelope
|
public function envelope(): Envelope
|
||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: 'Reservation borttagen',
|
subject: 'vBytes - Reservation borttagen',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class ReturnDateReminder extends Mailable
|
||||||
public function envelope(): Envelope
|
public function envelope(): Envelope
|
||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: 'Påminnelse om återlämning',
|
subject: 'vBytes - Påminnelse om återlämning',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,6 @@
|
||||||
<h1>Reservation skapad</h1>
|
<h1>Reservation skapad</h1>
|
||||||
<p>{{ $reservationName }} har reserverat {{ $reservationDesc }}</p>
|
<p>{{ $reservationName }} har reserverat {{ $reservationDesc }}</p>
|
||||||
<p>Mail: {{ $reservationEmail }}</p>
|
<p>Mail: {{ $reservationEmail }}</p>
|
||||||
|
<p>Telefon: {{ $reservationPhone }}</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in a new issue