renamed print files

This commit is contained in:
denisdulici
2019-11-30 00:39:44 +03:00
parent fdf1667f70
commit 1ce9350e97
11 changed files with 29 additions and 174 deletions

View File

@@ -11,8 +11,10 @@
<tbody>
<tr>
<th>
@if ($logo)
<img src="{{ asset('public/img/company.png') }}" height="128" width="128" alt="Company"/>
@if (!empty($bill->contact->logo) && !empty($bill->contact->logo->id))
<img src="{{ Storage::url($bill->contact->logo->id) }}" height="128" width="128" alt="{{ $bill->contact_name }}"/>
@else
<img src="{{ $logo }}" alt="{{ $bill->contact_name }}"/>
@endif
</th>
</tr>

View File

@@ -163,10 +163,10 @@
<tbody>
<tr>
<th>
@if (isset($bill->contact->logo) && !empty($bill->contact->logo->id))
<img src="{{ Storage::url($bill->contact->logo->id) }}"/>
@if (!empty($bill->contact->logo) && !empty($bill->contact->logo->id))
<img src="{{ Storage::url($bill->contact->logo->id) }}" height="128" width="128" alt="{{ $bill->contact_name }}"/>
@else
<img src="{{ asset('public/img/company.png') }}" height="128" width="128" alt="Company"/>
<img src="{{ $logo }}" alt="{{ $bill->contact_name }}"/>
@endif
</th>
</tr>