style(cupang): 매출 조회 조건 1행 고정 + 주차 필터, 상단 합계 KPI 제거
- 조회 조건은 flex-wrap: nowrap 로 한 줄 유지(좁은 화면은 가로 스크롤) - 주차(week_label) 필터 추가 — 최근 주차부터 목록 - 공급가/원가/물류비/마진/순마진 합계 카드 삭제, 표 영역 높이 확대 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -590,6 +590,7 @@ def _sales_filters(request: Request) -> dict[str, str]:
|
||||
"center_name": (q.get("center") or "").strip(),
|
||||
"keyword": (q.get("q") or "").strip(),
|
||||
"po_type": (q.get("type") or "").strip(),
|
||||
"week_label": (q.get("week") or "").strip(),
|
||||
}
|
||||
|
||||
|
||||
@@ -641,6 +642,7 @@ async def sales_page(request: Request) -> HTMLResponse:
|
||||
"totals": totals,
|
||||
"filters": filters,
|
||||
"centers": store.sales_centers(),
|
||||
"weeks": store.sales_weeks(),
|
||||
"po_types": ["일반", "벤더플렉스"],
|
||||
"weekly": sorted(weekly.values(), key=lambda w: w.get("week_from") or ""),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user