maintaince module
This commit is contained in:
@@ -104,7 +104,7 @@ $skills = $pdo->query("
|
||||
pt.registration_number
|
||||
FROM skills s
|
||||
LEFT JOIN production_lines pl ON s.production_line_id = pl.id
|
||||
LEFT JOIN production_tools pt ON s.tool_id = pt.id
|
||||
LEFT JOIN inv_equipment pt ON s.tool_id = pt.id
|
||||
ORDER BY s.ordinamento ASC, s.id
|
||||
")->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
@@ -113,9 +113,9 @@ $lines = $pdo->query("SELECT id, name FROM production_lines ORDER BY line_number
|
||||
|
||||
// Attrezzature per tendina
|
||||
$tools = $pdo->query("
|
||||
SELECT id, name, registration_number
|
||||
FROM production_tools
|
||||
WHERE is_active = 1
|
||||
SELECT id, name, registration_number
|
||||
FROM inv_equipment
|
||||
WHERE status = 'active'
|
||||
ORDER BY name
|
||||
")->fetchAll(PDO::FETCH_ASSOC);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user