added functionality to archive clients
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-06-12 20:55:12 +02:00
parent 59ea2cd667
commit 5dff24a232
15 changed files with 436 additions and 48 deletions

View File

@ -2431,6 +2431,107 @@ body.modal-open {
border-top: none;
padding-top: 0;
}
.clients-list-filters {
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.clients-archive-filter {
flex: 0 0 auto;
min-width: 120px;
}
.client-actions-cell {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
.table-row-actions {
display: inline-flex;
align-items: stretch;
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
background: var(--surface-muted);
}
.table-row-actions .btn {
border: none;
border-radius: 0;
box-shadow: none;
margin: 0;
min-height: 30px;
}
.table-row-actions .btn:hover {
box-shadow: none;
}
.table-row-actions .btn + .btn {
border-left: 1px solid var(--border);
}
.table-row-actions .archive-client-btn,
.table-row-actions .restore-client-btn {
background: var(--surface);
color: var(--text-secondary);
}
.table-row-actions .archive-client-btn:hover,
.table-row-actions .restore-client-btn:hover {
background: var(--surface-hover);
color: var(--text);
}
.table-row-actions .delete-client-btn {
padding-left: 12px;
padding-right: 12px;
}
.followup-note-cell {
min-width: 200px;
}
.followup-note-cell .followup-note-input {
width: 100%;
margin-bottom: 8px;
}
.followup-note-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
justify-content: space-between;
}
.followup-actions-cell {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
.client-row-archived td {
color: var(--text-secondary);
}
.client-archived-badge {
display: inline-block;
margin-left: 6px;
padding: 1px 7px;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--text-secondary);
background: var(--surface-raised);
border: 1px solid var(--border);
vertical-align: middle;
}
.client-detail-panel {
padding: 12px 8px 8px 32px;
background: var(--surface-muted);