Starting DB Diagnostic... Pagos_Ingresos Columns: id_ingresos, orden_id, caja_diaria_id, monto, metodo_pago, referencia_pago, SysStartTime, SysEndTime Ventas_Ordenes Columns: id_ordenes, sucursal_id, usuario_id, cocinero_id, cliente_id, cliente_nombre, monto_total, estado, es_fallida, motivo_anulacion, creado_at, fecha_preparacion_inicio, fecha_termino_cocina, fecha_entrega_mesa, fecha_servido, es_kpi_valido, recurso_id, observaciones Pagos_Cajas_Diarias Columns: id_cajaDi, sucursal_id, usuario_id, estado Ventas_Ordenes Revenue (Feb): 0.0 Pagos_Ingresos Revenue (Last 30d): 0 Ventas_Detalle_Orden Revenue (Feb): 370.0 Ventas_Detalle_Orden Revenue (Last 30d): 4414.0 Sample Pagos_Ingresos Row: {"id_ingresos":"A1B93672-1451-41D8-89E3-01B7CB2D5D54","orden_id":"B05A8E3A-A6B8-4C17-ABBE-80B30E38D031","caja_diaria_id":null,"monto":"171.00","metodo_pago":"EFECTIVO","referencia_pago":null,"SysStartTime":"2026-01-28 20:21:55.9961906","SysEndTime":"9999-12-31 23:59:59.9999999"} Order States Count: [{"estado":"CERRADA","count":"3"},{"estado":"Cerrado","count":"29"},{"estado":"LISTO","count":"4"}]