This commit is contained in:
2026-01-23 23:45:16 +01:00
parent 0a784ef454
commit ed5d77bf6c
4 changed files with 23 additions and 10 deletions

6
tools/printers.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
function tools_fetch_active_printers(PDO $pdo): array
{
$stmt = $pdo->query("SELECT * FROM printers WHERE is_active = 1 ORDER BY name");
return $stmt->fetchAll();
}