@extends('layouts.app') @section('title', 'POS Customers') @section('content')

POS Customers

Walk-in retail customers from POS outlets

@if($warehouses->count() > 0) @endif
@if(session('success'))
{{ session('success') }}
@endif
@if($customers->count() > 0) @foreach($customers as $customer) @endforeach
Name Phone Email Registered At Points Purchases Total Spent Actions
{{ $customer->name }}
{{ $customer->phone }}
{{ $customer->email ?? '-' }}
{{ $customer->registeredWarehouse->name ?? 'Unknown' }}
{{ number_format($customer->loyalty_points) }} pts {{ number_format($customer->total_purchases) }} RM {{ number_format($customer->total_spent, 2) }} View
{{ $customers->links() }}
@else

No customers yet

Customers will appear here when they make purchases at POS outlets.

@endif
@endsection