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
|
// Add logo
|
||||||
View::composer(
|
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'
|
'App\Http\ViewComposers\Logo'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -20,13 +20,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@if (setting('company.logo'))
|
<img src="{{ $logo }}" alt="{{ setting('company.name') }}"/>
|
||||||
<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
|
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user