Merge branch 'akaunting:master' into master

This commit is contained in:
Burak Civan 2022-11-16 17:43:06 +03:00 committed by GitHub
commit 3eb7723435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

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

View File

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