feat(malaysia): 재고관리 메인 화면에도 자동 비교 엑셀 버튼 노출
가장 최근 확정 재고조사 기준 export-compare 링크를 재고 현황 카드 헤더에 추가. 재고조사 상세 페이지까지 안 들어가도 메인 탭에서 바로 다운로드 가능. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -169,6 +169,9 @@ async def index(request: Request) -> HTMLResponse:
|
||||
"rows": rows,
|
||||
"set_rows": set_stock["rows"],
|
||||
"set_stocktake_date": set_stock["stocktake_date"],
|
||||
"latest_stocktake_id": latest["id"] if latest else None,
|
||||
"latest_stocktake_date": last_date,
|
||||
"latest_stocktake_finalized": bool(latest and latest.get("status") == "finalized"),
|
||||
}
|
||||
)
|
||||
return render_template(request, "malaysia/index.html", ctx)
|
||||
|
||||
Reference in New Issue
Block a user