Files
sam-hotfix/research/flow-chart/templates/sam_estimate_template.json
김보곤 d86b5851d0 chore: 프로젝트 설정 및 문서 파일 추가
- .agent/, .claude/, .vscode/ 설정 파일
- design/ 디자인 리소스
- reports/, research/ 분석 문서
- testcase/ 테스트 케이스 문서
- db_sync_chandj.bat, sam.code-workspace

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 19:51:43 +09:00

690 lines
15 KiB
JSON

{
"metadata": {
"source": "SAM_견적관리.pdf",
"pages": 5,
"extractedAt": "2026-01-03",
"title": "SAM ERP 견적서",
"type": "estimate"
},
"slides": [
{
"slideNumber": 1,
"type": "cover",
"name": "표지",
"layout": {
"width": 10,
"height": 7.5
},
"elements": [
{
"type": "background",
"id": "coverBackground",
"style": {
"color": "{{colors.primary}}"
}
},
{
"type": "shape",
"id": "logoArea",
"shapeType": "rect",
"position": {
"x": 1,
"y": 1,
"w": 2,
"h": 1
},
"style": {
"fill": {
"color": "{{colors.white}}"
},
"line": {
"color": "{{colors.border}}",
"width": 1
}
}
},
{
"type": "text",
"id": "logoText",
"position": {
"x": 1,
"y": 1,
"w": 2,
"h": 0.5
},
"content": "SAM",
"style": {
"fontSize": 24,
"bold": true,
"color": "{{colors.primary}}",
"align": "center"
}
},
{
"type": "text",
"id": "logoSubtext",
"position": {
"x": 1,
"y": 1.5,
"w": 2,
"h": 0.5
},
"content": "Smart Automation Management",
"style": {
"fontSize": 10,
"color": "{{colors.secondary}}",
"align": "center"
}
},
{
"type": "text",
"id": "mainTitle",
"position": {
"x": 2,
"y": 3,
"w": 6,
"h": 1.5
},
"content": "{{title}}",
"placeholder": "{{title}}",
"style": {
"fontSize": 48,
"bold": true,
"color": "{{colors.white}}",
"align": "center"
}
},
{
"type": "text",
"id": "subtitle",
"position": {
"x": 2,
"y": 4.8,
"w": 6,
"h": 0.8
},
"content": "SAM ERP 견적관리 시스템",
"style": {
"fontSize": 24,
"color": "{{colors.white}}",
"align": "center"
}
},
{
"type": "text",
"id": "dateAndCompany",
"position": {
"x": 7.5,
"y": 7,
"w": 2.5,
"h": 1.5
},
"content": "{{date}}\\n\\n{{company}}",
"placeholder": "{{date}}\\n\\n{{company}}",
"style": {
"fontSize": 12,
"color": "{{colors.white}}",
"align": "right"
}
}
]
},
{
"slideNumber": 2,
"type": "main_screen",
"name": "견적관리 메인",
"layout": {
"width": 10,
"height": 7.5
},
"elements": [
{
"type": "text",
"id": "pageTitle",
"position": {
"x": 0.5,
"y": 0.3,
"w": 6,
"h": 0.6
},
"content": "견적관리",
"style": {
"fontSize": 24,
"bold": true,
"color": "{{colors.secondary}}"
}
},
{
"type": "text",
"id": "pageDescription",
"position": {
"x": 0.5,
"y": 0.9,
"w": 6,
"h": 0.4
},
"content": "견적을 관리합니다",
"style": {
"fontSize": 14,
"color": "{{colors.secondary}}"
}
},
{
"type": "shape",
"id": "filterArea",
"shapeType": "rect",
"position": {
"x": 0.5,
"y": 1.5,
"w": 9,
"h": 1
},
"style": {
"fill": {
"color": "{{colors.headerBg}}"
},
"line": {
"color": "{{colors.border}}",
"width": 1
}
}
},
{
"type": "dynamicStats",
"id": "statsBoxes",
"position": {
"x": 2,
"y": 2.8,
"w": 6,
"h": 1.2
},
"dataSource": "stats",
"template": {
"type": "statBox",
"width": 1.8,
"spacing": 0.1
}
},
{
"type": "table",
"id": "estimateList",
"position": {
"x": 0.5,
"y": 4.5,
"w": 9,
"h": 2.5
},
"dataSource": "estimates",
"headers": [
"견적번호",
"거래처",
"현장명",
"견적자",
"총 개소",
"견적금액",
"견적완료일",
"입찰일",
"상태",
"작업"
],
"style": {
"border": {
"pt": 1,
"color": "{{colors.border}}"
},
"fontSize": 10,
"headerBg": "{{colors.headerBg}}"
}
}
]
},
{
"slideNumber": 3,
"type": "detail_screen",
"name": "견적 상세",
"layout": {
"width": 10,
"height": 7.5
},
"elements": [
{
"type": "text",
"id": "pageTitle",
"position": {
"x": 0.5,
"y": 0.3,
"w": 6,
"h": 0.6
},
"content": "견적 상세",
"style": {
"fontSize": 24,
"bold": true,
"color": "{{colors.secondary}}"
}
},
{
"type": "buttonGroup",
"id": "actionButtons",
"position": {
"x": 4,
"y": 0.3,
"w": 4.5,
"h": 0.6
},
"buttons": [
{
"text": "견적서 보기",
"action": "viewEstimate"
},
{
"text": "전자결재",
"action": "approval"
},
{
"text": "수정",
"action": "edit"
}
]
},
{
"type": "infoSection",
"id": "estimateInfo",
"position": {
"x": 0.5,
"y": 1.2,
"w": 9,
"h": 1.8
},
"title": "견적 정보",
"fields": [
{
"label": "견적번호",
"field": "estimateNumber"
},
{
"label": "견적자",
"field": "estimator"
},
{
"label": "견적금액",
"field": "totalAmount",
"format": "currency"
},
{
"label": "상태",
"field": "status"
}
]
},
{
"type": "infoSection",
"id": "siteInfo",
"position": {
"x": 0.5,
"y": 3.2,
"w": 9,
"h": 1.8
},
"title": "현장설명회 정보",
"fields": [
{
"label": "현설번호",
"field": "siteNumber"
},
{
"label": "거래처명",
"field": "clientName"
},
{
"label": "현장설명회 일자",
"field": "siteDate"
},
{
"label": "참석자",
"field": "attendee"
}
]
},
{
"type": "infoSection",
"id": "bidInfo",
"position": {
"x": 0.5,
"y": 5.2,
"w": 9,
"h": 1.5
},
"title": "입찰 정보",
"fields": [
{
"label": "현장명",
"field": "siteName"
},
{
"label": "입찰일자",
"field": "bidDate"
},
{
"label": "개소",
"field": "quantity"
},
{
"label": "공사기간",
"field": "constructionPeriod"
}
]
}
]
},
{
"slideNumber": 4,
"type": "estimate_document",
"name": "견적서 문서 (요약)",
"layout": {
"width": 10,
"height": 7.5
},
"elements": [
{
"type": "text",
"id": "documentTitle",
"position": {
"x": 3,
"y": 0.5,
"w": 4,
"h": 0.8
},
"content": "견적서",
"style": {
"fontSize": 32,
"bold": true,
"color": "{{colors.secondary}}",
"align": "center"
}
},
{
"type": "text",
"id": "documentInfo",
"position": {
"x": 3,
"y": 1.3,
"w": 4,
"h": 0.4
},
"content": "문서번호: {{documentNumber}} | 작성일자: {{date}}",
"placeholder": "문서번호: {{documentNumber}} | 작성일자: {{date}}",
"style": {
"fontSize": 12,
"color": "{{colors.secondary}}",
"align": "center"
}
},
{
"type": "table",
"id": "companyInfoTable",
"position": {
"x": 1,
"y": 2,
"w": 8,
"h": 2
},
"dataSource": "companyInfo",
"template": "companyInfoLayout"
},
{
"type": "text",
"id": "estimateIntro",
"position": {
"x": 8,
"y": 3.7,
"w": 2,
"h": 0.4
},
"content": "하기와 같이 見積합니다.",
"style": {
"fontSize": 12,
"color": "{{colors.secondary}}",
"align": "center"
}
},
{
"type": "table",
"id": "summaryTable",
"position": {
"x": 1,
"y": 4.5,
"w": 8,
"h": 1.5
},
"dataSource": "summary",
"headers": [
"명칭",
"수량",
"단위",
"재료비",
"노무비",
"합계",
"비고"
],
"template": "summaryLayout"
},
{
"type": "text",
"id": "specialNotes",
"position": {
"x": 1,
"y": 6.2,
"w": 8,
"h": 0.4
},
"content": "* 특기사항: {{notes}}",
"placeholder": "* 특기사항: {{notes}}",
"style": {
"fontSize": 11,
"color": "{{colors.secondary}}"
}
}
]
},
{
"slideNumber": 5,
"type": "estimate_detail",
"name": "견적서 문서 (상세)",
"layout": {
"width": 10,
"height": 7.5
},
"elements": [
{
"type": "text",
"id": "detailTitle",
"position": {
"x": 3,
"y": 0.5,
"w": 4,
"h": 0.6
},
"content": "견적 상세 내역",
"style": {
"fontSize": 20,
"bold": true,
"color": "{{colors.secondary}}",
"align": "center"
}
},
{
"type": "table",
"id": "detailTable",
"position": {
"x": 0.2,
"y": 1.5,
"w": 9.6,
"h": 4
},
"dataSource": "items",
"headers": [
"NO",
"명칭",
"제품",
"규격(mm)",
"",
"수량",
"단위",
"재료비",
"",
"노무비",
"",
"합계",
"",
"비고"
],
"subHeaders": [
"",
"",
"",
"가로(W)",
"높이(H)",
"",
"",
"단가",
"금액",
"단가",
"금액",
"단가",
"금액",
""
],
"template": "detailItemLayout",
"style": {
"border": {
"pt": 1,
"color": "{{colors.border}}"
},
"fontSize": 8,
"headerBg": "{{colors.headerBg}}"
}
}
]
}
],
"styles": {
"colors": {
"primary": "0066CC",
"secondary": "333333",
"headerBg": "F0F8FF",
"border": "CCCCCC",
"white": "FFFFFF",
"black": "000000",
"red": "CC0000",
"green": "008000"
},
"fonts": {
"title": {
"face": "Arial",
"size": 32,
"bold": true
},
"heading": {
"face": "Arial",
"size": 24,
"bold": true
},
"subheading": {
"face": "Arial",
"size": 18,
"bold": true
},
"body": {
"face": "Arial",
"size": 12
},
"small": {
"face": "Arial",
"size": 10
}
}
},
"variables": {
"company": {
"type": "string",
"default": "(주) 주일기업"
},
"documentNumber": {
"type": "string",
"default": "ABC123"
},
"date": {
"type": "date",
"default": "2025-01-03"
},
"clientName": {
"type": "string",
"default": "회사명"
},
"siteName": {
"type": "string",
"default": "현장명"
},
"clientAddress": {
"type": "string",
"default": "주소명"
},
"clientContact": {
"type": "string",
"default": "연락처"
},
"clientPhone": {
"type": "string",
"default": "010-1234-5678"
},
"estimateNumber": {
"type": "string",
"default": "123123"
},
"estimator": {
"type": "string",
"default": "이름"
},
"totalAmount": {
"type": "number",
"default": 93950000
},
"bidDate": {
"type": "date",
"default": "2025-12-12"
},
"items": {
"type": "array",
"default": [
{
"no": 1,
"name": "FSSB01(주차장)",
"product": "제품명",
"width": 2530,
"height": 2550,
"quantity": 1,
"unit": "SET",
"materialCost": 1420000,
"laborCost": 510000,
"totalCost": 1930000
}
]
},
"summary": {
"type": "object",
"default": {
"description": "셔터설치공사",
"quantity": 1,
"unit": "식",
"materialTotal": 78540000,
"laborTotal": 15410000,
"grandTotal": 93950000
}
},
"notes": {
"type": "string",
"default": "부가세 별도 / 현설조건에 따름"
}
}
}