Mandantenabschluss: Marken, Vertragsdateien und Archive trennen
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m23s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m23s
This commit is contained in:
1 parent
86374b1659
commit
06df80e4db
45 files changed
+592
-99
No files matched your search
@@ -0,0 +1,27 @@
|
||||
@props(['site' => null, 'message' => null])
|
||||
@php
|
||||
$name = $site?->name ?: (config('fewo.owner.name') ?: 'Vermietung');
|
||||
$origin = $site?->origin() ?: config('app.url');
|
||||
$logo = $site?->brandPath(\App\Models\Site::BRAND_DOCUMENT_LOGO);
|
||||
@endphp
|
||||
<x-mail::layout>
|
||||
<x-slot:header>
|
||||
<x-mail::header :url="$origin">{{ $name }}</x-mail::header>
|
||||
</x-slot:header>
|
||||
|
||||
@if ($logo && $message instanceof \Illuminate\Mail\Message)
|
||||
<p><img src="{{ $message->embed($logo) }}" alt="{{ $name }}" style="max-width: 240px; max-height: 100px;"></p>
|
||||
@endif
|
||||
|
||||
{!! $slot !!}
|
||||
|
||||
@isset($subcopy)
|
||||
<x-slot:subcopy>
|
||||
<x-mail::subcopy>{!! $subcopy !!}</x-mail::subcopy>
|
||||
</x-slot:subcopy>
|
||||
@endisset
|
||||
|
||||
<x-slot:footer>
|
||||
<x-mail::footer>© {{ date('Y') }} {{ $name }}. Alle Rechte vorbehalten.</x-mail::footer>
|
||||
</x-slot:footer>
|
||||
</x-mail::layout>
|
||||
Reference in new issue
Block a user