From 8cfc26b422fe02c31279c02ff5a07fdf20703a9e Mon Sep 17 00:00:00 2001 From: Sasa Tokic Date: Thu, 14 Dec 2023 11:52:08 +0100 Subject: [PATCH] temporary just view multiselect to speedup --- .../views/components/lead-card.blade.php | 92 +++++++++++-------- src/resources/views/contacts/fields.blade.php | 16 +++- 2 files changed, 71 insertions(+), 37 deletions(-) diff --git a/src/resources/views/components/lead-card.blade.php b/src/resources/views/components/lead-card.blade.php index 7380102..0770e33 100644 --- a/src/resources/views/components/lead-card.blade.php +++ b/src/resources/views/components/lead-card.blade.php @@ -14,7 +14,7 @@
- {{ $lead->contact->firstname }} {{ $lead->contact->lastname }} + {{ $lead->contact->firstname }} {{ $lead->contact->lastname }}
@@ -58,8 +58,10 @@

- {{ __('User') }}: {{ - $lead->contact->fullname }} + {{ __('User') }}: + {{$lead->contact->fullname }} + +

@@ -194,49 +196,67 @@ {{ __('Contact Tags') }} - - + @if($lead->contact->tags->count() > 0) +
    + @foreach($lead->contact->tags as $tag) +
  • {{ $tag->name }}
  • + @endforeach +
+ @endif +{{-- --}} +{{-- --}}
{{ __('Lists') }} - - + @if($lead->contact->lists->count() > 0) + @foreach($lead->contact->lists as $list) +
  • {{ $list->name }}
  • + @endforeach + @endif + +{{-- --}} +{{-- --}}
    {{ __('Lead Tags') }} - - + @if($lead->tags->count() > 0) + @foreach($lead->tags as $tag) +
  • {{ $tag->name }}
  • + @endforeach + @endif +{{-- --}} +{{-- --}}
    diff --git a/src/resources/views/contacts/fields.blade.php b/src/resources/views/contacts/fields.blade.php index 3781a0d..e9f02ea 100644 --- a/src/resources/views/contacts/fields.blade.php +++ b/src/resources/views/contacts/fields.blade.php @@ -144,7 +144,21 @@ - +
    +
    + + +
    +