@php use App\Models\Chat; use App\Models\Instalasi; @endphp
    @foreach ($customer as $row) @php $count_notif = Chat::where('notif_chat', 1) ->where('id_customer', $row->id_customer) ->count('id_chat'); @endphp
  • {{ $row->nama }}
    15 sec ago
    @if ($count_notif != 0) {{ $count_notif }} @endif
  • @endforeach
@if (!empty($this->nama)) @foreach ($chat as $row) @if (empty($row->id_chat))

Hello. What can I do for you?

I'm just looking around.

Will you tell me something about yourself?

Are you there? That time!

Where?

OK, my name is Limingqiang. I like singing, playing basketballand so on.

1 hours ago

You wait for notice.

Consectetuorem ipsum dolor sit?

OK?

OK!

@else @if ($row->id_customer == 1)

{{ $row->isi_chat }}


@else

{{ $row->isi_chat }}


@endif @endif @endforeach @else

Hello. What can I do for you?

I'm just looking around.

Will you tell me something about yourself?

Are you there? That time!

Where?

OK, my name is Limingqiang. I like singing, playing basketballand so on.

1 hours ago

You wait for notice.

Consectetuorem ipsum dolor sit?

OK?

OK!

@endif