feat(project): manual monthly sales target with weekly diff
Week target popup now has its own "month total" input at the top; the monthly target is saved as entered instead of being the sum of weeks. Bottom shows week sum and diff (month target - week sum), colored for remaining / over / even. Requests without `month` (stale cached JS) still fall back to the week sum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2853,6 +2853,14 @@ input.pj-meet-amount::placeholder { color: rgba(0, 0, 0, .28); }
|
||||
.pj-goal-wkpop-row input[readonly] { background: #f7f8f9; }
|
||||
.pj-goal-wkpop-sum { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--pj-border); }
|
||||
.pj-goal-wkpop-sum b { font-variant-numeric: tabular-nums; }
|
||||
/* 월 전체 목표(직접 입력) — 주차 줄과 구분선 */
|
||||
.pj-goal-wkpop-month { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--pj-border); font-weight: 700; }
|
||||
/* 차이 = 월 목표 − 주차 합계 — 남음(+) 주황, 넘음(−) 빨강, 딱 맞음 초록 */
|
||||
.pj-goal-wkpop-diff { margin-top: 4px; padding-top: 0; border-top: 0; }
|
||||
.pj-goal-wkpop-diff small { font-size: 11px; color: var(--pj-ink-soft); }
|
||||
.pj-goal-wkpop-diff b.is-left { color: #c2410c; }
|
||||
.pj-goal-wkpop-diff b.is-over { color: #dc2626; }
|
||||
.pj-goal-wkpop-diff b.is-even { color: #16a34a; }
|
||||
.pj-goal-wkpop-acts { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
|
||||
|
||||
/* 나를 태그·작업 배정 알림 — 화면 가운데 아래 큰 팝업(body 에 붙음), 닫기 전까지 깜박인다(2026-10-07) */
|
||||
|
||||
Reference in New Issue
Block a user