From 02d8d64bb21219a5facfe89240ff23a4bf6a5e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 5 Feb 2026 15:55:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EB=B6=80=EA=B0=80=EC=84=B8=20=E2=86=92=20?= =?UTF-8?q?=EC=84=B8=EC=95=A1=20=EC=9A=A9=EC=96=B4=20=EC=A0=84=EC=B2=B4=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- resources/views/barobill/ecard/index.blade.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/views/barobill/ecard/index.blade.php b/resources/views/barobill/ecard/index.blade.php index 97c9a231..00beddc5 100644 --- a/resources/views/barobill/ecard/index.blade.php +++ b/resources/views/barobill/ecard/index.blade.php @@ -361,7 +361,7 @@ className={`px-3 py-1.5 text-xs cursor-pointer ${ }; })); } else { - // 새 분개: 원본의 공급가액/부가세로 1개 행 생성 + // 새 분개: 원본의 공급가액/세액로 1개 행 생성 const origSupply = log.effectiveSupplyAmount ?? ((log.approvalAmount || 0) - (log.tax || 0)); const origTax = log.effectiveTax ?? (log.tax || 0); setSplits([{ @@ -381,7 +381,7 @@ className={`px-3 py-1.5 text-xs cursor-pointer ${ if (!isOpen || !log) return null; const originalAmount = log.approvalAmount || 0; - // 합계금액 = sum(공급가액 + 부가세) + // 합계금액 = sum(공급가액 + 세액) const splitTotal = splits.reduce((sum, s) => sum + (parseFloat(s.supplyAmount) || 0) + (parseFloat(s.tax) || 0), 0); const isValid = Math.abs(originalAmount - splitTotal) < 0.01; @@ -472,7 +472,7 @@ className={`px-3 py-1.5 text-xs cursor-pointer ${ {formatCurrency(log.effectiveSupplyAmount ?? ((log.approvalAmount || 0) - (log.tax || 0)))}원
- 부가세 + 세액 {formatCurrency(log.effectiveTax ?? (log.tax || 0))}원
@@ -500,7 +500,7 @@ className="w-full px-3 py-2 border border-stone-200 rounded-lg text-sm text-righ />
- +
- {/* 부가세 */} + {/* 세액 */}
- +
- 합계 금액 (공급가액 + 부가세) + 합계 금액 (공급가액 + 세액) {new Intl.NumberFormat('ko-KR').format((parseFloat(form.approval_amount) || 0) + (parseFloat(form.tax) || 0))}원 @@ -1193,7 +1193,7 @@ className="flex items-center gap-2 px-4 py-2 bg-blue-100 text-blue-700 rounded-l 내역 합계금액 공급가액 - 부가세 + 세액 계정과목 관리 @@ -2041,7 +2041,7 @@ className="p-1 text-red-500 hover:bg-red-50 rounded transition-colors" color="red" /> }