added scorta to mescola

This commit is contained in:
2026-10-23 20:21:11 +02:00
parent fd3580a836
commit 98f4f004ed
3 changed files with 47 additions and 6 deletions
+5 -2
View File
@@ -204,12 +204,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['ajax']) && $_POST['aj
$newWorksheetId = (int)$pdo->lastInsertId();
// Duplica le mescole collegate
// Duplica le mescole collegate
$stmtMixes = $pdo->prepare("
SELECT
idmescola,
mix_position,
mix_weight_g_m,
support_weight_g_m,
required_density,
required_hardness_shore_a,
lubrication_type,
@@ -228,11 +229,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['ajax']) && $_POST['aj
idmescola,
mix_position,
mix_weight_g_m,
support_weight_g_m,
required_density,
required_hardness_shore_a,
lubrication_type,
lubrication_notes
) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
");
foreach ($mixRows as $mix) {
@@ -241,6 +243,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['ajax']) && $_POST['aj
$mix['idmescola'],
$mix['mix_position'],
$mix['mix_weight_g_m'],
$mix['support_weight_g_m'],
$mix['required_density'],
$mix['required_hardness_shore_a'],
$mix['lubrication_type'],