Fix IA (max_tokens del modelo de razonamiento + fallback al gateway), sidebar con toggle arriba, busqueda de un solo campo (paciente/global), editar expediente, marketing en visitas, responsive de agenda; doc de diagnostico WhatsApp
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
} from '../components/ui';
|
||||
import { odooApi, type Visita, type VisitaAdjunto, type Doctor, type InventoryItem } from '../services/odoo';
|
||||
import type { BadgeVariant } from '../components/ui/Badge';
|
||||
import { todayLocal } from '../lib/utils';
|
||||
|
||||
const visitaStateLabels: Record<string, string> = {
|
||||
en_curso: 'En curso',
|
||||
@@ -44,7 +45,7 @@ const adjuntoKindLabels: Record<string, string> = {
|
||||
|
||||
const MAX_ADJUNTO_BYTES = 10 * 1024 * 1024;
|
||||
|
||||
const hoy = () => new Date().toISOString().split('T')[0];
|
||||
const hoy = () => todayLocal();
|
||||
|
||||
const Visitas: FC = () => {
|
||||
const [visitas, setVisitas] = useState<Visita[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user