--
-- Host: localhost    Database: papale
-- ------------------------------------------------------


--
-- Table structure for table `abonos`
--

CREATE TABLE `abonos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfactura` bigint unsigned NOT NULL,
  `nc` int DEFAULT '0',
  `consecutivo` int DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` double NOT NULL DEFAULT '0',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `saldoinicialfactura` double NOT NULL DEFAULT '0',
  `cc` int DEFAULT '2',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `saldoinicial` double NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  `observacionesabono` varchar(300) DEFAULT NULL,
  `observacionesabonos` varchar(100) DEFAULT NULL,
  `consecutivosistema` int DEFAULT NULL,
  `idoorden` int DEFAULT '0',
  `idorden` int DEFAULT '0',
  `idtercero` int DEFAULT '0',
  `destino` varchar(25) DEFAULT NULL,
  `idreserva` int DEFAULT '0',
  `idasesor` int DEFAULT '0',
  `abonogeneral` varchar(25) DEFAULT NULL,
  `idrecibogeneral` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idfactura` (`idfactura`),
  CONSTRAINT `abonos_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonos`
--


--
-- Table structure for table `abonoscompras`
--

CREATE TABLE `abonoscompras` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmayorcompras` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` int DEFAULT '0',
  `valorinicial` int NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  `mediodepago` varchar(25) DEFAULT NULL,
  `afectacaja` int DEFAULT '1',
  `observacionesabonocompra` varchar(200) DEFAULT NULL,
  `abonogeneral` varchar(25) DEFAULT NULL,
  `idtercero` int DEFAULT '0',
  `consecutivoac` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idmayorcompras` (`idmayorcompras`),
  KEY `idz` (`idz`),
  CONSTRAINT `abonoscompras_ibfk_1` FOREIGN KEY (`idmayorcompras`) REFERENCES `mayorescompras` (`id`),
  CONSTRAINT `abonoscompras_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonoscompras`
--


--
-- Table structure for table `abonosordenservicio`
--

CREATE TABLE `abonosordenservicio` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idorden` bigint unsigned NOT NULL,
  `consecutivo` int DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  `facturado` int DEFAULT '0',
  `abonado` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idfactura` (`idorden`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonosordenservicio`
--


--
-- Table structure for table `abonosprestamos`
--

CREATE TABLE `abonosprestamos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `valor` int DEFAULT NULL,
  `saldoinicial` int DEFAULT NULL,
  `saldofinal` int DEFAULT NULL,
  `idz` int DEFAULT '1',
  `idusuario` int DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idprestamo` int DEFAULT NULL,
  `consecutivo` int DEFAULT NULL,
  `idcliente` int DEFAULT '0',
  `cc` int DEFAULT '0',
  `mediodepago` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonosprestamos`
--


--
-- Table structure for table `abonosprestamosin`
--

CREATE TABLE `abonosprestamosin` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `valor` int DEFAULT NULL,
  `saldoinicial` int DEFAULT NULL,
  `saldofinal` int DEFAULT NULL,
  `idz` int DEFAULT '1',
  `idusuario` int DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idprestamo` int DEFAULT NULL,
  `consecutivo` int DEFAULT NULL,
  `idcliente` int DEFAULT '0',
  `cc` int DEFAULT '0',
  `mediodepago` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '0',
  `observaciones` varchar(100) DEFAULT NULL,
  `abonado` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonosprestamosin`
--

INSERT INTO `abonosprestamosin` (`id`, `valor`, `saldoinicial`, `saldofinal`, `idz`, `idusuario`, `fechacreacion`, `idprestamo`, `consecutivo`, `idcliente`, `cc`, `mediodepago`, `pv`, `afectacaja`, `observaciones`, `abonado`) VALUES (1,25000,0,NULL,562,2,'2025-04-24 19:29:37',1,NULL,0,0,'EFECTIVO','KALDI',1,'asd fasdfasdf',0);

--
-- Table structure for table `abonosreservas`
--

CREATE TABLE `abonosreservas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfactura` bigint unsigned NOT NULL,
  `nc` int DEFAULT '0',
  `consecutivo` int DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` double NOT NULL DEFAULT '0',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `saldoinicialfactura` double NOT NULL DEFAULT '0',
  `cc` int DEFAULT '2',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `saldoinicial` double NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  `observacionesabono` varchar(100) DEFAULT NULL,
  `observacionesabonos` varchar(100) DEFAULT NULL,
  `consecutivosistema` int DEFAULT NULL,
  `abonado` int DEFAULT '0',
  `idorden` int DEFAULT '0',
  `idtercero` int DEFAULT '0',
  `destino` varchar(25) DEFAULT NULL,
  `idreserva` int DEFAULT '0',
  `mediodepago` varchar(25) DEFAULT 'EFECTIVO',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idfactura` (`idfactura`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonosreservas`
--


--
-- Table structure for table `abonosseparados`
--

CREATE TABLE `abonosseparados` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmayorseparados` bigint unsigned NOT NULL,
  `nc` int DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` double NOT NULL DEFAULT '0',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `saldoinicialfactura` double NOT NULL DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `saldoinicial` double NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `idgasto` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idmayorseparados` (`idmayorseparados`),
  CONSTRAINT `abonosseparados_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `abonosseparados`
--


--
-- Table structure for table `adicionales`
--

