@extends('layouts.app') @section('title', 'Customers') @section('page-title', 'Customers') @section('topbar-actions') @endsection @section('content') {{-- Campaign Bar --}}
Customer List
@foreach($customers as $c) @endforeach
# Customer Phone Product Language Call Status Feedback Customer Answer Added Action
{{ $c->id }}
{{ strtoupper(substr($c->customer_name, 0, 1)) }}
{{ $c->customer_name }}
{{ $c->phone_number }} {{ $c->product_name }} {{ $c->language ?? 'English' }} @if($c->call_status === 'calling') @endif {{ ucfirst($c->call_status) }} @if($c->feedback === 'positive') Positive @elseif($c->feedback === 'negative') Negative @elseif($c->feedback === 'neutral') Neutral @else Not called @endif @if($c->feedback_text)
{{ Str::limit($c->feedback_text, 55) }}
@else @endif
{{ $c->created_at->format('d M Y') }}
{{-- Add Customer Modal --}} {{-- Import Modal --}} {{-- Call Again Modal --}} {{-- Delete Modal --}} @endsection @push('scripts') @endpush