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)))}원