Add collapsed PY dept breakdown table below weekly/monthly tables
Stores full PY department breakdown from already-fetched pyActRes. A toggle button (collapsed by default) expands an inline table showing PY wages per dept, % of PY total, and % of PY net sales. Label adapts to PY WTD / PY MTD for current partial periods. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a857eb6177
commit
f9916cc3fd
3 changed files with 128 additions and 11 deletions
|
|
@ -314,6 +314,21 @@ input[type="text"]:focus {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ── PY collapse toggle ─────────────────────────────────────────── */
|
||||
.py-collapse-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
}
|
||||
.py-collapse-toggle:hover { color: var(--text-primary); }
|
||||
|
||||
/* ── Loading/error states ───────────────────────────────────────── */
|
||||
.state-center {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue