Customer Management

@if(session()->has('success')) @endif @if(session()->has('error')) @endif
@forelse($customers as $customer) @empty @endforelse
Nama No. Telepon Alamat Diskon Total Order Aksi
{{ $customer->name }} {{ $customer->phone ?? '-' }} {{ Str::limit($customer->address ?? '-', 40) }} @if($customer->discount > 0) Rp {{ number_format($customer->discount, 0, ',', '.') }} @endif @if($customer->discount_percent > 0) {{ floatval($customer->discount_percent) }}% @endif @if(!$customer->discount && !$customer->discount_percent) - @endif {{ $customer->total_orders }}
Belum ada data customer
@if($customers->hasPages()) @endif
{{-- Modal --}} @if($isModalOpen) @endif {{-- Modal Import CSV --}} @if($isImportModalOpen) @endif