@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',[ 'title' => __('Contact List'), 'buttons' =>[ [ 'name'=>__('Create Contact'), 'url'=> route('user.contact.create'), ], [ 'name'=>__('Contact Groups'), 'url'=> route('user.group.index'), ], [ 'name'=>__('Import Contacts'), 'url'=>'#', 'components'=>'data-toggle="modal" data-target="#import-contact"', 'is_button'=>true ], [ 'name'=>__('Sent Bulk With Template'), 'url'=>'#', 'components'=>'data-toggle="modal" data-target="#send-template-bulk" id="send-template-bulks"', 'is_button'=>true ] ]]) @endsection @push('topcss') @endpush @section('content')
{{ $total_contacts }}

{{ __('Total Contacts') }}

{{ $limit }}

{{ __('Contacts statics') }}

@if(count($contacts ?? []) > 0)
@foreach($contacts ?? [] as $contact) @endforeach
{{ __('Contact Name') }} {{ __('Group') }} {{ __('Whatsapp Number') }} {{ __('Action') }}
{{ $contact->name }} @foreach($contact->groupcontact as $groupcontact) {{ $groupcontact->name }} @endforeach {{ $contact->phone }}
{{ $contacts->links('vendor.pagination.bootstrap-4') }}
@else
{{ __('Opps There Is No Contact Found....') }}
@endif
@endsection @push('topjs') @endpush @push('js') @endpush