fix(WEB): 철재 면적 공식 레거시 일치 (W1×H1)
- FormulaEvaluatorService: steel 면적 W1×(H1+550) → W1×H1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user