getConnection(); // Filtro opzionale per template. $templateFilter = isset($_GET['template_id']) ? intval($_GET['template_id']) : 0; $templates = $pdo->query("SELECT id, name FROM excel_templates ORDER BY name")->fetchAll(PDO::FETCH_ASSOC); $where = ''; $params = []; if ($templateFilter > 0) { $where = 'WHERE b.template_id = ?'; $params[] = $templateFilter; } $sql = "SELECT b.id, b.template_id, b.mapping_id, b.field_id, b.json_value, b.lims_value_id, b.lims_value, b.updated_at, t.name AS template_name, m.field_label FROM json_lims_binding b LEFT JOIN excel_templates t ON t.id = b.template_id LEFT JOIN template_mapping m ON m.id = b.mapping_id $where ORDER BY t.name, m.field_label, b.json_value"; $stmt = $pdo->prepare($sql); $stmt->execute($params); $bindings = $stmt->fetchAll(PDO::FETCH_ASSOC); ?> Gestione Binding JSON -> LIMS - <?= htmlspecialchars($titlewebsite ?? '', ENT_QUOTES, 'UTF-8'); ?>
Gestione Binding JSON -> LIMS
Le modifiche ai binding si applicano alle importazioni future. I record gia' importati non vengono ricalcolati.
Template Campo (template_mapping) Valore JSON Valore LIMS Azioni
Nessun binding presente.