Show company copyright if whitelabel

This commit is contained in:
Benjamin Beganović 2021-06-18 13:43:29 +02:00
parent 8fd7fb7752
commit bc28a473a7

View File

@ -154,11 +154,15 @@
<td> <td>
<div class="dark-bg-base" <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;"> 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()) @if(isset($company))
<p style="text-align: center; color: #ffffff; font-size: 10px; @if($company->account->isPaid())
font-family: Verdana, Geneva, Tahoma, sans-serif;"{{ date('Y') }} Invoice Ninja, All <p style="text-align: center; color: #ffffff; font-size: 10px;
Rights Reserved font-family: Verdana, Geneva, Tahoma, sans-serif;"{{ date('Y') }} {{ $company->present()->name() }}, All Rights Reserved</p>
</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 @else
<p style="text-align: center; color: #ffffff; font-size: 10px; font-family: Verdana, Geneva, Tahoma, sans-serif;"> <p style="text-align: center; color: #ffffff; font-size: 10px; font-family: Verdana, Geneva, Tahoma, sans-serif;">
© {{ date('Y') }} Invoice Ninja, All Rights Reserved © {{ date('Y') }} Invoice Ninja, All Rights Reserved