diff --git a/app/Services/Quote/Handlers/KyungdongFormulaHandler.php b/app/Services/Quote/Handlers/KyungdongFormulaHandler.php index 151daa9..430d57d 100644 --- a/app/Services/Quote/Handlers/KyungdongFormulaHandler.php +++ b/app/Services/Quote/Handlers/KyungdongFormulaHandler.php @@ -229,12 +229,10 @@ private function getMotorCapacityByWeight(float $weight, ?string $bracketInch = */ public function calculateScreenPrice(float $width, float $height): array { - // 면적 계산: W1 × (H1 + 550) / 1,000,000 - // W1 = W0 + 160, H1 = H0 + 350 (레거시 5130 공식) - $W1 = $width + 160; - $H1 = $height + 350; - $calculateHeight = $H1 + 550; - $area = ($W1 * $calculateHeight) / 1000000; + // 면적 계산: W0 × (H0 + 550) / 1,000,000 + // 5130 공식: col10 × (col11 + 550) / 1,000,000 + $calculateHeight = $height + 550; + $area = ($width * $calculateHeight) / 1000000; // 원자재 단가 조회 (실리카/스크린) $unitPrice = $this->getRawMaterialPrice('실리카');