2026-06-29 PinPoint 작업일지입니다. 오늘은 2건의 작업을 진행했습니다.
`message-template`
현상/기능
- `#{estimateUrl}` 견적서 링크에서 `https://` 를 뺀 링크 변수 추가
작업
- 파일
- `src/app/message-template/components/` — `estimateUrlShort` 변수·고객발송 견적서 카테고리 등록
- `src/app/message-template/components/` — 미리보기 샘플값 추가
- `src/lib/` — `stripUrlScheme`, `enrichTemplateVariables` 유틸 (신규)
- `src/app/api/alimtalk/send-by-template-code/` — 발송 시 `estimateUrlShort` 자동 보완
- `src/lib/`, `src/lib/` — 견적서 발송 변수 목록 반영
`estimate-calc`
현상/기능
- `estimate-calc`에서 출력과 내부견적출력이 동일한 문서를 출력함. 출력은 일반 고객용 견적서여야 함
작업
- 파일
- `src/app/estimate-calc/components/`
- `EstimatePrintDialog`의 `mode="print"`가 내부견적(`InternalEstimateDocument`)을 표시하던 오류 수정
- 출력/발송·출력은 항상 고객용 PDF(`EstimatePDF`) 미리보기·인쇄
- 내부견적출력은 기존대로 `InternalEstimatePreviewDialog` 전용
- 완료 여부: 코드 수정 완료