str_ends_with($f, '.png'))); $qrCount = count($files); if ($qrCount > 0) { sort($files); $sampleFile = $files[0]; } } $topbarActions = ' download Exportar CSV
'; require_once __DIR__ . '/../includes/admin_header.php'; require_once __DIR__ . '/../config/database.php'; $db = getDB(); $totalUbicaciones = (int) $db->query('SELECT COUNT(*) FROM ubicaciones WHERE activo = 1')->fetchColumn(); $qrDataExists = file_exists(dirname(__DIR__) . '/qr_data.csv'); $logoExists = file_exists(dirname(__DIR__) . '/NEM.png'); $flash = getFlash(); ?>= h($sampleFile) ?>
qr_code_2Aún no hay QR generados.
Use el botón Generar QR.
Los QR mantienen el mismo estilo que los anteriores:
#132A7Cformulario.php?u=UB-XXXXX
También puede generar desde terminal:
python3 generate_qrs.py