@if (isLoading) {
}
Client Management
{{ pagination.length }} Clients
@if (clients$ | async; as clients) { @if (clients.length > 0 || selectedClient) {
Client Name
@for (client of clients; track trackByFn($index, client)) {
@if (client.photo) { } @else { {{ client.username.charAt(0) }} }
{{ client.username }}
@if (client.user_id) {
{{ client.user_id }}
}
@if (selectedClient?.id === client.id) {
} }
} @else {
No clients found!
} }
@if (client.photo) { } @else { {{ client.username.charAt(0) }} }

{{ client.username }}

{{ client.user_id }}

{{ client.email }}

{{ client.contact }}

@if (client.company_logo) {
Company Logo
Company logo
}

Machines ({{ client.machines_count }})

@if (client.machines && client.machines.length > 0) {
@for (machine of client.machines; track machine.machine_id) {
{{ machine.machine_id }}
{{ machine.machine_model }}
{{ machine.machine_type }}
devices
{{ machine.branch_name }}
{{ machine.operation_status }}
{{ machine.connection_status }}
}
} @else {
devices_other

No machines assigned yet

}

Assigned Refillers ({{ client.refillers_count }})

@if (client.refillers && client.refillers.length > 0) {
@for (refiller of client.refillers; track refiller.id) {
{{ refiller.username }}
{{ refiller.email }}
{{ refiller.contact }}
{{ refiller.user_id }}
person
@if (refiller.assigned_machines_count > 0) {
Assigned Machines ({{ refiller.assigned_machines_count }})
@for (machine of refiller.assigned_machines; track machine.machine_id) {
{{ machine.machine_id }} {{ machine.machine_model }}
}
} @else {
No machines assigned
}
}
} @else {
group

No refillers assigned yet

}