feat(M02): 자재 추가 머리 [신규 자재] · 개인 자재 고르기 · 저장 검사 · 금액 · 사본 단가 굳힘 · 층 복사(148-3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015sDZSjFvoiDjdGpgj3muc3
This commit is contained in:
@@ -569,9 +569,11 @@ def _server(kind: str, doc: Any, source: Path | None = None) -> Any:
|
||||
if kind in ("labor", *layers.LIBRARY_KINDS):
|
||||
from M02_MasterTemplete import M02_Labor_Doc as labor
|
||||
from M02_MasterTemplete import M02_Labor_Ref as refs
|
||||
from M02_MasterTemplete import M02_Material_Own as own
|
||||
|
||||
if source is not None and isinstance(doc, dict):
|
||||
doc = refs.carry(doc, refs.where(source))
|
||||
own.carry(doc, source) # 개인 자재(148-3) — 받는 개인 층 목록에 같은 키로
|
||||
if kind == "labor":
|
||||
return labor.server(doc)
|
||||
return refs.clean_doc(kind, doc)
|
||||
|
||||
Reference in New Issue
Block a user