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" /> }