@include('user.store._sidebar', ['current' => 'customers', 'cfg' => $cfg, 'sf' => $sf])
@if (session('success'))
{{ __('Store / Customers') }}
{{ __('Saved customers') }}
{{ __('Pre-set a customer’s delivery address here. When they order on WhatsApp, it shows automatically — they just reply YES, no re-typing.') }}
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
{{-- Add / edit a customer (one form does both — keyed by phone) --}}
{{-- Search --}}
{{-- List --}}
| {{ __('Customer') }} | {{ __('Address') }} | {{ __('Actions') }} |
|---|---|---|
|
{{ $c->name ?: '—' }}
@if ($c->company){{ $c->company }} @endif
+{{ $c->phone }}
|
{{ $c->address ?: '—' }} | |
| {{ __('No saved customers yet. Add one above.') }} | ||
{{ $rows->links() }}