added scorta to mescola
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user