From bc28a473a78b91fefe2b7029240ea1c113d40ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 18 Jun 2021 13:43:29 +0200 Subject: [PATCH] Show company copyright if whitelabel --- resources/views/email/template/client.blade.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/resources/views/email/template/client.blade.php b/resources/views/email/template/client.blade.php index 1701ae3c53cd..8649ea054fd9 100644 --- a/resources/views/email/template/client.blade.php +++ b/resources/views/email/template/client.blade.php @@ -154,11 +154,15 @@
- @if(isset($company) && !$company->account->isPaid()) -

© {{ date('Y') }} Invoice Ninja, All - Rights Reserved -

+ @if(isset($company)) + @if($company->account->isPaid()) +

© {{ date('Y') }} {{ $company->present()->name() }}, All Rights Reserved

+ @else +

+ © {{ date('Y') }} Invoice Ninja, All Rights Reserved +

+ @endif @else

© {{ date('Y') }} Invoice Ninja, All Rights Reserved