@extends('layouts.admin') @section('title', 'POS Customers') @section('page-title', 'POS Customers') @section('content')
| User | Customer | Phone | Total Spent | Credit Balance | Updated |
|---|---|---|---|---|---|
|
{{ $customer->user->name ?? 'Unknown' }}
{{ $customer->user->email ?? '—' }}
|
{{ $customer->name }}
@if($customer->email)
{{ $customer->email }}
@endif
|
{{ $customer->phone ?: '—' }} | {{ number_format($customer->total_spent ?? 0, 2) }} | @php $bal = $customer->credit_balance ?? 0; @endphp {{ number_format($bal, 2) }} | {{ $customer->updated_at?->diffForHumans() }} |
| No customers synced yet. | |||||