@extends('layouts.app') @section('title', 'Detail Pelanggan') @section('content')
Nama / Name {{ $customer->name }}
Telepon / Phone {{ $customer->phone }}
Email {{ $customer->email ?? '—' }}
Alamat / Address {{ $customer->address }}
Kota / City {{ $customer->city }}
Provinsi / State {{ $customer->province }}
Negara / Country {{ $customer->country }}
Kode Pos / Postal {{ $customer->postal_code }}
@if ($customer->notes)Catatan / Notes {{ $customer->notes }}
@endifTerdaftar / Registered {{ $customer->created_at->format('d M Y H:i') }}
Belum ada transaksi dari pelanggan ini. / No transactions from this customer yet.
@else| Kode | Tanggal | Item | Total | Metode | Status | |
|---|---|---|---|---|---|---|
| {{ $order->code }} | {{ $order->created_at->format('d M Y H:i') }} | {{ $order->items->sum('qty') }} item | Rp {{ number_format($order->total, 0, ',', '.') }} | {{ $order->payment_method === 'whatsapp' ? 'WhatsApp' : 'Online' }} | {{ $order->statusLabel() }} | Detail → |