관리자 님 로그아웃
#{{ form.id }} {{ form.quotation_code }}
{{ totalWithVat.toLocaleString() }}원
(ID: {{ form.customer_id }})
빠른 시작: {{ templateHint }}
수금 계획 저장 시 견적에 반영됩니다
공사 구분별 금액 (전기·소방·통신 등 여러 건일 때)
{{ ((div.vatMode||'add')==='included' ? (parseFloat(div.amount)||0) : (div.vatMode==='none' ? (parseFloat(div.amount)||0) : Math.round((parseFloat(div.amount)||0)*1.1))).toLocaleString() }}
합계 (VAT 처리 후) {{ (workDivisionsTotal + workDivisionsVat).toLocaleString() }}원
하나의 견적에 전기·소방·통신 등이 함께 있으면 구분별 금액을 입력하세요.
공급가액
{{ effectiveTotal.toLocaleString() }}원
부가세
총 견적액 (입력값이 VAT포함) 총 견적액 (VAT 없음) 총 견적액 (VAT포함)
{{ totalWithVat.toLocaleString() }}원
계약 총액 직접 입력 (비워두면 품목 합계 자동 적용) ▲ 품목 없음 모드
결제 조건
구분 예정액 예정일 수령액 상태
{{ paymentType==='일시납' ? '전액' : '계약금' }} {{ totalWithVat.toLocaleString() }} {{ paymentType==='일시납' ? paymentStatus.summary.total_received.toLocaleString() : (paymentStatus.summary.by_category.contract||0).toLocaleString() }} - {{ paymentStages.find(s=>s.key==='contract')?.statusLabel||'미수금' }}
중도금 {{ (paymentStatus.summary.by_category.progress||0).toLocaleString() }} - {{ paymentStages.find(s=>s.key==='progress')?.statusLabel||'미수금' }}
잔금 {{ (paymentStatus.summary.by_category.balance||0).toLocaleString() }} - {{ paymentStages.find(s=>s.key==='balance')?.statusLabel||'미수금' }}
합계 {{ planTotal.toLocaleString() }} {{ paymentStatus.summary.total_received.toLocaleString() }}
⚠ 예정 합계 {{ planTotal.toLocaleString() }}원 / 총 견적 {{ totalWithVat.toLocaleString() }}원 · 차액 {{ Math.abs(totalWithVat - planTotal).toLocaleString() }}원
견적 내역 총액 직접입력 품목 기반
📋
총액 직접입력 모드
공급가액 {{ effectiveTotal.toLocaleString() }}원 / VAT 포함 {{ totalWithVat.toLocaleString() }}원 기준으로 수금 계획이 계산됩니다. 품목을 추가하면 자동으로 품목 기반 모드로 전환됩니다.
No. 품목명 규격 단위 수량 원가 단가(원) 금액(원) 비고
{{ idx + 1 }}
{{ p.name }} {{ p.model_number ? p.model_number + ' · ' : '' }}{{ (+(p.selling_price||p.cost_price||0)).toLocaleString() }}원
+ 품목 추가 버튼을 눌러 견적 내역을 입력하세요.
공  급  가  액 (직접입력) {{ effectiveTotal.toLocaleString() }}
구분 내용 / 품목 금액(원)
원가 합계 {{ estimatedTotal > 0 ? estimatedTotal.toLocaleString() + '원' : '-' }}
공급가액
{{ effectiveTotal.toLocaleString() }}원
원가 합계
{{ estimatedTotal > 0 ? estimatedTotal.toLocaleString() + '원' : '-' }}
원가율
{{ estimatedCostRate !== null ? estimatedCostRate + '%' : '-' }}
예상 이익
{{ estimatedProfit !== null ? estimatedProfit.toLocaleString() + '원' : '-' }}
※ 견적 저장 시 함께 반영됩니다.
실제 지출 내역 (지출 관리 자동 연동)
구분 금액 날짜 메모
{{ it.category || '-' }} {{ Number(it.amount||0).toLocaleString() }}원 {{ String(it.expense_date||'').slice(0,10) || '-' }} {{ it.memo || '' }}
연동된 지출 내역이 없습니다. 지출 관리에서 견적/프로젝트에 지출을 등록하면 자동으로 집계됩니다.
공급가액
{{ effectiveTotal.toLocaleString() }}원
원가 합계
{{ estimatedTotal > 0 ? estimatedTotal.toLocaleString() + '원' : '-' }}
원가율
예상 이익
{{ estimatedProfit !== null ? estimatedProfit.toLocaleString() + '원' : '-' }}
실제 이익
{{ actualProfit.toLocaleString() }}원
{{ actualTotal > 0 ? '실적 기준 ' : '예상 기준 ' }}{{ profitStatus }}
불러오는 중...
고객을 선택하면 해당 고객의 이전 견적 내역이 표시됩니다.
⚠ {{ historyError }}
이전 견적 내역이 없습니다.
일자 공사/견적명 상태 금액
{{ h.date }} {{ h.title }} {{ h.status }} {{ formatWon(h.amount) }}
{{ appliedTemplateLog.template_name || appliedTemplateLog.template_code }}
적용 방식: {{ appliedTemplateLog.applied_mode || '-' }} · {{ appliedTemplateLog.created_at || '' }}
품목 {{ Array.isArray(appliedTemplateLog.snapshot.items) ? appliedTemplateLog.snapshot.items.length : 0 }}건 · 체크리스트 {{ Array.isArray(appliedTemplateLog.snapshot.checklists) ? appliedTemplateLog.snapshot.checklists.length : 0 }}건
고객 정보
{{ selectedCustomer.name || selectedCustomer.customer_name }}
📞 {{ selectedCustomer.phone || selectedCustomer.contact_phone || '연락처 없음' }}
📍 {{ selectedCustomer.address }}
📝 {{ selectedCustomer.notes }}
과거 견적 {{ historyStats.count }}건
총 거래액 {{ historyStats.total.toLocaleString() }}원
⚠ 미수 건 있음
고객을 선택하면 연락처·주소·메모가 표시됩니다.
수금 현황
불러오는 중...
총 견적
{{ (totalWithVat || paymentStatus.summary.total_received).toLocaleString() }}
수금액
{{ paymentStatus.summary.total_received.toLocaleString() }}
미수금
{{ Math.max(0, totalWithVat - paymentStatus.summary.total_received).toLocaleString() }}
📅 다음 수금 예정 · {{ nextPayStage.label }}
총 예정액 {{ nextPayStage.planned.toLocaleString() }}원
기 수령 {{ nextPayStage.received.toLocaleString() }}원
남은 잔액 {{ Math.max(0, nextPayStage.planned - nextPayStage.received).toLocaleString() }}원
예정일 {{ nextPayStage.plannedDate }}
마지막 입금일 {{ paymentStatus.summary.last_date }}
{{ stage.label }} {{ stage.statusLabel }}
예정액{{ stage.planned.toLocaleString() }}원
예정일{{ stage.plannedDate }}
수령액 {{ stage.received > 0 ? stage.received.toLocaleString() + '원' : '-' }}
수령일{{ stage.lastDate }}
입금 내역
{{ catLabel(inc.category) }} {{ Number(inc.amount).toLocaleString() }}원 {{ String(inc.income_date || '').slice(0,10) }} 👤 {{ inc.payer_name }}
입금 기록이 없습니다.
저장 후 수금 현황이 표시됩니다.
손익 요약 {{ profitStatus }}
수금 현황
총 수금액 {{ paymentStatus ? paymentStatus.summary.total_received.toLocaleString() + '원' : '-' }}
미수금 {{ paymentStatus ? Math.max(0,totalWithVat-paymentStatus.summary.total_received).toLocaleString()+'원' : '-' }}
손익 (공급가액 기준)
공급가액
{{ effectiveTotal.toLocaleString() }}
{{ actualTotal > 0 ? '실제원가' : '예상원가' }}
{{ (actualTotal > 0 ? actualTotal : estimatedTotal).toLocaleString() }}
{{ actualTotal > 0 ? '실제 이익' : '예상 이익' }}
{{ (actualProfit ?? estimatedProfit).toLocaleString() }}원
원가율 {{ (actualCostRate ?? estimatedCostRate) }}%
최근 견적 {{ historyList.filter(h=>!h.isCurrent).length }}건
{{ h.title }}
{{ h.date }} · {{ h.status }} · {{ formatWon(h.amount) }}
견적 합계
공급가액 {{ effectiveTotal.toLocaleString() }}원
부가세 (10%) {{ vat.toLocaleString() }}원
합계 (VAT 포함) {{ totalWithVat.toLocaleString() }}원
부가세 별도 계약 시 공급가액 기준으로 저장하세요.
⚠ {{ error }}
💰 입금 기록
고객 선택
불러오는 중...
⚠ {{ customerError }}
검색 결과가 없습니다.
{{ c.name || c.customer_name }} {{ c.phone || c.contact_phone || '연락처 없음' }}