mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Catch all logo
This commit is contained in:
parent
9ca10fadb3
commit
97f7f16f7c
@ -421,7 +421,7 @@ class PdfMock
|
|||||||
'$country_2' => 'AF',
|
'$country_2' => 'AF',
|
||||||
'$firstName' => 'Benedict',
|
'$firstName' => 'Benedict',
|
||||||
'$user.name' => 'Derrick Monahan DDS Erna Wunsch',
|
'$user.name' => 'Derrick Monahan DDS Erna Wunsch',
|
||||||
'$font_name' => $this->settings?->primary_font ?: 'Roboto',
|
'$font_name' => isset($this->settings?->primary_font) ? $this->settings?->primary_font : 'Roboto',
|
||||||
'$auto_bill' => 'This invoice will automatically be billed to your credit card on file on the due date.',
|
'$auto_bill' => 'This invoice will automatically be billed to your credit card on file on the due date.',
|
||||||
'$payments' => '',
|
'$payments' => '',
|
||||||
'$task.tax' => '',
|
'$task.tax' => '',
|
||||||
|
@ -12,11 +12,16 @@
|
|||||||
<img src="{{ asset('images/invoiceninja-black-logo-2.png') }}"
|
<img src="{{ asset('images/invoiceninja-black-logo-2.png') }}"
|
||||||
class="border-b border-gray-100 h-18 pb-4" alt="Invoice Ninja logo">
|
class="border-b border-gray-100 h-18 pb-4" alt="Invoice Ninja logo">
|
||||||
</div>
|
</div>
|
||||||
@else
|
@elseif($company)
|
||||||
<div>
|
<div>
|
||||||
<img src="{{ $company->present()->logo() }}"
|
<img src="{{ $company->present()->logo() }}"
|
||||||
class="mx-auto border-b border-gray-100 h-18 pb-4" alt="{{ $company->present()->name() }} logo">
|
class="mx-auto border-b border-gray-100 h-18 pb-4" alt="{{ $company->present()->name() }} logo">
|
||||||
</div>
|
</div>
|
||||||
|
@else
|
||||||
|
<div>
|
||||||
|
<img src="{{ asset('images/invoiceninja-black-logo-2.png') }}"
|
||||||
|
class="mx-auto border-b border-gray-100 h-18 pb-4" alt="Invoice Ninja logo">
|
||||||
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<h1 class="text-center text-3xl mt-10">{{ $title }}</h1>
|
<h1 class="text-center text-3xl mt-10">{{ $title }}</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user