@extends('layouts.main') @section('content')
| # | Photo | Nama Customer | Username | Status | Aksi | |
|---|---|---|---|---|---|---|
| {{ ($customers->currentPage() - 1) * $customers->perPage() + $index + 1 }} |
@if($customer->profile)
|
{{ $customer->name }}
@if($customer->province_name || $customer->regency_name)
{{ $customer->district_name ?? '' }} @if($customer->regency_name), {{ $customer->regency_name }}@endif @endif @if($customer->address) {{ Str::limit($customer->address, 40) }} @endif |
{{ $customer->username }} | {{ $customer->email }} | @if($customer->status === 'active') Aktif @else Nonaktif @endif |
Tidak ditemukan customer yang sesuai dengan pencarian @if(request('search')) "{{ request('search') }}" @endif @if(request('status')) dengan status {{ request('status') === 'active' ? 'Aktif' : 'Nonaktif' }} @endif
Kembali ke Semua Customer @elseSilakan tambah customer terlebih dahulu
Tambah Customer Pertama @endif