@extends('layouts.app') @section('content')

👥 Manajemen Pelanggan

Kelola data pelanggan tetap Anda.

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($customers as $customer)
{{ substr($customer->name, 0, 1) }}

{{ $customer->name }}

Bergabung: {{ $customer->created_at->format('d M Y') }}

@csrf @method('DELETE')
@if($customer->phone)
{{ $customer->phone }}
@endif @if($customer->email)
{{ $customer->email }}
@endif @if($customer->address)
{{ $customer->address }}
@endif
@empty

Tidak ada data pelanggan

@endforelse
{{ $customers->withQueryString()->links() }}
@endsection