Rol medico: pagina Mis ventas con KPIs y comision estimada, menu restringido y bloqueo de endpoints de dinero global

This commit is contained in:
2026-08-31 03:56:48 +00:00
parent 009f84ce4a
commit 57efc3d9d3
10 changed files with 366 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ import {
ChevronUp,
ChevronDown,
DollarSign,
CircleDollarSign,
} from 'lucide-react';
import { Button, Modal, Input } from './ui';
import QuickLinksDock, { QuickLinksModePicker } from './QuickLinksDock';
@@ -133,6 +134,7 @@ const menuTree: MenuEntry[] = [
{ label: 'Ventas del día', icon: ShoppingCart, href: '/ventas' },
{ label: 'Punto de Venta', icon: Store, href: '/pos' },
{ label: 'Clientes', icon: Users, href: '/pacientes' },
{ label: 'Mis ventas', icon: CircleDollarSign, href: '/mis-ventas' },
];
// Hojas planas (para accesos rápidos y dock)