document show contact link

This commit is contained in:
Cihan Şentürk
2023-01-02 11:36:03 +03:00
committed by GitHub
parent e47d575087
commit 9dade70dc4
4 changed files with 75 additions and 14 deletions

View File

@ -78,12 +78,27 @@
<div class="col-60">
<div class="text p-index-left">
@if (! $hideContactInfo)
<p class="font-semibold mb-0">{{ trans($textContactInfo) }}</p>
<p class="font-semibold mb-0">
{{ trans($textContactInfo) }}
</p>
@endif
@stack('name_input_start')
@if (! $hideContactName)
<p>{{ $document->contact_name }}</p>
@if ($print)
<p>
{{ $document->contact_name }}
</p>
@else
<x-link href="{{ route('customers.show', $document->contact_id) }}"
override="class"
class="py-1.5 mb-3 sm:mb-0 text-xs bg-transparent hover:bg-transparent font-medium leading-6"
>
<x-link.hover>
{{ $document->contact_name }}
</x-link.hover>
</x-link>
@endif
@endif
@stack('name_input_end')