CREATE TABLE `adicionales` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned DEFAULT NULL,
  `idadicional` bigint unsigned DEFAULT NULL,
  `incremento` decimal(5,2) DEFAULT '0.00',
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idarticulo_2` (`idarticulo`,`idadicional`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idadicional` (`idadicional`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `adicionales_ibfk_1` FOREIGN KEY (`idadicional`) REFERENCES `articulos` (`id`),
  CONSTRAINT `adicionales_ibfk_2` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  CONSTRAINT `adicionales_ibfk_3` FOREIGN KEY (`idadicional`) REFERENCES `articulos` (`id`),
  CONSTRAINT `adicionales_ibfk_4` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=458 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `adicionales`
--


--
-- Table structure for table `adicionales_grupo`
--

CREATE TABLE `adicionales_grupo` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idgrupo` int NOT NULL,
  `idadicional` bigint unsigned NOT NULL,
  `incremento` decimal(5,2) DEFAULT '0.00',
  `fechacreacion` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idgrupo_adicional` (`idgrupo`,`idadicional`),
  KEY `idgrupo` (`idgrupo`),
  KEY `idadicional` (`idadicional`),
  CONSTRAINT `adicionales_grupo_ibfk_1` FOREIGN KEY (`idgrupo`) REFERENCES `grupos_adicionales` (`id`),
  CONSTRAINT `adicionales_grupo_ibfk_2` FOREIGN KEY (`idadicional`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `adicionales_grupo`
--


--
-- Table structure for table `ajustesdebodega`
--

CREATE TABLE `ajustesdebodega` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(100) DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cantidad` int DEFAULT NULL,
  `detalle` varchar(100) NOT NULL DEFAULT '',
  `idusuario` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idusuario` (`idusuario`),
  KEY `cc` (`cc`),
  CONSTRAINT `ajustesdebodega_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `ajustesdebodega_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ajustesdebodega`
--


--
-- Table structure for table `ajustesdeinventario`
--

CREATE TABLE `ajustesdeinventario` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(100) DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cantidad` int DEFAULT NULL,
  `detalle` varchar(100) NOT NULL DEFAULT '',
  `idusuario` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idusuario` (`idusuario`),
  KEY `cc` (`cc`),
  CONSTRAINT `ajustesdeinventario_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=81 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ajustesdeinventario`
--

INSERT INTO `ajustesdeinventario` (`id`, `idarticulo`, `descripcion`, `fechacreacion`, `cantidad`, `detalle`, `idusuario`, `cc`, `pv`) VALUES (1,35,'AGUA BRISA','2025-10-23 17:04:08',20,'SURTIDO',7,2,'KALDI'),(2,46,'CRIOLLA BRAVA  POLLO EN TROZOS','2025-11-02 15:42:56',7,'SURTIDO',5,2,'KALDI'),(3,26,'CHICHARRÓN','2025-11-02 15:43:21',6,'SURTIDO',5,2,'KALDI'),(4,27,'CARNE AHUMADA','2025-11-02 15:43:48',4,'SURTIDO',5,2,'KALDI'),(5,27,'CARNE AHUMADA','2025-11-02 15:44:23',2,'SURTIDO',5,2,'KALDI'),(6,44,'huevos','2025-11-02 15:45:43',3,'SURTIDO',5,2,'KALDI'),(7,2,'LA ABUELA','2025-11-02 15:45:55',5,'SURTIDO',5,2,'KALDI'),(8,5,'LA CLASICA','2025-11-02 15:46:07',17,'SURTIDO',5,2,'KALDI'),(9,6,'LA CRIOLLA BRAVA','2025-11-02 15:46:17',7,'SURTIDO',5,2,'KALDI'),(10,3,'LA JUGOSA DESPELUCADA','2025-11-02 15:46:27',8,'SURTIDO',5,2,'KALDI'),(11,4,'LA PATRONAL','2025-11-02 15:46:37',11,'SURTIDO',5,2,'KALDI'),(12,7,'LA TODOTERRENO','2025-11-02 15:46:47',14,'SURTIDO',5,2,'KALDI'),(13,8,'PAPA CHORRIADA','2025-11-02 15:47:07',4,'SURTIDO',5,2,'KALDI'),(14,9,'PAPA LIGHT GUACA','2025-11-02 15:47:18',1,'SURTIDO',5,2,'KALDI'),(15,7,'LA TODOTERRENO','2025-11-02 15:47:31',14,'SURTIDO',5,2,'KALDI'),(16,2,'LA ABUELA','2025-11-02 15:50:00',10,'SURTIDO',5,2,'KALDI'),(17,3,'LA JUGOSA DESPELUCADA','2025-11-02 16:15:37',24,'SURTIDO',5,2,'KALDI'),(18,25,'CHORIZO','2025-11-02 16:16:01',12,'SURTIDO',5,2,'KALDI'),(19,5,'LA CLASICA','2025-11-02 16:29:09',18,'SURTIDO',5,2,'KALDI'),(20,44,'huevos','2025-11-02 16:36:47',120,'SURTIDO',5,2,'KALDI'),(21,35,'AGUA BRISA','2025-11-10 20:39:28',56,'INVENTARIO INICIAL ',14,2,'KALDI'),(22,33,'MR TEA 500 ML','2025-11-10 20:41:24',31,'INVENTARIO INICIAL ',14,2,'KALDI'),(23,31,'TÉ HATSU','2025-11-10 22:18:40',4,'INVENTARIO INICIAL ',14,2,'KALDI'),(24,107,'NARANJA POSTOBON','2025-11-10 22:19:51',12,'INVENTARIO INICIAL ',14,2,'KALDI'),(25,112,'PESPSI','2025-11-10 22:20:19',11,'INVENTARIO INICIAL ',14,2,'KALDI'),(26,113,'BRETAÑA','2025-11-10 22:22:42',12,'INVENTARIO INICIAL ',14,2,'KALDI'),(27,110,'UVA POSTOBON','2025-11-10 22:23:53',25,'INVENTARIO INICIAL ',14,2,'KALDI'),(28,109,'MANZANA POSTOBON','2025-11-10 22:24:27',28,'INVENTARIO INICIAL ',14,2,'KALDI'),(29,116,'(LATA) MANZANA POSTOBON','2025-11-10 22:25:16',29,'INVENTARIO INICIAL ',14,2,'KALDI'),(30,108,'COLOMBIANA','2025-11-10 22:28:53',30,'INVENTARIO INICIAL ',14,2,'KALDI'),(31,117,'(LATA) COLOMBIANA','2025-11-10 22:29:27',7,'INVENTARIO INICIAL ',14,2,'KALDI'),(32,111,'COCA COLA','2025-11-10 22:29:48',16,'INVENTARIO INICIAL ',14,2,'KALDI'),(33,55,'PECHUGA DE POLLO','2025-11-13 13:16:34',2040,'Primer conteo',14,2,'KALDI'),(34,55,'PECHUGA DE POLLO','2025-11-13 13:20:07',-6015,'Correccion',14,2,'KALDI'),(35,55,'PECHUGA DE POLLO','2025-11-13 13:21:03',2040,'Primer conteo',14,2,'KALDI'),(36,51,'CARNE DE RES DESMECHADA','2025-11-13 13:29:48',-4040,'Primer conteo',14,2,'KALDI'),(37,119,'CARNE AHUMADA MP','2025-11-13 13:40:16',-1020,'Primer conteo',14,2,'KALDI'),(38,61,'CHUNCHULLA MP','2025-11-13 13:46:56',780,'Primer conteo',14,2,'KALDI'),(39,56,'TOCINETA MP','2025-11-13 14:09:26',101,'Primer conteo',14,2,'KALDI'),(40,87,'CHORIZO SANTARROSANO','2025-11-13 14:10:12',62,'Primer conteo',14,2,'KALDI'),(41,77,'PULPA GUAYABA DULCE','2025-11-13 14:11:30',6,'Primer conteo',14,2,'KALDI'),(42,77,'PULPA GUAYABA DULCE','2025-11-13 14:14:41',1794,'Correccion',14,2,'KALDI'),(43,64,'PULPA MARACUYÁ','2025-11-13 14:15:05',6,'Primer conteo',14,2,'KALDI'),(44,71,'PULPA MORA','2025-11-13 14:16:01',5100,'Primer conteo',14,2,'KALDI'),(45,78,'PULPA FRESA','2025-11-13 14:16:30',3900,'Primer conteo',14,2,'KALDI'),(46,75,'PULPA PIÑA','2025-11-13 14:17:06',4500,'Primer conteo',14,2,'KALDI'),(47,72,'PULPA LULO','2025-11-13 14:17:41',5400,'Primer conteo',14,2,'KALDI'),(48,83,'PULPA PAPAYA','2025-11-13 14:18:03',1800,'Primer conteo',14,2,'KALDI'),(49,70,'PULPA MANGO','2025-11-13 14:18:26',3000,'Primer conteo',14,2,'KALDI'),(50,121,'PAPA MP','2025-11-13 14:30:30',22000,'Primer conteo',14,2,'KALDI'),(51,119,'CARNE AHUMADA MP','2025-11-19 21:09:28',3750,'ajuste',5,2,'KALDI'),(52,51,'CARNE DE RES DESMECHADA MP','2025-11-19 21:10:04',-10090,'ajuste',5,2,'KALDI'),(53,53,'CHICHARRÓN MP','2025-11-19 21:10:44',-930,'ajuste',5,2,'KALDI'),(54,87,'CHORIZO SANTARROSANO','2025-11-19 21:11:10',17,'ajuste',5,2,'KALDI'),(55,61,'CHUNCHULLA MP','2025-11-19 21:11:43',2490,'AJUSTE',5,2,'KALDI'),(56,88,'CREMA DE LECHE','2025-11-19 21:13:12',5390,'AJUSTE',5,2,'KALDI'),(57,60,'HUEVOS DE CODORNIZ  MP','2025-11-19 21:13:45',-370,'AJUSTE',5,2,'KALDI'),(58,55,'PECHUGA DE POLLO','2025-11-19 21:14:21',-1430,'AJUSTE',5,2,'KALDI'),(59,59,'SALCHICHA LLANERA MP','2025-11-19 21:17:14',-31,'ajuste',5,2,'KALDI'),(60,56,'TOCINETA MP','2025-11-19 21:18:07',70,'AJUSTE',5,2,'KALDI'),(61,63,'QUESO MOZARELLA MP','2025-11-19 21:19:37',-7,'AJUSTE',5,2,'KALDI'),(62,61,'CHUNCHULLA MP','2025-11-23 15:44:21',2460,'AJUSTE',13,2,'KALDI'),(63,60,'HUEVOS DE CODORNIZ  MP','2025-11-23 15:45:45',384,'AJUSTE',13,2,'KALDI'),(64,63,'QUESO MOZARELLA MP','2025-11-23 15:46:42',84,'AJUSTE',13,2,'KALDI'),(65,59,'SALCHICHA LLANERA MP','2025-11-23 15:47:23',48,'AJUSTE',13,2,'KALDI'),(66,59,'SALCHICHA LLANERA MP','2025-11-23 20:49:37',18,'AJUSTE',13,2,'KALDI'),(67,64,'PULPA MARACUYÁ','2025-11-27 16:02:55',100,'AJUSTE',5,2,'KALDI'),(68,64,'PULPA MARACUYÁ','2025-11-27 16:03:09',3,'AJUSTE',5,2,'KALDI'),(69,71,'PULPA MORA','2025-11-27 16:04:16',-3586,'AJUSTE',5,2,'KALDI'),(70,75,'PULPA PIÑA','2025-11-27 16:04:45',4371,'AJUSTE',5,2,'KALDI'),(71,81,'PULPA FRUTOS ROJOS','2025-11-27 16:06:19',1014,'AJUSTE',5,2,'KALDI'),(72,78,'PULPA FRESA','2025-11-27 16:07:10',-3290,'AJUSTE',5,2,'KALDI'),(73,72,'PULPA LULO','2025-11-27 16:07:31',-4583,'AJUSTE',5,2,'KALDI'),(74,77,'PULPA GUAYABA DULCE','2025-11-27 16:08:09',-1791,'AJUSTE',5,2,'KALDI'),(75,73,'PULPA TOMATE DE ÁRBOL','2025-11-27 16:08:47',105,'SURTIDO',5,2,'KALDI'),(76,70,'PULPA MANGO','2025-11-27 16:09:11',-1455,'AJUSTE',5,2,'KALDI'),(77,70,'PULPA MANGO','2025-11-27 16:09:28',-35,'SURTIDO',5,2,'KALDI'),(78,83,'PULPA PAPAYA','2025-11-27 16:09:49',-1795,'AJUSTE',5,2,'KALDI'),(79,65,'PULPA GUANABANA','2025-11-27 16:10:17',1004,'SURTIDO',5,2,'KALDI'),(80,75,'PULPA PIÑA','2025-11-27 16:11:36',-8742,'AJUSTE',5,2,'KALDI');

--
-- Table structure for table `anticipos`
--

CREATE TABLE `anticipos` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fechacreacion` date DEFAULT NULL,
  `valor` int DEFAULT '0',
  `mediodepago` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'EFECTIVO',
  `afectacaja` tinyint unsigned DEFAULT '1',
  `observaciones` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `idorden` int DEFAULT '0',
  `idusuario` int DEFAULT '0',
  `consecutivo` int DEFAULT '0',
  `idz` int DEFAULT '1',
  `idfactura` int DEFAULT '0',
  `idcliente` int DEFAULT '0',
  `anticpoencm` int DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `anticipos`
--

INSERT INTO `anticipos` (`id`, `fechacreacion`, `valor`, `mediodepago`, `afectacaja`, `observaciones`, `idorden`, `idusuario`, `consecutivo`, `idz`, `idfactura`, `idcliente`, `anticpoencm`) VALUES (1,'2024-08-13',500,'EFECTIVO',1,NULL,2,1,1,562,47740,3161,0),(2,'2024-08-13',100,'EFECTIVO',1,NULL,2,1,3,562,47740,3161,0),(3,'2024-08-13',3000,'TRANSFERENCIA',1,NULL,7,1,4,562,47741,3161,0),(4,'2024-08-13',5000,'TRANSFERENCIA',0,NULL,7,1,5,562,47741,3161,0);

--
-- Table structure for table `anticiposeliminados`
--

CREATE TABLE `anticiposeliminados` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fechacreacion` date DEFAULT NULL,
  `valor` int DEFAULT '0',
  `mediodepago` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `afectacaja` tinyint unsigned DEFAULT '1',
  `observaciones` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `idorden` int DEFAULT '0',
  `idusuario` int DEFAULT '0',
  `consecutivo` int DEFAULT '0',
  `idcliente` int DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `anticiposeliminados`
--


--
-- Table structure for table `articulos`
--

CREATE TABLE `articulos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idtienda` int DEFAULT '1',
  `esmp` bit(1) DEFAULT b'1',
  `seproduce` int DEFAULT '0',
  `sedesccomponeenventa` int NOT NULL DEFAULT '1',
  `idseccion` int DEFAULT '0',
  `SUBseccion` varchar(50) DEFAULT 'GENERAL',
  `ordendelarticulo` int DEFAULT '0',
  `referencia` varchar(20) NOT NULL DEFAULT '',
  `alias` varchar(20) NOT NULL DEFAULT '',
  `codabajo` varchar(5) NOT NULL DEFAULT '',
  `CODARTICULOABAJO` varchar(5) NOT NULL DEFAULT '',
  `situacioncocina` varchar(25) DEFAULT 'CAJA',
  `descripcion` varchar(100) NOT NULL DEFAULT ' ',
  `descripcionlarga` varchar(300) NOT NULL DEFAULT ' ',
  `seccion` varchar(50) NOT NULL DEFAULT 'SELECCIONE',
  `valordeventa` double NOT NULL DEFAULT '0',
  `cantidad` double NOT NULL DEFAULT '0',
  `cantidadenbodega` int DEFAULT '0',
  `fechadecreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `extension` varchar(5) NOT NULL DEFAULT ' ',
  `cc` bigint unsigned NOT NULL DEFAULT '0',
  `ultimocoste` double NOT NULL DEFAULT '0',
  `tienecomposicion` int NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `saleenlamesa` int DEFAULT '1',
  `esmodificador` int DEFAULT '1',
  `costomedio` double NOT NULL DEFAULT '0',
  `costoactual` double NOT NULL DEFAULT '0',
  `cantidadminima` int DEFAULT '0',
  `numerodelineas` int NOT NULL DEFAULT '1',
  `porcentajeiva` decimal(5,2) DEFAULT '0.00',
  `linea` varchar(50) NOT NULL DEFAULT 'SELECCIONE',
  `familiademodificadores` varchar(50) NOT NULL DEFAULT 'SELECCIONE',
  `descuentomaximo` int DEFAULT '0',
  `valordistribuidor` int NOT NULL DEFAULT '0',
  `descatalogado` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `tienemodificadores` int NOT NULL DEFAULT '0',
  `valordeventatiendas` double NOT NULL DEFAULT '0',
  `valordeventafundaciones` double NOT NULL DEFAULT '0',
  `valortiendavirtual` decimal(11,2) DEFAULT NULL,
  `comision` int NOT NULL DEFAULT '0',
  `orden` int NOT NULL DEFAULT '0',
  `semonitorea` int NOT NULL DEFAULT '0',
  `idunidaddemedida` bigint unsigned NOT NULL DEFAULT '1',
  `idrapi` varchar(25) DEFAULT NULL,
  `sesubeaifood` int DEFAULT '0',
  `sesubearappi` int DEFAULT '0',
  `secompra` int DEFAULT '0',
  `marca` varchar(25) DEFAULT NULL,
  `talla` varchar(5) DEFAULT NULL,
  `referenciacruzada` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `COD_SATELITE_ARTICULO` varchar(25) DEFAULT NULL,
  `fabricante` varchar(100) DEFAULT NULL,
  `modelo` varchar(100) DEFAULT NULL,
  `serial` varchar(100) DEFAULT NULL,
  `usuarioedita` varchar(100) DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `cantidad2` int DEFAULT '0',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `idifood` varchar(50) DEFAULT NULL,
  `valordeventaregular` int DEFAULT '0',
  `sesubeashopify` int DEFAULT '0',
  `codigoarea` int DEFAULT NULL,
  `materiales` varchar(300) DEFAULT NULL,
  `idlinea` int DEFAULT NULL,
  `porcentajecomision` decimal(5,2) DEFAULT NULL,
  `cuenta_impuesto` int DEFAULT NULL,
  `urlfotoarticulo` varchar(500) DEFAULT 'https://susoftware.es/imagenes/susoftware.png',
  `imei` varchar(50) DEFAULT NULL,
  `sefactura` bit(1) DEFAULT b'1',
  `cupon_vence` date DEFAULT NULL,
  `porcentajeutilidad1` decimal(5,2) DEFAULT NULL,
  `porcentajeutilidad2` decimal(5,2) DEFAULT NULL,
  `tipoanimal` bit(1) DEFAULT b'0',
  `tiendavirtual` bit(1) DEFAULT b'1',
  `sevendeacero` bit(1) DEFAULT b'0',
  `descuentodeldia` int DEFAULT '0',
  `conteodiario` int DEFAULT '0',
  `cantidadbodega` bit(1) DEFAULT b'0',
  `verenventas` bit(1) DEFAULT b'0',
  `mostraartodosentv` int DEFAULT '1',
  `impultraprocesados` int DEFAULT '0',
  `urlfoto` bit(1) DEFAULT b'0',
  `meta` bit(1) DEFAULT b'0',
  `promocionar_t` int DEFAULT '0',
  `p_descuento1` decimal(3,2) DEFAULT '0.00',
  `compraminima` int DEFAULT '1',
  `vrventapublico` double DEFAULT '0',
  `dia` int DEFAULT '0',
  `lunes` int DEFAULT '0',
  `martes` int DEFAULT '0',
  `miercoles` int DEFAULT '0',
  `jueves` int DEFAULT '0',
  `viernes` int DEFAULT '0',
  `sabado` int DEFAULT '0',
  `domingo` int DEFAULT '0',
  `inilunes` time DEFAULT '00:00:00',
  `inimartes` time DEFAULT '00:00:00',
  `inimiercoles` time DEFAULT '00:00:00',
  `inijueves` time DEFAULT '00:00:00',
  `iniviernes` time DEFAULT '00:00:00',
  `inisabado` time DEFAULT '00:00:00',
  `inidomingo` time DEFAULT '00:00:00',
  `finlunes` time DEFAULT '00:00:00',
  `finmartes` time DEFAULT '00:00:00',
  `finmiercoles` time DEFAULT '00:00:00',
  `finjueves` time DEFAULT '00:00:00',
  `finviernes` time DEFAULT '00:00:00',
  `finsabado` time DEFAULT '00:00:00',
  `findomingo` time DEFAULT '00:00:00',
  `descuentodeldiaentv` int DEFAULT '0',
  `porcentaje_ganancia_en_venta` decimal(5,2) DEFAULT '0.00',
  `factorpresentacion` int DEFAULT '1',
  `idpresentacion` int DEFAULT '0',
  `presentacion` varchar(25) DEFAULT NULL,
  `valorporfactor` decimal(8,2) DEFAULT '0.00',
  `fecha_vence_articulos` date DEFAULT NULL,
  `division` int DEFAULT '1',
  `varlorventa1` int DEFAULT '0',
  `referencia2` varchar(25) DEFAULT NULL,
  `compromisoactual` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idunidaddemedida` (`idunidaddemedida`),
  CONSTRAINT `articulos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `articulos_ibfk_3` FOREIGN KEY (`idunidaddemedida`) REFERENCES `unidadesdemedida` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=124 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `articulos`
--

INSERT INTO `articulos` (`id`, `idtienda`, `esmp`, `seproduce`, `sedesccomponeenventa`, `idseccion`, `SUBseccion`, `ordendelarticulo`, `referencia`, `alias`, `codabajo`, `CODARTICULOABAJO`, `situacioncocina`, `descripcion`, `descripcionlarga`, `seccion`, `valordeventa`, `cantidad`, `cantidadenbodega`, `fechadecreacion`, `extension`, `cc`, `ultimocoste`, `tienecomposicion`, `idusuario`, `saleenlamesa`, `esmodificador`, `costomedio`, `costoactual`, `cantidadminima`, `numerodelineas`, `porcentajeiva`, `linea`, `familiademodificadores`, `descuentomaximo`, `valordistribuidor`, `descatalogado`, `subido`, `tienemodificadores`, `valordeventatiendas`, `valordeventafundaciones`, `valortiendavirtual`, `comision`, `orden`, `semonitorea`, `idunidaddemedida`, `idrapi`, `sesubeaifood`, `sesubearappi`, `secompra`, `marca`, `talla`, `referenciacruzada`, `pv`, `COD_SATELITE_ARTICULO`, `fabricante`, `modelo`, `serial`, `usuarioedita`, `ultimaedicion`, `cantidad2`, `situacioncocina2`, `idifood`, `valordeventaregular`, `sesubeashopify`, `codigoarea`, `materiales`, `idlinea`, `porcentajecomision`, `cuenta_impuesto`, `urlfotoarticulo`, `imei`, `sefactura`, `cupon_vence`, `porcentajeutilidad1`, `porcentajeutilidad2`, `tipoanimal`, `tiendavirtual`, `sevendeacero`, `descuentodeldia`, `conteodiario`, `cantidadbodega`, `verenventas`, `mostraartodosentv`, `impultraprocesados`, `urlfoto`, `meta`, `promocionar_t`, `p_descuento1`, `compraminima`, `vrventapublico`, `dia`, `lunes`, `martes`, `miercoles`, `jueves`, `viernes`, `sabado`, `domingo`, `inilunes`, `inimartes`, `inimiercoles`, `inijueves`, `iniviernes`, `inisabado`, `inidomingo`, `finlunes`, `finmartes`, `finmiercoles`, `finjueves`, `finviernes`, `finsabado`, `findomingo`, `descuentodeldiaentv`, `porcentaje_ganancia_en_venta`, `factorpresentacion`, `idpresentacion`, `presentacion`, `valorporfactor`, `fecha_vence_articulos`, `division`, `varlorventa1`, `referencia2`, `compromisoactual`) VALUES (1,1,_binary '',0,1,0,'GENERAL',0,'','','','','CAJA','EN ESPERA',' ','SELECCIONE',0,0,0,'2025-10-02 19:01:50',' ',2,0,0,1,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,'-1','KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-02 19:01:50',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(2,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA ABUELA','','SELECCIONE',18500,-56,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,450,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:36:07',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(3,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA JUGOSA DESPELUCADA','','SELECCIONE',18500,-109,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,2854.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:37:58',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(4,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA PATRONAL (CHORIZO)','','SELECCIONE',18500,-16,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1174.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:38:20',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(5,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA CLASICA','','SELECCIONE',16500,-112,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,3838.1728847585696,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:38:41',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(6,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA CRIOLLA BRAVA','','SELECCIONE',18500,-33,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,2104.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:39:08',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(7,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA TODOTERRENO','','SELECCIONE',36000,-89,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,6963.239170404415,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:39:30',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(8,1,_binary '',1,1,2,'GENERAL',0,'','','','','COCINA','PAPA CHORRIADA','','SELECCIONE',12000,-18,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,2103.448275862069,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:40:05',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(9,1,_binary '',1,1,2,'GENERAL',0,'','','','','COCINA','PAPA LIGHT GUACA','','SELECCIONE',12000,-5,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1024.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:40:32',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(10,1,_binary '',1,1,2,'GENERAL',0,'','','','','COCINA','PAPA FESTIVA','','SELECCIONE',12000,-17,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1850,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:40:55',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(11,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','QUESO FUNDIDO','','SELECCIONE',4000,-6,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,724.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:41:23',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(12,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','QUESO CAMPESINO','','SELECCIONE',4000,-1,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:42:31',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(13,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','GUACAMOLE','','SELECCIONE',4000,-17,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:42:45',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(14,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','PICO DE GALLO','','SELECCIONE',4000,-1,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:43:02',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(15,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','VERDURAS FRESCAS','','SELECCIONE',4000,0,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:43:16',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(16,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','VERDURITAS FRESCAS','','SELECCIONE',4000,0,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:43:32',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(17,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','MAICITOS','','SELECCIONE',4000,-3,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:43:48',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(18,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','PORCIÓN PAPA FRITA','','SELECCIONE',4000,-4,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,450,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:44:35',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(19,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','PORCIÓN PAPA COCIDA','','SELECCIONE',4000,0,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,300,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:45:00',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(20,1,_binary '',1,1,5,'GENERAL',0,'','','','','COCINA','MADURITOS','','SELECCIONE',4000,-5,0,'2025-10-22 18:36:07',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:45:09',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(21,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','SALCHICHA LLANERA','','SELECCIONE',6000,-8,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,2225,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:45:17',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(22,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','RES DESMECHADA','','SELECCIONE',6000,-7,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1680,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:45:45',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(23,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','POLLO DESMECHADO','','SELECCIONE',6000,-3,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,930,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:45:59',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(24,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','CHUNCHULLA','','SELECCIONE',6000,-15,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:46:15',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(25,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','CHORIZO','','SELECCIONE',6000,-5,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:46:28',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(26,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','CHICHARRÓN','','SELECCIONE',6000,-7,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1082.0689655172414,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:46:42',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(27,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','CARNE AHUMADA','','SELECCIONE',6000,-9,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1680,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:47:02',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(28,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','TOCINETA','','SELECCIONE',6000,-4,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,878.0636057744492,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:47:10',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(29,1,_binary '',1,1,3,'GENERAL',0,'','','','','BEBIDAS','JUGO EN AGUA','','SELECCIONE',7500,-38,0,'2025-10-22 18:50:45',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,1,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:50:45',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(30,1,_binary '',1,1,3,'GENERAL',0,'','','','','BEBIDAS','JUGO EN LECHE','','SELECCIONE',9000,-40,0,'2025-10-22 18:50:45',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,1,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:52:01',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(31,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','TÉ HATSU','','SELECCIONE',6500,13,0,'2025-10-22 18:50:45',' ',0,3458.3333333333335,0,5,1,1,2964.285714285714,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:52:25',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(32,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','GASEOSA PERSONAL 350 ML','','SELECCIONE',4000,-176,0,'2025-10-22 18:50:45',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,1,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:52:47',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(33,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','MR TEA 500 ML','','SELECCIONE',4000,42,0,'2025-10-22 18:50:45',' ',0,2083.3333333333335,0,5,1,1,909.0909090909091,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:53:35',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(34,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','AGUA MANANTIAL','','SELECCIONE',5000,0,0,'2025-10-22 18:50:45',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:54:10',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(35,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','AGUA BRISA','','SELECCIONE',3000,51,0,'2025-10-22 18:50:45',' ',0,1154.1666666666667,0,5,1,1,346.25,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:54:27',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(36,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MORA','','SELECCIONE',0,-17,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:57:17',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(37,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MANGO','','SELECCIONE',0,-15,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:59:21',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(38,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','LULO','','SELECCIONE',0,-9,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 18:59:57',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(39,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','FRESA','','SELECCIONE',0,-6,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 19:00:04',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(40,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MARACUYÁ','','SELECCIONE',0,-5,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 19:00:12',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(41,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','GUANABANA','','SELECCIONE',0,-12,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 19:00:23',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(42,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','LIMONADA','','SELECCIONE',0,-2,0,'2025-10-22 18:57:17',' ',0,0,0,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-22 19:00:35',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(43,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','ALITAS','','SELECCIONE',6000,0,0,'2025-10-23 16:41:50',' ',0,0,0,7,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,'',NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-10-23 16:41:50',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(46,1,_binary '',1,1,0,'GENERAL',0,'','','','','CAJA','CRIOLLA BRAVA  POLLO EN TROZOS','','SELECCIONE',18500,0,0,'2025-11-01 18:14:06',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,'',NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-01 18:14:06',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(47,1,_binary '',1,1,0,'GENERAL',0,'','','','','CAJA','POLLO EN TROZOS','','SELECCIONE',6000,0,0,'2025-11-01 18:17:08',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,'',NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-01 18:17:08',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,1,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(49,1,_binary '',1,1,4,'GENERAL',0,'','','','','CAJA','POLLO APANADO TROZOS','','SELECCIONE',6000,-1,0,'2025-11-02 18:52:46',' ',0,0,1,5,1,1,930,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-02 18:52:46',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,1,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(51,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CARNE DE RES DESMECHADA MP','','SELECCIONE',0,2870,0,'2025-11-09 21:46:10',' ',0,28,0,15,0,1,28,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:46:10',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(52,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CARNE DE CERDO','','SELECCIONE',0,3000,0,'2025-11-09 21:46:10',' ',0,23,0,15,0,1,23,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:46:55',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(53,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CHICHARRÓN MP','','SELECCIONE',0,350,0,'2025-11-09 21:46:10',' ',0,15.800000000000002,0,15,0,1,18.03448275862069,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:47:06',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(54,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','MUSLOS DE POLLO','','SELECCIONE',0,2940,0,'2025-11-09 21:46:10',' ',0,10,0,15,0,1,10,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:48:03',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(55,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PECHUGA DE POLLO','','SELECCIONE',0,1090,0,'2025-11-09 21:46:10',' ',0,15.5,0,15,0,1,15.5,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:48:13',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(56,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','TOCINETA MP','','SELECCIONE',0,3,0,'2025-11-09 21:46:10',' ',0,478.78787878787887,0,15,0,1,439.0318028872246,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:48:32',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(57,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','MAIZ DULCE','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:48:40',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(59,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','SALCHICHA LLANERA MP','','SELECCIONE',0,-113,0,'2025-11-09 21:46:10',' ',0,1112.5,0,15,0,1,1112.5,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:48:57',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(60,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','HUEVOS DE CODORNIZ  MP','','SELECCIONE',0,1292,0,'2025-11-09 21:46:10',' ',0,220.41666666666666,0,15,0,1,220.55748485543268,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:50:24',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(61,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CHUNCHULLA MP','','SELECCIONE',0,-750,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 21:59:20',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(63,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','QUESO MOZARELLA MP','','SELECCIONE',0,210,0,'2025-11-09 21:46:10',' ',0,687.5,0,15,0,1,724.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:03:07',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(64,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MARACUYÁ','','SELECCIONE',0,-291,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:03:40',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(65,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA GUANABANA','','SELECCIONE',0,4,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:03:55',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(66,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA UVA','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:04:03',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(67,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MARACUPIÑA','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:04:13',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(68,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MARACUMANGO','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:04:22',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(69,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MARACULULO','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:04:34',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(70,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MANGO','','SELECCIONE',0,10,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:04:44',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(71,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MORA','','SELECCIONE',0,14,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:04:51',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(72,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA LULO','','SELECCIONE',0,17,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:05:00',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(73,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA TOMATE DE ÁRBOL','','SELECCIONE',0,5,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:05:05',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(74,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MANGO PIÑA','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:05:22',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(75,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA PIÑA','','SELECCIONE',0,29,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:05:37',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(76,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA GUAYABA AGRIA','','SELECCIONE',0,74,0,'2025-11-09 21:46:10',' ',0,1098.498,0,15,0,1,74.92060092165899,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:05:45',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(77,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA GUAYABA DULCE','','SELECCIONE',0,9,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:05:58',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(78,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA FRESA','','SELECCIONE',0,10,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:05',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(79,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA FRESA MORA','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:10',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(81,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA FRUTOS ROJOS','','SELECCIONE',0,14,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:22',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(82,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA MANGO BICHE','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:26',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(83,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA PAPAYA','','SELECCIONE',0,5,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:34',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(84,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA BATIDOS VERDES','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:45',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(85,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA CRISTAL DE SABIA','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:06:57',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(86,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PULPA CURUVA','','SELECCIONE',0,0,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:07:12',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(87,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CHORIZO SANTARROSANO','','SELECCIONE',0,-256,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,'',NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-09 22:07:35',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(88,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CREMA DE LECHE','','SELECCIONE',0,4590,0,'2025-11-09 21:46:10',' ',0,0,0,15,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,'',NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 20:32:16',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(89,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MARACUPIÑA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:19:16',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(90,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','UVA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:20:30',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(91,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MARACUMANGO','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:21:36',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(92,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MARACULULO','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:22:13',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(93,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','TOMATE DE ARBOL','','SELECCIONE',0,-1,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:22:47',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(94,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MANGO PIÑA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:25:03',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(95,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','PIÑA','','SELECCIONE',0,-1,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:26:13',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(96,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','GUAYABA AGRIA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,7492.060092165899,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:29:08',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(97,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','GUAYABA DULCE','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:29:33',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(98,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','FRESA MORA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:30:00',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(99,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','FRUTOS ROJOS','','SELECCIONE',0,-10,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:30:45',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(100,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','MANGO BICHE','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:31:13',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(101,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','PAPAYA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:31:30',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(102,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','BATIDOS VERDES','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:33:30',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(103,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','CRISTAL DE SAVILA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,1,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:34:07',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(104,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','CURUBA','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,0,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:34:27',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(105,1,_binary '',0,1,7,'GENERAL',0,'','','','','BEBIDAS','','','SELECCIONE',0,0,0,'2025-10-22 18:57:17',' ',0,0,0,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:34:45',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(107,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','NARANJA POSTOBON','','SELECCIONE',0,33,0,'2025-10-22 18:57:17',' ',0,2083.3333333333335,0,5,0,1,1488.0952380952383,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:39:49',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(108,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','COLOMBIANA','','SELECCIONE',0,35,0,'2025-10-22 18:57:17',' ',0,2083.3333333333335,0,5,0,1,694.4444444444446,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:40:27',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(109,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','MANZANA POSTOBON','','SELECCIONE',0,28,0,'2025-10-22 18:57:17',' ',0,2083.3333333333335,0,5,0,1,1077.5862068965519,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:41:24',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(110,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','UVA POSTOBON','','SELECCIONE',0,34,0,'2025-10-22 18:57:17',' ',0,2083.3333333333335,0,5,0,1,781.2500000000001,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:41:41',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(111,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','COCA COLA','','SELECCIONE',0,7,0,'2025-10-22 18:57:17',' ',0,2550,0,5,0,1,2550,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:42:17',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(112,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','PESPSI','','SELECCIONE',0,16,0,'2025-10-22 18:57:17',' ',0,2083.3333333333335,0,5,0,1,1201.9230769230771,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:43:07',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(113,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','BRETAÑA','','SELECCIONE',0,30,0,'2025-10-22 18:57:17',' ',0,2120.8333333333335,0,5,0,1,1413.888888888889,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:43:46',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(115,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','GASEOSA LATA','','SELECCIONE',4000,0,0,'2025-10-22 18:50:45',' ',0,0,0,5,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,1,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:45:11',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(116,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','(LATA) MANZANA POSTOBON','','SELECCIONE',0,29,0,'2025-10-22 18:57:17',' ',0,0,0,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:51:17',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(117,1,_binary '',0,1,8,'GENERAL',0,'','','','','BEBIDAS','(LATA) COLOMBIANA','','SELECCIONE',0,7,0,'2025-10-22 18:57:17',' ',0,0,0,5,0,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-10 21:52:03',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(118,1,_binary '',0,1,3,'GENERAL',0,'','','','','BEBIDAS','HIT 500 ML','','SELECCIONE',4000,51,0,'2025-10-22 18:50:45',' ',0,2333.3333333333335,0,5,1,1,1018.1818181818181,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-11 14:45:47',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(119,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','CARNE AHUMADA MP','','SELECCIONE',0,2790,0,'2025-11-09 21:46:10',' ',0,28,0,15,0,1,28,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-13 13:35:40',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(120,1,_binary '',1,1,4,'GENERAL',0,'','','','','COCINA','HUEVOS DE CODORNIS','','SELECCIONE',6000,-15,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,1323.344909132596,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-13 13:58:41',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(121,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','PAPA MP','','SELECCIONE',0,259500,0,'2025-11-09 21:46:10',' ',0,1,0,15,0,1,1,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,6,NULL,0,0,1,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-13 14:27:12',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(122,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA PATRONAL (CARNE AHUMADA)','','SELECCIONE',18500,-21,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,2854.141081871345,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-14 12:27:16',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0),(123,1,_binary '',1,1,1,'GENERAL',0,'','','','','COCINA','LA PATRONAL (CHICHARRÓN)','','SELECCIONE',18500,-8,0,'2025-10-22 18:36:07',' ',0,0,1,5,1,1,2256.2100473885866,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,0,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-11-14 12:27:24',0,'CAJA',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,0,0,0,0,0,0,0,0,0,'00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00','00:00:00',0,0.00,1,0,NULL,0.00,NULL,1,0,NULL,0);

--
-- Table structure for table `articulos_grupos`
--

CREATE TABLE `articulos_grupos` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `idgrupo` int NOT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idarticulo_grupo` (`idarticulo`,`idgrupo`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idgrupo` (`idgrupo`),
  CONSTRAINT `articulos_grupos_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  CONSTRAINT `articulos_grupos_ibfk_2` FOREIGN KEY (`idgrupo`) REFERENCES `grupos_adicionales` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `articulos_grupos`
--


--
-- Table structure for table `asignacionarticulosfamiliasmodificadores`
--

CREATE TABLE `asignacionarticulosfamiliasmodificadores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `familiademodificadores` varchar(50) NOT NULL DEFAULT '',
  `activo` int DEFAULT '0',
  `idfamilia` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `sesubeaifood` int DEFAULT '0',
  `idrapi` varchar(25) DEFAULT NULL,
  `papa` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `orden` int DEFAULT '0',
  `sesubearappi` int DEFAULT '1',
  `minimo` int DEFAULT '0',
  `maximo` int DEFAULT '0',
  `ordenasignaionfm` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idfamilia` (`idfamilia`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignacionarticulosfamiliasmodificadores`
--

INSERT INTO `asignacionarticulosfamiliasmodificadores` (`id`, `idarticulo`, `familiademodificadores`, `activo`, `idfamilia`, `fechacreacion`, `sesubeaifood`, `idrapi`, `papa`, `pv`, `orden`, `sesubearappi`, `minimo`, `maximo`, `ordenasignaionfm`) VALUES (1,29,'',0,1,'2025-10-22 19:02:35',0,NULL,0,'KALDI',0,1,0,0,0),(2,30,'',0,1,'2025-10-22 19:02:43',0,NULL,0,'KALDI',0,1,0,0,0),(3,32,'',0,2,'2025-11-10 22:02:27',0,NULL,0,'KALDI',0,1,0,0,0),(4,115,'',0,3,'2025-11-10 22:03:43',0,NULL,0,'KALDI',0,1,0,0,0);

--
-- Table structure for table `asignacionarticulosturnos`
--

CREATE TABLE `asignacionarticulosturnos` (
  `id` bigint unsigned NOT NULL,
  `idarticulo` int NOT NULL,
  `idturno` int NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cc` int NOT NULL DEFAULT '0',
  `idarticulooriginal` int NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignacionarticulosturnos`
--


--
-- Table structure for table `asignacionclientesturnos`
--

CREATE TABLE `asignacionclientesturnos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idcliente` bigint unsigned DEFAULT NULL,
  `idturno` bigint unsigned DEFAULT NULL,
  `fechacreacion` date DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idcliente` (`idcliente`),
  KEY `idturno` (`idturno`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `asignacionclientesturnos_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `asignacionclientesturnos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `asignacionclientesturnos_ibfk_3` FOREIGN KEY (`idturno`) REFERENCES `turnos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignacionclientesturnos`
--


--
-- Table structure for table `asignacioncupones`
--

CREATE TABLE `asignacioncupones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `idcupon` bigint DEFAULT NULL,
  `fechainicio` date DEFAULT NULL,
  `fechafin` date DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `porcentajedescuento` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idfamilia` (`fechafin`),
  KEY `idcupon` (`idcupon`),
  CONSTRAINT `asignacioncupones_ibfk_1` FOREIGN KEY (`idcupon`) REFERENCES `cupones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignacioncupones`
--


--
-- Table structure for table `asignaciondescuentos`
--

CREATE TABLE `asignaciondescuentos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `idcliente` int DEFAULT NULL,
  `fechainicio` date DEFAULT NULL,
  `fechafin` date DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `porcentajedescuento` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idfamilia` (`fechafin`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignaciondescuentos`
--


--
-- Table structure for table `asignacionseccionesterceros`
--

CREATE TABLE `asignacionseccionesterceros` (
  `idcliente` bigint unsigned NOT NULL,
  `idseccion` bigint unsigned NOT NULL,
  `activo` int DEFAULT '1',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idcliente_2` (`idcliente`,`idseccion`),
  KEY `idseccion` (`idseccion`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `asig1` FOREIGN KEY (`idseccion`) REFERENCES `secciones` (`id`),
  CONSTRAINT `asig12` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignacionseccionesterceros`
--

INSERT INTO `asignacionseccionesterceros` (`idcliente`, `idseccion`, `activo`, `id`) VALUES (5,1,1,1),(5,2,1,2),(5,3,1,3),(5,4,1,4),(5,5,1,5),(7,1,1,8),(7,2,1,9),(7,3,1,10),(7,4,1,11),(7,5,1,12),(1,5,1,16),(1,4,1,17),(1,3,1,18),(1,2,1,19),(1,1,1,20),(2,5,1,21),(2,4,1,22),(2,3,1,23),(2,2,1,24),(2,1,1,25),(13,1,1,32),(13,2,1,33),(13,3,1,34),(13,4,1,35),(13,5,1,36),(14,1,1,41),(14,2,1,42),(14,3,1,43),(14,4,1,44),(14,5,1,45),(15,1,1,50),(15,2,1,51),(15,3,1,52),(15,4,1,53),(15,5,1,54),(7,6,1,58),(1,6,1,60),(2,6,1,61),(5,6,1,62),(13,6,1,63),(14,6,1,64),(15,6,1,65),(1,7,1,67),(2,7,1,68),(5,7,1,69),(7,7,1,70),(13,7,1,71),(14,7,1,72),(15,7,1,73),(1,8,1,82),(2,8,1,83),(5,8,1,84),(7,8,1,85),(13,8,1,86),(14,8,1,87),(15,8,1,88);

--
-- Table structure for table `asignacionzonasterceros`
--

CREATE TABLE `asignacionzonasterceros` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idcliente` bigint unsigned NOT NULL,
  `idzona` bigint unsigned NOT NULL,
  `activo` int DEFAULT '1',
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idcliente` (`idcliente`,`idzona`),
  KEY `clienteszonas2` (`idzona`),
  CONSTRAINT `clienteszonas1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `clienteszonas2` FOREIGN KEY (`idzona`) REFERENCES `zonas` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `asignacionzonasterceros`
--

INSERT INTO `asignacionzonasterceros` (`id`, `idcliente`, `idzona`, `activo`) VALUES (1,5,1,1),(2,1,1,1),(3,2,1,1),(5,1,2,1),(6,2,2,1),(7,5,2,1),(8,1,3,1),(9,2,3,1),(10,5,3,1),(13,7,1,1),(14,7,2,1),(15,7,3,1),(18,13,1,1),(19,13,2,1),(20,13,3,1),(23,14,1,1),(24,14,2,1),(25,14,3,1),(28,15,1,1),(29,15,2,1),(30,15,3,1);

--
-- Table structure for table `auxiliarbuscarpadre`
--

CREATE TABLE `auxiliarbuscarpadre` (
  `a` int NOT NULL,
  `b` int NOT NULL,
  `idusuario` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `auxiliarbuscarpadre`
--


--
-- Table structure for table `auxiliarcambiodeprecios`
--

CREATE TABLE `auxiliarcambiodeprecios` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idinsumo` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL DEFAULT '1',
  `cc` bigint unsigned NOT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idinsumo`),
  KEY `idcaja` (`idarticulo`),
  KEY `cc` (`cc`),
  CONSTRAINT `auxiliarcambiodeprecios_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  CONSTRAINT `auxiliarcambiodeprecios_ibfk_2` FOREIGN KEY (`idinsumo`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `auxiliarcambiodeprecios`
--


--
-- Table structure for table `auxiliarcostoagrupado`
--

CREATE TABLE `auxiliarcostoagrupado` (
  `idarticulo` int NOT NULL,
  `idinsumo` int NOT NULL,
  `idusuario` int NOT NULL,
  `cantidad` double NOT NULL,
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `auxiliarcostoagrupado`
--


--
-- Table structure for table `auxiliarcotizarreceta`
--

CREATE TABLE `auxiliarcotizarreceta` (
  `idarticulo` int NOT NULL,
  `idinsumo` int NOT NULL,
  `idusuario` int NOT NULL,
  `cantidad` double NOT NULL,
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `auxiliarcotizarreceta`
--


--
-- Table structure for table `bajas`
--

CREATE TABLE `bajas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idmayor` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `INCREMENTO` int NOT NULL,
  `codarticulo` int NOT NULL,
  `codsituacion` int NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` bigint unsigned NOT NULL,
  `esmodificador` int 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 NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint 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 unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int 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 NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `idnc` bigint unsigned NOT NULL DEFAULT '1',
  `nc` int DEFAULT '0',
  `idusuarionc` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int NOT NULL DEFAULT '0',
  `devolucionrevisada` int DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int NOT NULL DEFAULT '0',
  `marcadoparanc` int NOT NULL DEFAULT '0',
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODMODIF` varchar(2) NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int NOT NULL DEFAULT '0',
  `NUMMODIF` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `aliasespera` int NOT NULL DEFAULT '1',
  `impresiones` int 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 NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idmayor` (`idmayor`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  CONSTRAINT `bajas_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `bajas_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  CONSTRAINT `bajas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`),
  CONSTRAINT `bajas_ibfk_6` FOREIGN KEY (`idmayor`) REFERENCES `mayoresbajas` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `bajas`
--

INSERT INTO `bajas` (`id`, `codvendedor`, `REFERENCIA`, `situacioncocina`, `idmayor`, `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`, `pv`) VALUES (1,0,NULL,NULL,1,16,0,0,0,0,NULL,0,123,0,0,NULL,1,NULL,NULL,18500,2,0,0,0,0,18500,0,'V','MESAS','2025-11-21 19:12:48','2025-11-21 19:12:48',NULL,NULL,'2025-11-21 19:12:48',3,13,16,0,0,2189.4154567453115,0,0,0,0,1,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,'KALDI'),(2,0,NULL,NULL,1,16,0,0,0,0,NULL,0,3,0,0,NULL,1,NULL,NULL,18500,2,0,0,0,0,18500,0,'V','MESAS','2025-11-21 19:12:48','2025-11-21 19:12:48',NULL,NULL,'2025-11-21 19:12:48',3,13,16,0,0,2787.34649122807,0,0,0,0,1,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,'KALDI'),(3,0,NULL,NULL,1,16,0,0,0,0,NULL,0,32,0,0,NULL,1,NULL,NULL,4000,2,0,0,0,0,4000,0,'V','MESAS','2025-11-21 19:12:48','2025-11-21 19:12:48',NULL,NULL,'2025-11-21 19:12:48',3,13,16,0,0,0,0,0,0,0,1,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,'KALDI'),(4,0,NULL,NULL,1,16,0,0,0,0,NULL,0,111,0,0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,0,'V','MESAS','2025-11-21 19:12:48','2025-11-21 19:12:48',NULL,NULL,'2025-11-21 19:12:48',3,13,16,0,0,0,0,0,0,0,1,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,'KALDI'),(5,0,NULL,NULL,1,16,0,0,0,0,NULL,0,32,0,0,NULL,1,NULL,NULL,4000,2,0,0,0,0,4000,0,'V','MESAS','2025-11-21 19:12:48','2025-11-21 19:12:48',NULL,NULL,'2025-11-21 19:12:48',3,13,16,0,0,0,0,0,0,0,1,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,'KALDI'),(6,0,NULL,NULL,1,16,0,0,0,0,NULL,0,109,0,0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,0,'V','MESAS','2025-11-21 19:12:48','2025-11-21 19:12:48',NULL,NULL,'2025-11-21 19:12:48',3,13,16,0,0,0,0,0,0,0,1,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,'KALDI');

--
-- Table structure for table `bajasauxiliar`
--

CREATE TABLE `bajasauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `estadoimpresion` int DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(50) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idmesa` int DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int NOT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint 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 DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÆ’Ã‚Â² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÆ’Ã‚Â² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int 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 NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `bajasauxiliar_ibfk_1` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`),
  CONSTRAINT `bajasauxiliar_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `bajasauxiliar_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`),
  CONSTRAINT `bajasauxiliar_ibfk_6` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `bajasauxiliar`
--


--
-- Table structure for table `banco`
--

CREATE TABLE `banco` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `valor` double DEFAULT '0',
  `tipo` varchar(25) DEFAULT NULL,
  `descripcion` varchar(25) DEFAULT NULL,
  `concepto` varchar(200) DEFAULT NULL,
  `idz` int DEFAULT '1',
  `fecha` date DEFAULT NULL,
  `valorinicial` double DEFAULT '0',
  `valorfinal` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `banco`
--


--
-- Table structure for table `barrios`
--

CREATE TABLE `barrios` (
  `barrio` varchar(150) DEFAULT NULL,
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `incremento` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `barrio` (`barrio`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `barrios`
--

INSERT INTO `barrios` (`barrio`, `id`, `incremento`) VALUES ('',1,0),('horizontes',2,0);

--
-- Table structure for table `bases`
--

CREATE TABLE `bases` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `base` int NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL,
  `idz` int NOT NULL DEFAULT '1',
  `idusuario` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `usuario` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idz` (`idz`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `bases`
--

INSERT INTO `bases` (`id`, `base`, `fechacreacion`, `idz`, `idusuario`, `pv`, `usuario`) VALUES (1,0,'2025-10-23 16:58:20',1,7,'texasburgers',NULL);

--
-- Table structure for table `bitacora`
--

CREATE TABLE `bitacora` (
  `id` int NOT NULL,
  `texto` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
  `fecha` date DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idcliente` bigint unsigned DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `bitacora_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `bitacora_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `bitacora`
--


--
-- Table structure for table `bolsillos`
--

CREATE TABLE `bolsillos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` double NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL,
  `valorinicial` double NOT NULL DEFAULT '0',
  `valorfinal` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idfactura` int DEFAULT '0',
  `movimiento` varchar(8) DEFAULT 'INGRESO',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  CONSTRAINT `bolsillos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `bolsillos_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `bolsillos`
--


--
-- Table structure for table `cajamayor`
--

CREATE TABLE `cajamayor` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `valor` double DEFAULT '0',
  `tipo` varchar(25) DEFAULT NULL,
  `descripcion` varchar(25) DEFAULT NULL,
  `concepto` varchar(25) DEFAULT NULL,
  `idz` int DEFAULT '1',
  `fecha` date DEFAULT NULL,
  `valorinicial` double DEFAULT '0',
  `valorfinal` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cajamayor`
--


--
-- Table structure for table `cajamayor2`
--

CREATE TABLE `cajamayor2` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `valor` double DEFAULT '0',
  `tipo` varchar(25) DEFAULT NULL,
  `descripcion` varchar(100) DEFAULT '',
  `concepto` varchar(120) DEFAULT NULL,
  `idz` int DEFAULT '1',
  `fecha` date DEFAULT NULL,
  `valorinicial` double DEFAULT '0',
  `valorfinal` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `mediodepago` varchar(25) DEFAULT NULL,
  `entrada` double DEFAULT '0',
  `salida` double DEFAULT '0',
  `idprestamoin` int DEFAULT NULL,
  `idtabla` int DEFAULT '0',
  `tabla` varchar(12) DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cajamayor2`
--


--
-- Table structure for table `cajas`
--

CREATE TABLE `cajas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `caja` varchar(25) NOT NULL DEFAULT '',
  `cc` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cajas`
--

INSERT INTO `cajas` (`id`, `caja`, `cc`, `pv`) VALUES (1,'1',1,'KALDI'),(2,'1',2,'KALDI');

--
-- Table structure for table `calendario`
--

CREATE TABLE `calendario` (
  `id` bigint NOT NULL,
  `descripcion` varchar(200) DEFAULT NULL,
  `titulo` varchar(200) DEFAULT NULL,
  `start` datetime DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `end` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `calendario`
--


--
-- Table structure for table `cambios`
--

CREATE TABLE `cambios` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `bruto` double DEFAULT '0',
  `estadoimpresion` int DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idfactura` int DEFAULT NULL,
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int NOT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '2',
  `origen` varchar(25) DEFAULT NULL,
  `mediodepago` varchar(25) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `tipo` varchar(25) DEFAULT NULL,
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int 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 NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `enviaraproduccion` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  `referencia` varchar(25) DEFAULT NULL,
  `consecutivo` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcliente` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cambios`
--


--
-- Table structure for table `cambiosauxiliar`
--

CREATE TABLE `cambiosauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `bruto` double DEFAULT '0',
  `estadoimpresion` int DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `iva` double DEFAULT '0',
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idfactura` int DEFAULT NULL,
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int NOT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '2',
  `origen` varchar(25) DEFAULT NULL,
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int 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 NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `enviaraproduccion` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  `referencia` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcliente` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cambiosauxiliar`
--


--
-- Table structure for table `cambiosrecibidoauxiliar`
--

CREATE TABLE `cambiosrecibidoauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `bruto` double DEFAULT '0',
  `estadoimpresion` int DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idfactura` int DEFAULT NULL,
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int NOT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '2',
  `origen` varchar(25) DEFAULT NULL,
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `tipo` varchar(25) DEFAULT NULL,
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int 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 NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `enviaraproduccion` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  `referencia` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcliente` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cambiosrecibidoauxiliar`
--


--
-- Table structure for table `cargos`
--

CREATE TABLE `cargos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `cargo` varchar(120) NOT NULL DEFAULT '',
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cargos`
--

INSERT INTO `cargos` (`id`, `cargo`, `cc`, `pv`) VALUES (3,'MESERO',2,'KALDI'),(8,'',2,'KALDI');

--
-- Table structure for table `causaciones`
--

CREATE TABLE `causaciones` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `valor` int DEFAULT '0',
  `idcliente` int DEFAULT NULL,
  `tipo` varchar(15) DEFAULT 'PAGO',
  `estado` varchar(25) DEFAULT 'ACTIVO',
  `idpadre3` varchar(25) DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `fecharecibido4` date DEFAULT NULL,
  `devolucionreportada` bit(1) DEFAULT b'0',
  `fecharecibido7` datetime DEFAULT NULL,
  `fecharecibido10` datetime DEFAULT NULL,
  `fechaeliminado` datetime DEFAULT NULL,
  `usuarioelimina` varchar(150) DEFAULT NULL,
  `idfactura` int DEFAULT '0',
  `idpadre` int DEFAULT '0',
  `cliente` varchar(25) DEFAULT NULL,
  `padre` varchar(25) DEFAULT NULL,
  `idmayornomina` int DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `cc` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `causaciones`
--


--
-- Table structure for table `cc`
--

CREATE TABLE `cc` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `nombrecc` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cc`
--

INSERT INTO `cc` (`id`, `nombrecc`) VALUES (19,'MERCADO LIBRE G NATECH'),(22,'PAGINA WEB'),(23,'RAPPI NATECH'),(24,'MERCADO LIBRE G COMERCIA'),(25,'LUEGO PAGO'),(26,'RAPPI G COMERCIA'),(27,'ADDI'),(28,'FALABELLA G COMERCIA');

--
-- Table structure for table `centrosdecostos`
--

CREATE TABLE `centrosdecostos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `refrescarcache` int DEFAULT '0',
  `debepagarel` int DEFAULT '0',
  `direccion` varchar(120) NOT NULL DEFAULT ' ',
  `titulotirilla` varchar(50) DEFAULT NULL,
  `pagoefectivo` int DEFAULT '0',
  `cuenta_costodeventa` int DEFAULT NULL,
  `type_regime_id` int DEFAULT '0',
  `ultimomespagado` int DEFAULT '0',
  `telefono` varchar(20) NOT NULL DEFAULT ' ',
  `nit` varchar(20) NOT NULL DEFAULT ' ',
  `centrodecostos` varchar(100) NOT NULL DEFAULT 'ALIMENTOS DOGGY',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `representante` varchar(100) NOT NULL DEFAULT ' ',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idresolucion` bigint unsigned NOT NULL DEFAULT '1',
  `email` varchar(100) DEFAULT '',
  `regimen` varchar(45) DEFAULT NULL,
  `comentariotirilla` text,
  `convertirpedidoenfactura` int DEFAULT '0',
  `numero` varchar(40) DEFAULT '',
  `prefijo` varchar(5) DEFAULT NULL,
  `razonsocialcomanda` varchar(100) DEFAULT NULL,
  `mostrariva` int NOT NULL DEFAULT '0',
  `contacto` varchar(200) DEFAULT NULL,
  `telefonocontacto` varchar(25) DEFAULT NULL,
  `cuenta_ingreso` int DEFAULT NULL,
  `modulocontable` bit(1) DEFAULT b'0',
  `impresionfichaderegistro` varchar(7) DEFAULT 'TIRILLA',
  `cuenta_inventario` int DEFAULT NULL,
  `alerta2` varchar(100) DEFAULT NULL,
  `desde` int DEFAULT NULL,
  `hasta` int DEFAULT NULL,
  `porcentajeservicio` int DEFAULT '10',
  `lineaimpuestos` varchar(4) DEFAULT '12',
  `fecharesolucion` date DEFAULT NULL,
  `fechainicioresolucion` date DEFAULT NULL,
  `fechafinresolucion` date DEFAULT NULL,
  `codigodepartamento` varchar(2) DEFAULT NULL,
  `codigomunicipio` varchar(5) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '2',
  `tipo_identificacion` varchar(3) DEFAULT 'NIT',
  `endpoint_taxxa` varchar(200) DEFAULT 'https://demo1.taxxa.co/api.djson',
  `prefijonc` varchar(2) DEFAULT NULL,
  `token_taxxa` varchar(150) DEFAULT NULL,
  `prefijofe` varchar(5) DEFAULT NULL,
  `puedeusar` int DEFAULT '0',
  `descuento` double DEFAULT '0',
  `descuentodeldia` int DEFAULT '0',
  `alerta` varchar(150) DEFAULT NULL,
  `hastafe` int DEFAULT '0',
  `fechahastafe` date DEFAULT NULL,
  `satelitecallcenter` varchar(25) DEFAULT 'SELECCIONE',
  `tituloimpuestos` varchar(50) DEFAULT 'DETALLE IMPOCONSUMO',
  `nombreimpuesto` varchar(50) DEFAULT 'IMPOCONSUMO',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonapostal` varchar(6) DEFAULT NULL,
  `prefijodocequivalente` varchar(5) DEFAULT NULL,
  `responsabilidades` varchar(10) DEFAULT NULL,
  `tipo_persona` varchar(7) DEFAULT 'company',
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `fechafe` date DEFAULT NULL,
  `usuarioTaxxa` varchar(150) DEFAULT NULL,
  `claveTaxxa` varchar(15) DEFAULT NULL,
  `cuenta_devolucion` int DEFAULT NULL,
  `comosemideeltiempo` int DEFAULT '0',
  `minutosdescanso` int DEFAULT '0',
  `tiendaonline` bit(1) DEFAULT b'1',
  `cuenta_cxp` int DEFAULT NULL,
  `vence_firmadigital` date DEFAULT NULL,
  `ultimocobro` datetime DEFAULT NULL,
  `fechaproximopago` date DEFAULT NULL,
  `telegram_vendedor` varchar(25) DEFAULT NULL,
  `calculodeservicio` varchar(5) DEFAULT 'total',
  `textowsp` varchar(100) DEFAULT NULL,
  `wsp` varchar(100) DEFAULT NULL,
  `visitastv` int DEFAULT '0',
  `calculodescuento` varchar(5) DEFAULT 'total',
  `mostrarcategorias` varchar(2) DEFAULT 'SI',
  `calculodelcosto` varchar(5) DEFAULT 'total',
  `mostrarpventv` varchar(2) DEFAULT 'SI',
  `urlinstagram` varchar(200) DEFAULT NULL,
  `urlfacebook` varchar(200) DEFAULT NULL,
  `urltiktok` varchar(200) DEFAULT NULL,
  `titulocabecera` varchar(100) DEFAULT '',
  `piedepaginafe` varchar(500) DEFAULT NULL,
  `lunes` bit(1) DEFAULT b'1',
  `martes` bit(1) DEFAULT b'1',
  `miercoles` bit(1) DEFAULT b'1',
  `jueves` bit(1) DEFAULT b'1',
  `viernes` bit(1) DEFAULT b'1',
  `sabado` bit(1) DEFAULT b'1',
  `domingo` bit(1) DEFAULT b'1',
  `inilunes` time DEFAULT '08:00:00',
  `inimartes` time DEFAULT '08:00:00',
  `inimiercoles` time DEFAULT '08:00:00',
  `inijueves` time DEFAULT '08:00:00',
  `iniviernes` time DEFAULT '08:00:00',
  `inisabado` time DEFAULT '08:00:00',
  `inidomingo` time DEFAULT '08:00:00',
  `finlunes` time DEFAULT '23:00:00',
  `finmartes` time DEFAULT '23:00:00',
  `finmiercoles` time DEFAULT '23:00:00',
  `finjueves` time DEFAULT '23:00:00',
  `finviernes` time DEFAULT '23:00:00',
  `finsabado` time DEFAULT '23:00:00',
  `findomingo` time DEFAULT '23:00:00',
  `inilunes2` time DEFAULT '08:00:00',
  `finlunes2` time DEFAULT '08:00:00',
  `inimartes2` time DEFAULT '08:00:00',
  `finmartes2` time DEFAULT '08:00:00',
  `inimiercoles2` time DEFAULT '08:00:00',
  `finmiercoles2` time DEFAULT '08:00:00',
  `inijueves2` time DEFAULT '08:00:00',
  `finjueves2` time DEFAULT '08:00:00',
  `iniviernes2` time DEFAULT '08:00:00',
  `finviernes2` time DEFAULT '08:00:00',
  `inisabado2` time DEFAULT '08:00:00',
  `finsabado2` time DEFAULT '08:00:00',
  `inidomingo2` time DEFAULT '08:00:00',
  `findomingo2` time DEFAULT '08:00:00',
  `porcentajeips` int DEFAULT '0',
  `activarporcentajeips` int DEFAULT '0',
  `fechafinfe` date DEFAULT NULL,
  `desdeposelectronico` int DEFAULT '0',
  `hastaposelectronico` int DEFAULT '0',
  `fechaposelectronico` date DEFAULT NULL,
  `fechafinposelectronico` date DEFAULT NULL,
  `prefijope` varchar(4) DEFAULT NULL,
  `fechahastape` date DEFAULT NULL,
  `registromercantil` varchar(25) DEFAULT NULL,
  `digitodeverificacion` int DEFAULT NULL,
  `tokenapidian` varchar(100) DEFAULT NULL,
  `idsoftware` varchar(100) DEFAULT '',
  `parking_moto` int DEFAULT '3000',
  `firmadigital` text,
  `clavefirmadigital` varchar(50) DEFAULT NULL,
  `parking_carro` int DEFAULT '3000',
  `modulo` int DEFAULT '4',
  `SoftwareID` varchar(80) DEFAULT NULL,
  `clavefirma` varchar(20) DEFAULT NULL,
  `nombrecomercialcc` varchar(50) DEFAULT '',
  `porcentaje_ganancia_en_venta` decimal(5,2) DEFAULT NULL,
  `snotetop` varchar(150) DEFAULT NULL,
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `centrosdecostos`
--

INSERT INTO `centrosdecostos` (`id`, `refrescarcache`, `debepagarel`, `direccion`, `titulotirilla`, `pagoefectivo`, `cuenta_costodeventa`, `type_regime_id`, `ultimomespagado`, `telefono`, `nit`, `centrodecostos`, `fechacreacion`, `representante`, `idusuario`, `idresolucion`, `email`, `regimen`, `comentariotirilla`, `convertirpedidoenfactura`, `numero`, `prefijo`, `razonsocialcomanda`, `mostrariva`, `contacto`, `telefonocontacto`, `cuenta_ingreso`, `modulocontable`, `impresionfichaderegistro`, `cuenta_inventario`, `alerta2`, `desde`, `hasta`, `porcentajeservicio`, `lineaimpuestos`, `fecharesolucion`, `fechainicioresolucion`, `fechafinresolucion`, `codigodepartamento`, `codigomunicipio`, `ciudad`, `departamento`, `id_tipo_persona`, `tipo_identificacion`, `endpoint_taxxa`, `prefijonc`, `token_taxxa`, `prefijofe`, `puedeusar`, `descuento`, `descuentodeldia`, `alerta`, `hastafe`, `fechahastafe`, `satelitecallcenter`, `tituloimpuestos`, `nombreimpuesto`, `pv`, `zonapostal`, `prefijodocequivalente`, `responsabilidades`, `tipo_persona`, `resdianfe`, `desdefe`, `fechafe`, `usuarioTaxxa`, `claveTaxxa`, `cuenta_devolucion`, `comosemideeltiempo`, `minutosdescanso`, `tiendaonline`, `cuenta_cxp`, `vence_firmadigital`, `ultimocobro`, `fechaproximopago`, `telegram_vendedor`, `calculodeservicio`, `textowsp`, `wsp`, `visitastv`, `calculodescuento`, `mostrarcategorias`, `calculodelcosto`, `mostrarpventv`, `urlinstagram`, `urlfacebook`, `urltiktok`, `titulocabecera`, `piedepaginafe`, `lunes`, `martes`, `miercoles`, `jueves`, `viernes`, `sabado`, `domingo`, `inilunes`, `inimartes`, `inimiercoles`, `inijueves`, `iniviernes`, `inisabado`, `inidomingo`, `finlunes`, `finmartes`, `finmiercoles`, `finjueves`, `finviernes`, `finsabado`, `findomingo`, `inilunes2`, `finlunes2`, `inimartes2`, `finmartes2`, `inimiercoles2`, `finmiercoles2`, `inijueves2`, `finjueves2`, `iniviernes2`, `finviernes2`, `inisabado2`, `finsabado2`, `inidomingo2`, `findomingo2`, `porcentajeips`, `activarporcentajeips`, `fechafinfe`, `desdeposelectronico`, `hastaposelectronico`, `fechaposelectronico`, `fechafinposelectronico`, `prefijope`, `fechahastape`, `registromercantil`, `digitodeverificacion`, `tokenapidian`, `idsoftware`, `parking_moto`, `firmadigital`, `clavefirmadigital`, `parking_carro`, `modulo`, `SoftwareID`, `clavefirma`, `nombrecomercialcc`, `porcentaje_ganancia_en_venta`, `snotetop`) VALUES (2,2,32,'Cra 4  22A 23','FACTURA DE VENTA',0,0,49,2,'3208977290','1085261134','PAPALÉ','2020-12-24 19:28:24','DAVID FLOREZ',1,1,'papaleanserma@gmail.com','PERSONA NATURAL','GRACIAS POR SU COMPRA la propina es voluntaria',0,'18764070336005',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,'Tienes 10 facturas pendientes por tramitar a la Dian',NULL,NULL,10,'12',NULL,NULL,NULL,'66','66001','ANSERMA','RISARALDA',2,'CC','https://demo1.taxxa.co/api2.djson',NULL,NULL,NULL,0,0,0,NULL,NULL,NULL,'SELECCIONE','','ZZ','texasburgers','660001','DSE','R-99-PN','person',NULL,NULL,NULL,NULL,NULL,NULL,0,0,_binary '',NULL,NULL,NULL,NULL,NULL,'total',NULL,NULL,10,'total','SI','total','1',NULL,NULL,NULL,'',NULL,_binary '',_binary '',_binary '',_binary '',_binary '',_binary '',_binary '','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','23:00:00','23:00:00','23:00:00','23:00:00','23:00:00','23:00:00','23:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00',0,1,NULL,1,500,'2024-05-29','2026-05-29','PT1','2026-05-29',NULL,8,NULL,'',2500,NULL,NULL,3000,1,NULL,NULL,'PAPALÉ',NULL,NULL),(3,2,32,'Cra 14  9-07','FACTURA DE VENTA',0,0,0,2,'','901402281','FERRE COSTOS LA 14','2020-12-24 19:28:24','JUAN ALARCON',1,1,'raulotalvaro@gmail.com','PERSONA NATURAL','GRACIAS POR SU COMPRA la propina es voluntaria',0,'18764070336005',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,'Tienes 10 facturas pendientes por tramitar a la Dian',NULL,NULL,10,'12',NULL,NULL,NULL,'66','66001','PEREIRA','RISARALDA',2,'NIT','https://demo1.taxxa.co/api2.djson',NULL,NULL,NULL,0,0,0,NULL,NULL,NULL,'SELECCIONE','','IMPOCONSUMO','texasburgers','660001','DSE','O-49','person',NULL,NULL,NULL,NULL,NULL,NULL,0,0,_binary '',NULL,NULL,NULL,NULL,NULL,'total',NULL,NULL,5,'total','SI','total','1',NULL,NULL,NULL,'',NULL,_binary '',_binary '',_binary '',_binary '',_binary '',_binary '',_binary '','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','23:00:00','23:00:00','23:00:00','23:00:00','23:00:00','23:00:00','23:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00','08:00:00',0,1,NULL,1,500,'2024-05-29','2026-05-29','PT1','2026-05-29',NULL,NULL,NULL,'',2500,NULL,NULL,3000,1,NULL,NULL,'',NULL,NULL);

--
-- Table structure for table `cierres`
--

CREATE TABLE `cierres` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(50) DEFAULT '',
  `observaciones` varchar(200) DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idz_2` (`idz`,`mediodepago`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  CONSTRAINT `cierres_ibfk_1` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cierres`
--

INSERT INTO `cierres` (`id`, `fechacreacion`, `valor`, `idusuario`, `idz`, `mediodepago`, `observaciones`) VALUES (1,'2025-11-05 21:05:38',471000,7,4,'EFECTIVO',''),(2,'2025-11-05 21:05:38',0,7,4,'TRANSFERENCIA',''),(3,'2025-11-05 21:05:38',0,7,4,'DATAFONO',''),(6,'2025-11-12 22:23:08',1264500,13,9,'EFECTIVO',''),(7,'2025-11-12 22:23:08',0,13,9,'TRANSFERENCIA',''),(8,'2025-11-12 22:23:08',0,13,9,'DATAFONO',''),(9,'2025-11-13 22:35:35',1136450,13,10,'EFECTIVO',''),(10,'2025-11-13 22:35:35',0,13,10,'TRANSFERENCIA',''),(11,'2025-11-13 22:35:35',0,13,10,'DATAFONO',''),(12,'2025-11-14 22:31:49',1317450,13,11,'EFECTIVO',''),(13,'2025-11-14 22:31:49',0,13,11,'TRANSFERENCIA',''),(14,'2025-11-14 22:31:49',0,13,11,'DATAFONO',''),(15,'2025-11-15 22:54:09',2662750,13,12,'EFECTIVO',''),(16,'2025-11-15 22:54:09',0,13,12,'TRANSFERENCIA',''),(17,'2025-11-15 22:54:09',0,13,12,'DATAFONO',''),(18,'2025-11-16 22:36:41',2003550,13,13,'EFECTIVO',''),(19,'2025-11-16 22:36:41',0,13,13,'TRANSFERENCIA',''),(20,'2025-11-16 22:36:41',0,13,13,'DATAFONO',''),(21,'2025-11-19 22:18:30',920000,15,14,'EFECTIVO',''),(22,'2025-11-19 22:18:30',0,15,14,'TRANSFERENCIA',''),(23,'2025-11-19 22:18:30',0,15,14,'DATAFONO',''),(26,'2025-11-20 22:27:46',781000,13,15,'EFECTIVO',''),(27,'2025-11-20 22:27:46',0,13,15,'TRANSFERENCIA',''),(28,'2025-11-20 22:27:46',0,13,15,'DATAFONO',''),(29,'2025-11-21 22:56:05',1801000,13,16,'EFECTIVO',''),(30,'2025-11-21 22:56:05',0,13,16,'TRANSFERENCIA',''),(31,'2025-11-21 22:56:05',0,13,16,'DATAFONO',''),(32,'2025-11-22 22:50:11',2079200,13,17,'EFECTIVO',''),(33,'2025-11-22 22:50:11',0,13,17,'TRANSFERENCIA',''),(34,'2025-11-22 22:50:11',0,13,17,'DATAFONO',''),(36,'2025-11-23 22:42:20',2142500,13,18,'EFECTIVO',''),(37,'2025-11-23 22:42:20',0,13,18,'TRANSFERENCIA',''),(38,'2025-11-23 22:42:20',0,13,18,'DATAFONO',''),(39,'2025-11-26 22:41:30',2238000,5,19,'EFECTIVO',''),(40,'2025-11-26 22:41:30',0,5,19,'TRANSFERENCIA',''),(41,'2025-11-26 22:41:30',0,5,19,'DATAFONO',''),(42,'2025-11-27 22:11:56',1665000,5,20,'EFECTIVO',''),(43,'2025-11-27 22:11:56',0,5,20,'TRANSFERENCIA',''),(44,'2025-11-27 22:11:56',0,5,20,'DATAFONO','');

--
-- Table structure for table `cierresdecaja`
--

CREATE TABLE `cierresdecaja` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `m1` int NOT NULL DEFAULT '0',
  `m2` int NOT NULL DEFAULT '0',
  `m5` int NOT NULL DEFAULT '0',
  `m10` int NOT NULL DEFAULT '0',
  `m20` int NOT NULL DEFAULT '0',
  `m50` int NOT NULL DEFAULT '0',
  `m100` int NOT NULL DEFAULT '0',
  `m200` int NOT NULL DEFAULT '0',
  `m500` int NOT NULL DEFAULT '0',
  `m1000` int NOT NULL DEFAULT '0',
  `b5` int NOT NULL DEFAULT '0',
  `b20` int NOT NULL DEFAULT '0',
  `b10` int NOT NULL DEFAULT '0',
  `b50` int NOT NULL DEFAULT '0',
  `b100` int NOT NULL DEFAULT '0',
  `b1000` int NOT NULL DEFAULT '0',
  `b2000` int NOT NULL DEFAULT '0',
  `b5000` int NOT NULL DEFAULT '0',
  `b10000` int NOT NULL DEFAULT '0',
  `b20000` int NOT NULL DEFAULT '0',
  `b50000` int NOT NULL DEFAULT '0',
  `b100000` int NOT NULL DEFAULT '0',
  `tarjeta` int NOT NULL DEFAULT '0',
  `rappi` int NOT NULL DEFAULT '0',
  `uber` int NOT NULL DEFAULT '0',
  `ifood` int NOT NULL DEFAULT '0',
  `domi` int NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcaja` bigint unsigned NOT NULL,
  `declarado` double NOT NULL DEFAULT '0',
  `efectivoenz` double NOT NULL DEFAULT '0',
  `diferencia` double NOT NULL DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `venta` double DEFAULT '0',
  `domicilio` double DEFAULT '0',
  `base` double DEFAULT '0',
  `gasto` double DEFAULT '0',
  `esperado` double DEFAULT '0',
  `sobrante` double DEFAULT '0',
  `faltante` double DEFAULT '0',
  `servicio` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `cc` (`cc`),
  CONSTRAINT `cierresdecaja_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cierresdecaja`
--


--
-- Table structure for table `ciudades`
--

CREATE TABLE `ciudades` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ciudad` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `codigodepartamento` varchar(7) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `codigociudad` varchar(7) DEFAULT NULL,
  `codigopostal` varchar(7) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idx_ciudad` (`ciudad`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ciudades`
--

INSERT INTO `ciudades` (`id`, `ciudad`, `cc`, `codigodepartamento`, `departamento`, `codigociudad`, `codigopostal`, `pv`) VALUES (1,'SALENTO',2,'63','QUINDIO','63690','631020','KALDI'),(2,'POPAYAN ',2,'19','CAUCA','19001','190001','KALDI'),(3,'PEREIRA',2,'66','RISARALDA','66001','660001','KALDI'),(5,'IBAGUE',2,'73','TOLIMA','73001','730010','KALDI'),(6,'MEDELLIN',2,'05','ANTIOQUIA','05001','050001','KALDI'),(7,'CUCUTA',2,'54','NORTE DE SANTANDER','54001','540011','KALDI'),(10,'CHIA',2,'25','CUNDINAMARCA','25175','250001','KALDI'),(13,'ARMENIA',2,'63','QUINDIO','63001','630003','KALDI'),(15,'BOGOTA D.C',2,'11','BOGOTA  D.C','11001','110011','KALDI'),(16,'CALI',2,'76','VALLE DEL CAUCA','76001','760030','KALDI'),(17,'ITAGUI',2,'05','ANTIOQUIA','05360','055411','KALDI'),(18,'YUMBO ',2,'76','VALLE DEL CAUCA ','76892','760501','KALDI'),(19,'CANDELARIA',2,'76','VALLE DEL CAUCA','76130','763570','KALDI'),(20,'ALCALA ',2,'76','VALLE DEL CAUCA ','76020','762040','KALDI'),(21,'QUIBDO',2,'27','CHOCO ','27001','270001','KALDI'),(22,'TENJO',2,'25','CUNDINAMARCA','25779','250201','KALDI'),(23,'MANIZALES',2,'17','CALDAS','17001','170001','KALDI'),(24,'NEIVA',2,'41','HUILA','41001','410010','KALDI'),(25,'NARIÑO',2,'05','PASTO','05483','054840','KALDI'),(26,'CALARCA ',2,'63','QUINDIO ','63130','632001','KALDI'),(27,'SABANETA',2,'05','ANTIOQUIA ','05631','055450','KALDI'),(28,'COTA ',2,'25','CUNDINAMARCA ','25214','250010','KALDI'),(29,'LA ESTRELLA',2,'05','ANTIOQUIA','05380','055460','KALDI'),(30,'BARRANQUILLA ',2,'8','ATLÁNTICO','08001','080001','KALDI'),(31,'PALMIRA',2,'76','VALLE DEL CAUCA ','76520','763531','KALDI');

--
-- Table structure for table `clasesdevehiculo`
--

CREATE TABLE `clasesdevehiculo` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `clasedevehiculo` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `clasedevehiculo` (`clasedevehiculo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `clasesdevehiculo`
--


--
-- Table structure for table `clasificacionclientes`
--

CREATE TABLE `clasificacionclientes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `clasificacion` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `clasificacionclientes`
--


--
-- Table structure for table `clientes`
--

CREATE TABLE `clientes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `primernombre` varchar(100) DEFAULT NULL,
  `barrio` varchar(25) DEFAULT NULL,
  `grupo` varchar(50) DEFAULT NULL,
  `codabajo` int DEFAULT NULL,
  `primerapellido` varchar(25) DEFAULT '',
  `tipodepersona` int DEFAULT '2',
  `cedula` varchar(15) DEFAULT '',
  `direccion` varchar(100) DEFAULT '',
  `fechadenacimiento` date DEFAULT NULL,
  `celular` varchar(15) DEFAULT '',
  `fechadecreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `ciudad` varchar(25) DEFAULT 'MANIZALES',
  `departamento` varchar(25) DEFAULT 'CALDAS',
  `clave` text,
  `rol` varchar(25) NOT NULL DEFAULT 'CLIENTE',
  `email` varchar(100) DEFAULT '',
  `telefono` varchar(10) DEFAULT '',
  `edad` int NOT NULL DEFAULT '0',
  `genero` varchar(12) NOT NULL DEFAULT 'MASCULINO',
  `tipodedocumento` varchar(5) NOT NULL DEFAULT 'CC',
  `saldo` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `esproveedor` varchar(2) DEFAULT 'NO',
  `cuantoledebo` int DEFAULT '0',
  `bolsillo` int DEFAULT '0',
  `contacto` varchar(200) DEFAULT '',
  `telefonocontacto` varchar(25) DEFAULT '',
  `espersonajuridica` int NOT NULL DEFAULT '0',
  `enviarcorreo` int NOT NULL DEFAULT '0',
  `observacion` text,
  `numerocalle` varchar(4) DEFAULT NULL,
  `puntos` int NOT NULL DEFAULT '0',
  `esempleado` int NOT NULL DEFAULT '0',
  `idgrupo` int DEFAULT '0',
  `descatalogado` int DEFAULT '0',
  `eps` varchar(150) DEFAULT NULL,
  `afp` varchar(150) DEFAULT NULL,
  `codigociudad` varchar(7) DEFAULT '17001',
  `codigodepartamento` varchar(7) DEFAULT '17',
  `codigopostal` varchar(7) DEFAULT '170001',
  `segundonombre` varchar(25) DEFAULT NULL,
  `segundoapellido` varchar(25) DEFAULT NULL,
  `legalidad` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT 'CC',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(7) DEFAULT 'R-99-PN',
  `regimenfiscal` int DEFAULT '49',
  `expedicioncedula` date DEFAULT NULL,
  `marcavehiculo` varchar(25) DEFAULT NULL,
  `placavehiculo` varchar(6) DEFAULT NULL,
  `nacionalidad` varchar(25) DEFAULT NULL,
  `municipioexpedido` varchar(25) DEFAULT NULL,
  `departamentoexpedido` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'texasburgers',
  `sessionid` varchar(32) DEFAULT NULL,
  `huella` blob,
  `idcargo` int DEFAULT '0',
  `codigonomina` varchar(1) DEFAULT NULL,
  `codigozona` varchar(5) DEFAULT NULL,
  `areanomina` varchar(5) DEFAULT NULL,
  `idturno` int DEFAULT '0',
  `idturno2` int DEFAULT '0',
  `fechainicioturnoactual` date DEFAULT NULL,
  `fechafinturnoactual` date DEFAULT NULL,
  `fechainicioprooximoturno` date DEFAULT NULL,
  `fechaprooximoturno` date DEFAULT NULL,
  `iddomiciliarioyoyo` int DEFAULT NULL,
  `ciudadexpedicioncedula` varchar(25) DEFAULT NULL,
  `intentosfallidos` int DEFAULT '0',
  `ipultimoacceso` varchar(16) DEFAULT NULL,
  `codigoarea` varchar(5) DEFAULT NULL,
  `pagarextras` bit(1) DEFAULT b'0',
  `vencimientolicencia` date DEFAULT NULL,
  `tokendispositivo` varchar(250) DEFAULT NULL,
  `diacontacto1` int DEFAULT '0',
  `diacontacto2` int DEFAULT '0',
  `urlfotocliente` varchar(170) DEFAULT NULL,
  `sueldomensual` int DEFAULT '0',
  `auxtransportemensual` int DEFAULT '0',
  `clasificacion` varchar(25) DEFAULT 'CLIENTE FINAL',
  `instagram` varchar(50) DEFAULT NULL,
  `licenciaconduccion` varchar(25) DEFAULT NULL,
  `nombrereferencia1` varchar(150) DEFAULT NULL,
  `nombrereferencia2` varchar(150) DEFAULT NULL,
  `telefonoreferencia1` varchar(150) DEFAULT NULL,
  `telefonoreferencia2` varchar(150) DEFAULT NULL,
  `parentescorefererencia2` varchar(150) DEFAULT NULL,
  `parentesco` varchar(150) DEFAULT NULL,
  `parentescorefererencia1` varchar(150) DEFAULT NULL,
  `EDS` varchar(1) DEFAULT NULL,
  `comensalescliente` int DEFAULT '0',
  `idtelegram` varchar(25) DEFAULT NULL,
  `membrecia_hasta` date DEFAULT NULL,
  `idpadre2` int DEFAULT '0',
  `banco` varchar(25) DEFAULT NULL,
  `tipodecuenta` varchar(12) DEFAULT NULL,
  `cuentabancaria` varchar(15) DEFAULT NULL,
  `urlcedulacliente` varchar(100) DEFAULT NULL,
  `urlrutcliente` varchar(100) DEFAULT NULL,
  `urlcamaracliente` varchar(100) DEFAULT NULL,
  `fecha_expedicion` date DEFAULT NULL,
  `datosvalidados` int DEFAULT '0',
  `ultimavalidacion` date DEFAULT NULL,
  `cuentainscrita` int DEFAULT '0',
  `fechaactualizacionrut` date DEFAULT NULL,
  `direccion2` varchar(100) DEFAULT NULL,
  `direccion3` varchar(100) DEFAULT NULL,
  `identificadortv` varchar(30) DEFAULT NULL,
  `origencliente` varchar(10) DEFAULT 'CLIENTES',
  `aceptacondiciones` int DEFAULT '0',
  `fechaaceptacondiciones` date DEFAULT NULL,
  `HTTP_HOST` bit(1) DEFAULT b'0',
  `porcentaje_comision_enventa` int DEFAULT '0',
  `codigomasser` bit(1) DEFAULT b'0',
  `rutacualizado` varchar(2) DEFAULT 'NO',
  `tokenfirebase` varchar(500) DEFAULT NULL,
  `ocupacion` varchar(50) DEFAULT NULL,
  `origen_cliente` varchar(3) DEFAULT 'CON',
  `proximallamada` date DEFAULT NULL,
  `idpadre` int DEFAULT '0',
  `responsable` varchar(50) DEFAULT NULL,
  `campovalor_cliente` varchar(25) DEFAULT 'valordeventa',
  `aplicaretencion` int DEFAULT '0',
  `clientes_bloqueados` varchar(150) DEFAULT NULL,
  `puedehacerpedido` int DEFAULT '1',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `clientes`
--

INSERT INTO `clientes` (`id`, `primernombre`, `barrio`, `grupo`, `codabajo`, `primerapellido`, `tipodepersona`, `cedula`, `direccion`, `fechadenacimiento`, `celular`, `fechadecreacion`, `ciudad`, `departamento`, `clave`, `rol`, `email`, `telefono`, `edad`, `genero`, `tipodedocumento`, `saldo`, `cc`, `idusuario`, `esproveedor`, `cuantoledebo`, `bolsillo`, `contacto`, `telefonocontacto`, `espersonajuridica`, `enviarcorreo`, `observacion`, `numerocalle`, `puntos`, `esempleado`, `idgrupo`, `descatalogado`, `eps`, `afp`, `codigociudad`, `codigodepartamento`, `codigopostal`, `segundonombre`, `segundoapellido`, `legalidad`, `tipo_identificacion`, `razonsocial`, `nombrecomercial`, `dv`, `sfiscalresponsibilities`, `regimenfiscal`, `expedicioncedula`, `marcavehiculo`, `placavehiculo`, `nacionalidad`, `municipioexpedido`, `departamentoexpedido`, `pv`, `sessionid`, `huella`, `idcargo`, `codigonomina`, `codigozona`, `areanomina`, `idturno`, `idturno2`, `fechainicioturnoactual`, `fechafinturnoactual`, `fechainicioprooximoturno`, `fechaprooximoturno`, `iddomiciliarioyoyo`, `ciudadexpedicioncedula`, `intentosfallidos`, `ipultimoacceso`, `codigoarea`, `pagarextras`, `vencimientolicencia`, `tokendispositivo`, `diacontacto1`, `diacontacto2`, `urlfotocliente`, `sueldomensual`, `auxtransportemensual`, `clasificacion`, `instagram`, `licenciaconduccion`, `nombrereferencia1`, `nombrereferencia2`, `telefonoreferencia1`, `telefonoreferencia2`, `parentescorefererencia2`, `parentesco`, `parentescorefererencia1`, `EDS`, `comensalescliente`, `idtelegram`, `membrecia_hasta`, `idpadre2`, `banco`, `tipodecuenta`, `cuentabancaria`, `urlcedulacliente`, `urlrutcliente`, `urlcamaracliente`, `fecha_expedicion`, `datosvalidados`, `ultimavalidacion`, `cuentainscrita`, `fechaactualizacionrut`, `direccion2`, `direccion3`, `identificadortv`, `origencliente`, `aceptacondiciones`, `fechaaceptacondiciones`, `HTTP_HOST`, `porcentaje_comision_enventa`, `codigomasser`, `rutacualizado`, `tokenfirebase`, `ocupacion`, `origen_cliente`, `proximallamada`, `idpadre`, `responsable`, `campovalor_cliente`, `aplicaretencion`, `clientes_bloqueados`, `puedehacerpedido`) VALUES (1,'SALIDAS',NULL,NULL,NULL,'VARIAS',0,'12345678','','2006-06-11','3117326824','2017-12-20 22:34:05','Pereira','QUINDIO','$1$xgEatvV1$Hkc2Q63sQZbuLulxyZLwq1','ADMINISTRADOR',NULL,NULL,0,'MASCULINO','CC',0,1,1,'NO',0,39000,NULL,NULL,1,1,'','2',8,0,0,0,NULL,NULL,'66001','66','0',NULL,NULL,0,'NIT','',NULL,NULL,'',0,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','ddil87upmrtht0dpea2a225p09',NULL,0,NULL,'hola',NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'45.225.224.36',NULL,_binary '',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO','',NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(2,'SOFTWARE','',NULL,NULL,'',2,'','Cra 14  9-07','2050-12-12','','2022-12-06 06:58:59','PEREIRA','RISARALDA','12cQDaeLVCpC6','ADMINISTRADOR','raulotalvaro@gmail.com','',0,'MASCULINO','CC',0,2,1,'NO',0,0,'CONSUMIDOR FINAL','',0,0,NULL,'2',0,0,0,0,NULL,NULL,'66001','66','660001','','',0,'FN','','',0,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','rfjc8ledd9otip0l0pgf4l1p7f',NULL,0,NULL,'hola',NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'46.6.213.132',NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO','{\"endpoint\":\"https://fcm.googleapis.com/fcm/send/fM_tPAPzgj8:APA91bFdHiizjdm7p0F3BJpYzweb9_vChdeWaru-yTDQ2JrAr1CkyoVlGcv52xxEZ9jvUsXHAGxKsUu4YNqhTpPiz6hq4Lf3wGYKj-IL6eQbl-Jfh0PfOmRhqHwMp2VSr53KyZMeS7AI\",\"expirationTime\":null,\"keys\":{\"p256dh\":\"BJBZ5Tq_PuKfWuKTiwCEz8RJs2gfynvatMK5tO_aCS7wIZlqpaPWWr6MNKh3-qRUeT7uhxtDQz0ncsOtBM89xw8\",\"auth\":\"_O9A41l21O0Lqo6S3XYnnA\"}}',NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(3,'CONSUMIDOR FINAL',NULL,NULL,NULL,'',2,'222222222222','',NULL,'','2025-10-02 19:01:50','PEREIRA','RISARALDA',NULL,'CLIENTE','','',0,'MASCULINO','CC',0,3,1,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'66001','66','660001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(4,'POSTOBON  S.A.',NULL,NULL,NULL,'',2,'890903939','',NULL,'','2025-10-02 19:01:50','PEREIRA','RISARALDA',NULL,'CLIENTE','','',0,'MASCULINO','CC',0,2,1,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'66001','66','660001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(5,'DAVID',NULL,NULL,NULL,'',2,'1085261134','',NULL,'','2025-10-22 18:23:41','PEREIRA','RISARALDA','322Dcx9g6srk.','ADMINISTRADOR','','',0,'MASCULINO','CC',0,2,2,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'66001','66','660001','FLOREZ',NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','3fegdkor5mhgf81qfc137hjcdq',NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'186.82.102.58',NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(6,'',NULL,NULL,NULL,'',2,'','',NULL,'','2025-10-23 12:33:06','PEREIRA','RISARALDA','','CLIENTE','','',0,'MASCULINO','CC',0,2,5,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'66001','66','660001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(7,'ALEXANDRA',NULL,NULL,NULL,'',2,'1007242079','',NULL,'','2025-10-23 16:18:17','PEREIRA','RISARALDA','874u9eS51MB7s','ADMINISTRADOR','','',0,'MASCULINO','CC',0,2,5,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'66001','66','660001','FLOREZ',NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','m3v6k4vp8tirkpb4o0qois5rvj',NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(8,'',NULL,NULL,NULL,'',2,'','',NULL,'','2025-10-23 16:41:11','PEREIRA','RISARALDA','','CLIENTE','','',0,'MASCULINO','CC',0,2,7,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'66001','66','660001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(9,'',NULL,NULL,NULL,'',2,'','',NULL,'','2025-10-23 17:20:05','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,7,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(10,'JORGE',NULL,NULL,NULL,'',2,'','',NULL,'','2025-10-23 17:20:23','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,7,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001','LA DESPENSA',NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(11,'SANTA ROSA',NULL,NULL,NULL,'',2,'','',NULL,'','2025-11-04 16:14:27','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,5,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001','CHORIZO',NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(12,'HENRRY',NULL,NULL,NULL,'',2,'','',NULL,'','2025-11-04 16:14:54','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,5,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001','PAPA',NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(13,'ALISON',NULL,NULL,NULL,'ZAPATA',2,'1020423518','',NULL,'','2025-11-08 11:57:19','MANIZALES','CALDAS','13Etw9IusqS7Y','ADMINISTRADOR','','',0,'MASCULINO','CC',0,2,2,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','ebgfpc93lfsli54d17840jb76k',NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'186.82.102.58',NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(14,'LAURA',NULL,NULL,NULL,'AGUIRRE',2,'1054863534','',NULL,'','2025-11-09 14:35:31','MANIZALES','CALDAS','16HBcRwy8okf2','ADMINISTRADOR','','',0,'MASCULINO','CC',0,2,2,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','al329pjukce0bkdks31lmfikg7',NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(15,'ESTEBAN',NULL,NULL,NULL,'VASQUEZ',2,'1040758627','',NULL,'','2025-11-09 14:41:40','MANIZALES','CALDAS','54QEvlsZ1Bf7g','ADMINISTRADOR','','',0,'MASCULINO','CC',0,2,2,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','rg9oa2dn6vc9pvi80gsfrrol9a',NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(16,'PRICE SMART',NULL,NULL,NULL,'PEREIRA',2,'900319753','',NULL,'','2025-11-09 14:52:17','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(17,'',NULL,NULL,NULL,'',2,'','',NULL,'','2025-11-09 14:52:28','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(18,'REFRESCOS Y MAS',NULL,NULL,NULL,'',2,'1054922695','',NULL,'','2025-11-09 14:56:13','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(19,'CARNES LA DESPENSA',NULL,NULL,NULL,'ANSERMA',2,'75037478','',NULL,'','2025-11-09 14:59:34','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(20,'MALDONADO DISTRIBUCIONES',NULL,NULL,NULL,'',2,'1065258512','',NULL,'','2025-11-09 15:02:09','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(21,'LA REMESA ANSERMA ZOMAC',NULL,NULL,NULL,'',2,'901206565','',NULL,'','2025-11-09 15:04:02','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(22,'SALSAMENTARIA Y QUESERA',NULL,NULL,NULL,'',2,'','',NULL,'','2025-11-09 15:06:09','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(23,'SUPERMERCADO PROVEEDOR',NULL,NULL,NULL,'',2,'900404127','',NULL,'','2025-11-09 15:08:48','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(24,'SURTI NORTE',NULL,NULL,NULL,'',2,'9696256','',NULL,'','2025-11-09 15:11:04','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(25,'JERONIMO MARTINS',NULL,NULL,NULL,'',2,'900480569','',NULL,'','2025-11-09 15:12:28','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001','COLOMBIA',NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(26,'LA FERIA DE LAS CARNES',NULL,NULL,NULL,'',2,'1054923095','',NULL,'','2025-11-09 15:14:05','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(27,'DISTRIQUESOS Y HARINAS LA ONCE',NULL,NULL,NULL,'',2,'1053817173','',NULL,'','2025-11-09 15:15:45','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(28,'PULPA DE FRUTAS ARTESANAL',NULL,NULL,NULL,'',2,'10010060','',NULL,'','2025-11-09 15:19:22','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'NIT',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(29,'',NULL,NULL,NULL,'',2,'','',NULL,'','2025-11-09 15:20:45','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,14,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(30,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-09 22:08:50','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(31,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-09 22:09:13','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(32,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-09 22:09:25','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(33,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-09 22:09:53','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(34,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-09 22:11:59','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(35,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-09 22:12:34','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(36,'SALIDAS',NULL,NULL,NULL,'VARIAS',0,'12345678','',NULL,'','2025-11-11 14:18:13','MANIZALES','CALDAS',NULL,'CLIENTE','','',0,'MASCULINO','CC',0,2,1,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(37,'',NULL,NULL,NULL,'',0,'','',NULL,'','2025-11-11 14:33:57','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,1,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(38,'VENTA DIRECTA',NULL,NULL,NULL,'',0,'VENTADIRECTA','',NULL,'','2025-11-11 14:39:01','MANIZALES','CALDAS',NULL,'CLIENTE','','',0,'MASCULINO','CC',0,2,1,'NO',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001',NULL,NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(39,'ALMACENES',NULL,NULL,NULL,'',2,'900276962','',NULL,'','2025-11-22 14:13:21','MANIZALES','CALDAS','','CLIENTE','','',0,'MASCULINO','CC',0,2,15,'SI',0,0,'','',0,0,NULL,NULL,0,0,0,0,NULL,NULL,'17001','17','170001','D1',NULL,0,'NIT',NULL,NULL,1,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers',NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,_binary '\0',NULL,NULL,0,0,NULL,0,0,'CLIENTE FINAL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1);

--
-- Table structure for table `cocina_pedidos`
--

CREATE TABLE `cocina_pedidos` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idmesa` int NOT NULL,
  `idcliente` int NOT NULL,
  `idarticulo` int NOT NULL,
  `cantidad` decimal(10,2) NOT NULL,
  `valorunitario` decimal(10,2) NOT NULL,
  `descuento` decimal(10,2) DEFAULT '0.00',
  `valortotal` decimal(10,2) NOT NULL,
  `observaciones` text COLLATE utf8mb4_unicode_ci,
  `fechacreacion` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `despachado` tinyint(1) DEFAULT '0',
  `PrecuentaCallcenter` int DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `idx_mesa_despachado` (`idmesa`,`despachado`),
  KEY `idx_fechacreacion` (`fechacreacion`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cocina_pedidos`
--


--
-- Table structure for table `colores`
--

CREATE TABLE `colores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `color` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `color` (`color`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `colores`
--

INSERT INTO `colores` (`id`, `color`) VALUES (1,'BLANCO CLARO'),(2,'BLANCO VERDE'),(3,'BLANCO SAL'),(4,'BLANCO'),(5,'SUPER BLANCO '),(6,'BLANCO PERLADO'),(7,'BLANCO MAHLER'),(8,'BLANCO LECHE'),(9,'BLANCO  PERLADO'),(10,'BLANCO NEVADA BICAPA'),(11,'VERDE BLANCO'),(12,'SUPER BLANCO 2'),(13,'VERDE'),(14,'BLANCO NEVADO'),(15,'BLANCO BRILLANTE'),(16,'BLANCO PURO'),(17,'BLANCO CRISTAL'),(18,'BLANCO NEVADO BICAPA'),(19,'BLANCO CERAMICA'),(20,'BLANCO CANDY'),(21,'BLANCO PLATA'),(22,'BLANCO CHERY'),(23,'BLANCO  CERAMICA'),(24,'BLANCO LUNA'),(25,'BLANCO OLIMPICO'),(26,'BLANCO ARTICA'),(27,'BLANCO TITANIO'),(28,'BLANCO GLACIAL'),(29,'BLANCO  ARTICA'),(30,'BLANCO VAINILLA'),(31,'PENDIENTE'),(32,'BLANCO ARTICO'),(33,NULL);

--
-- Table structure for table `componentesarticulos`
--

CREATE TABLE `componentesarticulos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `idinsumo` bigint unsigned NOT NULL,
  `cantidad` double NOT NULL DEFAULT '1',
  `cc` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `tipo` varchar(12) DEFAULT NULL,
  `idpaparapi` int DEFAULT '0',
  `valor` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `idpapaifood` varchar(50) DEFAULT NULL,
  `PRECIOIVA` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idinsumo` (`idinsumo`),
  KEY `idarticulo` (`idarticulo`),
  CONSTRAINT `componentesarticulos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `componentesarticulos_ibfk_3` FOREIGN KEY (`idinsumo`) REFERENCES `articulos` (`id`),
  CONSTRAINT `componentesarticulos_ibfk_4` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `componentesarticulos`
--

INSERT INTO `componentesarticulos` (`id`, `idarticulo`, `idinsumo`, `cantidad`, `cc`, `fechacreacion`, `idusuario`, `tipo`, `idpaparapi`, `valor`, `pv`, `idpapaifood`, `PRECIOIVA`) VALUES (5,5,59,2,1,'2025-11-13 14:24:36',1,NULL,0,0,'KALDI',NULL,0),(6,5,121,450,1,'2025-11-13 14:27:53',1,NULL,0,0,'KALDI',NULL,0),(7,5,63,1,1,'2025-11-13 14:29:13',1,NULL,0,0,'KALDI',NULL,0),(8,5,56,1,1,'2025-11-13 14:41:02',1,NULL,0,0,'KALDI',NULL,0),(9,6,55,60,1,'2025-11-13 14:42:13',1,NULL,0,0,'KALDI',NULL,0),(10,6,121,450,1,'2025-11-13 14:49:19',1,NULL,0,0,'KALDI',NULL,0),(11,6,63,1,1,'2025-11-13 14:49:35',1,NULL,0,0,'KALDI',NULL,0),(12,3,51,60,1,'2025-11-13 14:53:12',1,NULL,0,0,'KALDI',NULL,0),(13,3,121,450,1,'2025-11-13 14:53:38',1,NULL,0,0,'KALDI',NULL,0),(14,3,63,1,1,'2025-11-13 14:54:05',1,NULL,0,0,'KALDI',NULL,0),(15,2,61,60,1,'2025-11-13 14:54:59',1,NULL,0,0,'KALDI',NULL,0),(16,2,121,450,1,'2025-11-13 14:55:15',1,NULL,0,0,'KALDI',NULL,0),(18,7,51,30,1,'2025-11-13 15:04:28',1,NULL,0,0,'KALDI',NULL,0),(19,7,55,30,1,'2025-11-13 15:09:14',1,NULL,0,0,'KALDI',NULL,0),(20,7,87,1,1,'2025-11-13 15:11:40',1,NULL,0,0,'KALDI',NULL,0),(21,7,59,2,1,'2025-11-13 15:11:59',1,NULL,0,0,'KALDI',NULL,0),(22,7,56,2,1,'2025-11-13 15:12:14',1,NULL,0,0,'KALDI',NULL,0),(23,7,61,30,1,'2025-11-13 15:13:07',1,NULL,0,0,'KALDI',NULL,0),(24,7,119,30,1,'2025-11-13 15:13:42',1,NULL,0,0,'KALDI',NULL,0),(25,7,53,30,1,'2025-11-13 15:15:35',1,NULL,0,0,'KALDI',NULL,0),(26,7,121,450,1,'2025-11-13 15:15:59',1,NULL,0,0,'KALDI',NULL,0),(27,7,63,1,1,'2025-11-13 15:16:25',1,NULL,0,0,'KALDI',NULL,0),(28,8,121,300,1,'2025-11-13 16:44:20',1,NULL,0,0,'KALDI',NULL,0),(29,8,53,100,1,'2025-11-13 16:45:43',1,NULL,0,0,'KALDI',NULL,0),(32,10,121,300,1,'2025-11-13 17:01:22',1,NULL,0,0,'KALDI',NULL,0),(33,10,55,100,1,'2025-11-13 17:04:38',1,NULL,0,0,'KALDI',NULL,0),(34,10,88,50,1,'2025-11-13 17:06:25',1,NULL,0,0,'KALDI',NULL,0),(36,9,121,300,1,'2025-11-13 17:08:15',1,NULL,0,0,'KALDI',NULL,0),(37,9,63,1,1,'2025-11-13 17:08:33',1,NULL,0,0,'KALDI',NULL,0),(38,39,78,100,1,'2025-11-13 17:19:51',1,NULL,0,0,'KALDI',NULL,0),(39,41,65,100,1,'2025-11-13 17:21:39',1,NULL,0,0,'KALDI',NULL,0),(40,38,72,100,1,'2025-11-13 17:23:55',1,NULL,0,0,'KALDI',NULL,0),(41,37,70,100,1,'2025-11-13 17:25:17',1,NULL,0,0,'KALDI',NULL,0),(42,40,64,100,1,'2025-11-13 17:25:43',1,NULL,0,0,'KALDI',NULL,0),(43,36,71,100,1,'2025-11-13 17:26:06',1,NULL,0,0,'KALDI',NULL,0),(44,102,84,100,1,'2025-11-13 17:26:56',1,NULL,0,0,'KALDI',NULL,0),(45,103,85,100,1,'2025-11-13 17:27:21',1,NULL,0,0,'KALDI',NULL,0),(46,98,79,100,1,'2025-11-13 17:28:27',1,NULL,0,0,'KALDI',NULL,0),(47,99,81,100,1,'2025-11-13 17:29:36',1,NULL,0,0,'KALDI',NULL,0),(48,96,76,100,1,'2025-11-13 17:30:05',1,NULL,0,0,'KALDI',NULL,0),(49,97,77,100,1,'2025-11-13 17:30:26',1,NULL,0,0,'KALDI',NULL,0),(50,100,82,100,1,'2025-11-13 17:31:04',1,NULL,0,0,'KALDI',NULL,0),(51,94,74,100,1,'2025-11-13 17:31:36',1,NULL,0,0,'KALDI',NULL,0),(52,92,69,100,1,'2025-11-13 17:32:09',1,NULL,0,0,'KALDI',NULL,0),(53,91,68,100,1,'2025-11-13 17:32:54',1,NULL,0,0,'KALDI',NULL,0),(54,89,67,100,1,'2025-11-13 17:33:18',1,NULL,0,0,'KALDI',NULL,0),(55,101,83,100,1,'2025-11-13 17:33:39',1,NULL,0,0,'KALDI',NULL,0),(56,95,75,100,1,'2025-11-13 17:34:08',1,NULL,0,0,'KALDI',NULL,0),(57,93,73,100,1,'2025-11-13 17:34:37',1,NULL,0,0,'KALDI',NULL,0),(58,90,66,100,1,'2025-11-13 17:34:57',1,NULL,0,0,'KALDI',NULL,0),(59,27,119,60,1,'2025-11-13 17:40:22',1,NULL,0,0,'KALDI',NULL,0),(60,26,53,60,1,'2025-11-13 17:41:30',1,NULL,0,0,'KALDI',NULL,0),(61,25,87,60,1,'2025-11-13 17:42:11',1,NULL,0,0,'KALDI',NULL,0),(62,24,61,60,1,'2025-11-13 17:42:40',1,NULL,0,0,'KALDI',NULL,0),(63,120,60,6,1,'2025-11-13 17:43:17',1,NULL,0,0,'KALDI',NULL,0),(64,49,55,60,1,'2025-11-13 17:44:24',1,NULL,0,0,'KALDI',NULL,0),(65,23,55,60,1,'2025-11-13 17:45:01',1,NULL,0,0,'KALDI',NULL,0),(66,22,51,60,1,'2025-11-13 17:45:42',1,NULL,0,0,'KALDI',NULL,0),(67,21,59,2,1,'2025-11-13 17:46:12',1,NULL,0,0,'KALDI',NULL,0),(68,28,56,2,1,'2025-11-13 17:47:32',1,NULL,0,0,'KALDI',NULL,0),(69,4,121,450,1,'2025-11-14 16:32:45',1,NULL,0,0,'KALDI',NULL,0),(70,4,63,1,1,'2025-11-14 16:33:11',1,NULL,0,0,'KALDI',NULL,0),(71,4,87,1,1,'2025-11-14 16:33:42',1,NULL,0,0,'KALDI',NULL,0),(73,122,119,60,1,'2025-11-14 16:35:22',1,NULL,0,0,'KALDI',NULL,0),(74,122,121,450,1,'2025-11-14 16:35:53',1,NULL,0,0,'KALDI',NULL,0),(75,122,63,1,1,'2025-11-14 16:36:11',1,NULL,0,0,'KALDI',NULL,0),(76,123,63,1,1,'2025-11-14 16:36:39',1,NULL,0,0,'KALDI',NULL,0),(77,123,53,60,1,'2025-11-14 16:36:48',1,NULL,0,0,'KALDI',NULL,0),(78,123,121,450,1,'2025-11-14 16:37:14',1,NULL,0,0,'KALDI',NULL,0),(79,11,63,1,1,'2025-11-14 16:38:12',1,NULL,0,0,'KALDI',NULL,0),(80,19,121,300,1,'2025-11-14 16:39:39',1,NULL,0,0,'KALDI',NULL,0),(81,18,121,450,1,'2025-11-14 16:40:05',1,NULL,0,0,'KALDI',NULL,0);

--
-- Table structure for table `compras`
--

CREATE TABLE `compras` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cantidad` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `valorunitario` double NOT NULL DEFAULT '0',
  `idproveedor` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idmayor` bigint unsigned NOT NULL,
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double DEFAULT '0',
  `afectacaja` int NOT NULL DEFAULT '1',
  `iva` double NOT NULL DEFAULT '0',
  `idunidaddemedida` bigint unsigned NOT NULL,
  `valorgramo` double NOT NULL DEFAULT '0',
  `factor` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `nd` int DEFAULT '0',
  `compras` int DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  `tipodeiva` varchar(12) DEFAULT NULL,
  `descuento` double DEFAULT '0',
  `porcentajedescuento` double DEFAULT '0',
  `nombreimpuesto` varchar(3) DEFAULT 'IVA',
  `imei` varchar(50) DEFAULT NULL,
  `fechavencecompra` date DEFAULT NULL,
  `descripcionencompra` varchar(100) DEFAULT NULL,
  `ibua` int DEFAULT '0',
  `advalorem` int DEFAULT '0',
  `fletecompra` double DEFAULT '0',
  `proximocostomedio` double DEFAULT '0',
  `p_descuentosinfacturar` double DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idproveedor` (`idproveedor`),
  KEY `idmayor` (`idmayor`),
  KEY `idunidaddemedida` (`idunidaddemedida`),
  KEY `cc` (`cc`),
  KEY `idz` (`idz`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `compras_ibfk_4` FOREIGN KEY (`idmayor`) REFERENCES `mayorescompras` (`id`),
  CONSTRAINT `compras_ibfk_6` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  CONSTRAINT `compras_ibfk_7` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `compras`
--

INSERT INTO `compras` (`id`, `idarticulo`, `fecha`, `cantidad`, `valortotal`, `valorunitario`, `idproveedor`, `fechacreacion`, `idmayor`, `porcentajeiva`, `base`, `afectacaja`, `iva`, `idunidaddemedida`, `valorgramo`, `factor`, `cc`, `idz`, `idusuario`, `idcaja`, `nd`, `compras`, `pv`, `tipodeiva`, `descuento`, `porcentajedescuento`, `nombreimpuesto`, `imei`, `fechavencecompra`, `descripcionencompra`, `ibua`, `advalorem`, `fletecompra`, `proximocostomedio`, `p_descuentosinfacturar`) VALUES (1,63,'2025-11-11 09:54:57',80,55000,687.5,27,'2025-11-11 09:54:57',2,0,55000,0,0,1,687.5,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','QUESO MOZARELLA',0,0,0,687.5,0),(2,59,'2025-11-11 10:59:50',96,106800,1112.5,27,'2025-11-11 10:59:50',2,0,106800,0,0,1,1112.5,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','SALCHICHA LLANERA',0,0,0,1112.5,0),(3,51,'2025-11-11 11:05:28',8000,224000,28,19,'2025-11-11 11:05:28',3,0,224000,0,0,6,28,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CARNE DE RES DESMECHADA',0,0,0,28,0),(4,52,'2025-11-11 11:05:59',3000,69000,23,19,'2025-11-11 11:05:59',3,0,69000,0,0,6,23,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CARNE DE CERDO',0,0,0,23,0),(5,53,'2025-11-11 11:06:44',3000,69000,23,19,'2025-11-11 11:06:44',3,0,69000,0,0,6,23,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CHICHARRÓN',0,0,0,23,0),(6,55,'2025-11-11 11:08:02',3975,61613,15.500125786163522,21,'2025-11-11 11:08:02',4,0,61613,0,0,6,15.500125786163522,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PECHUGA DE POLLO',0,0,0,15.500125786163522,0),(7,31,'2025-11-11 14:47:26',24,83000,3458.3333333333335,4,'2025-11-11 14:47:26',6,19,69747.89915966387,0,13252.100840336136,1,3458.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','TÉ HATSU',0,0,0,2964.285714285714,0),(8,118,'2025-11-11 14:48:38',24,56000.00000000001,2333.3333333333335,4,'2025-11-11 14:48:38',6,19,47058.82352941177,0,8941.176470588236,1,2333.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','HIT 500 ML',0,0,0,1018.1818181818181,0),(9,33,'2025-11-11 14:49:25',12,20750,1729.1666666666667,4,'2025-11-11 14:49:25',6,19,17436.974789915967,0,3313.025210084034,1,1729.1666666666667,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','MR TEA 500 ML',0,0,0,482.5581395348837,0),(10,108,'2025-11-11 14:52:27',15,31250.000000000004,2083.3333333333335,4,'2025-11-11 14:52:27',6,19,26260.504201680676,0,4989.495798319328,1,2083.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','COLOMBIANA',0,0,0,694.4444444444446,0),(11,112,'2025-11-11 14:57:30',15,31250.000000000004,2083.3333333333335,4,'2025-11-11 14:57:30',6,19,26260.504201680676,0,4989.495798319328,1,2083.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PESPSI',0,0,0,1201.9230769230771,0),(12,35,'2025-11-11 14:58:43',24,27700,1154.1666666666667,4,'2025-11-11 14:58:43',6,0,27700,0,0,1,1154.1666666666667,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','AGUA BRISA',0,0,0,346.25,0),(13,33,'2025-11-11 14:59:35',24,50000,2083.3333333333335,4,'2025-11-11 14:59:35',6,19,42016.80672268908,0,7983.193277310925,1,2083.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','MR TEA 500 ML',0,0,0,909.0909090909091,0),(14,113,'2025-11-11 15:00:20',24,50900,2120.8333333333335,4,'2025-11-11 15:00:20',6,0,50900,0,0,1,2120.8333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','BRETAÑA',0,0,0,1413.888888888889,0),(15,109,'2025-11-11 15:00:57',30,62500.00000000001,2083.3333333333335,4,'2025-11-11 15:00:57',6,19,52521.00840336135,0,9978.991596638656,1,2083.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','MANZANA POSTOBON',0,0,0,1077.5862068965519,0),(16,107,'2025-11-11 15:01:18',30,62500.00000000001,2083.3333333333335,4,'2025-11-11 15:01:18',6,19,52521.00840336135,0,9978.991596638656,1,2083.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','NARANJA POSTOBON',0,0,0,1488.0952380952383,0),(17,110,'2025-11-11 15:04:00',15,31250.000000000004,2083.3333333333335,4,'2025-11-11 15:04:00',6,19,26260.504201680676,0,4989.495798319328,1,2083.3333333333335,1,0,9,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','UVA POSTOBON',0,0,0,781.2500000000001,0),(18,60,'2025-11-13 12:34:12',240,52900,220.41666666666666,25,'2025-11-13 12:34:12',7,0,52900,0,0,1,220.41666666666666,1,0,10,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','HUEVOS DE CODORNIZ',0,0,0,220.41666666666666,0),(19,63,'2025-11-13 13:05:43',80,55000,687.5,27,'2025-11-13 13:05:43',9,19,46218.487394957985,0,8781.512605042017,1,687.5,1,0,10,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','QUESO MOZARELLA',0,0,0,687.5,0),(20,121,'2025-11-13 14:36:36',50000,50000,1,12,'2025-11-13 14:36:36',10,0,50000,0,0,6,1,1,0,10,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PAPA MP',0,0,0,8.333333333333334,0),(21,121,'2025-11-13 16:24:43',375000,375000,1,12,'2025-11-13 16:24:43',11,0,375000,0,0,6,1,1,0,10,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PAPA MP',0,0,0,1,0),(22,56,'2025-11-15 13:23:12',45,31599.999999999996,702.2222222222222,22,'2025-11-15 13:23:12',12,0,31599.999999999996,0,0,1,702.2222222222222,1,0,12,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','TOCINETA MP',0,0,0,284.68468468468467,0),(23,60,'2025-11-15 13:26:57',120,26450,220.41666666666666,25,'2025-11-15 13:26:57',13,0,26450,0,0,1,220.41666666666666,1,0,12,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','HUEVOS DE CODORNIZ  MP',0,0,0,220.41666666666666,0),(24,59,'2025-11-15 13:29:21',32,55000,1718.75,22,'2025-11-15 13:29:21',12,0,55000,1,0,1,1718.75,1,0,12,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','SALCHICHA LLANERA MP',0,0,0,1397.7941176470588,0),(25,51,'2025-11-16 19:12:39',2000,56000,28,19,'2025-11-16 19:12:39',14,0,56000,0,0,6,28,1,0,13,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CARNE DE RES DESMECHADA MP',0,0,0,28,0),(26,55,'2025-11-16 19:13:09',3000,49000,16.333333333333332,19,'2025-11-16 19:13:09',14,0,49000,0,0,6,16.333333333333332,1,0,13,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PECHUGA DE POLLO',0,0,0,16.237477597818224,0),(28,60,'2025-11-16 19:24:34',216,47810,221.34259259259258,25,'2025-11-16 19:24:34',15,0,47810,0,0,1,221.34259259259258,1,0,13,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','HUEVOS DE CODORNIZ  MP',0,0,0,220.76754385964912,0),(29,59,'2025-11-17 10:10:04',16,18000,1125,24,'2025-11-17 10:10:04',16,19,15126.050420168069,0,2873.9495798319326,1,1125,1,0,14,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','SALCHICHA LLANERA MP',0,0,0,1125,0),(30,76,'2025-05-05 01:43:32',74,81066.852,1231,2300,'2025-05-04 23:59:59',17,22,66448.2393442623,0,14618.612655737705,1,1098.498,1,0,14,14,1,0,1,'KALDI','INCLUIDO',135.502,0,'IVA','','0000-00-00','PULPA GUAYABA AGRIA',1,2,0,74.92060092165899,0),(31,154,'2025-05-05 01:43:40',1,2296.14,2343,2300,'2025-05-04 23:59:59',17,19,1929.5294117647059,0,366.61058823529413,1,2296.14,1,0,14,14,1,0,1,'KALDI','INCLUIDO',46.86,0,'IVA','','0000-00-00','',0,0,0,55689.80699999999,0),(32,127,'2025-05-05 01:43:48',4,16018.923200000001,3434,2300,'2025-05-04 23:59:59',17,19,13461.28,0,2557.6432,1,4004.7308000000003,1,0,14,14,1,0,1,'KALDI','SIN INCLUIR',68.68,0,'IVA','','0000-00-00','',0,0,0,8246.554358271236,0),(33,143,'2025-05-05 02:32:08',2,842625.42,434343,2300,'2025-05-04 23:59:59',17,0,842625.42,0,0,1,421312.71,1,0,14,14,1,0,1,'KALDI','INCLUIDO',13030.29,0,'IVA','','0000-00-00','',0,0,0,10117.390638722554,0),(34,51,'2025-11-18 12:43:41',8000,224000,28,19,'2025-11-18 12:43:41',17,0,224000,0,0,6,28,1,0,14,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CARNE DE RES DESMECHADA MP',0,0,0,28,0),(35,53,'2025-11-18 12:47:50',3000,47400.00000000001,15.8,27,'2025-11-18 12:47:50',18,19,39831.93277310925,0,7568.067226890757,6,15.800000000000002,1,0,14,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CHICHARRÓN MP',0,0,0,18.03448275862069,0),(36,59,'2025-11-18 12:49:53',96,106800,1112.5,27,'2025-11-18 12:49:53',18,19,89747.89915966387,0,17052.100840336134,1,1112.5,1,0,14,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','SALCHICHA LLANERA MP',0,0,0,1112.5,0),(37,63,'2025-11-18 12:53:07',85,54999.99999999999,647.0588235294117,27,'2025-11-18 12:53:07',18,19,46218.48739495798,0,8781.512605042015,1,647.0588235294117,1,0,14,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','QUESO MOZARELLA MP',0,0,0,657.3464912280701,0),(38,111,'2025-11-20 22:11:43',48,122400,2550,18,'2025-11-20 22:11:43',19,19,102857.14285714286,0,19542.857142857145,1,2550,1,0,15,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','COCA COLA',0,0,0,2550,0),(39,63,'2025-11-25 10:12:47',80,67000,837.5,22,'2025-11-25 10:12:47',20,0,67000,0,0,1,837.5,1,0,19,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','QUESO MOZARELLA MP',0,0,0,769.9424342105262,0),(40,60,'2025-11-25 10:15:18',384,84640.00000000001,220.41666666666666,25,'2025-11-25 10:15:18',21,19,71126.05042016807,0,13513.949579831935,1,220.4166666666667,1,0,19,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','HUEVOS DE CODORNIZ  MP',0,0,0,220.62203971050738,0),(41,55,'2025-11-25 10:16:50',1100,17000,15.454545454545455,25,'2025-11-25 10:16:50',21,19,14285.714285714286,0,2714.285714285714,6,15.454545454545455,1,0,19,15,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PECHUGA DE POLLO',0,0,0,15.454545454545455,0),(42,63,'2025-11-26 14:15:56',160,110000,687.5,27,'2025-11-26 14:15:56',22,19,92436.97478991597,0,17563.025210084033,1,687.5,1,0,19,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','QUESO MOZARELLA MP',0,0,0,724.141081871345,0),(43,56,'2025-11-26 14:21:14',66,31600.000000000004,478.7878787878788,27,'2025-11-26 14:21:14',22,19,26554.621848739498,0,5045.378151260505,1,478.78787878787887,1,0,19,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','TOCINETA MP',0,0,0,439.0318028872246,0),(44,51,'2025-11-26 14:24:43',8000,224000,28,19,'2025-11-26 14:24:43',23,0,224000,0,0,6,28,1,0,19,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','CARNE DE RES DESMECHADA MP',0,0,0,28,0),(45,54,'2025-11-27 19:26:30',2940,29400,10,21,'2025-11-27 19:26:30',24,0,29400,0,0,6,10,1,0,20,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','MUSLOS DE POLLO',0,0,0,10,0),(46,55,'2025-11-27 19:28:38',2420,37510,15.5,21,'2025-11-27 19:28:38',25,0,37510,0,0,6,15.5,1,0,20,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','PECHUGA DE POLLO',0,0,0,15.5,0),(47,111,'2025-11-27 19:33:28',48,122400,2550,18,'2025-11-27 19:33:28',26,19,102857.14285714286,0,19542.857142857145,1,2550,1,0,20,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','COCA COLA',0,0,0,2550,0),(48,60,'2025-11-27 19:34:47',408,89930,220.41666666666666,25,'2025-11-27 19:34:47',27,0,89930,1,0,1,220.41666666666666,1,0,20,14,1,0,1,'KALDI','INCLUIDO',0,0,'IVA','','0000-00-00','HUEVOS DE CODORNIZ  MP',0,0,0,220.55748485543268,0);

--
-- Table structure for table `comprasauxiliar`
--

CREATE TABLE `comprasauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cantidad` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `valorunitario` double NOT NULL DEFAULT '0',
  `idproveedor` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idmayor` bigint unsigned NOT NULL,
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `idunidaddemedida` bigint unsigned NOT NULL,
  `valorgramo` double NOT NULL DEFAULT '0',
  `factor` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  `descuento` double DEFAULT '0',
  `porcentajedescuento` double DEFAULT '0',
  `tipodeiva` varchar(12) DEFAULT NULL,
  `nombreimpuesto` varchar(3) DEFAULT 'IVA',
  `imei` varchar(50) DEFAULT NULL,
  `fechavencecompra` date DEFAULT NULL,
  `ibua` int DEFAULT '0',
  `advalorem` int DEFAULT '0',
  `costomedioaux` double DEFAULT '0',
  `fleteaux` double DEFAULT '0',
  `proximocostomedio` double DEFAULT '0',
  `p_descuentosinfacturar` double DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=148 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `comprasauxiliar`
--

INSERT INTO `comprasauxiliar` (`id`, `idarticulo`, `fecha`, `cantidad`, `valortotal`, `valorunitario`, `idproveedor`, `fechacreacion`, `idmayor`, `porcentajeiva`, `base`, `iva`, `idunidaddemedida`, `valorgramo`, `factor`, `cc`, `idz`, `idusuario`, `idcaja`, `pv`, `descuento`, `porcentajedescuento`, `tipodeiva`, `nombreimpuesto`, `imei`, `fechavencecompra`, `ibua`, `advalorem`, `costomedioaux`, `fleteaux`, `proximocostomedio`, `p_descuentosinfacturar`) VALUES (25,1786,'2025-04-07 05:27:33',2,159224.793,79612.3965,325,'2025-04-07 05:27:33',3730,5,151642.66,7582.133000000001,1,79612.3965,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(26,2153,'2025-04-07 05:27:33',1,331094.1795,331094.1795,325,'2025-04-07 05:27:33',3730,5,315327.79000000004,15766.389500000001,1,331094.1795,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(27,1798,'2025-04-07 05:27:33',2,228688.572,114344.286,325,'2025-04-07 05:27:33',3730,5,217798.63999999998,10889.931999999999,1,114344.286,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(28,2859,'2025-04-07 05:27:33',3,339673.69800000003,113224.566,325,'2025-04-07 05:27:33',3730,5,323498.76,16174.938,1,113224.566,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(29,2716,'2025-04-07 05:27:33',6,160164,26694,325,'2025-04-07 05:27:33',3730,0,160164,0,1,26694,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(30,985,'2025-04-07 05:27:33',6,484123.19999999995,80687.2,325,'2025-04-07 05:27:33',3730,0,484123.19999999995,0,1,80687.2,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(31,2582,'2025-04-07 05:27:33',2,88823.53,44411.765,325,'2025-04-07 05:27:33',3730,0,88823.53,0,1,44411.765,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(32,2516,'2025-04-07 05:27:33',1,72166.5,72166.5,325,'2025-04-07 05:27:33',3730,5,68730,3436.5,1,72166.5,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(33,2334,'2025-04-07 05:27:33',6,349411.74,58235.29,325,'2025-04-07 05:27:33',3730,0,349411.74,0,1,58235.29,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(34,982,'2025-04-07 05:27:33',8,569384.64,71173.08,325,'2025-04-07 05:27:33',3730,0,569384.64,0,1,71173.08,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(35,2335,'2025-04-07 05:27:33',1,91344.54,91344.54,325,'2025-04-07 05:27:33',3730,0,91344.54,0,1,91344.54,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(36,2855,'2025-04-07 05:27:33',1,55543.22,55543.22,325,'2025-04-07 05:27:33',3730,0,55543.22,0,1,55543.22,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(37,1641,'2025-04-07 05:27:33',10,438582.39999999997,43858.24,325,'2025-04-07 05:27:33',3730,0,438582.39999999997,0,1,43858.24,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(38,2983,'2025-04-07 05:27:33',2,593533.332,296766.666,325,'2025-04-07 05:27:33',3730,5,565269.8400000001,28263.492000000002,1,296766.666,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(39,978,'2025-04-07 05:27:33',6,181821.54,30303.59,325,'2025-04-07 05:27:33',3730,0,181821.54,0,1,30303.59,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(40,2524,'2025-04-07 05:27:33',5,230630,46126,325,'2025-04-07 05:27:33',3730,0,230630,0,1,46126,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(41,1786,'2025-04-07 05:27:38',2,159224.793,79612.3965,325,'2025-04-07 05:27:38',3730,5,151642.66,7582.133000000001,1,79612.3965,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(42,2153,'2025-04-07 05:27:38',1,331094.1795,331094.1795,325,'2025-04-07 05:27:38',3730,5,315327.79000000004,15766.389500000001,1,331094.1795,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(43,1798,'2025-04-07 05:27:38',2,228688.572,114344.286,325,'2025-04-07 05:27:38',3730,5,217798.63999999998,10889.931999999999,1,114344.286,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(44,2859,'2025-04-07 05:27:38',3,339673.69800000003,113224.566,325,'2025-04-07 05:27:38',3730,5,323498.76,16174.938,1,113224.566,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(45,2716,'2025-04-07 05:27:38',6,160164,26694,325,'2025-04-07 05:27:38',3730,0,160164,0,1,26694,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(46,985,'2025-04-07 05:27:38',6,484123.19999999995,80687.2,325,'2025-04-07 05:27:38',3730,0,484123.19999999995,0,1,80687.2,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(47,2582,'2025-04-07 05:27:38',2,88823.53,44411.765,325,'2025-04-07 05:27:38',3730,0,88823.53,0,1,44411.765,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(48,2516,'2025-04-07 05:27:38',1,72166.5,72166.5,325,'2025-04-07 05:27:38',3730,5,68730,3436.5,1,72166.5,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(49,2334,'2025-04-07 05:27:38',6,349411.74,58235.29,325,'2025-04-07 05:27:38',3730,0,349411.74,0,1,58235.29,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(50,982,'2025-04-07 05:27:38',8,569384.64,71173.08,325,'2025-04-07 05:27:38',3730,0,569384.64,0,1,71173.08,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(51,2335,'2025-04-07 05:27:38',1,91344.54,91344.54,325,'2025-04-07 05:27:38',3730,0,91344.54,0,1,91344.54,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(52,2855,'2025-04-07 05:27:38',1,55543.22,55543.22,325,'2025-04-07 05:27:38',3730,0,55543.22,0,1,55543.22,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(53,1641,'2025-04-07 05:27:38',10,438582.39999999997,43858.24,325,'2025-04-07 05:27:38',3730,0,438582.39999999997,0,1,43858.24,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(54,2983,'2025-04-07 05:27:38',2,593533.332,296766.666,325,'2025-04-07 05:27:38',3730,5,565269.8400000001,28263.492000000002,1,296766.666,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(55,978,'2025-04-07 05:27:38',6,181821.54,30303.59,325,'2025-04-07 05:27:38',3730,0,181821.54,0,1,30303.59,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(56,2524,'2025-04-07 05:27:38',5,230630,46126,325,'2025-04-07 05:27:38',3730,0,230630,0,1,46126,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(57,1786,'2025-04-07 05:27:50',2,159224.793,79612.3965,325,'2025-04-07 05:27:50',3730,5,151642.66,7582.133000000001,1,79612.3965,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(58,2153,'2025-04-07 05:27:50',1,331094.1795,331094.1795,325,'2025-04-07 05:27:50',3730,5,315327.79000000004,15766.389500000001,1,331094.1795,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(59,1798,'2025-04-07 05:27:50',2,228688.572,114344.286,325,'2025-04-07 05:27:50',3730,5,217798.63999999998,10889.931999999999,1,114344.286,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(60,2859,'2025-04-07 05:27:50',3,339673.69800000003,113224.566,325,'2025-04-07 05:27:50',3730,5,323498.76,16174.938,1,113224.566,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(61,2716,'2025-04-07 05:27:50',6,160164,26694,325,'2025-04-07 05:27:50',3730,0,160164,0,1,26694,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(62,985,'2025-04-07 05:27:50',6,484123.19999999995,80687.2,325,'2025-04-07 05:27:50',3730,0,484123.19999999995,0,1,80687.2,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(63,2582,'2025-04-07 05:27:50',2,88823.53,44411.765,325,'2025-04-07 05:27:50',3730,0,88823.53,0,1,44411.765,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(64,2516,'2025-04-07 05:27:50',1,72166.5,72166.5,325,'2025-04-07 05:27:50',3730,5,68730,3436.5,1,72166.5,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(65,2334,'2025-04-07 05:27:50',6,349411.74,58235.29,325,'2025-04-07 05:27:50',3730,0,349411.74,0,1,58235.29,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(66,982,'2025-04-07 05:27:50',8,569384.64,71173.08,325,'2025-04-07 05:27:50',3730,0,569384.64,0,1,71173.08,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(67,2335,'2025-04-07 05:27:50',1,91344.54,91344.54,325,'2025-04-07 05:27:50',3730,0,91344.54,0,1,91344.54,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(68,2855,'2025-04-07 05:27:50',1,55543.22,55543.22,325,'2025-04-07 05:27:50',3730,0,55543.22,0,1,55543.22,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(69,1641,'2025-04-07 05:27:50',10,438582.39999999997,43858.24,325,'2025-04-07 05:27:50',3730,0,438582.39999999997,0,1,43858.24,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(70,2983,'2025-04-07 05:27:50',2,593533.332,296766.666,325,'2025-04-07 05:27:50',3730,5,565269.8400000001,28263.492000000002,1,296766.666,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(71,978,'2025-04-07 05:27:50',6,181821.54,30303.59,325,'2025-04-07 05:27:50',3730,0,181821.54,0,1,30303.59,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(72,2524,'2025-04-07 05:27:50',5,230630,46126,325,'2025-04-07 05:27:50',3730,0,230630,0,1,46126,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(73,1786,'2025-04-07 05:28:17',2,159224.793,79612.3965,325,'2025-04-07 05:28:17',3730,5,151642.66,7582.133000000001,1,79612.3965,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(74,2153,'2025-04-07 05:28:17',1,331094.1795,331094.1795,325,'2025-04-07 05:28:17',3730,5,315327.79000000004,15766.389500000001,1,331094.1795,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(75,1798,'2025-04-07 05:28:17',2,228688.572,114344.286,325,'2025-04-07 05:28:17',3730,5,217798.63999999998,10889.931999999999,1,114344.286,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(76,2859,'2025-04-07 05:28:17',3,339673.69800000003,113224.566,325,'2025-04-07 05:28:17',3730,5,323498.76,16174.938,1,113224.566,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(77,2716,'2025-04-07 05:28:17',6,160164,26694,325,'2025-04-07 05:28:17',3730,0,160164,0,1,26694,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(78,985,'2025-04-07 05:28:17',6,484123.19999999995,80687.2,325,'2025-04-07 05:28:17',3730,0,484123.19999999995,0,1,80687.2,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(79,2582,'2025-04-07 05:28:17',2,88823.53,44411.765,325,'2025-04-07 05:28:17',3730,0,88823.53,0,1,44411.765,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(80,2516,'2025-04-07 05:28:17',1,72166.5,72166.5,325,'2025-04-07 05:28:17',3730,5,68730,3436.5,1,72166.5,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(81,2334,'2025-04-07 05:28:17',6,349411.74,58235.29,325,'2025-04-07 05:28:17',3730,0,349411.74,0,1,58235.29,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(82,982,'2025-04-07 05:28:17',8,569384.64,71173.08,325,'2025-04-07 05:28:17',3730,0,569384.64,0,1,71173.08,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(83,2335,'2025-04-07 05:28:17',1,91344.54,91344.54,325,'2025-04-07 05:28:17',3730,0,91344.54,0,1,91344.54,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(84,2855,'2025-04-07 05:28:17',1,55543.22,55543.22,325,'2025-04-07 05:28:17',3730,0,55543.22,0,1,55543.22,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(85,1641,'2025-04-07 05:28:17',10,438582.39999999997,43858.24,325,'2025-04-07 05:28:17',3730,0,438582.39999999997,0,1,43858.24,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(86,2983,'2025-04-07 05:28:17',2,593533.332,296766.666,325,'2025-04-07 05:28:17',3730,5,565269.8400000001,28263.492000000002,1,296766.666,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(87,978,'2025-04-07 05:28:17',6,181821.54,30303.59,325,'2025-04-07 05:28:17',3730,0,181821.54,0,1,30303.59,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(88,2524,'2025-04-07 05:28:17',5,230630,46126,325,'2025-04-07 05:28:17',3730,0,230630,0,1,46126,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(109,31,'2025-11-11 14:44:30',24,83000,3458.3333333333335,4,'2025-11-11 14:44:30',5,0,83000,0,1,3458.3333333333335,1,0,1,15,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,2964.285714285714,0);

--
-- Table structure for table `comprobantesdenomina`
--

CREATE TABLE `comprobantesdenomina` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL,
  `idcliente` bigint unsigned NOT NULL,
  `consecutivo` int DEFAULT '0',
  `calculadodesde` date DEFAULT NULL,
  `calculadohasta` date DEFAULT NULL,
  `diaslaborados` int DEFAULT '0',
  `ingreso` int DEFAULT '0',
  `deducciones` int DEFAULT '0',
  `valorapgar` int DEFAULT '0',
  `idz` int DEFAULT '0',
  `salario` int DEFAULT '0',
  `mediodepago` varchar(25) DEFAULT NULL,
  `afectacaja` int DEFAULT '0',
  `desde` date DEFAULT NULL,
  `hasta` date DEFAULT NULL,
  `cedula` varchar(15) DEFAULT NULL,
  `nombre` varchar(150) DEFAULT NULL,
  `comisiones` int DEFAULT '0',
  `transporte` int DEFAULT '0',
  `pension` int DEFAULT '0',
  `salud` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `comprobantesdenomina_ibfk_2` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `comprobantesdenomina_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `comprobantesdenomina`
--


--
-- Table structure for table `conceptosgastos`
--

CREATE TABLE `conceptosgastos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `concepto` varchar(200) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `conceptosgastos`
--

INSERT INTO `conceptosgastos` (`id`, `concepto`, `cc`, `pv`) VALUES (13,'ARRENDAMIENTO',1,'KALDI'),(14,'IMPREVISTOS',1,'KALDI');

--
-- Table structure for table `configuracion`
--

CREATE TABLE `configuracion` (
  `id` int NOT NULL AUTO_INCREMENT,
  `clave` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `valor` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `descripcion` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clave` (`clave`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `configuracion`
--

INSERT INTO `configuracion` (`id`, `clave`, `valor`, `descripcion`) VALUES (9,'Ajustes de inventario','Hay mas unidades en el inventario físico',NULL),(11,'Fecha para guardar ventas a la madrugada','Fecha real','<ul><li>Fecha real</li><li>Fecha del turno actual</li></ul>'),(12,'Puede repetir celular en el callcenter','Si','<ul><li>Si</li><li>No</li></ul>'),(13,'Tipo de impresion para stickers de articulos v1','QR','<ul><li>BARCODE</li><li>QR</li></ul>');

--
-- Table structure for table `configuracion_incrementos`
--

CREATE TABLE `configuracion_incrementos` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idseccion` int NOT NULL,
  `base_calculo` enum('ultimocoste','valordeventatiendas') NOT NULL DEFAULT 'ultimocoste',
  `incremento_valordeventa` decimal(10,2) NOT NULL DEFAULT '15.00',
  `incremento_valordistribuidor` decimal(10,2) NOT NULL DEFAULT '12.00',
  `incremento_valordeventatiendas` decimal(10,2) NOT NULL DEFAULT '10.00',
  `incremento_vrventapublico` decimal(10,2) NOT NULL DEFAULT '40.00',
  `incremento_valortiendavirtual` decimal(10,2) NOT NULL DEFAULT '15.00',
  `redondeo` int NOT NULL DEFAULT '50',
  `activo` tinyint(1) NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL,
  `idusuario` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `idseccion` (`idseccion`),
  KEY `activo` (`activo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `configuracion_incrementos`
--


--
-- Table structure for table `configuracionshopify`
--

CREATE TABLE `configuracionshopify` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `endpoint1` varchar(200) DEFAULT NULL,
  `endpoint2` varchar(200) DEFAULT NULL,
  `audience` varchar(100) DEFAULT NULL,
  `token1` varchar(200) DEFAULT NULL,
  `token2` varchar(200) DEFAULT NULL,
  `urltoken` varchar(100) DEFAULT NULL,
  `urlmenu` varchar(200) DEFAULT NULL,
  `storeId` varchar(50) NOT NULL,
  `urlactivaciones` varchar(200) DEFAULT NULL,
  `taken` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `configuracionshopify`
--


--
-- Table structure for table `configuraciontirilla`
--

CREATE TABLE `configuraciontirilla` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fuentemodificadorescomanda` int DEFAULT '12',
  `fuentelineascomanda` int DEFAULT '12',
  `COD_SATELITE` varchar(50) DEFAULT NULL,
  `user` varchar(200) DEFAULT NULL,
  `fuentedatosempresa` int DEFAULT '0',
  `fuentetitulo` int DEFAULT '0',
  `bdcontroldelcliente` varchar(300) DEFAULT NULL,
  `userbdcontroldelcliente` varchar(50) DEFAULT NULL,
  `quienrecibeelpedido` varchar(50) DEFAULT NULL,
  `dominiodelcliente` varchar(500) DEFAULT NULL COMMENT 'En este campo se buscan los archivos para devolver la configuración de la tirilla y los datos que se eimprimen',
  `rutaquehayparaimprimir` varchar(50) DEFAULT NULL,
  `master` varchar(200) DEFAULT NULL,
  `rutaborrarfactura` varchar(200) DEFAULT NULL,
  `masterparasubirdatosdeinformes` varchar(200) DEFAULT NULL,
  `bdparasubirdatosdeinformes` varchar(50) DEFAULT NULL,
  `tabladondeseeejecutaelprocedimiento` varchar(50) DEFAULT 'tabladondeseeejecutaelprocedimiento',
  `tamanopapel` int NOT NULL DEFAULT '1',
  `fuenteunocomanda` int NOT NULL DEFAULT '12',
  `cantidadletrasunocomanda` int NOT NULL DEFAULT '20',
  `fuentedoscomanda` int NOT NULL DEFAULT '12',
  `cantidadletrasdoscomanda` int NOT NULL DEFAULT '20',
  `fuentetrescomanda` int NOT NULL DEFAULT '10',
  `cantidadletrastrescomanda` int NOT NULL DEFAULT '10',
  `fuenteunofactura` int NOT NULL DEFAULT '12',
  `cantidadletrasunofactura` int NOT NULL DEFAULT '20',
  `fuentedosfactura` int NOT NULL DEFAULT '12',
  `cantidadletrasdosfactura` int NOT NULL DEFAULT '20',
  `fuentetresfactura` int NOT NULL DEFAULT '10',
  `cantidadletrastresfactura` int NOT NULL DEFAULT '10',
  `alergenos` int NOT NULL DEFAULT '0',
  `imprimir` int NOT NULL DEFAULT '1',
  `facturadeconfirmacion` int NOT NULL DEFAULT '0',
  `campoparaelconsecutivo` varchar(15) NOT NULL DEFAULT 'pendiente',
  `tipotirillafactura` varchar(4) DEFAULT 'pdf',
  `formatofechasistema` varchar(10) NOT NULL DEFAULT 'YYYY-MM-dd' COMMENT 'Para integracion, se refiere al idioma del sistema operativo donde corre el programa, sirve para arreglar los insert que tienen fechas que no ingresan en sql server',
  `lineaimpuestos` varchar(20) NOT NULL DEFAULT 'pendiente',
  `TIPOIVAPORDEFECTO` double NOT NULL DEFAULT '0' COMMENT 'Cuando lineaimpuestos es cero se utiliza este codigo para calcular el porcentaje del iva en la columna tipoiva de tiquetslin',
  `codigoenlace` varchar(1) NOT NULL DEFAULT '5',
  `titulotirilla` varchar(100) DEFAULT NULL,
  `nombreimpresora` varchar(100) DEFAULT NULL,
  `codalmacen` varchar(5) DEFAULT NULL,
  `codalmacenfapster` varchar(5) NOT NULL DEFAULT '7' COMMENT '(Integracion) Es el cod que se envía a fapster en la tabla pendientes de dbotaxml en la columna codalmacen ',
  `pagoepayco` int NOT NULL DEFAULT '0',
  `pagodatafono` int DEFAULT '0',
  `pagoqr` int NOT NULL DEFAULT '0',
  `pagoefectivo` int NOT NULL DEFAULT '0',
  `sizetextomediana` int NOT NULL DEFAULT '12',
  `sizetextomediano` int NOT NULL DEFAULT '12',
  `sizelineascomanda` int NOT NULL DEFAULT '12',
  `sizetitulo` int DEFAULT '12',
  `sizetextopequeno` int NOT NULL DEFAULT '12',
  `maxletrasencomanda` int NOT NULL DEFAULT '12',
  `maxletrasenfactura` int NOT NULL DEFAULT '30',
  `bd` varchar(50) DEFAULT NULL,
  `serie` varchar(5) DEFAULT NULL,
  `caja` int NOT NULL DEFAULT '1' COMMENT 'Valor fijo para tiquetscab y remtrasacciones',
  `serieresolucion` varchar(50) DEFAULT NULL,
  `fo` int NOT NULL DEFAULT '0',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `terminal` varchar(50) DEFAULT NULL,
  `seriedelequipo` varchar(50) DEFAULT NULL,
  `host` varchar(120) NOT NULL DEFAULT 'host',
  `regimen` varchar(50) DEFAULT NULL,
  `comentariotirilla` varchar(1200) DEFAULT NULL,
  `observacionalpie` varchar(500) DEFAULT '.' COMMENT 'Se utiliza para poner el texto sobre el destino de la propina, solo se usa en impresión automática',
  `email` varchar(120) DEFAULT NULL,
  `hasta` int DEFAULT NULL,
  `desde` int DEFAULT NULL,
  `fechainicioresolucion` varchar(20) DEFAULT NULL,
  `resolucioncontrol` varchar(20) DEFAULT NULL,
  `nit` varchar(20) DEFAULT NULL,
  `telefono` varchar(100) DEFAULT NULL,
  `subtitulo` varchar(100) DEFAULT NULL,
  `direccion` varchar(100) DEFAULT NULL,
  `razonsocial` varchar(100) DEFAULT NULL,
  `razonsocialcomanda` varchar(100) DEFAULT NULL,
  `numfacturaescero` int NOT NULL DEFAULT '0',
  `seimprimrecomandaconlafactura` int NOT NULL DEFAULT '1',
  `direccionparapush` text COMMENT 'Esta dirección se utiliza para enviar notificaciones al computador del cliente cuando el java se desconecta',
  `direccionservidorqueescucha` varchar(50) DEFAULT NULL,
  `tabla` varchar(25) DEFAULT NULL COMMENT 'Este es el nombre de la tabla donde se guardan las facturas de pendientes por imprimir',
  `imprimirfacturadoble` int NOT NULL DEFAULT '0',
  `fuentelineasfactura` int DEFAULT '14',
  `imprimirprecuentaconservicio` int NOT NULL DEFAULT '1' COMMENT '1 para que la precuenta imprima con la propina, 0 para que no lo haga',
  `pv` varchar(25) DEFAULT NULL,
  `fuentetitulop` int DEFAULT '12',
  `fuentedatosempresap` int DEFAULT '12',
  `fuentelineascomandap` int DEFAULT '12',
  `fuentemodificadorescomandap` int DEFAULT '12',
  `fuentetotalesp` int DEFAULT '16',
  `fuentehoracomanda` int DEFAULT '12',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `COD_SATELITE` (`COD_SATELITE`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
