Merge pull request #6079 from beganovich/v5-1806-update-copyright-on-mails

(v5) Update copyright on client emails
This commit is contained in:
Benjamin Beganović 2021-06-18 13:45:29 +02:00 committed by GitHub
commit 9ef7d0eb0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 5 deletions

View File

@ -23,5 +23,9 @@
@isset($url)
<a href="{{ $url }}" class="button" target="_blank">{{ ctrans($button) }}</a>
@endisset
@isset($signature)
{!! $signature !!}
@endisset
</div>
@endcomponent

View File

@ -154,11 +154,15 @@
<td>
<div class="dark-bg-base"
style="padding-top: 10px;padding-bottom: 10px; background-color: #242424; border: 1px solid #c2c2c2; border-top-color: #242424; border-bottom-color: #242424;">
@if(isset($company) && !$company->account->isPaid())
<p style="text-align: center; color: #ffffff; font-size: 10px;
font-family: Verdana, Geneva, Tahoma, sans-serif;"{{ date('Y') }} Invoice Ninja, All
Rights Reserved
</p>
@if(isset($company))
@if($company->account->isPaid())
<p style="text-align: center; color: #ffffff; font-size: 10px;
font-family: Verdana, Geneva, Tahoma, sans-serif;"{{ date('Y') }} {{ $company->present()->name() }}, All Rights Reserved</p>
@else
<p style="text-align: center; color: #ffffff; font-size: 10px; font-family: Verdana, Geneva, Tahoma, sans-serif;">
© {{ date('Y') }} Invoice Ninja, All Rights Reserved
</p>
@endif
@else
<p style="text-align: center; color: #ffffff; font-size: 10px; font-family: Verdana, Geneva, Tahoma, sans-serif;">
© {{ date('Y') }} Invoice Ninja, All Rights Reserved