From 5cc43828d36de157b27d8defec4dd7725aa26887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Sat, 21 Feb 2026 02:03:35 +0900 Subject: [PATCH] =?UTF-8?q?fix(WEB):=20=EC=B2=A0=EC=9E=AC=20=EB=A9=B4?= =?UTF-8?q?=EC=A0=81=20=EA=B3=B5=EC=8B=9D=20=EB=A0=88=EA=B1=B0=EC=8B=9C=20?= =?UTF-8?q?=EC=9D=BC=EC=B9=98=20(W1=C3=97H1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - FormulaEvaluatorService: steel 면적 W1×(H1+550) → W1×H1 Co-Authored-By: Claude Opus 4.6 --- app/Services/Quote/FormulaEvaluatorService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Services/Quote/FormulaEvaluatorService.php b/app/Services/Quote/FormulaEvaluatorService.php index 8cf6974..3720f3a 100644 --- a/app/Services/Quote/FormulaEvaluatorService.php +++ b/app/Services/Quote/FormulaEvaluatorService.php @@ -1662,11 +1662,11 @@ private function calculateTenantBom( $weightFormula = 'AREA × 25'; $weightCalc = "{$area} × 25"; } elseif ($productType === 'steel') { - // 철재: W1 × (H1 + 550) / 1M, 중량 = 면적 × 25 - $area = ($W1 * ($H1 + 550)) / 1000000; + // 철재: W1 × H1 / 1M, 중량 = 면적 × 25 (레거시 Slat_updateCol12and13 동일) + $area = ($W1 * $H1) / 1000000; $weight = $area * 25; - $areaFormula = '(W1 × (H1 + 550)) / 1,000,000'; - $areaCalc = "({$W1} × ({$H1} + 550)) / 1,000,000"; + $areaFormula = '(W1 × H1) / 1,000,000'; + $areaCalc = "({$W1} × {$H1}) / 1,000,000"; $weightFormula = 'AREA × 25'; $weightCalc = "{$area} × 25"; } else {