@extends('layouts.admin') @section('content')
@if (auth('admin')->user()->can('create-customer')) @endif @if (auth('admin')->user()->can('import-customers')) @endif @if (auth('admin')->user()->can('send-message')) Sending Multiple SMS Sending Multiple Whatsapp @endif
@if (auth('admin')->user()->can('send-message')) {{-- --}} @endif @foreach ($data as $customer) {{-- @if (auth('admin')->user()->can('send-message')) @endforeach
# Name Notes on the number Mobile Created By Created at Actions
@endif --}} {{ $loop->iteration }} {{ $customer->name }} {{ $customer->address }} +9665 {{ $customer->mobile }} {{ $customer->admin?->name }} {{ $customer->created_at_format }}
@if (auth('admin')->user()->can('show-message-customers')) @endif @if (auth('admin')->user()->can('edit-customer')) @endif @if (auth('admin')->user()->can('send-message')) @endif @if (auth('admin')->user()->can('delete-customer')) @endif
{{ $data->appends(Request::except(['_token']))->links()}}
@include('admin.inc.modal-action') @isset($customer) @endisset @endsection @section('script') @endsection