• {{--...--}}
    @if($note->relatedNote)
    {{ $note->relatedNote->created_at->diffForHumans() }} - {{ $note->relatedNote->createdByUser->name }} @include('laravel-crm::livewire.components.partials.note.actions', ['note' => $note])

    @if($note->relatedNote->noteable instanceof \VentureDrake\LaravelCrm\Models\Person) {{ $note->relatedNote->noteable->name }} @elseif($note->relatedNote->noteable instanceof \VentureDrake\LaravelCrm\Models\Organisation) {{ $note->relatedNote->noteable->name }} @endif

    @include('laravel-crm::livewire.components.partials.note.content', ['note' => $note->relatedNote]) @else
    {{ $note->created_at->diffForHumans() }} - {{ $note->createdByUser->name }} @include('laravel-crm::livewire.components.partials.note.actions', ['note' => $note])
    @if($showRelated)

    @if($note->noteable instanceof \VentureDrake\LaravelCrm\Models\Person) {{ $note->noteable->name }} @elseif($note->noteable instanceof \VentureDrake\LaravelCrm\Models\Organisation) {{ $note->noteable->name }} @endif

    @endif @include('laravel-crm::livewire.components.partials.note.content', ['note' => $note]) @endif
    @push('livewire-js') @endpush