Merge branch 'akaunting:master' into master
This commit is contained in:
commit
3eb7723435
@ -6,7 +6,17 @@
|
||||
<x-show.summary.left>
|
||||
@if (! $hideAvatar)
|
||||
<x-slot name="avatar">
|
||||
{{ $contact->initials }}
|
||||
@if ($contact->logo)
|
||||
@if (is_object($contact->logo))
|
||||
<img src="{{ Storage::url($contact->logo->id) }}" class="absolute w-12 h-12 rounded-full mr-2 hidden lg:block" alt="{{ $contact->name }}" title="{{ $contact->name }}">
|
||||
@else
|
||||
<img src="{{ asset('public/img/user.svg') }}" class="absolute w-12 h-12 rounded-full mr-2 hidden lg:block" alt="{{ $contact->name }}"/>
|
||||
@endif
|
||||
|
||||
{{ $contact->initials }}
|
||||
@else
|
||||
{{ $contact->initials }}
|
||||
@endif
|
||||
</x-slot>
|
||||
@endif
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content">
|
||||
<x-contacts.show.content type="vendor" :model="$vendor" />
|
||||
<x-contacts.show.content type="vendor" :model="$vendor" hide-user />
|
||||
</x-slot>
|
||||
|
||||
<x-contacts.script type="vendor" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user