fix logo in portal.invoices.signed

This commit is contained in:
ESG Hendry 2020-04-05 13:19:18 +02:00
parent b22706be75
commit abb3ec6a65
2 changed files with 2 additions and 8 deletions

View File

@ -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'
); );

View File

@ -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>