feat(ui): Cmd+K registration across all POS pages + fix quotations/whatsapp script tags

This commit is contained in:
2026-05-26 08:48:03 +00:00
parent eb107e2778
commit 03b32f3b17
10 changed files with 67 additions and 4 deletions

View File

@@ -714,6 +714,13 @@ const Reports = (() => {
init, setTheme, switchTab,
loadVentas, loadInventario, loadClientes, loadFinancieros, fmt
};
// Register Cmd+K items
if (typeof registerCmdKItem === "function") {
registerCmdKItem({ group: "Principal", label: "Reportes", href: "/pos/reports", icon: "📈" });
registerCmdKItem({ group: "Principal", label: "Dashboard", href: "/pos/dashboard", icon: "📊" });
registerCmdKItem({ group: "Principal", label: "POS Ventas", href: "/pos/sale", icon: "🛒" });
}
})();
// ── Global: Export visible table as CSV (Excel-compatible) ──