diff --git a/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Admin/Customer/CustomerDatabase.razor b/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Admin/Customer/CustomerDatabase.razor
index 761e4a2f..3907c9df 100644
--- a/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Admin/Customer/CustomerDatabase.razor
+++ b/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Admin/Customer/CustomerDatabase.razor
@@ -1,110 +1,137 @@
@page "/admin/customers"
@layout AdminLayout
@inherits AdminBase
+@inject PosDataService DataService
+@using WebClientTpos.Client.Services
@*
- EN: Customer database — list of customers with search, filter by tier (VIP/Gold/Silver/New), cards with total spent + visits.
- VI: Cơ sở dữ liệu khách hàng — danh sách khách hàng, tìm kiếm, lọc theo hạng, thẻ với tổng chi tiêu + lượt ghé.
- Design: pencil-design/src/pages/tPOS/admin/customer-database.pen
+ EN: Customer database — real data from membership_service via BFF.
+ VI: Cơ sở dữ liệu khách hàng — dữ liệu thực từ membership_service qua BFF.
*@
Đang tải dữ liệu...
+Khách hàng sẽ tự động trở thành thành viên khi mua hàng
+| ID | +Cấp bậc | +EXP | +Giới tính | +Quốc gia | +Ngày tham gia | +
|---|---|---|---|---|---|
| @m.Id.ToString()[..8]... | ++ + + @(m.LevelName ?? $"Level {m.CurrentLevel}") + + | +@m.TotalExpEarned.ToString("N0") | +@(m.Gender ?? "—") | +@(m.CountryCode ?? "—") | +@m.CreatedAt.ToString("dd/MM/yyyy") | +
Đang tải tồn kho...
| Sản phẩm | -Danh mục | -Tồn kho | -Đơn vị | -Trạng thái | -Nhập lần cuối | -Giá trị | -
|---|
| @item.Name | -@item.Category | -@item.Qty | -@item.Unit | -
-
-
- @item.Status
-
- |
- @item.LastRestock | -@item.Value | +Sản phẩm | +Tồn kho | +Đặt trước | +Ngưỡng | +Trạng thái |
|---|