fix logo in portal.invoices.signed
This commit is contained in:
parent
b22706be75
commit
abb3ec6a65
@ -58,7 +58,7 @@ class ViewComposer extends Provider
|
||||
|
||||
// Add logo
|
||||
View::composer(
|
||||
['purchases.bills.print', 'purchases.bills.show', 'sales.invoices.print_default', 'sales.invoices.print_classic', 'sales.invoices.print_modern', 'sales.invoices.show', 'portal.invoices.show'],
|
||||
['purchases.bills.print', 'purchases.bills.show', 'sales.invoices.print_default', 'sales.invoices.print_classic', 'sales.invoices.print_modern', 'sales.invoices.show', 'portal.invoices.show', 'portal.invoices.signed'],
|
||||
'App\Http\ViewComposers\Logo'
|
||||
);
|
||||
|
||||
|
@ -20,13 +20,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
@if (setting('company.logo'))
|
||||
<img src="{{ Storage::url(setting('company.logo')) }}" />
|
||||
@else
|
||||
<span class="avatar avatar-size rounded-circle bg-primary">
|
||||
<i class="fas fa-building"></i>
|
||||
</span>
|
||||
@endif
|
||||
<img src="{{ $logo }}" alt="{{ setting('company.name') }}"/>
|
||||
</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
Loading…
x
Reference in New Issue
Block a user