INSERT INTO `ventas` (`id`, `codvendedor`, `situacioncocina`, `idfactura`, `consecutivo`, `INCREMENTO`, `codarticulo`, `codsituacion`, `porcentajedescuento`, `referenciafront`, `impuesto`, `idarticulo`, `descripcion`, `esmodificador`, `nombrearticulo`, `cantidad`, `comentario`, `observaciones`, `valorunitario`, `idmesa`, `bruto`, `baseunitario`, `ivaunitario`, `descuento`, `valortotal`, `cc`, `documento`, `origen`, `fecha`, `fechacreacion`, `HORAINI`, `HORAFIN`, `ultimaedicion`, `idcliente`, `idusuario`, `idz`, `abonado`, `idfacturaqueabona`, `costomedio`, `porcentajeiva`, `base`, `iva`, `esbolsillo`, `idvendedor`, `escortesia`, `idcaja`, `idnc`, `nc`, `idusuarionc`, `mediodepago`, `comision`, `devolucionrevisada`, `fechaabonado`, `fechamc`, `tienenc`, `marcadoparanc`, `servicio`, `subido`, `CODMODIF`, `esmodif`, `CODARTICULOABAJO`, `PRECIOIVA`, `NUMMODIF`, `numservicio`, `aliasespera`, `impresiones`, `IDMOTIVODTO`, `DETALLEDENUMLINEA`, `FAMILIAAENA`, `DETALLEMODIF`, `ABONODE_NUMERO`, `ABONODE_N`, `ABONODE_SERIE`, `ABONODE_FO`, `NORDERTIQUET`, `SORDERTIQUET`, `REQ`, `COSTEIVA`, `DTO`, `TIPO`, `CODMACRO`, `CODFORMATO`, `NUMLINEA`, `codigociudad`, `email`, `codigopostal`, `codigodepartamento`, `departamento`, `ciudad`, `cufe`, `unidaddemedida`, `esnota`, `unidadesdemedida`, `impreso`, `domicilio`, `domicilioexterno`, `pv`, `situacioncocina2`, `integraconfamilia`, `codmodifpapa`, `TIPOIVA`, `sesubearappi`, `refventas`, `placa`, `iddomiciliario`, `seccionventas`, `horaaceptado`, `comandaaceptada`, `horaacancelada`, `comandacancelada`, `motivocancela`, `paqueterecibido`, `hora_paqueterecibido`, `porcentajecomision`, `articulovence`, `deberecoger`, `imei`, `factor`, `zonaventas`, `puntosrevisados`, `idusuarioredime`, `usuarioredime`, `fecharedime`, `costomenu`, `comensales`, `impultraprocesados`, `impazucaradas`, `idmayornomina`, `tipodescuento`, `porcentajesobrecargoeventos`, `sobrecargoeventos`, `sgroupname`, `campovalor`, `ultimocoste`, `sesiones`) VALUES
(8032, 0, 'CAJA', 2266, 9271, 0, 0, 0, 0, NULL, 0, 70, 'bocadillo', 0, NULL, 1, NULL, NULL, 0.5, 5, 0.5, 0, 0, 0, 0.5, 2, 'V', 'MESAS', '2025-11-21 13:23:30', '2025-11-21 18:12:04', '2025-11-21 13:23:30', NULL, '2025-11-21 12:12:04', 4, 3, 49, 0, 0, 0, 0, 0.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'bocadillo', NULL, NULL, 'mecato', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8033, 0, 'CAJA', 2266, 9271, 0, 0, 0, 0, NULL, 0, 70, 'bocadillo', 0, NULL, 1, NULL, NULL, 0.5, 5, 0.5, 0, 0, 0, 0.5, 2, 'V', 'MESAS', '2025-11-21 13:23:30', '2025-11-21 18:12:04', '2025-11-21 13:23:30', NULL, '2025-11-21 12:12:04', 4, 3, 49, 0, 0, 0, 0, 0.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'bocadillo', NULL, NULL, 'mecato', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8034, 0, 'CAJA', 2266, 9271, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 5, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-21 13:23:37', '2025-11-21 18:12:04', '2025-11-21 13:23:37', NULL, '2025-11-21 12:12:04', 4, 3, 49, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8035, 0, 'CAJA', 2266, 9271, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 5, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-21 13:23:37', '2025-11-21 18:12:04', '2025-11-21 13:23:37', NULL, '2025-11-21 12:12:04', 4, 3, 49, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8037, 0, 'CAJA', 2267, 9272, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 4, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-21 11:15:35', '2025-11-21 18:12:13', '2025-11-21 11:15:35', NULL, '2025-11-21 12:12:13', 4, 3, 49, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8038, 0, 'CAJA', 2268, 9273, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 5, NULL, NULL, 1.2, 11, 6, 0, 0, 0, 6, 2, 'V', 'MESAS', '2025-11-21 13:41:34', '2025-11-21 18:12:20', '2025-11-21 13:41:34', NULL, '2025-11-21 12:12:20', 4, 3, 49, 0, 0, 0, 0, 6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Barra 1', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8039, 0, 'CAJA', 2268, 9273, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 11, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-21 13:41:42', '2025-11-21 18:12:20', '2025-11-21 13:41:42', NULL, '2025-11-21 12:12:20', 4, 3, 49, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Barra 1', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8040, 0, 'CAJA', 2268, 9273, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 11, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-21 13:41:45', '2025-11-21 18:12:20', '2025-11-21 13:41:45', NULL, '2025-11-21 12:12:20', 4, 3, 49, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Barra 1', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8041, 0, 'CAJA', 2269, 9274, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 3, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-21 18:38:14', '2025-11-21 18:40:51', '2025-11-21 18:38:14', NULL, '2025-11-21 12:40:51', 4, 3, 49, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8042, 0, 'CAJA', 2269, 9274, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 7, NULL, NULL, 2.2, 3, 15.400000000000002, 0, 0, 0, 15.400000000000002, 2, 'V', 'MESAS', '2025-11-21 18:38:26', '2025-11-21 18:40:51', '2025-11-21 18:38:26', NULL, '2025-11-21 12:40:51', 4, 3, 49, 0, 0, 0, 0, 15.400000000000002, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8043, 0, 'CAJA', 2269, 9274, 0, 0, 0, 0, NULL, 0, 158, 'CUBATA', 0, NULL, 2, NULL, NULL, 6, 3, 12, 0, 0, 0, 12, 2, 'V', 'MESAS', '2025-11-21 18:38:48', '2025-11-21 18:40:51', '2025-11-21 18:38:48', NULL, '2025-11-21 12:40:51', 4, 3, 49, 0, 0, 0, 0, 12, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'CUBATA', NULL, NULL, 'licor', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8044, 0, 'CAJA', 2269, 9274, 0, 0, 0, 0, NULL, 0, 72, 'festival', 0, NULL, 1, NULL, NULL, 0.7, 3, 0.7, 0, 0, 0, 0.7, 2, 'V', 'MESAS', '2025-11-21 18:38:57', '2025-11-21 18:40:51', '2025-11-21 18:38:57', NULL, '2025-11-21 12:40:51', 4, 3, 49, 0, 0, 0, 0, 0.7, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'festival', NULL, NULL, 'mecato', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8045, 0, 'CAJA', 2269, 9274, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 2, NULL, NULL, 1.5, 3, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-21 18:39:05', '2025-11-21 18:40:51', '2025-11-21 18:39:05', NULL, '2025-11-21 12:40:51', 4, 3, 49, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8048, 0, 'CAJA', 2270, 9275, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 4, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-21 18:39:47', '2025-11-22 09:18:22', '2025-11-21 18:39:47', NULL, '2025-11-22 03:18:22', 4, 3, 49, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8049, 0, 'CAJA', 2270, 9275, 0, 0, 0, 0, NULL, 0, 7, 'cortado', 0, NULL, 1, NULL, NULL, 1.4, 4, 1.4, 0, 0, 0, 1.4, 2, 'V', 'MESAS', '2025-11-21 18:39:54', '2025-11-22 09:18:22', '2025-11-21 18:39:54', NULL, '2025-11-22 03:18:22', 4, 3, 49, 0, 0, 0, 0, 1.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cortado', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8050, 0, 'CAJA', 2270, 9275, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 4, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-21 18:39:56', '2025-11-22 09:18:22', '2025-11-21 18:39:56', NULL, '2025-11-22 03:18:22', 4, 3, 49, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8051, 0, 'CAJA', 2270, 9275, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 1, NULL, NULL, 0.9, 4, 0.9, 0, 0, 0, 0.9, 2, 'V', 'MESAS', '2025-11-21 18:40:01', '2025-11-22 09:18:22', '2025-11-21 18:40:01', NULL, '2025-11-22 03:18:22', 4, 3, 49, 0, 0, 0, 0, 0.9, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8052, 0, 'CAJA', 2270, 9275, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 1, NULL, NULL, 0.9, 4, 0.9, 0, 0, 0, 0.9, 2, 'V', 'MESAS', '2025-11-21 18:40:32', '2025-11-22 09:18:22', '2025-11-21 18:40:32', NULL, '2025-11-22 03:18:22', 4, 3, 49, 0, 0, 0, 0, 0.9, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8055, 0, 'CAJA', 2271, 9276, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 6, NULL, NULL, 2.2, 9, 13.200000000000001, 0, 0, 0, 13.200000000000001, 2, 'V', 'MESAS', '2025-11-21 18:04:33', '2025-11-22 09:18:28', '2025-11-21 18:04:33', NULL, '2025-11-22 03:18:28', 4, 3, 49, 0, 0, 0, 0, 13.200000000000001, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8056, 0, 'CAJA', 2271, 9276, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 4, NULL, NULL, 2.5, 9, 10, 0, 0, 0, 10, 2, 'V', 'MESAS', '2025-11-21 18:04:42', '2025-11-22 09:18:28', '2025-11-21 18:04:42', NULL, '2025-11-22 03:18:28', 4, 3, 49, 0, 0, 0, 0, 10, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8058, 0, 'CAJA', 2272, 9277, 0, 0, 0, 0, NULL, 0, 135, 'baguette', 0, NULL, 1, NULL, NULL, 0.6, 3, 0.6, 0, 0, 0, 0.6, 2, 'V', 'MESAS', '2025-11-22 09:33:42', '2025-11-22 09:33:49', '2025-11-22 09:33:42', NULL, '2025-11-22 03:33:49', 4, 3, 50, 0, 0, 0, 0, 0.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'baguette', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8059, 0, 'CAJA', 2272, 9277, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 3, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 09:33:46', '2025-11-22 09:33:49', '2025-11-22 09:33:46', NULL, '2025-11-22 03:33:49', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8061, 0, 'CAJA', 2273, 9278, 0, 0, 0, 0, NULL, 0, 7, 'cortado', 0, NULL, 1, NULL, NULL, 1.4, 3, 1.4, 0, 0, 0, 1.4, 2, 'V', 'MESAS', '2025-11-22 09:34:13', '2025-11-22 09:37:50', '2025-11-22 09:34:13', NULL, '2025-11-22 03:37:50', 4, 3, 50, 0, 0, 0, 0, 1.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cortado', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8062, 0, 'CAJA', 2273, 9278, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 3, NULL, NULL, 0.9, 3, 2.7, 0, 0, 0, 2.7, 2, 'V', 'MESAS', '2025-11-22 09:34:28', '2025-11-22 09:37:50', '2025-11-22 09:34:28', NULL, '2025-11-22 03:37:50', 4, 3, 50, 0, 0, 0, 0, 2.7, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8064, 0, 'CAJA', 2274, 9279, 0, 0, 0, 0, NULL, 0, 31, 'papa rellena', 0, NULL, 1, NULL, NULL, 3.5, 5, 3.5, 0, 0, 0, 3.5, 2, 'V', 'MESAS', '2025-11-22 09:37:58', '2025-11-22 09:38:31', '2025-11-22 09:37:58', NULL, '2025-11-22 03:38:31', 4, 3, 50, 0, 0, 0, 0, 3.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'papa rellena', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8065, 0, 'CAJA', 2274, 9279, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 5, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 09:38:01', '2025-11-22 09:38:31', '2025-11-22 09:38:01', NULL, '2025-11-22 03:38:31', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8066, 0, 'CAJA', 2274, 9279, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 1, NULL, NULL, 2.5, 5, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 09:38:06', '2025-11-22 09:38:31', '2025-11-22 09:38:06', NULL, '2025-11-22 03:38:31', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8067, 0, 'CAJA', 2274, 9279, 0, 0, 0, 0, NULL, 0, 58, 'postobon', 0, NULL, 1, NULL, NULL, 2.7, 5, 2.7, 0, 0, 0, 2.7, 2, 'V', 'MESAS', '2025-11-22 09:38:16', '2025-11-22 09:38:31', '2025-11-22 09:38:16', NULL, '2025-11-22 03:38:31', 4, 3, 50, 0, 0, 0, 0, 2.7, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'postobon', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8071, 0, 'CAJA', 2275, 9280, 0, 0, 0, 0, NULL, 0, 180, '3 huevos', 0, NULL, 1, NULL, NULL, 3.5, 6, 3.5, 0, 0, 0, 3.5, 2, 'V', 'MESAS', '2025-11-22 09:55:55', '2025-11-22 09:58:45', '2025-11-22 09:55:55', NULL, '2025-11-22 03:58:45', 4, 3, 50, 0, 0, 0, 0, 3.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, '3 huevos', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8072, 0, 'CAJA', 2275, 9280, 0, 0, 0, 0, NULL, 0, 140, 'chocolate colombia', 0, NULL, 1, NULL, NULL, 3, 6, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 09:55:59', '2025-11-22 09:58:45', '2025-11-22 09:55:59', NULL, '2025-11-22 03:58:45', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chocolate colombia', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8073, 0, 'CAJA', 2275, 9280, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 2, NULL, NULL, 1.2, 6, 2.4, 0, 0, 0, 2.4, 2, 'V', 'MESAS', '2025-11-22 09:56:01', '2025-11-22 09:58:45', '2025-11-22 09:56:01', NULL, '2025-11-22 03:58:45', 4, 3, 50, 0, 0, 0, 0, 2.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8074, 0, 'CAJA', 2275, 9280, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 2, NULL, NULL, 1, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 09:56:06', '2025-11-22 09:58:45', '2025-11-22 09:56:06', NULL, '2025-11-22 03:58:45', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8075, 0, 'CAJA', 2275, 9280, 0, 0, 0, 0, NULL, 0, 51, 'cacaolat', 0, NULL, 2, NULL, NULL, 2, 6, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 09:56:18', '2025-11-22 09:58:45', '2025-11-22 09:56:18', NULL, '2025-11-22 03:58:45', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cacaolat', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8078, 0, 'CAJA', 2276, 9281, 0, 0, 0, 0, NULL, 0, 12, 'carajillos licor', 0, NULL, 2, NULL, NULL, 1.8, 4, 3.6, 0, 0, 0, 3.6, 2, 'V', 'MESAS', '2025-11-22 10:02:04', '2025-11-22 10:02:11', '2025-11-22 10:02:04', NULL, '2025-11-22 04:02:11', 4, 3, 50, 0, 0, 0, 0, 3.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'carajillos licor', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8079, 0, 'CAJA', 2277, 9282, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 2, NULL, NULL, 1.6, 9, 3.2, 0, 0, 0, 3.2, 2, 'V', 'MESAS', '2025-11-22 10:02:39', '2025-11-22 10:06:05', '2025-11-22 10:02:39', NULL, '2025-11-22 04:06:05', 4, 3, 50, 0, 0, 0, 0, 3.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8080, 0, 'CAJA', 2277, 9282, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 2, NULL, NULL, 1.5, 9, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 10:04:52', '2025-11-22 10:06:05', '2025-11-22 10:04:52', NULL, '2025-11-22 04:06:05', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8081, 0, 'CAJA', 2277, 9282, 0, 0, 0, 0, NULL, 0, 166, 'croisant choco', 0, NULL, 1, NULL, NULL, 1.1, 9, 1.1, 0, 0, 0, 1.1, 2, 'V', 'MESAS', '2025-11-22 10:04:58', '2025-11-22 10:06:05', '2025-11-22 10:04:58', NULL, '2025-11-22 04:06:05', 4, 3, 50, 0, 0, 0, 0, 1.1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croisant choco', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8082, 0, 'CAJA', 2277, 9282, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 1, NULL, NULL, 2.5, 9, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 10:05:05', '2025-11-22 10:06:05', '2025-11-22 10:05:05', NULL, '2025-11-22 04:06:05', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8086, 0, 'CAJA', 2278, 9283, 0, 0, 0, 0, NULL, 0, 116, 'chupito', 0, NULL, 1, NULL, NULL, 2, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:09:55', '2025-11-22 10:09:58', '2025-11-22 10:09:55', NULL, '2025-11-22 04:09:58', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chupito', NULL, NULL, 'licor', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8087, 0, 'CAJA', 2278, 9283, 0, 0, 0, 0, NULL, 0, 116, 'chupito', 0, NULL, 1, NULL, NULL, 2, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:09:55', '2025-11-22 10:09:58', '2025-11-22 10:09:55', NULL, '2025-11-22 04:09:58', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chupito', NULL, NULL, 'licor', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8089, 0, 'CAJA', 2279, 9284, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 4, NULL, NULL, 0.9, 3, 3.6, 0, 0, 0, 3.6, 2, 'V', 'MESAS', '2025-11-22 10:13:43', '2025-11-22 10:14:14', '2025-11-22 10:13:43', NULL, '2025-11-22 04:14:14', 4, 3, 50, 0, 0, 0, 0, 3.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8090, 0, 'CAJA', 2279, 9284, 0, 0, 0, 0, NULL, 0, 95, 'chicharrones', 0, NULL, 1, NULL, NULL, 2, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:13:48', '2025-11-22 10:14:14', '2025-11-22 10:13:48', NULL, '2025-11-22 04:14:14', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chicharrones', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8091, 0, 'CAJA', 2279, 9284, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 3, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 10:13:51', '2025-11-22 10:14:14', '2025-11-22 10:13:51', NULL, '2025-11-22 04:14:14', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8092, 0, 'CAJA', 2280, 9285, 0, 0, 0, 0, NULL, 0, 135, 'baguette', 0, NULL, 1, NULL, NULL, 0.6, 4, 0.6, 0, 0, 0, 0.6, 2, 'V', 'MESAS', '2025-11-22 10:29:06', '2025-11-22 10:29:11', '2025-11-22 10:29:06', NULL, '2025-11-22 04:29:11', 4, 3, 50, 0, 0, 0, 0, 0.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'baguette', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8093, 0, 'CAJA', 2280, 9285, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 1, NULL, NULL, 0.9, 4, 0.9, 0, 0, 0, 0.9, 2, 'V', 'MESAS', '2025-11-22 10:29:07', '2025-11-22 10:29:11', '2025-11-22 10:29:07', NULL, '2025-11-22 04:29:11', 4, 3, 50, 0, 0, 0, 0, 0.9, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8095, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 6, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 10:29:17', '2025-11-22 10:43:44', '2025-11-22 10:29:17', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8096, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 140, 'chocolate colombia', 0, NULL, 1, NULL, NULL, 3, 6, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 10:29:17', '2025-11-22 10:43:44', '2025-11-22 10:29:17', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chocolate colombia', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8097, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 170, 'milo caliente', 0, NULL, 1, NULL, NULL, 3, 6, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 10:29:21', '2025-11-22 10:43:44', '2025-11-22 10:29:21', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'milo caliente', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8098, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 3, NULL, NULL, 1.5, 6, 4.5, 0, 0, 0, 4.5, 2, 'V', 'MESAS', '2025-11-22 10:29:23', '2025-11-22 10:43:44', '2025-11-22 10:29:23', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 4.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8099, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 3, NULL, NULL, 1.2, 6, 3.5999999999999996, 0, 0, 0, 3.5999999999999996, 2, 'V', 'MESAS', '2025-11-22 10:29:59', '2025-11-22 10:43:44', '2025-11-22 10:29:59', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 3.5999999999999996, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8100, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 2, NULL, NULL, 1, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:30:11', '2025-11-22 10:43:44', '2025-11-22 10:30:11', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8101, 0, 'CAJA', 2281, 9286, 0, 0, 0, 0, NULL, 0, 92, 'empanada de cambray', 0, NULL, 1, NULL, NULL, 1, 6, 1, 0, 0, 0, 1, 2, 'V', 'MESAS', '2025-11-22 10:30:17', '2025-11-22 10:43:44', '2025-11-22 10:30:17', NULL, '2025-11-22 04:43:44', 4, 3, 50, 0, 0, 0, 0, 1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada de cambray', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8102, 0, 'CAJA', 2282, 9287, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 3, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 10:43:51', '2025-11-22 10:43:56', '2025-11-22 10:43:51', NULL, '2025-11-22 04:43:56', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8103, 0, 'CAJA', 2283, 9288, 0, 0, 0, 0, NULL, 0, 51, 'cacaolat', 0, NULL, 1, NULL, NULL, 2, 7, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:30:29', '2025-11-22 10:49:28', '2025-11-22 10:30:29', NULL, '2025-11-22 04:49:28', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cacaolat', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8104, 0, 'CAJA', 2283, 9288, 0, 0, 0, 0, NULL, 0, 148, 'bocadillo atun', 0, NULL, 1, NULL, NULL, 4, 7, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 10:30:46', '2025-11-22 10:49:28', '2025-11-22 10:30:46', NULL, '2025-11-22 04:49:28', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'bocadillo atun', NULL, NULL, 'bocata', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8105, 0, 'CAJA', 2283, 9288, 0, 0, 0, 0, NULL, 0, 103, 'achira', 0, NULL, 1, NULL, NULL, 0.5, 7, 0.5, 0, 0, 0, 0.5, 2, 'V', 'MESAS', '2025-11-22 10:30:49', '2025-11-22 10:49:28', '2025-11-22 10:30:49', NULL, '2025-11-22 04:49:28', 4, 3, 50, 0, 0, 0, 0, 0.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'achira', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8106, 0, 'CAJA', 2283, 9288, 0, 0, 0, 0, NULL, 0, 7, 'cortado', 0, NULL, 1, NULL, NULL, 1.4, 7, 1.4, 0, 0, 0, 1.4, 2, 'V', 'MESAS', '2025-11-22 10:45:40', '2025-11-22 10:49:28', '2025-11-22 10:45:40', NULL, '2025-11-22 04:49:28', 4, 3, 50, 0, 0, 0, 0, 1.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cortado', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8107, 0, 'CAJA', 2283, 9288, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 7, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 10:45:47', '2025-11-22 10:49:28', '2025-11-22 10:45:47', NULL, '2025-11-22 04:49:28', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8110, 0, 'CAJA', 2284, 9289, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 1, NULL, NULL, 2.2, 3, 2.2, 0, 0, 0, 2.2, 2, 'V', 'MESAS', '2025-11-22 10:53:03', '2025-11-22 10:53:05', '2025-11-22 10:53:03', NULL, '2025-11-22 04:53:06', 4, 3, 50, 0, 0, 0, 0, 2.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8111, 0, 'CAJA', 2285, 9290, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 2, NULL, NULL, 1.6, 3, 3.2, 0, 0, 0, 3.2, 2, 'V', 'MESAS', '2025-11-22 10:56:22', '2025-11-22 10:57:02', '2025-11-22 10:56:22', NULL, '2025-11-22 04:57:02', 4, 3, 50, 0, 0, 0, 0, 3.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8112, 0, 'CAJA', 2285, 9290, 0, 0, 0, 0, NULL, 0, 117, 'quesadilla', 0, NULL, 1, NULL, NULL, 2, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:56:28', '2025-11-22 10:57:02', '2025-11-22 10:56:28', NULL, '2025-11-22 04:57:02', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'quesadilla', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8113, 0, 'CAJA', 2285, 9290, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 2, NULL, NULL, 1, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:56:32', '2025-11-22 10:57:02', '2025-11-22 10:56:32', NULL, '2025-11-22 04:57:02', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8114, 0, 'CAJA', 2285, 9290, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 3, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 10:56:36', '2025-11-22 10:57:02', '2025-11-22 10:56:36', NULL, '2025-11-22 04:57:02', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8115, 0, 'CAJA', 2285, 9290, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 3, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 10:56:38', '2025-11-22 10:57:02', '2025-11-22 10:56:38', NULL, '2025-11-22 04:57:02', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8118, 0, 'CAJA', 2286, 9291, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 5, NULL, NULL, 1.2, 10, 6, 0, 0, 0, 6, 2, 'V', 'MESAS', '2025-11-22 11:00:02', '2025-11-22 11:00:27', '2025-11-22 11:00:02', NULL, '2025-11-22 05:00:27', 4, 3, 50, 0, 0, 0, 0, 6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Barra 1', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1);
INSERT INTO `ventas` (`id`, `codvendedor`, `situacioncocina`, `idfactura`, `consecutivo`, `INCREMENTO`, `codarticulo`, `codsituacion`, `porcentajedescuento`, `referenciafront`, `impuesto`, `idarticulo`, `descripcion`, `esmodificador`, `nombrearticulo`, `cantidad`, `comentario`, `observaciones`, `valorunitario`, `idmesa`, `bruto`, `baseunitario`, `ivaunitario`, `descuento`, `valortotal`, `cc`, `documento`, `origen`, `fecha`, `fechacreacion`, `HORAINI`, `HORAFIN`, `ultimaedicion`, `idcliente`, `idusuario`, `idz`, `abonado`, `idfacturaqueabona`, `costomedio`, `porcentajeiva`, `base`, `iva`, `esbolsillo`, `idvendedor`, `escortesia`, `idcaja`, `idnc`, `nc`, `idusuarionc`, `mediodepago`, `comision`, `devolucionrevisada`, `fechaabonado`, `fechamc`, `tienenc`, `marcadoparanc`, `servicio`, `subido`, `CODMODIF`, `esmodif`, `CODARTICULOABAJO`, `PRECIOIVA`, `NUMMODIF`, `numservicio`, `aliasespera`, `impresiones`, `IDMOTIVODTO`, `DETALLEDENUMLINEA`, `FAMILIAAENA`, `DETALLEMODIF`, `ABONODE_NUMERO`, `ABONODE_N`, `ABONODE_SERIE`, `ABONODE_FO`, `NORDERTIQUET`, `SORDERTIQUET`, `REQ`, `COSTEIVA`, `DTO`, `TIPO`, `CODMACRO`, `CODFORMATO`, `NUMLINEA`, `codigociudad`, `email`, `codigopostal`, `codigodepartamento`, `departamento`, `ciudad`, `cufe`, `unidaddemedida`, `esnota`, `unidadesdemedida`, `impreso`, `domicilio`, `domicilioexterno`, `pv`, `situacioncocina2`, `integraconfamilia`, `codmodifpapa`, `TIPOIVA`, `sesubearappi`, `refventas`, `placa`, `iddomiciliario`, `seccionventas`, `horaaceptado`, `comandaaceptada`, `horaacancelada`, `comandacancelada`, `motivocancela`, `paqueterecibido`, `hora_paqueterecibido`, `porcentajecomision`, `articulovence`, `deberecoger`, `imei`, `factor`, `zonaventas`, `puntosrevisados`, `idusuarioredime`, `usuarioredime`, `fecharedime`, `costomenu`, `comensales`, `impultraprocesados`, `impazucaradas`, `idmayornomina`, `tipodescuento`, `porcentajesobrecargoeventos`, `sobrecargoeventos`, `sgroupname`, `campovalor`, `ultimocoste`, `sesiones`) VALUES
(8119, 0, 'CAJA', 2286, 9291, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 5, NULL, NULL, 1, 10, 5, 0, 0, 0, 5, 2, 'V', 'MESAS', '2025-11-22 11:00:07', '2025-11-22 11:00:27', '2025-11-22 11:00:07', NULL, '2025-11-22 05:00:27', 4, 3, 50, 0, 0, 0, 0, 5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Barra 1', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8121, 0, 'CAJA', 2287, 9292, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 4, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 10:57:20', '2025-11-22 11:14:49', '2025-11-22 10:57:20', NULL, '2025-11-22 05:14:49', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8122, 0, 'CAJA', 2287, 9292, 0, 0, 0, 0, NULL, 0, 7, 'cortado', 0, NULL, 1, NULL, NULL, 1.4, 4, 1.4, 0, 0, 0, 1.4, 2, 'V', 'MESAS', '2025-11-22 10:57:24', '2025-11-22 11:14:49', '2025-11-22 10:57:24', NULL, '2025-11-22 05:14:49', 4, 3, 50, 0, 0, 0, 0, 1.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cortado', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8123, 0, 'CAJA', 2287, 9292, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 1, NULL, NULL, 0.9, 4, 0.9, 0, 0, 0, 0.9, 2, 'V', 'MESAS', '2025-11-22 10:57:34', '2025-11-22 11:14:49', '2025-11-22 10:57:34', NULL, '2025-11-22 05:14:49', 4, 3, 50, 0, 0, 0, 0, 0.9, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8124, 0, 'CAJA', 2287, 9292, 0, 0, 0, 0, NULL, 0, 166, 'croisant choco', 0, NULL, 1, NULL, NULL, 1.1, 4, 1.1, 0, 0, 0, 1.1, 2, 'V', 'MESAS', '2025-11-22 10:57:36', '2025-11-22 11:14:49', '2025-11-22 10:57:36', NULL, '2025-11-22 05:14:49', 4, 3, 50, 0, 0, 0, 0, 1.1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croisant choco', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8128, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 62, 'hit', 0, NULL, 1, NULL, NULL, 2.5, 6, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 11:47:05', '2025-11-22 11:54:39', '2025-11-22 11:47:05', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'hit', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8129, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 59, 'pony malta', 0, NULL, 3, NULL, NULL, 2.8, 6, 8.399999999999999, 0, 0, 0, 8.399999999999999, 2, 'V', 'MESAS', '2025-11-22 11:47:07', '2025-11-22 11:54:39', '2025-11-22 11:47:07', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 8.399999999999999, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pony malta', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8130, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 5, NULL, NULL, 2.5, 6, 12.5, 0, 0, 0, 12.5, 2, 'V', 'MESAS', '2025-11-22 11:47:25', '2025-11-22 11:54:39', '2025-11-22 11:47:25', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 12.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8131, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 1, NULL, NULL, 1, 6, 1, 0, 0, 0, 1, 2, 'V', 'MESAS', '2025-11-22 11:47:37', '2025-11-22 11:54:39', '2025-11-22 11:47:37', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8132, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 6, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 11:47:40', '2025-11-22 11:54:39', '2025-11-22 11:47:40', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8133, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 117, 'quesadilla', 0, NULL, 1, NULL, NULL, 2, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 11:47:44', '2025-11-22 11:54:39', '2025-11-22 11:47:44', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'quesadilla', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8134, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 3, NULL, NULL, 1.2, 6, 3.5999999999999996, 0, 0, 0, 3.5999999999999996, 2, 'V', 'MESAS', '2025-11-22 11:47:51', '2025-11-22 11:54:39', '2025-11-22 11:47:51', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 3.5999999999999996, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8135, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 6, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 11:52:33', '2025-11-22 11:54:39', '2025-11-22 11:52:33', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8136, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 1, NULL, NULL, 1, 6, 1, 0, 0, 0, 1, 2, 'V', 'MESAS', '2025-11-22 11:53:02', '2025-11-22 11:54:39', '2025-11-22 11:53:02', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 9, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8137, 0, 'CAJA', 2288, 9293, 0, 0, 0, 0, NULL, 0, 179, 'choclitos gde', 0, NULL, 1, NULL, NULL, 4, 6, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 11:53:13', '2025-11-22 11:54:39', '2025-11-22 11:53:13', NULL, '2025-11-22 05:54:39', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'choclitos gde', NULL, NULL, 'mecato', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8143, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 140, 'chocolate colombia', 0, NULL, 1, NULL, NULL, 3, 3, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 11:48:30', '2025-11-22 11:54:53', '2025-11-22 11:48:30', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chocolate colombia', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8144, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 58, 'postobon', 0, NULL, 1, NULL, NULL, 2.7, 3, 2.7, 0, 0, 0, 2.7, 2, 'V', 'MESAS', '2025-11-22 11:48:34', '2025-11-22 11:54:53', '2025-11-22 11:48:34', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 2.7, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'postobon', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8145, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 50, 'refrescos', 0, NULL, 1, NULL, NULL, 2, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 11:48:38', '2025-11-22 11:54:53', '2025-11-22 11:48:38', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'refrescos', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8146, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 3, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 11:48:45', '2025-11-22 11:54:53', '2025-11-22 11:48:45', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8147, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 3, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 11:48:47', '2025-11-22 11:54:53', '2025-11-22 11:48:47', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8148, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 3, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 11:48:51', '2025-11-22 11:54:53', '2025-11-22 11:48:51', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8149, 0, 'CAJA', 2289, 9294, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 1, NULL, NULL, 2.5, 3, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 11:49:03', '2025-11-22 11:54:53', '2025-11-22 11:49:03', NULL, '2025-11-22 05:54:53', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8150, 0, 'CAJA', 2290, 9295, 0, 0, 0, 0, NULL, 0, 85, 'pan abuela', 0, NULL, 1, NULL, NULL, 5, 3, 5, 0, 0, 0, 5, 2, 'V', 'MESAS', '2025-11-22 11:56:31', '2025-11-22 11:56:38', '2025-11-22 11:56:31', NULL, '2025-11-22 05:56:38', 4, 3, 50, 0, 0, 0, 0, 5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pan abuela', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8151, 0, 'CAJA', 2290, 9295, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 3, NULL, NULL, 1.5, 3, 4.5, 0, 0, 0, 4.5, 2, 'V', 'MESAS', '2025-11-22 11:56:33', '2025-11-22 11:56:38', '2025-11-22 11:56:33', NULL, '2025-11-22 05:56:38', 4, 3, 50, 0, 0, 0, 0, 4.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8153, 0, 'CAJA', 2291, 9296, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 9, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 10:57:45', '2025-11-22 11:57:33', '2025-11-22 10:57:45', NULL, '2025-11-22 05:57:33', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8154, 0, 'CAJA', 2291, 9296, 0, 0, 0, 0, NULL, 0, 51, 'cacaolat', 0, NULL, 1, NULL, NULL, 2, 9, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 10:57:59', '2025-11-22 11:57:33', '2025-11-22 10:57:59', NULL, '2025-11-22 05:57:33', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cacaolat', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8155, 0, 'CAJA', 2291, 9296, 0, 0, 0, 0, NULL, 0, 38, 'jamon y queso', 0, NULL, 1, NULL, NULL, 4, 9, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 10:58:08', '2025-11-22 11:57:33', '2025-11-22 10:58:08', NULL, '2025-11-22 05:57:33', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'jamon y queso', NULL, NULL, 'bocata', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8156, 0, 'CAJA', 2292, 9297, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 9, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 12:01:05', '2025-11-22 12:01:31', '2025-11-22 12:01:05', NULL, '2025-11-22 06:01:31', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8157, 0, 'CAJA', 2292, 9297, 0, 0, 0, 0, NULL, 0, 92, 'empanada de cambray', 0, NULL, 2, NULL, NULL, 1, 9, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 12:01:11', '2025-11-22 12:01:31', '2025-11-22 12:01:11', NULL, '2025-11-22 06:01:31', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada de cambray', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8158, 0, 'CAJA', 2292, 9297, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 9, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 12:01:14', '2025-11-22 12:01:31', '2025-11-22 12:01:14', NULL, '2025-11-22 06:01:31', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'barra 2', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8159, 0, 'CAJA', 2293, 9298, 0, 0, 0, 0, NULL, 0, 140, 'chocolate colombia', 0, NULL, 1, NULL, NULL, 3, 8, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 12:03:31', '2025-11-22 12:18:06', '2025-11-22 12:03:31', NULL, '2025-11-22 06:18:06', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chocolate colombia', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8160, 0, 'CAJA', 2293, 9298, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 8, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 12:03:36', '2025-11-22 12:18:06', '2025-11-22 12:03:36', NULL, '2025-11-22 06:18:06', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8161, 0, 'CAJA', 2293, 9298, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 8, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 12:03:41', '2025-11-22 12:18:06', '2025-11-22 12:03:41', NULL, '2025-11-22 06:18:06', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8162, 0, 'CAJA', 2293, 9298, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 3, NULL, NULL, 1, 8, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 12:03:43', '2025-11-22 12:18:06', '2025-11-22 12:03:43', NULL, '2025-11-22 06:18:06', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8163, 0, 'CAJA', 2293, 9298, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 5, NULL, NULL, 1, 8, 5, 0, 0, 0, 5, 2, 'V', 'MESAS', '2025-11-22 12:03:49', '2025-11-22 12:18:06', '2025-11-22 12:03:49', NULL, '2025-11-22 06:18:06', 4, 3, 50, 0, 0, 0, 0, 5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8166, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 7, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 12:01:44', '2025-11-22 12:27:30', '2025-11-22 12:01:44', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8167, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 58, 'postobon', 0, NULL, 1, NULL, NULL, 2.7, 7, 2.7, 0, 0, 0, 2.7, 2, 'V', 'MESAS', '2025-11-22 12:01:51', '2025-11-22 12:27:30', '2025-11-22 12:01:51', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 2.7, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'postobon', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8168, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 51, 'cacaolat', 0, NULL, 2, NULL, NULL, 2, 7, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 12:01:53', '2025-11-22 12:27:30', '2025-11-22 12:01:53', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cacaolat', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8169, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 11, 'americano', 0, NULL, 1, NULL, NULL, 1.8, 7, 1.8, 0, 0, 0, 1.8, 2, 'V', 'MESAS', '2025-11-22 12:02:36', '2025-11-22 12:27:30', '2025-11-22 12:02:36', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 1.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'americano', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8170, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 48, 'arepa con queso', 0, NULL, 1, NULL, NULL, 3.8, 7, 3.8, 0, 0, 0, 3.8, 2, 'V', 'MESAS', '2025-11-22 12:02:46', '2025-11-22 12:27:30', '2025-11-22 12:02:46', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 3.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'arepa con queso', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8171, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 2, NULL, NULL, 1.2, 7, 2.4, 0, 0, 0, 2.4, 2, 'V', 'MESAS', '2025-11-22 12:02:52', '2025-11-22 12:27:30', '2025-11-22 12:02:52', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 2.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8172, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 2, NULL, NULL, 1, 7, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 12:02:57', '2025-11-22 12:27:30', '2025-11-22 12:02:57', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8173, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 31, 'papa rellena', 0, NULL, 1, NULL, NULL, 3.5, 7, 3.5, 0, 0, 0, 3.5, 2, 'V', 'MESAS', '2025-11-22 12:03:06', '2025-11-22 12:27:30', '2025-11-22 12:03:06', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 3.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'papa rellena', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8174, 0, 'CAJA', 2294, 9299, 0, 0, 0, 0, NULL, 0, 179, 'choclitos gde', 0, NULL, 1, NULL, NULL, 4, 7, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 12:18:43', '2025-11-22 12:27:30', '2025-11-22 12:18:43', NULL, '2025-11-22 06:27:30', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 9, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'choclitos gde', NULL, NULL, 'mecato', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8181, 0, 'CAJA', 2295, 9300, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 2, NULL, NULL, 1.6, 4, 3.2, 0, 0, 0, 3.2, 2, 'V', 'MESAS', '2025-11-22 12:30:25', '2025-11-22 12:30:36', '2025-11-22 12:30:25', NULL, '2025-11-22 06:30:36', 4, 3, 50, 0, 0, 0, 0, 3.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8182, 0, 'CAJA', 2295, 9300, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 2, NULL, NULL, 0.9, 4, 1.8, 0, 0, 0, 1.8, 2, 'V', 'MESAS', '2025-11-22 12:30:32', '2025-11-22 12:30:36', '2025-11-22 12:30:32', NULL, '2025-11-22 06:30:36', 4, 3, 50, 0, 0, 0, 0, 1.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8184, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 21, 'expreso', 0, NULL, 2, NULL, NULL, 1.3, 5, 2.6, 0, 0, 0, 2.6, 2, 'V', 'MESAS', '2025-11-22 11:46:25', '2025-11-22 12:45:16', '2025-11-22 11:46:25', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 2.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'expreso', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8185, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 5, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 11:46:31', '2025-11-22 12:45:16', '2025-11-22 11:46:31', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8186, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 11, 'americano', 0, NULL, 2, NULL, NULL, 1.8, 5, 3.6, 0, 0, 0, 3.6, 2, 'V', 'MESAS', '2025-11-22 11:46:32', '2025-11-22 12:45:16', '2025-11-22 11:46:32', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 3.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'americano', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8187, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 99, 'croissant', 0, NULL, 1, NULL, NULL, 0.9, 5, 0.9, 0, 0, 0, 0.9, 2, 'V', 'MESAS', '2025-11-22 11:46:38', '2025-11-22 12:45:16', '2025-11-22 11:46:38', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 0.9, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'croissant', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8188, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 141, 'tostada mermelada', 0, NULL, 1, NULL, NULL, 1.5, 5, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 11:46:46', '2025-11-22 12:45:16', '2025-11-22 11:46:46', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'tostada mermelada', NULL, NULL, 'bocata', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8189, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 5, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 11:46:54', '2025-11-22 12:45:16', '2025-11-22 11:46:54', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8190, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 7, 'cortado', 0, NULL, 1, NULL, NULL, 1.4, 5, 1.4, 0, 0, 0, 1.4, 2, 'V', 'MESAS', '2025-11-22 12:06:58', '2025-11-22 12:45:16', '2025-11-22 12:06:58', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 1.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cortado', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8191, 0, 'CAJA', 2296, 9301, 0, 0, 0, 0, NULL, 0, 118, 'quinto', 0, NULL, 1, NULL, NULL, 1.6, 5, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 12:27:54', '2025-11-22 12:45:16', '2025-11-22 12:27:54', NULL, '2025-11-22 06:45:16', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'quinto', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8199, 0, 'CAJA', 2297, 9302, 0, 0, 0, 0, NULL, 0, 140, 'chocolate colombia', 0, NULL, 2, NULL, NULL, 3, 3, 6, 0, 0, 0, 6, 2, 'V', 'MESAS', '2025-11-22 12:49:15', '2025-11-22 12:54:40', '2025-11-22 12:49:15', NULL, '2025-11-22 06:54:40', 4, 3, 50, 0, 0, 0, 0, 6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chocolate colombia', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8200, 0, 'CAJA', 2297, 9302, 0, 0, 0, 0, NULL, 0, 173, 'buñuelo gde', 0, NULL, 1, NULL, NULL, 2, 3, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 12:49:22', '2025-11-22 12:54:40', '2025-11-22 12:49:22', NULL, '2025-11-22 06:54:40', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo gde', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8201, 0, 'CAJA', 2297, 9302, 0, 0, 0, 0, NULL, 0, 92, 'empanada de cambray', 0, NULL, 1, NULL, NULL, 1, 3, 1, 0, 0, 0, 1, 2, 'V', 'MESAS', '2025-11-22 12:49:31', '2025-11-22 12:54:40', '2025-11-22 12:49:31', NULL, '2025-11-22 06:54:40', 4, 3, 50, 0, 0, 0, 0, 1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada de cambray', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8202, 0, 'CAJA', 2297, 9302, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 2, NULL, NULL, 1.5, 3, 3, 0, 0, 0, 3, 2, 'V', 'MESAS', '2025-11-22 12:49:33', '2025-11-22 12:54:40', '2025-11-22 12:49:33', NULL, '2025-11-22 06:54:40', 4, 3, 50, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8206, 0, 'CAJA', 2298, 9303, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 2, NULL, NULL, 1.6, 6, 3.2, 0, 0, 0, 3.2, 2, 'V', 'MESAS', '2025-11-22 12:45:46', '2025-11-22 13:26:24', '2025-11-22 12:45:46', NULL, '2025-11-22 07:26:24', 4, 3, 50, 0, 0, 0, 0, 3.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8207, 0, 'CAJA', 2298, 9303, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 2, NULL, NULL, 1, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 12:45:51', '2025-11-22 13:26:24', '2025-11-22 12:45:51', NULL, '2025-11-22 07:26:24', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8208, 0, 'CAJA', 2298, 9303, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 6, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 12:49:09', '2025-11-22 13:26:24', '2025-11-22 12:49:09', NULL, '2025-11-22 07:26:24', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8209, 0, 'CAJA', 2298, 9303, 0, 0, 0, 0, NULL, 0, 86, 'pionono', 0, NULL, 1, NULL, NULL, 2, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 13:00:17', '2025-11-22 13:26:24', '2025-11-22 13:00:17', NULL, '2025-11-22 07:26:24', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pionono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8213, 0, 'CAJA', 2299, 9304, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 3, NULL, NULL, 1.6, 3, 4.800000000000001, 0, 0, 0, 4.800000000000001, 2, 'V', 'MESAS', '2025-11-22 17:57:32', '2025-11-22 17:58:18', '2025-11-22 17:57:32', NULL, '2025-11-22 11:58:18', 4, 3, 50, 0, 0, 0, 0, 4.800000000000001, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8214, 0, 'CAJA', 2299, 9304, 0, 0, 0, 0, NULL, 0, 136, 'tizana', 0, NULL, 2, NULL, NULL, 1.6, 3, 3.2, 0, 0, 0, 3.2, 2, 'V', 'MESAS', '2025-11-22 17:57:36', '2025-11-22 17:58:18', '2025-11-22 17:57:36', NULL, '2025-11-22 11:58:18', 4, 3, 50, 0, 0, 0, 0, 3.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'tizana', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8215, 0, 'CAJA', 2299, 9304, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 5, NULL, NULL, 1.2, 3, 6, 0, 0, 0, 6, 2, 'V', 'MESAS', '2025-11-22 17:57:44', '2025-11-22 17:58:18', '2025-11-22 17:57:44', NULL, '2025-11-22 11:58:18', 4, 3, 50, 0, 0, 0, 0, 6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1);
INSERT INTO `ventas` (`id`, `codvendedor`, `situacioncocina`, `idfactura`, `consecutivo`, `INCREMENTO`, `codarticulo`, `codsituacion`, `porcentajedescuento`, `referenciafront`, `impuesto`, `idarticulo`, `descripcion`, `esmodificador`, `nombrearticulo`, `cantidad`, `comentario`, `observaciones`, `valorunitario`, `idmesa`, `bruto`, `baseunitario`, `ivaunitario`, `descuento`, `valortotal`, `cc`, `documento`, `origen`, `fecha`, `fechacreacion`, `HORAINI`, `HORAFIN`, `ultimaedicion`, `idcliente`, `idusuario`, `idz`, `abonado`, `idfacturaqueabona`, `costomedio`, `porcentajeiva`, `base`, `iva`, `esbolsillo`, `idvendedor`, `escortesia`, `idcaja`, `idnc`, `nc`, `idusuarionc`, `mediodepago`, `comision`, `devolucionrevisada`, `fechaabonado`, `fechamc`, `tienenc`, `marcadoparanc`, `servicio`, `subido`, `CODMODIF`, `esmodif`, `CODARTICULOABAJO`, `PRECIOIVA`, `NUMMODIF`, `numservicio`, `aliasespera`, `impresiones`, `IDMOTIVODTO`, `DETALLEDENUMLINEA`, `FAMILIAAENA`, `DETALLEMODIF`, `ABONODE_NUMERO`, `ABONODE_N`, `ABONODE_SERIE`, `ABONODE_FO`, `NORDERTIQUET`, `SORDERTIQUET`, `REQ`, `COSTEIVA`, `DTO`, `TIPO`, `CODMACRO`, `CODFORMATO`, `NUMLINEA`, `codigociudad`, `email`, `codigopostal`, `codigodepartamento`, `departamento`, `ciudad`, `cufe`, `unidaddemedida`, `esnota`, `unidadesdemedida`, `impreso`, `domicilio`, `domicilioexterno`, `pv`, `situacioncocina2`, `integraconfamilia`, `codmodifpapa`, `TIPOIVA`, `sesubearappi`, `refventas`, `placa`, `iddomiciliario`, `seccionventas`, `horaaceptado`, `comandaaceptada`, `horaacancelada`, `comandacancelada`, `motivocancela`, `paqueterecibido`, `hora_paqueterecibido`, `porcentajecomision`, `articulovence`, `deberecoger`, `imei`, `factor`, `zonaventas`, `puntosrevisados`, `idusuarioredime`, `usuarioredime`, `fecharedime`, `costomenu`, `comensales`, `impultraprocesados`, `impazucaradas`, `idmayornomina`, `tipodescuento`, `porcentajesobrecargoeventos`, `sobrecargoeventos`, `sgroupname`, `campovalor`, `ultimocoste`, `sesiones`) VALUES
(8216, 0, 'CAJA', 2299, 9304, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 5, NULL, NULL, 1, 3, 5, 0, 0, 0, 5, 2, 'V', 'MESAS', '2025-11-22 17:57:59', '2025-11-22 17:58:18', '2025-11-22 17:57:59', NULL, '2025-11-22 11:58:18', 4, 3, 50, 0, 0, 0, 0, 5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8220, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 57, 'agua 500ml', 0, NULL, 1, NULL, NULL, 1, 6, 1, 0, 0, 0, 1, 2, 'V', 'MESAS', '2025-11-22 20:00:57', '2025-11-22 20:05:30', '2025-11-22 20:00:57', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'agua 500ml', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8221, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 61, 'zumo naranja', 0, NULL, 1, NULL, NULL, 1.8, 6, 1.8, 0, 0, 0, 1.8, 2, 'V', 'MESAS', '2025-11-22 20:01:01', '2025-11-22 20:05:30', '2025-11-22 20:01:01', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 1.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'zumo naranja', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8222, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 3, NULL, NULL, 2.2, 6, 6.6000000000000005, 0, 0, 0, 6.6000000000000005, 2, 'V', 'MESAS', '2025-11-22 20:01:05', '2025-11-22 20:05:30', '2025-11-22 20:01:05', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 6.6000000000000005, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8223, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 4, NULL, NULL, 2.5, 6, 10, 0, 0, 0, 10, 2, 'V', 'MESAS', '2025-11-22 20:01:19', '2025-11-22 20:05:30', '2025-11-22 20:01:19', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 10, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8224, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 47, 'a chorizo', 0, NULL, 2, NULL, NULL, 4.1, 6, 8.2, 0, 0, 0, 8.2, 2, 'V', 'MESAS', '2025-11-22 20:02:05', '2025-11-22 20:05:30', '2025-11-22 20:02:05', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 8.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'a chorizo', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8225, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 5, NULL, NULL, 2.5, 6, 12.5, 0, 0, 0, 12.5, 2, 'V', 'MESAS', '2025-11-22 20:02:10', '2025-11-22 20:05:30', '2025-11-22 20:02:10', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 12.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8226, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 31, 'papa rellena', 0, NULL, 1, NULL, NULL, 3.5, 6, 3.5, 0, 0, 0, 3.5, 2, 'V', 'MESAS', '2025-11-22 20:02:20', '2025-11-22 20:05:30', '2025-11-22 20:02:20', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 3.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'papa rellena', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8227, 0, 'CAJA', 2300, 9305, 0, 0, 0, 0, NULL, 0, 71, 'ducales', 0, NULL, 1, NULL, NULL, 2.5, 6, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 20:04:54', '2025-11-22 20:05:30', '2025-11-22 20:04:54', NULL, '2025-11-22 14:05:30', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'ducales', NULL, NULL, 'mecato', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8235, 0, 'CAJA', 2301, 9306, 0, 0, 0, 0, NULL, 0, 130, 'jugo leche', 0, NULL, 1, NULL, NULL, 5, 3, 5, 0, 0, 0, 5, 2, 'V', 'MESAS', '2025-11-22 19:00:35', '2025-11-22 20:08:52', '2025-11-22 19:00:35', NULL, '2025-11-22 14:08:52', 4, 3, 50, 0, 0, 0, 0, 5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'jugo leche', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8236, 0, 'CAJA', 2301, 9306, 0, 0, 0, 0, NULL, 0, 36, 'jamon serrano', 0, NULL, 1, NULL, NULL, 4, 3, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 19:00:42', '2025-11-22 20:08:52', '2025-11-22 19:00:42', NULL, '2025-11-22 14:08:52', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'jamon serrano', NULL, NULL, 'bocata', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8237, 0, 'CAJA', 2301, 9306, 0, 0, 0, 0, NULL, 0, 7, 'cortado', 0, NULL, 1, NULL, NULL, 1.4, 3, 1.4, 0, 0, 0, 1.4, 2, 'V', 'MESAS', '2025-11-22 19:00:46', '2025-11-22 20:08:52', '2025-11-22 19:00:46', NULL, '2025-11-22 14:08:52', 4, 3, 50, 0, 0, 0, 0, 1.4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cortado', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8238, 0, 'CAJA', 2302, 9307, 0, 0, 0, 0, NULL, 0, 59, 'pony malta', 0, NULL, 1, NULL, NULL, 2.8, 6, 2.8, 0, 0, 0, 2.8, 2, 'V', 'MESAS', '2025-11-22 20:29:11', '2025-11-22 20:37:41', '2025-11-22 20:29:11', NULL, '2025-11-22 14:37:41', 4, 3, 50, 0, 0, 0, 0, 2.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pony malta', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8239, 0, 'CAJA', 2302, 9307, 0, 0, 0, 0, NULL, 0, 173, 'buñuelo gde', 0, NULL, 1, NULL, NULL, 2, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 20:29:15', '2025-11-22 20:37:41', '2025-11-22 20:29:15', NULL, '2025-11-22 14:37:41', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo gde', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8241, 0, 'CAJA', 2303, 9308, 0, 0, 0, 0, NULL, 0, 140, 'chocolate colombia', 0, NULL, 3, NULL, NULL, 3, 4, 9, 0, 0, 0, 9, 2, 'V', 'MESAS', '2025-11-22 20:59:57', '2025-11-22 21:12:25', '2025-11-22 20:59:57', NULL, '2025-11-22 15:12:25', 4, 3, 50, 0, 0, 0, 0, 9, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chocolate colombia', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8242, 0, 'CAJA', 2303, 9308, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 4, NULL, NULL, 1, 4, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 21:00:29', '2025-11-22 21:12:25', '2025-11-22 21:00:29', NULL, '2025-11-22 15:12:25', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8243, 0, 'CAJA', 2303, 9308, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 1, NULL, NULL, 2.5, 4, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 21:00:45', '2025-11-22 21:12:25', '2025-11-22 21:00:45', NULL, '2025-11-22 15:12:25', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8244, 0, 'CAJA', 2303, 9308, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 1, NULL, NULL, 2.5, 4, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 21:00:46', '2025-11-22 21:12:25', '2025-11-22 21:00:46', NULL, '2025-11-22 15:12:25', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8245, 0, 'CAJA', 2303, 9308, 0, 0, 0, 0, NULL, 0, 31, 'papa rellena', 0, NULL, 1, NULL, NULL, 3.5, 4, 3.5, 0, 0, 0, 3.5, 2, 'V', 'MESAS', '2025-11-22 21:00:49', '2025-11-22 21:12:25', '2025-11-22 21:00:49', NULL, '2025-11-22 15:12:25', 4, 3, 50, 0, 0, 0, 0, 3.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'papa rellena', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8246, 0, 'CAJA', 2303, 9308, 0, 0, 0, 0, NULL, 0, 48, 'arepa con queso', 0, NULL, 1, NULL, NULL, 3.8, 4, 3.8, 0, 0, 0, 3.8, 2, 'V', 'MESAS', '2025-11-22 21:01:28', '2025-11-22 21:12:25', '2025-11-22 21:01:28', NULL, '2025-11-22 15:12:25', 4, 3, 50, 0, 0, 0, 0, 3.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'arepa con queso', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8248, 0, 'CAJA', 2304, 9309, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 6, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 20:59:41', '2025-11-22 21:34:56', '2025-11-22 20:59:41', NULL, '2025-11-22 15:34:56', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8249, 0, 'CAJA', 2304, 9309, 0, 0, 0, 0, NULL, 0, 53, 'vichy', 0, NULL, 1, NULL, NULL, 2, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 20:59:44', '2025-11-22 21:34:56', '2025-11-22 20:59:44', NULL, '2025-11-22 15:34:56', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'vichy', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8250, 0, 'CAJA', 2304, 9309, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 2, NULL, NULL, 2.5, 6, 5, 0, 0, 0, 5, 2, 'V', 'MESAS', '2025-11-22 21:02:49', '2025-11-22 21:34:56', '2025-11-22 21:02:49', NULL, '2025-11-22 15:34:56', 4, 3, 50, 0, 0, 0, 0, 5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8251, 0, 'CAJA', 2304, 9309, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 1, NULL, NULL, 1.6, 6, 1.6, 0, 0, 0, 1.6, 2, 'V', 'MESAS', '2025-11-22 21:13:01', '2025-11-22 21:34:56', '2025-11-22 21:13:01', NULL, '2025-11-22 15:34:56', 4, 3, 50, 0, 0, 0, 0, 1.6, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8252, 0, 'CAJA', 2304, 9309, 0, 0, 0, 0, NULL, 0, 93, 'pan hawaiano', 0, NULL, 1, NULL, NULL, 2, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 21:17:05', '2025-11-22 21:34:56', '2025-11-22 21:17:05', NULL, '2025-11-22 15:34:56', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pan hawaiano', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8253, 0, 'CAJA', 2304, 9309, 0, 0, 0, 0, NULL, 0, 50, 'refrescos', 0, NULL, 1, NULL, NULL, 2, 6, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 21:33:49', '2025-11-22 21:34:56', '2025-11-22 21:33:49', NULL, '2025-11-22 15:34:56', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'refrescos', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8255, 0, 'CAJA', 2305, 9310, 0, 0, 0, 0, NULL, 0, 9, 'cafe con leche', 0, NULL, 2, NULL, NULL, 1.6, 5, 3.2, 0, 0, 0, 3.2, 2, 'V', 'MESAS', '2025-11-22 20:02:33', '2025-11-22 21:37:04', '2025-11-22 20:02:33', NULL, '2025-11-22 15:37:04', 4, 3, 50, 0, 0, 0, 0, 3.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'cafe con leche', NULL, NULL, 'cafe', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8256, 0, 'CAJA', 2305, 9310, 0, 0, 0, 0, NULL, 0, 89, 'almohabana', 0, NULL, 1, NULL, NULL, 1.5, 5, 1.5, 0, 0, 0, 1.5, 2, 'V', 'MESAS', '2025-11-22 20:02:42', '2025-11-22 21:37:04', '2025-11-22 20:02:42', NULL, '2025-11-22 15:37:04', 4, 3, 50, 0, 0, 0, 0, 1.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'almohabana', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8257, 0, 'CAJA', 2305, 9310, 0, 0, 0, 0, NULL, 0, 90, 'buñuelo', 0, NULL, 1, NULL, NULL, 1.2, 5, 1.2, 0, 0, 0, 1.2, 2, 'V', 'MESAS', '2025-11-22 20:02:44', '2025-11-22 21:37:04', '2025-11-22 20:02:44', NULL, '2025-11-22 15:37:04', 4, 3, 50, 0, 0, 0, 0, 1.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'buñuelo', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8258, 0, 'CAJA', 2305, 9310, 0, 0, 0, 0, NULL, 0, 88, 'pandebono', 0, NULL, 1, NULL, NULL, 1, 5, 1, 0, 0, 0, 1, 2, 'V', 'MESAS', '2025-11-22 20:02:45', '2025-11-22 21:37:04', '2025-11-22 20:02:45', NULL, '2025-11-22 15:37:04', 4, 3, 50, 0, 0, 0, 0, 1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'pandebono', NULL, NULL, 'panaderia', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8259, 0, 'CAJA', 2305, 9310, 0, 0, 0, 0, NULL, 0, 116, 'chupito', 0, NULL, 2, NULL, NULL, 2, 5, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 21:03:02', '2025-11-22 21:37:04', '2025-11-22 21:03:02', NULL, '2025-11-22 15:37:04', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chupito', NULL, NULL, 'licor', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8260, 0, 'CAJA', 2305, 9310, 0, 0, 0, 0, NULL, 0, 50, 'refrescos', 0, NULL, 1, NULL, NULL, 2, 5, 2, 0, 0, 0, 2, 2, 'V', 'MESAS', '2025-11-22 21:20:34', '2025-11-22 21:37:04', '2025-11-22 21:20:34', NULL, '2025-11-22 15:37:04', 4, 3, 50, 0, 0, 0, 0, 2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'refrescos', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8262, 0, 'CAJA', 2306, 9311, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 4, NULL, NULL, 2.2, 7, 8.8, 0, 0, 0, 8.8, 2, 'V', 'MESAS', '2025-11-22 20:47:40', '2025-11-22 21:38:00', '2025-11-22 20:47:40', NULL, '2025-11-22 15:38:00', 4, 3, 50, 0, 0, 0, 0, 8.8, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8263, 0, 'CAJA', 2306, 9311, 0, 0, 0, 0, NULL, 0, 116, 'chupito', 0, NULL, 2, NULL, NULL, 2, 7, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 20:47:51', '2025-11-22 21:38:00', '2025-11-22 20:47:51', NULL, '2025-11-22 15:38:00', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chupito', NULL, NULL, 'licor', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8264, 0, 'CAJA', 2306, 9311, 0, 0, 0, 0, NULL, 0, 62, 'hit', 0, NULL, 1, NULL, NULL, 2.5, 7, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 20:48:04', '2025-11-22 21:38:00', '2025-11-22 20:48:04', NULL, '2025-11-22 15:38:00', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'hit', NULL, NULL, 'gaseosa', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8265, 0, 'CAJA', 2306, 9311, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 1, NULL, NULL, 2.2, 7, 2.2, 0, 0, 0, 2.2, 2, 'V', 'MESAS', '2025-11-22 21:03:46', '2025-11-22 21:38:00', '2025-11-22 21:03:46', NULL, '2025-11-22 15:38:00', 4, 3, 50, 0, 0, 0, 0, 2.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8266, 0, 'CAJA', 2306, 9311, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 1, NULL, NULL, 2.2, 7, 2.2, 0, 0, 0, 2.2, 2, 'V', 'MESAS', '2025-11-22 21:03:46', '2025-11-22 21:38:00', '2025-11-22 21:03:46', NULL, '2025-11-22 15:38:00', 4, 3, 50, 0, 0, 0, 0, 2.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8267, 0, 'CAJA', 2306, 9311, 0, 0, 0, 0, NULL, 0, 116, 'chupito', 0, NULL, 2, NULL, NULL, 2, 7, 4, 0, 0, 0, 4, 2, 'V', 'MESAS', '2025-11-22 21:20:51', '2025-11-22 21:38:00', '2025-11-22 21:20:51', NULL, '2025-11-22 15:38:00', 4, 3, 50, 0, 0, 0, 0, 4, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'chupito', NULL, NULL, 'licor', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8269, 0, 'CAJA', 2307, 9312, 0, 0, 0, 0, NULL, 0, 32, 'empanada', 0, NULL, 1, NULL, NULL, 2.5, 3, 2.5, 0, 0, 0, 2.5, 2, 'V', 'MESAS', '2025-11-22 20:29:23', '2025-11-22 21:46:24', '2025-11-22 20:29:23', NULL, '2025-11-22 15:46:25', 4, 3, 50, 0, 0, 0, 0, 2.5, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'empanada', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8270, 0, 'CAJA', 2307, 9312, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 1, NULL, NULL, 2.2, 3, 2.2, 0, 0, 0, 2.2, 2, 'V', 'MESAS', '2025-11-22 20:29:28', '2025-11-22 21:46:24', '2025-11-22 20:29:28', NULL, '2025-11-22 15:46:25', 4, 3, 50, 0, 0, 0, 0, 2.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8271, 0, 'CAJA', 2307, 9312, 0, 0, 0, 0, NULL, 0, 115, 'CERVEZA', 0, NULL, 1, NULL, NULL, 2.2, 3, 2.2, 0, 0, 0, 2.2, 2, 'V', 'MESAS', '2025-11-22 20:29:29', '2025-11-22 21:46:24', '2025-11-22 20:29:29', NULL, '2025-11-22 15:46:25', 4, 3, 50, 0, 0, 0, 0, 2.2, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'mediana', NULL, NULL, 'cerveza', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1),
(8272, 0, 'CAJA', 2307, 9312, 0, 0, 0, 0, NULL, 0, 47, 'a chorizo', 0, NULL, 1, NULL, NULL, 4.1, 3, 4.1, 0, 0, 0, 4.1, 2, 'V', 'MESAS', '2025-11-22 20:47:21', '2025-11-22 21:46:24', '2025-11-22 20:47:21', NULL, '2025-11-22 15:46:25', 4, 3, 50, 0, 0, 0, 0, 4.1, 0, 0, 3, 0, 1, 1, 0, 1, 'EFECTIVO', 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 1, '-1', '0', '0', '0', '0', '0', '0', '-1', '0', '', 0, 0, 0, 'V', 0, 0, 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'UNIDAD', 0, NULL, 0, 0, 0, 'cafeteria', 'SELECCIONE', 1, 0, 1, 0, 'a chorizo', NULL, NULL, 'fritanga', NULL, b'0', NULL, b'0', NULL, b'0', b'0', NULL, NULL, NULL, NULL, 1, 'Salón', b'0', NULL, NULL, NULL, 0.00, 0, 0, 0, 0, NULL, 0, 0, 0, 'valordeventa', 0, 1);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2`
--

CREATE TABLE `ventas2` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `refventas` varchar(25) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` varchar(2) NOT NULL DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'lapoderosa1',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `TIPOIVA` int(1) DEFAULT '1',
  `seccionventas` varchar(25) DEFAULT NULL,
  `zonaventas` varchar(25) DEFAULT NULL,
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `campovalor` varchar(25) DEFAULT NULL,
  `sesiones` int(11) DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas3`
--

CREATE TABLE `ventas3` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2018`
--

CREATE TABLE `ventas2018` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `idmayornomina` int(7) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2019`
--

CREATE TABLE `ventas2019` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `idmayornomina` int(7) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2020`
--

CREATE TABLE `ventas2020` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `idmayornomina` int(7) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2021`
--

CREATE TABLE `ventas2021` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `idmayornomina` int(7) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2022`
--

CREATE TABLE `ventas2022` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `idmayornomina` int(7) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventas2023`
--

CREATE TABLE `ventas2023` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codvendedor` int(5) NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint(20) UNSIGNED NOT NULL,
  `consecutivo` int(11) NOT NULL,
  `INCREMENTO` int(11) NOT NULL,
  `codarticulo` int(11) NOT NULL,
  `codsituacion` int(2) NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int(1) DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int(11) NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int(11) NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idz` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `abonado` int(1) NOT NULL DEFAULT '0',
  `idfacturaqueabona` int(11) NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int(2) NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `escortesia` int(1) NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idnc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nc` int(1) DEFAULT '0',
  `idusuarionc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int(6) NOT NULL DEFAULT '0',
  `devolucionrevisada` int(1) DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int(1) NOT NULL DEFAULT '0',
  `marcadoparanc` int(1) NOT NULL DEFAULT '0',
  `servicio` int(5) NOT NULL DEFAULT '0',
  `subido` int(1) NOT NULL DEFAULT '0',
  `CODMODIF` int(6) DEFAULT '0',
  `esmodif` int(2) NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int(11) NOT NULL DEFAULT '0',
  `NUMMODIF` int(11) NOT NULL DEFAULT '0',
  `numservicio` int(1) NOT NULL DEFAULT '0',
  `aliasespera` int(1) NOT NULL DEFAULT '1',
  `impresiones` int(1) NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int(2) NOT NULL DEFAULT '0',
  `COSTEIVA` int(2) NOT NULL DEFAULT '0',
  `DTO` int(2) NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int(2) NOT NULL DEFAULT '0',
  `CODFORMATO` int(2) NOT NULL DEFAULT '0',
  `NUMLINEA` int(2) NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int(1) DEFAULT '1',
  `codmodifpapa` int(5) DEFAULT '0',
  `TIPOIVA` int(1) DEFAULT '1',
  `sesubearappi` int(1) DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int(6) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `zonaventas` varchar(25) DEFAULT NULL,
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int(11) DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `idmayornomina` int(7) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventasauxiliar`
--

CREATE TABLE `ventasauxiliar` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `idmesarelacionada` int(5) DEFAULT '0',
  `estadoimpresion` int(1) DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int(1) DEFAULT '0',
  `idmesa` int(11) DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int(2) DEFAULT NULL,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `cc` bigint(20) UNSIGNED NOT NULL DEFAULT '2',
  `origen` varchar(15) DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double DEFAULT '0',
  `cantidad` int(11) DEFAULT '0',
  `valortotal` double DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime DEFAULT NULL,
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int(1) NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int(1) NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `enespera` int(1) NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int(6) NOT NULL DEFAULT '0',
  `porcentajedescuento` double DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `CODMODIF` int(2) NOT NULL DEFAULT '0',
  `numlinea` int(2) NOT NULL DEFAULT '0',
  `esmodif` int(1) NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int(1) NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `PrecuentaCallcenter` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'lapoderosa1',
  `placa` varchar(8) DEFAULT NULL,
  `seccion` varchar(25) DEFAULT NULL,
  `bodega` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `refventas` varchar(20) DEFAULT NULL,
  `referencia` varchar(25) DEFAULT NULL,
  `enviaraproduccion` int(1) DEFAULT '0',
  `baseunitario` decimal(11,2) DEFAULT '0.00',
  `impuestounitario` decimal(11,2) DEFAULT '0.00',
  `iddomiciliario` int(6) DEFAULT NULL,
  `ultimocostev` double DEFAULT '0',
  `recibidovaux` double DEFAULT '0',
  `devueltavaux` double DEFAULT '0',
  `seccionventas` varchar(25) DEFAULT NULL,
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int(5) DEFAULT '1',
  `sefactura` bit(1) DEFAULT b'1',
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int(2) DEFAULT '0',
  `comanda` varchar(10) DEFAULT '0',
  `impultraprocesados` int(2) DEFAULT '0',
  `impazucaradas` int(2) DEFAULT '0',
  `comocalculardescuento` varchar(10) DEFAULT 'porcentaje',
  `recibidoencallcenter` int(6) DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0',
  `sgroupname` int(11) DEFAULT '0',
  `campovalor` varchar(25) DEFAULT 'valordeventa',
  `proximocosto` double DEFAULT '0',
  `sesiones` int(11) DEFAULT '1',
  `ultimafechaimpresionprecuenta` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventasauxiliar2`
--

CREATE TABLE `ventasauxiliar2` (
  `idmesarelacionada` int(5) DEFAULT '0',
  `estadoimpresion` int(1) DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int(1) DEFAULT '0',
  `idmesa` int(11) DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int(2) NOT NULL,
  `idcliente` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idarticulo` bigint(20) UNSIGNED NOT NULL,
  `cc` bigint(20) UNSIGNED NOT NULL DEFAULT '2',
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int(11) DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime DEFAULT NULL,
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idcaja` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int(1) NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int(1) NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `enespera` int(1) NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int(6) NOT NULL DEFAULT '0',
  `porcentajedescuento` double NOT NULL DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `CODMODIF` int(2) NOT NULL DEFAULT '0',
  `numlinea` int(2) NOT NULL DEFAULT '0',
  `esmodif` int(1) NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int(1) NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int(1) DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `domicilio` int(11) DEFAULT '0',
  `domicilioexterno` int(11) DEFAULT '0',
  `PrecuentaCallcenter` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'lapoderosa1',
  `placa` varchar(8) DEFAULT NULL,
  `seccion` varchar(25) DEFAULT NULL,
  `bodega` varchar(25) DEFAULT NULL,
  `id` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ventasporhoras`
--

CREATE TABLE `ventasporhoras` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `fecha` date DEFAULT NULL,
  `dato0` double NOT NULL DEFAULT '0',
  `dato1` double NOT NULL DEFAULT '0',
  `dato2` double NOT NULL DEFAULT '0',
  `dato3` double NOT NULL DEFAULT '0',
  `dato4` double NOT NULL DEFAULT '0',
  `dato5` double NOT NULL DEFAULT '0',
  `dato6` double NOT NULL DEFAULT '0',
  `cc` int(3) NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'lapoderosa1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `ventasporhoras`
--

INSERT INTO `ventasporhoras` (`id`, `fecha`, `dato0`, `dato1`, `dato2`, `dato3`, `dato4`, `dato5`, `dato6`, `cc`, `pv`) VALUES
(1, '2021-10-02', 0, 0, 0, 0, 181000, 127300, 103000, 2, 'lapoderosa1');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `z`
--

CREATE TABLE `z` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `consecutivo` int(11) NOT NULL DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `plataseparados` double NOT NULL DEFAULT '0',
  `domicilios` double NOT NULL DEFAULT '0',
  `ventaefectivo` double NOT NULL DEFAULT '0',
  `abonosseparados` double NOT NULL DEFAULT '0',
  `bruto` double NOT NULL DEFAULT '0',
  `total` double NOT NULL DEFAULT '0',
  `cantidaddearticulos` int(11) NOT NULL DEFAULT '0',
  `idusuario` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `devoluciones` double NOT NULL DEFAULT '0',
  `cc` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `idcierre` int(11) NOT NULL DEFAULT '0',
  `abonos` double NOT NULL DEFAULT '0',
  `bolsillos` double NOT NULL DEFAULT '0',
  `compras` double NOT NULL DEFAULT '0',
  `consumobolsillos` double NOT NULL DEFAULT '0',
  `ventaacredito` double NOT NULL DEFAULT '0',
  `pagofacturascredito` double NOT NULL DEFAULT '0',
  `otrosgastos` double NOT NULL DEFAULT '0',
  `gastossinafectarcaja` double NOT NULL DEFAULT '0',
  `idcaja` bigint(20) UNSIGNED NOT NULL,
  `otrosingresos` double NOT NULL DEFAULT '0',
  `cortesia` double NOT NULL DEFAULT '0',
  `cantidaddearticuloscortesia` double NOT NULL DEFAULT '0',
  `servicios` double DEFAULT '0',
  `fisico` int(11) DEFAULT '0',
  `prestamoaempleados` double DEFAULT '0',
  `domicilio` int(11) DEFAULT '0',
  `abonosprestamos` int(11) DEFAULT '0',
  `base` int(11) DEFAULT '0',
  `ifood` int(11) DEFAULT '0',
  `rappi` int(11) DEFAULT '0',
  `efectivo` int(11) DEFAULT '0',
  `transferencias` int(11) DEFAULT '0',
  `datafono` int(11) DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `domicilioexterno` int(11) DEFAULT '0',
  `notasdebitoencompra` int(11) DEFAULT '0',
  `pv` varchar(25) DEFAULT 'lapoderosa1',
  `abonosordenservicio` double DEFAULT '0',
  `nequi` int(11) DEFAULT '0',
  `notascreditoenventas` double DEFAULT '0',
  `otrosgastossinafectarcaja` double DEFAULT '0',
  `devolucionesdedinero` double DEFAULT '0',
  `sistecredito` int(11) DEFAULT '0',
  `prestamosalaempresa` int(9) DEFAULT '0',
  `abonosprestamosin` int(7) DEFAULT '0',
  `nomina` int(9) DEFAULT '0',
  `anticipos` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `z`
--

INSERT INTO `z` (`id`, `fecha`, `consecutivo`, `descuento`, `plataseparados`, `domicilios`, `ventaefectivo`, `abonosseparados`, `bruto`, `total`, `cantidaddearticulos`, `idusuario`, `devoluciones`, `cc`, `idcierre`, `abonos`, `bolsillos`, `compras`, `consumobolsillos`, `ventaacredito`, `pagofacturascredito`, `otrosgastos`, `gastossinafectarcaja`, `idcaja`, `otrosingresos`, `cortesia`, `cantidaddearticuloscortesia`, `servicios`, `fisico`, `prestamoaempleados`, `domicilio`, `abonosprestamos`, `base`, `ifood`, `rappi`, `efectivo`, `transferencias`, `datafono`, `observaciones`, `domicilioexterno`, `notasdebitoencompra`, `pv`, `abonosordenservicio`, `nequi`, `notascreditoenventas`, `otrosgastossinafectarcaja`, `devolucionesdedinero`, `sistecredito`, `prestamosalaempresa`, `abonosprestamosin`, `nomina`, `anticipos`) VALUES
(1, '2020-12-24 19:28:24', 1, 0, 0, 0, 1000019200, 0, 1000019200, 1000019200, 10, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1000019200, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(2, '2025-08-21 21:11:58', 842, 0, 0, 0, 1755.7999999999993, 0, 1755.7999999999984, 1755.7999999999984, 923, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1756, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(3, '2025-08-22 21:39:59', 843, 0, 0, 0, 235.49999999999997, 0, 235.49999999999991, 235.49999999999991, 128, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(4, '2025-08-23 21:33:05', 844, 0, 0, 0, 229.4, 0, 229.39999999999998, 229.39999999999998, 118, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 229, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(5, '2025-08-24 21:19:03', 845, 0, 0, 0, 442.3999999999999, 0, 442.4, 442.4, 207, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 442, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(6, '2025-08-25 21:38:54', 846, 0, 0, 0, 267.9000000000001, 0, 267.90000000000003, 267.90000000000003, 148, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 268, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(7, '2025-08-26 21:51:15', 847, 0, 0, 0, 402.70000000000005, 0, 402.70000000000005, 402.70000000000005, 205, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 403, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(8, '2025-08-28 20:49:39', 848, 0, 0, 0, 519.5000000000001, 0, 519.5000000000001, 519.5000000000001, 296, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 520, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(9, '2025-08-29 21:35:33', 849, 0, 0, 0, 398.3, 0, 398.29999999999995, 398.29999999999995, 219, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 398, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(10, '2025-08-30 20:52:43', 850, 0, 0, 0, 548.5, 0, 548.4999999999999, 548.4999999999999, 295, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 548, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(11, '2025-08-31 20:33:55', 851, 0, 0, 0, 294.99999999999994, 0, 294.9999999999999, 294.9999999999999, 171, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 295, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(12, '2025-09-01 20:55:25', 852, 0, 0, 0, 219.79999999999998, 0, 219.79999999999998, 219.79999999999998, 136, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(13, '2025-09-02 21:48:11', 853, 0, 0, 0, 207.3, 0, 207.3, 207.3, 108, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 207, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(14, '2025-09-03 20:40:43', 854, 0, 0, 0, 255.90000000000003, 0, 255.9, 255.9, 154, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(15, '2025-09-04 20:35:27', 855, 0, 0, 0, 286, 0, 286.00000000000006, 286.00000000000006, 163, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(16, '2025-09-05 22:34:56', 856, 0, 0, 0, 327.00000000000006, 0, 327.0000000000001, 327.0000000000001, 170, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 327, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(17, '2025-09-06 21:19:58', 857, 0, 0, 0, 285.70000000000005, 0, 285.70000000000005, 285.70000000000005, 175, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(18, '2025-09-07 20:49:27', 858, 0, 0, 0, 592.8000000000001, 0, 592.8, 592.8, 280, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 593, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(19, '2025-09-08 20:37:35', 859, 0, 0, 0, 277.5, 0, 277.50000000000006, 277.50000000000006, 154, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(20, '2025-09-09 20:57:33', 860, 0, 0, 0, 281.70000000000005, 0, 281.70000000000005, 281.70000000000005, 170, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 282, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(21, '2025-09-10 21:01:20', 861, 0, 0, 0, 260.09999999999985, 0, 260.09999999999997, 260.09999999999997, 149, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(22, '2025-09-11 21:08:40', 862, 0, 0, 0, 454.2999999999999, 0, 454.29999999999995, 454.29999999999995, 255, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 454, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(23, '2025-09-12 21:06:44', 863, 0, 0, 0, 356.8, 0, 356.80000000000007, 356.80000000000007, 202, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 357, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(24, '2025-09-13 21:16:56', 864, 0, 0, 0, 409.79999999999995, 0, 409.79999999999995, 409.79999999999995, 238, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(25, '2025-09-14 21:03:21', 865, 0, 0, 0, 380.59999999999997, 0, 380.6, 380.6, 215, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 381, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(26, '2025-09-15 20:38:51', 866, 0, 0, 0, 381.1999999999998, 0, 381.1999999999999, 381.1999999999999, 211, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 381, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(27, '2025-09-16 21:04:47', 867, 0, 0, 0, 330.1999999999998, 0, 330.2, 330.2, 203, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 330, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(28, '2025-09-17 21:03:55', 868, 0, 0, 0, 300.4999999999999, 0, 300.4999999999999, 300.4999999999999, 171, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(29, '2025-09-18 20:58:08', 869, 0, 0, 0, 332.7999999999999, 0, 332.79999999999995, 332.79999999999995, 188, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(30, '2025-09-19 21:20:47', 870, 0, 0, 0, 357.2, 0, 357.2, 357.2, 200, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 357, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(31, '2025-09-20 20:58:22', 871, 0, 0, 0, 524.6999999999999, 0, 524.6999999999999, 524.6999999999999, 277, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 525, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(32, '2025-09-21 20:43:39', 872, 0, 0, 0, 462.70000000000005, 0, 462.70000000000005, 462.70000000000005, 290, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 463, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(33, '2025-09-22 20:56:42', 873, 0, 0, 0, 316.6, 0, 316.59999999999997, 316.59999999999997, 199, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 317, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(34, '2025-09-23 21:11:00', 874, 0, 0, 0, 336.6999999999999, 0, 336.69999999999993, 336.69999999999993, 193, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 337, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(35, '2025-09-24 21:01:42', 875, 0, 0, 0, 413.0999999999999, 0, 413.0999999999998, 413.0999999999998, 229, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 413, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(36, '2025-09-25 21:50:07', 876, 0, 0, 0, 186.50000000000003, 0, 186.50000000000006, 186.50000000000006, 122, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(37, '2025-09-28 08:18:53', 877, 0, 0, 0, 101.4, 0, 101.4, 101.4, 51, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(38, '2025-09-29 07:22:21', 878, 0, 0, 0, 318.29999999999995, 0, 318.3, 318.3, 193, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(39, '2025-09-30 07:47:44', 879, 0, 0, 0, 138.79999999999995, 0, 138.8, 138.8, 80, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(40, '2025-10-02 07:17:41', 880, 0, 0, 0, 523.8000000000001, 0, 523.8000000000001, 523.8000000000001, 288, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 524, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(41, '2025-10-03 07:24:24', 881, 0, 0, 0, 256.69999999999993, 0, 256.70000000000005, 256.70000000000005, 146, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(42, '2025-10-04 21:03:40', 882, 0, 0, 0, 424.1000000000001, 0, 424.1000000000001, 424.1000000000001, 231, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 424, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(43, '2025-10-06 07:18:58', 883, 0, 0, 0, 294, 0, 293.99999999999994, 293.99999999999994, 157, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 294, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(44, '2025-10-06 21:33:03', 884, 0, 0, 0, 202.70000000000002, 0, 202.7, 202.7, 102, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(45, '2025-10-08 08:15:54', 885, 0, 0, 0, 200.89999999999995, 0, 200.9, 200.9, 108, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(46, '2025-10-09 07:10:13', 886, 0, 0, 0, 101.30000000000001, 0, 101.3, 101.3, 50, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(47, '2025-10-11 08:32:12', 887, 0, 0, 0, 156.6, 0, 156.6, 156.6, 86, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 157, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(48, '2025-11-21 07:45:50', 888, 0, 0, 0, 900.5000000000003, 0, 900.5000000000001, 900.5000000000001, 529, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 901, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(49, '2025-11-22 09:18:42', 889, 0, 0, 0, 220.69999999999996, 0, 220.7, 220.7, 140, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 221, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(50, '2025-11-22 21:46:35', 890, 0, 0, 0, 435.69999999999993, 0, 435.69999999999993, 435.69999999999993, 240, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 436, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 'lapoderosa1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `zonas`
--

CREATE TABLE `zonas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `zona` varchar(25) DEFAULT NULL,
  `cc` bigint(20) UNSIGNED NOT NULL,
  `orden` int(1) DEFAULT '0',
  `oculto` int(1) DEFAULT '0',
  `COD_SATELITEZ` varchar(25) DEFAULT 'SELECCIONE',
  `pv` varchar(25) DEFAULT 'cafeteria',
  `eshotel` int(1) DEFAULT '0',
  `idusuario` int(11) DEFAULT '0',
  `activo` tinyint(3) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `zonas`
--

INSERT INTO `zonas` (`id`, `zona`, `cc`, `orden`, `oculto`, `COD_SATELITEZ`, `pv`, `eshotel`, `idusuario`, `activo`) VALUES
(1, NULL, 0, 0, 0, 'SELECCIONE', 'cafeteria', 0, 0, 1),
(2, 'Salón', 2, 1, 0, 'SELECCIONE', 'cafeteria', 0, 0, 1),
(3, 'barra 2', 2, 3, 0, 'SELECCIONE', 'cafeteria', 0, 0, 1),
(4, 'Terraza', 2, 4, 0, 'SELECCIONE', 'cafeteria', 0, 0, 1),
(5, 'Barra 1', 2, 2, 0, 'SELECCIONE', 'cafeteria', 0, 0, 1);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `zonasclientes`
--

CREATE TABLE `zonasclientes` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `codigozona` varchar(10) DEFAULT NULL,
  `nombrezona` varchar(25) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `zonashabitaciones`
--

CREATE TABLE `zonashabitaciones` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `zona` varchar(25) DEFAULT NULL,
  `cc` bigint(20) UNSIGNED NOT NULL,
  `orden` int(1) DEFAULT '0',
  `oculto` int(1) DEFAULT '0',
  `COD_SATELITEZ` varchar(25) DEFAULT 'SELECCIONE',
  `pv` varchar(25) DEFAULT 'lapoderosa1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Índices para tablas volcadas
--

--
-- Indices de la tabla `abonos`
--
ALTER TABLE `abonos`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idfactura` (`idfactura`);

--
-- Indices de la tabla `abonoscompras`
--
ALTER TABLE `abonoscompras`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idmayorcompras` (`idmayorcompras`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `abonosordenservicio`
--
ALTER TABLE `abonosordenservicio`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idfactura` (`idorden`);

--
-- Indices de la tabla `abonosprestamos`
--
ALTER TABLE `abonosprestamos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `abonosprestamosin`
--
ALTER TABLE `abonosprestamosin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `abonosreservas`
--
ALTER TABLE `abonosreservas`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idfactura` (`idfactura`);

--
-- Indices de la tabla `abonosseparados`
--
ALTER TABLE `abonosseparados`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idmayorseparados` (`idmayorseparados`);

--
-- Indices de la tabla `adicionales`
--
ALTER TABLE `adicionales`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idarticulo_2` (`idarticulo`,`idadicional`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idadicional` (`idadicional`);

--
-- Indices de la tabla `ajustesdebodega`
--
ALTER TABLE `ajustesdebodega`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `ajustesdeinventario`
--
ALTER TABLE `ajustesdeinventario`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `anticipos`
--
ALTER TABLE `anticipos`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `anticiposeliminados`
--
ALTER TABLE `anticiposeliminados`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `articulos`
--
ALTER TABLE `articulos`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idunidaddemedida` (`idunidaddemedida`);

--
-- Indices de la tabla `asignacionarticulosfamiliasmodificadores`
--
ALTER TABLE `asignacionarticulosfamiliasmodificadores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idfamilia` (`idfamilia`);

--
-- Indices de la tabla `asignacionclientesturnos`
--
ALTER TABLE `asignacionclientesturnos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idturno` (`idturno`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `asignacioncupones`
--
ALTER TABLE `asignacioncupones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idfamilia` (`fechafin`),
  ADD KEY `idcupon` (`idcupon`);

--
-- Indices de la tabla `asignaciondescuentos`
--
ALTER TABLE `asignaciondescuentos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idfamilia` (`fechafin`);

--
-- Indices de la tabla `asignacionseccionesterceros`
--
ALTER TABLE `asignacionseccionesterceros`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idcliente_2` (`idcliente`,`idseccion`),
  ADD KEY `idseccion` (`idseccion`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `asignacionzonasterceros`
--
ALTER TABLE `asignacionzonasterceros`
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idcliente` (`idcliente`,`idzona`),
  ADD KEY `clienteszonas2` (`idzona`);

--
-- Indices de la tabla `auxiliarcambiodeprecios`
--
ALTER TABLE `auxiliarcambiodeprecios`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idinsumo`),
  ADD KEY `idcaja` (`idarticulo`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `auxiliarcostoagrupado`
--
ALTER TABLE `auxiliarcostoagrupado`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `auxiliarcotizarreceta`
--
ALTER TABLE `auxiliarcotizarreceta`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `bajas`
--
ALTER TABLE `bajas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idmayor` (`idmayor`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `bajasauxiliar`
--
ALTER TABLE `bajasauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `banco`
--
ALTER TABLE `banco`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `barrios`
--
ALTER TABLE `barrios`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `barrio` (`barrio`);

--
-- Indices de la tabla `bases`
--
ALTER TABLE `bases`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idz` (`idz`);

--
-- Indices de la tabla `bitacora`
--
ALTER TABLE `bitacora`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `bolsillos`
--
ALTER TABLE `bolsillos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `cajamayor`
--
ALTER TABLE `cajamayor`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `cajamayor2`
--
ALTER TABLE `cajamayor2`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `cajas`
--
ALTER TABLE `cajas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `calendario`
--
ALTER TABLE `calendario`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `cambios`
--
ALTER TABLE `cambios`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `cambiosauxiliar`
--
ALTER TABLE `cambiosauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `cambiosrecibidoauxiliar`
--
ALTER TABLE `cambiosrecibidoauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `cargos`
--
ALTER TABLE `cargos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `causaciones`
--
ALTER TABLE `causaciones`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`idcliente`);

--
-- Indices de la tabla `centrosdecostos`
--
ALTER TABLE `centrosdecostos`
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `cierres`
--
ALTER TABLE `cierres`
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idz_2` (`idz`,`mediodepago`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `cierresdecaja`
--
ALTER TABLE `cierresdecaja`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `ciudades`
--
ALTER TABLE `ciudades`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `clasesdevehiculo`
--
ALTER TABLE `clasesdevehiculo`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `clasedevehiculo` (`clasedevehiculo`);

--
-- Indices de la tabla `clasificacionclientes`
--
ALTER TABLE `clasificacionclientes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `clientes`
--
ALTER TABLE `clientes`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `cocina_pedidos`
--
ALTER TABLE `cocina_pedidos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_mesa_despachado` (`idmesa`,`despachado`),
  ADD KEY `idx_fechacreacion` (`fechacreacion`);

--
-- Indices de la tabla `colores`
--
ALTER TABLE `colores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `color` (`color`);

--
-- Indices de la tabla `componentesarticulos`
--
ALTER TABLE `componentesarticulos`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idinsumo` (`idinsumo`),
  ADD KEY `idarticulo` (`idarticulo`);

--
-- Indices de la tabla `compras`
--
ALTER TABLE `compras`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idproveedor` (`idproveedor`),
  ADD KEY `idmayor` (`idmayor`),
  ADD KEY `idunidaddemedida` (`idunidaddemedida`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `comprasauxiliar`
--
ALTER TABLE `comprasauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `comprobantesdenomina`
--
ALTER TABLE `comprobantesdenomina`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `conceptosgastos`
--
ALTER TABLE `conceptosgastos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `configuracion`
--
ALTER TABLE `configuracion`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `configuracionshopify`
--
ALTER TABLE `configuracionshopify`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `configuraciontirilla`
--
ALTER TABLE `configuraciontirilla`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `COD_SATELITE` (`COD_SATELITE`);

--
-- Indices de la tabla `configuracion_incrementos`
--
ALTER TABLE `configuracion_incrementos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idseccion` (`idseccion`),
  ADD KEY `activo` (`activo`);

--
-- Indices de la tabla `consecutivos`
--
ALTER TABLE `consecutivos`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `contable`
--
ALTER TABLE `contable`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `contable_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `conteodiario`
--
ALTER TABLE `conteodiario`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idmayor` (`idusuario`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idmayor_2` (`idmayor`);

--
-- Indices de la tabla `cotizaciondereceta`
--
ALTER TABLE `cotizaciondereceta`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `cotizaciones`
--
ALTER TABLE `cotizaciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idmayor` (`idmayor`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `cuentadecobro`
--
ALTER TABLE `cuentadecobro`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `cuentas`
--
ALTER TABLE `cuentas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `tipo` (`tipo`,`porcentaje`);

--
-- Indices de la tabla `cupones`
--
ALTER TABLE `cupones`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `departments`
--
ALTER TABLE `departments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `departments_country_id_foreign` (`country_id`);

--
-- Indices de la tabla `descuentosporgrupo`
--
ALTER TABLE `descuentosporgrupo`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idgrupo` (`idgrupo`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `descuentosprogramados`
--
ALTER TABLE `descuentosprogramados`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idcliente_2` (`idcliente`,`mes`,`ano`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `devolucionesporpagar`
--
ALTER TABLE `devolucionesporpagar`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idfactura` (`idfactura`);

--
-- Indices de la tabla `direcciones`
--
ALTER TABLE `direcciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `direccion` (`direccion`,`idcliente`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `ediciones`
--
ALTER TABLE `ediciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `emailenviados`
--
ALTER TABLE `emailenviados`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`texto`(1024));

--
-- Indices de la tabla `enseres`
--
ALTER TABLE `enseres`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `epss`
--
ALTER TABLE `epss`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `estilos`
--
ALTER TABLE `estilos`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `facturas`
--
ALTER TABLE `facturas`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `facturas2`
--
ALTER TABLE `facturas2`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `facturas3`
--
ALTER TABLE `facturas3`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `facturas2021`
--
ALTER TABLE `facturas2021`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `facturas2022`
--
ALTER TABLE `facturas2022`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `familiasdemodificadores`
--
ALTER TABLE `familiasdemodificadores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `fechasdescuentos`
--
ALTER TABLE `fechasdescuentos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `festivos`
--
ALTER TABLE `festivos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `fichaderegistro`
--
ALTER TABLE `fichaderegistro`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idmayor` (`idmayor`);

--
-- Indices de la tabla `fichaderegistroauxiliar`
--
ALTER TABLE `fichaderegistroauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idcliente` (`idcliente`),
  ADD KEY `idclientefichaderegistroauxiliar` (`idcliente`),
  ADD KEY `idusuariofichaderegistroauxiliar` (`idusuario`);

--
-- Indices de la tabla `garantiasenespera`
--
ALTER TABLE `garantiasenespera`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `gastos`
--
ALTER TABLE `gastos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idproveedor` (`idproveedor`);

--
-- Indices de la tabla `gruposdeincrementos`
--
ALTER TABLE `gruposdeincrementos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idx_cliente_seccion` (`idcliente`,`idseccion`),
  ADD KEY `idseccion` (`idseccion`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `gruposdepersonas`
--
ALTER TABLE `gruposdepersonas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `habitaciones`
--
ALTER TABLE `habitaciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idzona` (`idzona`),
  ADD KEY `idmeseroactual` (`idmeseroactual`);

--
-- Indices de la tabla `habitacionesvsenseres`
--
ALTER TABLE `habitacionesvsenseres`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idhabitacion_2` (`idhabitacion`,`idensere`),
  ADD KEY `idhabitacion` (`idhabitacion`),
  ADD KEY `idensere` (`idensere`);

--
-- Indices de la tabla `historialconductores`
--
ALTER TABLE `historialconductores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idnuevo` (`idnuevo`),
  ADD KEY `idanterior` (`idanterior`);

--
-- Indices de la tabla `historial_traslados`
--
ALTER TABLE `historial_traslados`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `imprimirhtml`
--
ALTER TABLE `imprimirhtml`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `informehorasporperiodo`
--
ALTER TABLE `informehorasporperiodo`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `ingresoempleados`
--
ALTER TABLE `ingresoempleados`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `iniciosdesesion`
--
ALTER TABLE `iniciosdesesion`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `insumos`
--
ALTER TABLE `insumos`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `inventarioinicial`
--
ALTER TABLE `inventarioinicial`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idmayor` (`idusuario`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idmayor_2` (`idmayor`);

--
-- Indices de la tabla `ipbloqueadas`
--
ALTER TABLE `ipbloqueadas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `ips`
--
ALTER TABLE `ips`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `jsonrecibido2`
--
ALTER TABLE `jsonrecibido2`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `lineas`
--
ALTER TABLE `lineas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `lineasborradas`
--
ALTER TABLE `lineasborradas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idcliente` (`idusuario`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `lineascambios`
--
ALTER TABLE `lineascambios`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idmayor` (`idmayor`),
  ADD KEY `idfactura` (`idfactura`);

--
-- Indices de la tabla `lineasnotascredito`
--
ALTER TABLE `lineasnotascredito`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `lineasnotasdebito`
--
ALTER TABLE `lineasnotasdebito`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `idmayor` (`idmayor`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idnotasdebito` (`idnotasdebito`) USING BTREE;

--
-- Indices de la tabla `lineaspedidosweb`
--
ALTER TABLE `lineaspedidosweb`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `lineasproduccion`
--
ALTER TABLE `lineasproduccion`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcaja` (`idmayor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `logsintegraciones`
--
ALTER TABLE `logsintegraciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `marcas`
--
ALTER TABLE `marcas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `color` (`marca`);

--
-- Indices de la tabla `mayoresbajas`
--
ALTER TABLE `mayoresbajas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `mayoresbajas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `mayorescompras`
--
ALTER TABLE `mayorescompras`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idproveedor` (`idproveedor`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `mayoresconteodiario`
--
ALTER TABLE `mayoresconteodiario`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idusuario_2` (`idusuario`);

--
-- Indices de la tabla `mayorescotizaciones`
--
ALTER TABLE `mayorescotizaciones`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `mayoresfichaderegistro`
--
ALTER TABLE `mayoresfichaderegistro`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `mayoresinventarioinicial`
--
ALTER TABLE `mayoresinventarioinicial`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `fecha` (`fecha`,`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idusuario_2` (`idusuario`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `mayoresnotascredito`
--
ALTER TABLE `mayoresnotascredito`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `mayoresordendeservicio`
--
ALTER TABLE `mayoresordendeservicio`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idfactura` (`idfactura`,`idmesa`);

--
-- Indices de la tabla `mayorespedidosweb`
--
ALTER TABLE `mayorespedidosweb`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `mayoresseparados`
--
ALTER TABLE `mayoresseparados`
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `id_2` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `facturas_ibfk_3` (`idcliente`);

--
-- Indices de la tabla `mayoressolicitudes`
--
ALTER TABLE `mayoressolicitudes`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `mayorestraslados`
--
ALTER TABLE `mayorestraslados`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `mediosdepago`
--
ALTER TABLE `mediosdepago`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `mesas`
--
ALTER TABLE `mesas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idzona` (`idzona`),
  ADD KEY `idmeseroactual` (`idmeseroactual`);

--
-- Indices de la tabla `metas`
--
ALTER TABLE `metas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idvendedor` (`idvendedor`,`idarticulo`,`mes`) USING BTREE;

--
-- Indices de la tabla `modificadores`
--
ALTER TABLE `modificadores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `modificadoresentransito`
--
ALTER TABLE `modificadoresentransito`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`idfamilia`);

--
-- Indices de la tabla `modulos`
--
ALTER TABLE `modulos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `modulo` (`modulo`);

--
-- Indices de la tabla `movimientoscajas`
--
ALTER TABLE `movimientoscajas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `movimientoscliente`
--
ALTER TABLE `movimientoscliente`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `movimientosdebodega`
--
ALTER TABLE `movimientosdebodega`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `movimientosdeinventario`
--
ALTER TABLE `movimientosdeinventario`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `municipalities`
--
ALTER TABLE `municipalities`
  ADD PRIMARY KEY (`id`),
  ADD KEY `municipalities_department_id_foreign` (`department_id`);

--
-- Indices de la tabla `ncporredimir`
--
ALTER TABLE `ncporredimir`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idnc` (`idnc`);

--
-- Indices de la tabla `ncredimidos`
--
ALTER TABLE `ncredimidos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idfactura` (`idfactura`);

--
-- Indices de la tabla `notasauxiliar`
--
ALTER TABLE `notasauxiliar`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `notascredito`
--
ALTER TABLE `notascredito`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `notascreditoauxiliar`
--
ALTER TABLE `notascreditoauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `notasdebito`
--
ALTER TABLE `notasdebito`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idmayorescompras`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `notificaciones`
--
ALTER TABLE `notificaciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `novedades`
--
ALTER TABLE `novedades`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`descuentoauxilio`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `otrosingresos`
--
ALTER TABLE `otrosingresos`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idz` (`idz`),
  ADD KEY `otrosingresos_ibfk_2` (`idusuario`);

--
-- Indices de la tabla `padressubrecetas`
--
ALTER TABLE `padressubrecetas`
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idpadre` (`idpadre`),
  ADD KEY `padressubrecetas_ibfk_1` (`idarticulo`);

--
-- Indices de la tabla `paraimprimir`
--
ALTER TABLE `paraimprimir`
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `pedidosauxiliar`
--
ALTER TABLE `pedidosauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcaja` (`idcaja`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `pedidosweb`
--
ALTER TABLE `pedidosweb`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcaja` (`idcaja`);

--
-- Indices de la tabla `pendientesporimprimir`
--
ALTER TABLE `pendientesporimprimir`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `pendientesporimprimir2`
--
ALTER TABLE `pendientesporimprimir2`
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `permisos`
--
ALTER TABLE `permisos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `rol` (`rol`,`modulo`);

--
-- Indices de la tabla `porcentajesdescuentoarticulos`
--
ALTER TABLE `porcentajesdescuentoarticulos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idarticulo` (`idarticulo`);

--
-- Indices de la tabla `preciosespeciales`
--
ALTER TABLE `preciosespeciales`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `preguntaschequeo`
--
ALTER TABLE `preguntaschequeo`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `campo` (`campo`);

--
-- Indices de la tabla `presentaciones`
--
ALTER TABLE `presentaciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `presentacion` (`presentacion`);

--
-- Indices de la tabla `prestamos`
--
ALTER TABLE `prestamos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `prestamosalaempresa`
--
ALTER TABLE `prestamosalaempresa`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `produccion`
--
ALTER TABLE `produccion`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`);

--
-- Indices de la tabla `produccionauxiliar`
--
ALTER TABLE `produccionauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcaja` (`idcaja`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `programacioncobros`
--
ALTER TABLE `programacioncobros`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `puntosdeventa`
--
ALTER TABLE `puntosdeventa`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `recepciondeequipos`
--
ALTER TABLE `recepciondeequipos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `recipettransitorio`
--
ALTER TABLE `recipettransitorio`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `registrosmediosdepago`
--
ALTER TABLE `registrosmediosdepago`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `registrosmediosdepago2`
--
ALTER TABLE `registrosmediosdepago2`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `registrosmediosdepago2021`
--
ALTER TABLE `registrosmediosdepago2021`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `registrosmediosdepago2022`
--
ALTER TABLE `registrosmediosdepago2022`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `reservasauxiliar`
--
ALTER TABLE `reservasauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `idcliente` (`idcliente`,`idreserva`);

--
-- Indices de la tabla `resoluciones`
--
ALTER TABLE `resoluciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `respuestacostoagrupado`
--
ALTER TABLE `respuestacostoagrupado`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `respuestacotizacionreceta`
--
ALTER TABLE `respuestacotizacionreceta`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `secciones`
--
ALTER TABLE `secciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `seccionespagina`
--
ALTER TABLE `seccionespagina`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `seguimientovehiculos`
--
ALTER TABLE `seguimientovehiculos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `placa` (`placa`);

--
-- Indices de la tabla `separados`
--
ALTER TABLE `separados`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idmayor` (`idmayor`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`);

--
-- Indices de la tabla `shopify`
--
ALTER TABLE `shopify`
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `sku` (`sku`);

--
-- Indices de la tabla `situacionesdecocina`
--
ALTER TABLE `situacionesdecocina`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `solicitudesauxiliar`
--
ALTER TABLE `solicitudesauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcaja` (`idcaja`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `solicitudesenviadas`
--
ALTER TABLE `solicitudesenviadas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `solicitudesrecibidas`
--
ALTER TABLE `solicitudesrecibidas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `tareas`
--
ALTER TABLE `tareas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `fecha` (`fecha`,`idprospecto`),
  ADD KEY `idprospecto` (`idprospecto`),
  ADD KEY `idusuario` (`idusuario`);

--
-- Indices de la tabla `temporal2`
--
ALTER TABLE `temporal2`
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `tiendas`
--
ALTER TABLE `tiendas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `tiposdecarroceria`
--
ALTER TABLE `tiposdecarroceria`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `tipodecarroceria` (`tipodecarroceria`);

--
-- Indices de la tabla `tiposdegasto`
--
ALTER TABLE `tiposdegasto`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `tiposdeingreso`
--
ALTER TABLE `tiposdeingreso`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `tiposdenovedad`
--
ALTER TABLE `tiposdenovedad`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`descuentoauxilio`);

--
-- Indices de la tabla `tiquetsmediosdepago`
--
ALTER TABLE `tiquetsmediosdepago`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cc` (`cc`),
  ADD KEY `idfactura` (`idmesa`);

--
-- Indices de la tabla `tokenifood`
--
ALTER TABLE `tokenifood`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `tokenrappi`
--
ALTER TABLE `tokenrappi`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `traslados`
--
ALTER TABLE `traslados`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `trasladosauxiliar`
--
ALTER TABLE `trasladosauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `trasladosdesdecaja`
--
ALTER TABLE `trasladosdesdecaja`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `trasladosentransito`
--
ALTER TABLE `trasladosentransito`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `trasladosenviados`
--
ALTER TABLE `trasladosenviados`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `trasladosrecibidos`
--
ALTER TABLE `trasladosrecibidos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `trasteos`
--
ALTER TABLE `trasteos`
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `trazabilidad`
--
ALTER TABLE `trazabilidad`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idfactura_f` (`idfactura`);

--
-- Indices de la tabla `turnos`
--
ALTER TABLE `turnos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `turnosespeciales`
--
ALTER TABLE `turnosespeciales`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `unidadesdemedida`
--
ALTER TABLE `unidadesdemedida`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `vehiculos`
--
ALTER TABLE `vehiculos`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `placa` (`placa`);

--
-- Indices de la tabla `ventas`
--
ALTER TABLE `ventas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idx_ventas_fechacreacion` (`fechacreacion`);

--
-- Indices de la tabla `ventas2`
--
ALTER TABLE `ventas2`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas3`
--
ALTER TABLE `ventas3`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas2018`
--
ALTER TABLE `ventas2018`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas2019`
--
ALTER TABLE `ventas2019`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas2020`
--
ALTER TABLE `ventas2020`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas2021`
--
ALTER TABLE `ventas2021`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas2022`
--
ALTER TABLE `ventas2022`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventas2023`
--
ALTER TABLE `ventas2023`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idfactura` (`idfactura`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idcliente` (`idcliente`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idz` (`idz`),
  ADD KEY `idvendedor` (`idvendedor`);

--
-- Indices de la tabla `ventasauxiliar`
--
ALTER TABLE `ventasauxiliar`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `ventasauxiliar2`
--
ALTER TABLE `ventasauxiliar2`
  ADD KEY `idarticulo` (`idarticulo`),
  ADD KEY `idcc` (`cc`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `idvendedor` (`idvendedor`),
  ADD KEY `idcliente` (`idcliente`);

--
-- Indices de la tabla `ventasporhoras`
--
ALTER TABLE `ventasporhoras`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `z`
--
ALTER TABLE `z`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `idusuario` (`idusuario`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `zonas`
--
ALTER TABLE `zonas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- Indices de la tabla `zonasclientes`
--
ALTER TABLE `zonasclientes`
  ADD UNIQUE KEY `id` (`id`);

--
-- Indices de la tabla `zonashabitaciones`
--
ALTER TABLE `zonashabitaciones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `id` (`id`),
  ADD KEY `cc` (`cc`);

--
-- AUTO_INCREMENT de las tablas volcadas
--

--
-- AUTO_INCREMENT de la tabla `abonos`
--
ALTER TABLE `abonos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `abonoscompras`
--
ALTER TABLE `abonoscompras`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `abonosordenservicio`
--
ALTER TABLE `abonosordenservicio`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `abonosprestamos`
--
ALTER TABLE `abonosprestamos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `abonosprestamosin`
--
ALTER TABLE `abonosprestamosin`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `abonosreservas`
--
ALTER TABLE `abonosreservas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `abonosseparados`
--
ALTER TABLE `abonosseparados`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `adicionales`
--
ALTER TABLE `adicionales`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ajustesdebodega`
--
ALTER TABLE `ajustesdebodega`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ajustesdeinventario`
--
ALTER TABLE `ajustesdeinventario`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `anticipos`
--
ALTER TABLE `anticipos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `anticiposeliminados`
--
ALTER TABLE `anticiposeliminados`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `articulos`
--
ALTER TABLE `articulos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=182;

--
-- AUTO_INCREMENT de la tabla `asignacionarticulosfamiliasmodificadores`
--
ALTER TABLE `asignacionarticulosfamiliasmodificadores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `asignacionclientesturnos`
--
ALTER TABLE `asignacionclientesturnos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `asignacioncupones`
--
ALTER TABLE `asignacioncupones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `asignaciondescuentos`
--
ALTER TABLE `asignaciondescuentos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `asignacionseccionesterceros`
--
ALTER TABLE `asignacionseccionesterceros`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=75;

--
-- AUTO_INCREMENT de la tabla `asignacionzonasterceros`
--
ALTER TABLE `asignacionzonasterceros`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT de la tabla `auxiliarcambiodeprecios`
--
ALTER TABLE `auxiliarcambiodeprecios`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `auxiliarcostoagrupado`
--
ALTER TABLE `auxiliarcostoagrupado`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `auxiliarcotizarreceta`
--
ALTER TABLE `auxiliarcotizarreceta`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `bajas`
--
ALTER TABLE `bajas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `bajasauxiliar`
--
ALTER TABLE `bajasauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `banco`
--
ALTER TABLE `banco`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `barrios`
--
ALTER TABLE `barrios`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `bases`
--
ALTER TABLE `bases`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `bolsillos`
--
ALTER TABLE `bolsillos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cajamayor`
--
ALTER TABLE `cajamayor`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cajamayor2`
--
ALTER TABLE `cajamayor2`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cajas`
--
ALTER TABLE `cajas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `calendario`
--
ALTER TABLE `calendario`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cambios`
--
ALTER TABLE `cambios`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cambiosauxiliar`
--
ALTER TABLE `cambiosauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cambiosrecibidoauxiliar`
--
ALTER TABLE `cambiosrecibidoauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cargos`
--
ALTER TABLE `cargos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `causaciones`
--
ALTER TABLE `causaciones`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `centrosdecostos`
--
ALTER TABLE `centrosdecostos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `cierres`
--
ALTER TABLE `cierres`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cierresdecaja`
--
ALTER TABLE `cierresdecaja`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ciudades`
--
ALTER TABLE `ciudades`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT de la tabla `clasesdevehiculo`
--
ALTER TABLE `clasesdevehiculo`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `clasificacionclientes`
--
ALTER TABLE `clasificacionclientes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `clientes`
--
ALTER TABLE `clientes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT de la tabla `cocina_pedidos`
--
ALTER TABLE `cocina_pedidos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `colores`
--
ALTER TABLE `colores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT de la tabla `componentesarticulos`
--
ALTER TABLE `componentesarticulos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `compras`
--
ALTER TABLE `compras`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `comprasauxiliar`
--
ALTER TABLE `comprasauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `comprobantesdenomina`
--
ALTER TABLE `comprobantesdenomina`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `conceptosgastos`
--
ALTER TABLE `conceptosgastos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT de la tabla `configuracion`
--
ALTER TABLE `configuracion`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT de la tabla `configuracionshopify`
--
ALTER TABLE `configuracionshopify`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `configuraciontirilla`
--
ALTER TABLE `configuraciontirilla`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `configuracion_incrementos`
--
ALTER TABLE `configuracion_incrementos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `consecutivos`
--
ALTER TABLE `consecutivos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;

--
-- AUTO_INCREMENT de la tabla `contable`
--
ALTER TABLE `contable`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `conteodiario`
--
ALTER TABLE `conteodiario`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cotizaciondereceta`
--
ALTER TABLE `cotizaciondereceta`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT de la tabla `cotizaciones`
--
ALTER TABLE `cotizaciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cuentadecobro`
--
ALTER TABLE `cuentadecobro`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cuentas`
--
ALTER TABLE `cuentas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `cupones`
--
ALTER TABLE `cupones`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `departments`
--
ALTER TABLE `departments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT de la tabla `descuentosporgrupo`
--
ALTER TABLE `descuentosporgrupo`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `descuentosprogramados`
--
ALTER TABLE `descuentosprogramados`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `devolucionesporpagar`
--
ALTER TABLE `devolucionesporpagar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `direcciones`
--
ALTER TABLE `direcciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ediciones`
--
ALTER TABLE `ediciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4921;

--
-- AUTO_INCREMENT de la tabla `emailenviados`
--
ALTER TABLE `emailenviados`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `enseres`
--
ALTER TABLE `enseres`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `epss`
--
ALTER TABLE `epss`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `estilos`
--
ALTER TABLE `estilos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `facturas`
--
ALTER TABLE `facturas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2308;

--
-- AUTO_INCREMENT de la tabla `facturas2`
--
ALTER TABLE `facturas2`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `facturas3`
--
ALTER TABLE `facturas3`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `facturas2021`
--
ALTER TABLE `facturas2021`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `facturas2022`
--
ALTER TABLE `facturas2022`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `familiasdemodificadores`
--
ALTER TABLE `familiasdemodificadores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `fechasdescuentos`
--
ALTER TABLE `fechasdescuentos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `festivos`
--
ALTER TABLE `festivos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT de la tabla `fichaderegistro`
--
ALTER TABLE `fichaderegistro`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `fichaderegistroauxiliar`
--
ALTER TABLE `fichaderegistroauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `garantiasenespera`
--
ALTER TABLE `garantiasenespera`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `gastos`
--
ALTER TABLE `gastos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `gruposdeincrementos`
--
ALTER TABLE `gruposdeincrementos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT de la tabla `gruposdepersonas`
--
ALTER TABLE `gruposdepersonas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `habitaciones`
--
ALTER TABLE `habitaciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `habitacionesvsenseres`
--
ALTER TABLE `habitacionesvsenseres`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `historialconductores`
--
ALTER TABLE `historialconductores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4815;

--
-- AUTO_INCREMENT de la tabla `historial_traslados`
--
ALTER TABLE `historial_traslados`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `imprimirhtml`
--
ALTER TABLE `imprimirhtml`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `informehorasporperiodo`
--
ALTER TABLE `informehorasporperiodo`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ingresoempleados`
--
ALTER TABLE `ingresoempleados`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `iniciosdesesion`
--
ALTER TABLE `iniciosdesesion`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=308;

--
-- AUTO_INCREMENT de la tabla `insumos`
--
ALTER TABLE `insumos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `inventarioinicial`
--
ALTER TABLE `inventarioinicial`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ipbloqueadas`
--
ALTER TABLE `ipbloqueadas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ips`
--
ALTER TABLE `ips`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `jsonrecibido2`
--
ALTER TABLE `jsonrecibido2`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `lineas`
--
ALTER TABLE `lineas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `lineasborradas`
--
ALTER TABLE `lineasborradas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=765;

--
-- AUTO_INCREMENT de la tabla `lineascambios`
--
ALTER TABLE `lineascambios`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `lineasnotascredito`
--
ALTER TABLE `lineasnotascredito`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `lineasnotasdebito`
--
ALTER TABLE `lineasnotasdebito`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `lineaspedidosweb`
--
ALTER TABLE `lineaspedidosweb`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `lineasproduccion`
--
ALTER TABLE `lineasproduccion`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `logsintegraciones`
--
ALTER TABLE `logsintegraciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `marcas`
--
ALTER TABLE `marcas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoresbajas`
--
ALTER TABLE `mayoresbajas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayorescompras`
--
ALTER TABLE `mayorescompras`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoresconteodiario`
--
ALTER TABLE `mayoresconteodiario`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayorescotizaciones`
--
ALTER TABLE `mayorescotizaciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoresfichaderegistro`
--
ALTER TABLE `mayoresfichaderegistro`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `mayoresinventarioinicial`
--
ALTER TABLE `mayoresinventarioinicial`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoresnotascredito`
--
ALTER TABLE `mayoresnotascredito`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoresordendeservicio`
--
ALTER TABLE `mayoresordendeservicio`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayorespedidosweb`
--
ALTER TABLE `mayorespedidosweb`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoresseparados`
--
ALTER TABLE `mayoresseparados`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayoressolicitudes`
--
ALTER TABLE `mayoressolicitudes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mayorestraslados`
--
ALTER TABLE `mayorestraslados`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `mediosdepago`
--
ALTER TABLE `mediosdepago`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT de la tabla `mesas`
--
ALTER TABLE `mesas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT de la tabla `metas`
--
ALTER TABLE `metas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `modificadores`
--
ALTER TABLE `modificadores`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `modificadoresentransito`
--
ALTER TABLE `modificadoresentransito`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `modulos`
--
ALTER TABLE `modulos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=233;

--
-- AUTO_INCREMENT de la tabla `movimientoscajas`
--
ALTER TABLE `movimientoscajas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `movimientoscliente`
--
ALTER TABLE `movimientoscliente`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `movimientosdebodega`
--
ALTER TABLE `movimientosdebodega`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `movimientosdeinventario`
--
ALTER TABLE `movimientosdeinventario`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6193;

--
-- AUTO_INCREMENT de la tabla `municipalities`
--
ALTER TABLE `municipalities`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1123;

--
-- AUTO_INCREMENT de la tabla `ncporredimir`
--
ALTER TABLE `ncporredimir`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ncredimidos`
--
ALTER TABLE `ncredimidos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `notasauxiliar`
--
ALTER TABLE `notasauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `notascredito`
--
ALTER TABLE `notascredito`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `notascreditoauxiliar`
--
ALTER TABLE `notascreditoauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `notasdebito`
--
ALTER TABLE `notasdebito`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `notificaciones`
--
ALTER TABLE `notificaciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=524;

--
-- AUTO_INCREMENT de la tabla `novedades`
--
ALTER TABLE `novedades`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `otrosingresos`
--
ALTER TABLE `otrosingresos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `padressubrecetas`
--
ALTER TABLE `padressubrecetas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `paraimprimir`
--
ALTER TABLE `paraimprimir`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `pedidosauxiliar`
--
ALTER TABLE `pedidosauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `pedidosweb`
--
ALTER TABLE `pedidosweb`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `pendientesporimprimir`
--
ALTER TABLE `pendientesporimprimir`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `permisos`
--
ALTER TABLE `permisos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1838;

--
-- AUTO_INCREMENT de la tabla `porcentajesdescuentoarticulos`
--
ALTER TABLE `porcentajesdescuentoarticulos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `preciosespeciales`
--
ALTER TABLE `preciosespeciales`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `preguntaschequeo`
--
ALTER TABLE `preguntaschequeo`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `presentaciones`
--
ALTER TABLE `presentaciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT de la tabla `prestamos`
--
ALTER TABLE `prestamos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `prestamosalaempresa`
--
ALTER TABLE `prestamosalaempresa`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `produccion`
--
ALTER TABLE `produccion`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `produccionauxiliar`
--
ALTER TABLE `produccionauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `programacioncobros`
--
ALTER TABLE `programacioncobros`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `puntosdeventa`
--
ALTER TABLE `puntosdeventa`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `recepciondeequipos`
--
ALTER TABLE `recepciondeequipos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `recipettransitorio`
--
ALTER TABLE `recipettransitorio`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5575;

--
-- AUTO_INCREMENT de la tabla `registrosmediosdepago`
--
ALTER TABLE `registrosmediosdepago`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2318;

--
-- AUTO_INCREMENT de la tabla `registrosmediosdepago2`
--
ALTER TABLE `registrosmediosdepago2`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `registrosmediosdepago2021`
--
ALTER TABLE `registrosmediosdepago2021`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `registrosmediosdepago2022`
--
ALTER TABLE `registrosmediosdepago2022`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `reservasauxiliar`
--
ALTER TABLE `reservasauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `resoluciones`
--
ALTER TABLE `resoluciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `respuestacostoagrupado`
--
ALTER TABLE `respuestacostoagrupado`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `respuestacotizacionreceta`
--
ALTER TABLE `respuestacotizacionreceta`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;

--
-- AUTO_INCREMENT de la tabla `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT de la tabla `secciones`
--
ALTER TABLE `secciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT de la tabla `seccionespagina`
--
ALTER TABLE `seccionespagina`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `seguimientovehiculos`
--
ALTER TABLE `seguimientovehiculos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `separados`
--
ALTER TABLE `separados`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `shopify`
--
ALTER TABLE `shopify`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `situacionesdecocina`
--
ALTER TABLE `situacionesdecocina`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT de la tabla `solicitudesauxiliar`
--
ALTER TABLE `solicitudesauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `solicitudesenviadas`
--
ALTER TABLE `solicitudesenviadas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `solicitudesrecibidas`
--
ALTER TABLE `solicitudesrecibidas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `tareas`
--
ALTER TABLE `tareas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `temporal2`
--
ALTER TABLE `temporal2`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `tiendas`
--
ALTER TABLE `tiendas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `tiposdecarroceria`
--
ALTER TABLE `tiposdecarroceria`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT de la tabla `tiposdegasto`
--
ALTER TABLE `tiposdegasto`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;

--
-- AUTO_INCREMENT de la tabla `tiposdeingreso`
--
ALTER TABLE `tiposdeingreso`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT de la tabla `tiposdenovedad`
--
ALTER TABLE `tiposdenovedad`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `tiquetsmediosdepago`
--
ALTER TABLE `tiquetsmediosdepago`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1559;

--
-- AUTO_INCREMENT de la tabla `tokenifood`
--
ALTER TABLE `tokenifood`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `tokenrappi`
--
ALTER TABLE `tokenrappi`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `traslados`
--
ALTER TABLE `traslados`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trasladosauxiliar`
--
ALTER TABLE `trasladosauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trasladosdesdecaja`
--
ALTER TABLE `trasladosdesdecaja`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trasladosentransito`
--
ALTER TABLE `trasladosentransito`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trasladosenviados`
--
ALTER TABLE `trasladosenviados`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trasladosrecibidos`
--
ALTER TABLE `trasladosrecibidos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trasteos`
--
ALTER TABLE `trasteos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `trazabilidad`
--
ALTER TABLE `trazabilidad`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `turnos`
--
ALTER TABLE `turnos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `turnosespeciales`
--
ALTER TABLE `turnosespeciales`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `unidadesdemedida`
--
ALTER TABLE `unidadesdemedida`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT de la tabla `vehiculos`
--
ALTER TABLE `vehiculos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas`
--
ALTER TABLE `ventas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8276;

--
-- AUTO_INCREMENT de la tabla `ventas2`
--
ALTER TABLE `ventas2`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas3`
--
ALTER TABLE `ventas3`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas2018`
--
ALTER TABLE `ventas2018`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas2019`
--
ALTER TABLE `ventas2019`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas2020`
--
ALTER TABLE `ventas2020`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas2021`
--
ALTER TABLE `ventas2021`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas2022`
--
ALTER TABLE `ventas2022`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventas2023`
--
ALTER TABLE `ventas2023`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ventasauxiliar`
--
ALTER TABLE `ventasauxiliar`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=897;

--
-- AUTO_INCREMENT de la tabla `ventasporhoras`
--
ALTER TABLE `ventasporhoras`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `z`
--
ALTER TABLE `z`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;

--
-- AUTO_INCREMENT de la tabla `zonas`
--
ALTER TABLE `zonas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT de la tabla `zonasclientes`
--
ALTER TABLE `zonasclientes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `zonashabitaciones`
--
ALTER TABLE `zonashabitaciones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Restricciones para tablas volcadas
--

--
-- Filtros para la tabla `abonos`
--
ALTER TABLE `abonos`
  ADD CONSTRAINT `abonos_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `abonoscompras`
--
ALTER TABLE `abonoscompras`
  ADD CONSTRAINT `abonoscompras_ibfk_1` FOREIGN KEY (`idmayorcompras`) REFERENCES `mayorescompras` (`id`),
  ADD CONSTRAINT `abonoscompras_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `abonosseparados`
--
ALTER TABLE `abonosseparados`
  ADD CONSTRAINT `abonosseparados_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `adicionales`
--
ALTER TABLE `adicionales`
  ADD CONSTRAINT `adicionales_ibfk_1` FOREIGN KEY (`idadicional`) REFERENCES `articulos` (`id`),
  ADD CONSTRAINT `adicionales_ibfk_2` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `ajustesdebodega`
--
ALTER TABLE `ajustesdebodega`
  ADD CONSTRAINT `ajustesdebodega_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `ajustesdebodega_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `ajustesdeinventario`
--
ALTER TABLE `ajustesdeinventario`
  ADD CONSTRAINT `ajustesdeinventario_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `articulos`
--
ALTER TABLE `articulos`
  ADD CONSTRAINT `articulos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `articulos_ibfk_3` FOREIGN KEY (`idunidaddemedida`) REFERENCES `unidadesdemedida` (`id`);

--
-- Filtros para la tabla `asignacionclientesturnos`
--
ALTER TABLE `asignacionclientesturnos`
  ADD CONSTRAINT `asignacionclientesturnos_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `asignacionclientesturnos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `asignacionclientesturnos_ibfk_3` FOREIGN KEY (`idturno`) REFERENCES `turnos` (`id`);

--
-- Filtros para la tabla `asignacioncupones`
--
ALTER TABLE `asignacioncupones`
  ADD CONSTRAINT `asignacioncupones_ibfk_1` FOREIGN KEY (`idcupon`) REFERENCES `cupones` (`id`);

--
-- Filtros para la tabla `asignacionseccionesterceros`
--
ALTER TABLE `asignacionseccionesterceros`
  ADD CONSTRAINT `asig1` FOREIGN KEY (`idseccion`) REFERENCES `secciones` (`id`),
  ADD CONSTRAINT `asig12` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `asignacionzonasterceros`
--
ALTER TABLE `asignacionzonasterceros`
  ADD CONSTRAINT `clienteszonas1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `clienteszonas2` FOREIGN KEY (`idzona`) REFERENCES `zonas` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Filtros para la tabla `auxiliarcambiodeprecios`
--
ALTER TABLE `auxiliarcambiodeprecios`
  ADD CONSTRAINT `auxiliarcambiodeprecios_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  ADD CONSTRAINT `auxiliarcambiodeprecios_ibfk_2` FOREIGN KEY (`idinsumo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `bajas`
--
ALTER TABLE `bajas`
  ADD CONSTRAINT `bajas_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `bajas_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  ADD CONSTRAINT `bajas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `bajas_ibfk_6` FOREIGN KEY (`idmayor`) REFERENCES `mayoresbajas` (`id`);

--
-- Filtros para la tabla `bajasauxiliar`
--
ALTER TABLE `bajasauxiliar`
  ADD CONSTRAINT `bajasauxiliar_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  ADD CONSTRAINT `bajasauxiliar_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `bajasauxiliar_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `bajasauxiliar_ibfk_6` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `bitacora`
--
ALTER TABLE `bitacora`
  ADD CONSTRAINT `bitacora_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `bitacora_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `bolsillos`
--
ALTER TABLE `bolsillos`
  ADD CONSTRAINT `bolsillos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `bolsillos_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `cierres`
--
ALTER TABLE `cierres`
  ADD CONSTRAINT `cierres_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `cierresdecaja`
--
ALTER TABLE `cierresdecaja`
  ADD CONSTRAINT `cierresdecaja_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `componentesarticulos`
--
ALTER TABLE `componentesarticulos`
  ADD CONSTRAINT `componentesarticulos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `componentesarticulos_ibfk_3` FOREIGN KEY (`idinsumo`) REFERENCES `articulos` (`id`),
  ADD CONSTRAINT `componentesarticulos_ibfk_4` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `compras`
--
ALTER TABLE `compras`
  ADD CONSTRAINT `compras_ibfk_4` FOREIGN KEY (`idmayor`) REFERENCES `mayorescompras` (`id`),
  ADD CONSTRAINT `compras_ibfk_6` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  ADD CONSTRAINT `compras_ibfk_7` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `comprobantesdenomina`
--
ALTER TABLE `comprobantesdenomina`
  ADD CONSTRAINT `comprobantesdenomina_ibfk_2` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `comprobantesdenomina_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `contable`
--
ALTER TABLE `contable`
  ADD CONSTRAINT `contable_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `contable_ibfk_2` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`),
  ADD CONSTRAINT `contable_ibfk_3` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `conteodiario`
--
ALTER TABLE `conteodiario`
  ADD CONSTRAINT `conteodiario_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresconteodiario` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Filtros para la tabla `descuentosporgrupo`
--
ALTER TABLE `descuentosporgrupo`
  ADD CONSTRAINT `descuentosporgrupo_ibfk_1` FOREIGN KEY (`idgrupo`) REFERENCES `gruposdepersonas` (`id`);

--
-- Filtros para la tabla `devolucionesporpagar`
--
ALTER TABLE `devolucionesporpagar`
  ADD CONSTRAINT `cons_devporpgagar_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `cons_devporpgagar_2` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`);

--
-- Filtros para la tabla `direcciones`
--
ALTER TABLE `direcciones`
  ADD CONSTRAINT `direcciones_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `facturas`
--
ALTER TABLE `facturas`
  ADD CONSTRAINT `facturas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `facturas_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  ADD CONSTRAINT `facturas_ibfk_3` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `facturas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `fechasdescuentos`
--
ALTER TABLE `fechasdescuentos`
  ADD CONSTRAINT `fechasdescuentos_ibfk_1` FOREIGN KEY (`cc`) REFERENCES `centrosdecostos` (`id`),
  ADD CONSTRAINT `fechasdescuentos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `fichaderegistro`
--
ALTER TABLE `fichaderegistro`
  ADD CONSTRAINT `fichaderegistro_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresfichaderegistro` (`id`),
  ADD CONSTRAINT `idcliente` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `idusuario` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `fichaderegistroauxiliar`
--
ALTER TABLE `fichaderegistroauxiliar`
  ADD CONSTRAINT `idclientefichaderegistroauxiliar` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `idusuariofichaderegistroauxiliar` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `gastos`
--
ALTER TABLE `gastos`
  ADD CONSTRAINT `gastos_ibfk_2` FOREIGN KEY (`idproveedor`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `gastos_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `gruposdeincrementos`
--
ALTER TABLE `gruposdeincrementos`
  ADD CONSTRAINT `gruposdeincrementos_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `gruposdeincrementos_ibfk_2` FOREIGN KEY (`idseccion`) REFERENCES `secciones` (`id`),
  ADD CONSTRAINT `gruposdeincrementos_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `habitacionesvsenseres`
--
ALTER TABLE `habitacionesvsenseres`
  ADD CONSTRAINT `llavedos` FOREIGN KEY (`idensere`) REFERENCES `enseres` (`id`),
  ADD CONSTRAINT `llaveuno` FOREIGN KEY (`idhabitacion`) REFERENCES `habitaciones` (`id`);

--
-- Filtros para la tabla `insumos`
--
ALTER TABLE `insumos`
  ADD CONSTRAINT `insumos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `insumos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `inventarioinicial`
--
ALTER TABLE `inventarioinicial`
  ADD CONSTRAINT `inventarioinicial_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresinventarioinicial` (`id`);

--
-- Filtros para la tabla `lineasborradas`
--
ALTER TABLE `lineasborradas`
  ADD CONSTRAINT `lineasborradas_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `lineascambios`
--
ALTER TABLE `lineascambios`
  ADD CONSTRAINT `lineascambios_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `cambios` (`id`),
  ADD CONSTRAINT `lineascambios_ibfk_2` FOREIGN KEY (`idmayor`) REFERENCES `cambios` (`id`),
  ADD CONSTRAINT `lineascambios_ibfk_3` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`);

--
-- Filtros para la tabla `lineasnotasdebito`
--
ALTER TABLE `lineasnotasdebito`
  ADD CONSTRAINT `lineasnotasdebito_ibfk_1` FOREIGN KEY (`idnotasdebito`) REFERENCES `notasdebito` (`id`),
  ADD CONSTRAINT `lineasnotasdebito_ibfk_2` FOREIGN KEY (`idmayor`) REFERENCES `mayorescompras` (`id`),
  ADD CONSTRAINT `lineasnotasdebito_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `lineasproduccion`
--
ALTER TABLE `lineasproduccion`
  ADD CONSTRAINT `lineasproduccion_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `produccion` (`id`);

--
-- Filtros para la tabla `mayoresbajas`
--
ALTER TABLE `mayoresbajas`
  ADD CONSTRAINT `mayoresbajas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `mayoresbajas_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  ADD CONSTRAINT `mayoresbajas_ibfk_3` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `mayoresbajas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `mayoresconteodiario`
--
ALTER TABLE `mayoresconteodiario`
  ADD CONSTRAINT `mayoresconteodiario_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `mayoresinventarioinicial`
--
ALTER TABLE `mayoresinventarioinicial`
  ADD CONSTRAINT `mayoresinventarioinicial_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `mesas`
--
ALTER TABLE `mesas`
  ADD CONSTRAINT `mesas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `mesas_ibfk_2` FOREIGN KEY (`idzona`) REFERENCES `zonas` (`id`),
  ADD CONSTRAINT `mesas_ibfk_3` FOREIGN KEY (`idmeseroactual`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `movimientosdebodega`
--
ALTER TABLE `movimientosdebodega`
  ADD CONSTRAINT `movimientosdebodega_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `movimientosdebodega_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `movimientosdeinventario`
--
ALTER TABLE `movimientosdeinventario`
  ADD CONSTRAINT `movimientosdeinventario_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `municipalities`
--
ALTER TABLE `municipalities`
  ADD CONSTRAINT `municipalities_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE;

--
-- Filtros para la tabla `ncporredimir`
--
ALTER TABLE `ncporredimir`
  ADD CONSTRAINT `ncporredimir_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `ncporredimir_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `notascredito`
--
ALTER TABLE `notascredito`
  ADD CONSTRAINT `notascredito_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `notasdebito`
--
ALTER TABLE `notasdebito`
  ADD CONSTRAINT `notasdebito_ibfk_1` FOREIGN KEY (`idmayorescompras`) REFERENCES `mayorescompras` (`id`),
  ADD CONSTRAINT `notasdebito_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `notasdebito_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `novedades`
--
ALTER TABLE `novedades`
  ADD CONSTRAINT `novedades_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `novedades_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `otrosingresos`
--
ALTER TABLE `otrosingresos`
  ADD CONSTRAINT `otrosingresos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `otrosingresos_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `padressubrecetas`
--
ALTER TABLE `padressubrecetas`
  ADD CONSTRAINT `padressubrecetas_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  ADD CONSTRAINT `padressubrecetas_ibfk_2` FOREIGN KEY (`idpadre`) REFERENCES `articulos` (`id`),
  ADD CONSTRAINT `padressubrecetas_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `porcentajesdescuentoarticulos`
--
ALTER TABLE `porcentajesdescuentoarticulos`
  ADD CONSTRAINT `porcentajesdescuentoarticulos_ibfk_1` FOREIGN KEY (`cc`) REFERENCES `centrosdecostos` (`id`),
  ADD CONSTRAINT `porcentajesdescuentoarticulos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `porcentajesdescuentoarticulos_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `preciosespeciales`
--
ALTER TABLE `preciosespeciales`
  ADD CONSTRAINT `preciosespeciales_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `produccion`
--
ALTER TABLE `produccion`
  ADD CONSTRAINT `produccion_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`);

--
-- Filtros para la tabla `programacioncobros`
--
ALTER TABLE `programacioncobros`
  ADD CONSTRAINT `programacioncobros_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `registrosmediosdepago`
--
ALTER TABLE `registrosmediosdepago`
  ADD CONSTRAINT `registrosmediosdepago_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`);

--
-- Filtros para la tabla `seguimientovehiculos`
--
ALTER TABLE `seguimientovehiculos`
  ADD CONSTRAINT `seguimientovehiculos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `seguimientovehiculos_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  ADD CONSTRAINT `seguimientovehiculos_ibfk_4` FOREIGN KEY (`placa`) REFERENCES `vehiculos` (`placa`);

--
-- Filtros para la tabla `ventas`
--
ALTER TABLE `ventas`
  ADD CONSTRAINT `ventas_ibfk_1` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`),
  ADD CONSTRAINT `ventas_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `ventas_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  ADD CONSTRAINT `ventas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`);

--
-- Filtros para la tabla `ventasauxiliar`
--
ALTER TABLE `ventasauxiliar`
  ADD CONSTRAINT `ventasauxiliar_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `ventasauxiliar_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`),
  ADD CONSTRAINT `ventasauxiliar_ibfk_6` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`);
COMMIT;

