@if (facade.loading()) {
@for (i of [1,2,3,4]; track i) { }
} @else if (facade.filteredCustomers().length === 0) { } @else { {{ 'adminCustomers.name' | translate }} {{ 'adminCustomers.email' | translate }} {{ 'adminCustomers.phone' | translate }} {{ 'adminCustomers.orderCount' | translate }} {{ 'adminCustomers.lifetimeValue' | translate }} {{ 'adminOrders.createdAt' | translate }} {{ 'adminProducts.actions' | translate }} @for (customer of facade.filteredCustomers(); track customer.email) { {{ customer.name }} {{ customer.email }} {{ customer.phone }} {{ customer.orderCount }} @if (customer.orderCount > 1) { {{ 'adminCustomers.returning' | translate }} } {{ customer.totalSpent }} {{ customer.currency }} {{ customer.lastOrderAt | date:'short' }} {{ 'adminOrders.view' | translate }} } }