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

@@ -799,4 +799,12 @@ const Customers = (() => {
// Expose globally for inline HTML onclick handlers
window.Customers = publicApi;
return publicApi;
// Register Cmd+K items
if (typeof registerCmdKItem === "function") {
registerCmdKItem({ group: "Principal", label: "POS Ventas", href: "/pos/sale", icon: "🛒" });
registerCmdKItem({ group: "Principal", label: "Catálogo", href: "/pos/catalog", icon: "📁" });
registerCmdKItem({ group: "Principal", label: "Clientes", href: "/pos/customers", icon: "👤" });
registerCmdKItem({ group: "Principal", label: "Dashboard", href: "/pos/dashboard", icon: "📊" });
}
})();