1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Add conditional in blade for hiding logo block if no logo is present

This commit is contained in:
David Bomba 2023-02-19 17:30:46 +11:00
parent 49d08b279e
commit 15d5511649

View File

@ -147,9 +147,9 @@
<tr>
<td align="center" cellpadding="20">
<div style="border: 1px solid #c2c2c2; border-bottom: none; padding-bottom: 10px; border-top-left-radius: 3px; border-top-right-radius: 3px;">
@if($logo)
<img class="" src="{{ $logo ?? '' }}" width="570" height="" alt="alt_text" border="0" style="width: 50%; max-width: 570px; height: auto; display: block;" class="g-img">
@endif
</div>
</td>
</tr>