--
-- Host: localhost    Database: kebabytemex
-- ------------------------------------------------------


--
-- 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 AUTO_INCREMENT=266 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `adicionales_grupo` (`id`, `idgrupo`, `idadicional`, `incremento`, `fechacreacion`) VALUES (1,1,60,0.00,'2025-07-11 06:50:47'),(2,1,61,0.00,'2025-07-11 06:51:04'),(7,4,68,6.50,'2025-07-11 09:15:33'),(8,4,69,7.50,'2025-07-11 09:15:38'),(9,4,70,14.50,'2025-07-11 09:15:43'),(10,5,68,8.00,'2025-07-11 09:16:48'),(11,5,69,9.00,'2025-07-11 09:16:52'),(12,5,70,15.00,'2025-07-11 09:17:03'),(13,6,68,8.00,'2025-07-11 09:18:32'),(14,6,69,9.00,'2025-07-11 09:18:36'),(15,6,70,15.00,'2025-07-11 09:18:40'),(16,7,68,9.00,'2025-07-11 09:20:32'),(17,7,69,10.00,'2025-07-11 09:20:36'),(18,7,70,16.00,'2025-07-11 09:20:40'),(19,8,68,10.00,'2025-07-11 09:22:29'),(20,8,69,11.00,'2025-07-11 09:22:33'),(21,8,70,15.00,'2025-07-11 09:22:37'),(22,9,68,8.00,'2025-07-11 09:26:33'),(23,9,69,9.00,'2025-07-11 09:26:36'),(24,9,70,15.00,'2025-07-11 09:26:41'),(25,10,68,8.00,'2025-07-11 09:27:37'),(26,10,69,9.00,'2025-07-11 09:27:40'),(27,10,70,15.00,'2025-07-11 09:27:44'),(28,11,68,9.00,'2025-07-11 09:28:30'),(29,11,69,9.50,'2025-07-11 09:28:34'),(30,11,70,15.00,'2025-07-11 09:28:37'),(31,12,68,8.00,'2025-07-11 09:30:26'),(32,12,69,9.00,'2025-07-11 09:30:29'),(33,12,70,16.00,'2025-07-11 09:30:33'),(34,13,68,8.00,'2025-07-11 09:31:26'),(35,13,69,10.00,'2025-07-11 09:31:30'),(36,13,70,16.00,'2025-07-11 09:31:35'),(37,14,68,8.00,'2025-07-11 09:33:44'),(38,14,69,9.00,'2025-07-11 09:33:47'),(39,14,70,16.00,'2025-07-11 09:33:50'),(40,15,68,8.00,'2025-07-11 09:36:04'),(41,15,69,9.00,'2025-07-11 09:36:06'),(42,15,70,15.00,'2025-07-11 09:36:09'),(43,16,68,9.00,'2025-07-11 09:37:00'),(44,16,69,11.00,'2025-07-11 09:37:03'),(45,17,68,8.00,'2025-07-11 09:37:44'),(46,17,69,9.00,'2025-07-11 09:37:47'),(47,17,70,15.00,'2025-07-11 09:37:50'),(48,18,68,11.00,'2025-07-11 09:38:34'),(49,18,69,13.00,'2025-07-11 09:38:37'),(50,18,70,17.00,'2025-07-11 09:38:48'),(51,2,71,0.00,'2025-07-14 13:35:27'),(52,19,71,0.00,'2025-07-14 15:58:20'),(54,20,71,0.00,'2025-07-14 15:59:10'),(56,2,72,0.00,'2025-07-14 16:01:46'),(57,3,72,0.00,'2025-07-14 16:02:38'),(58,3,71,0.00,'2025-07-14 16:02:43'),(59,19,72,0.00,'2025-07-14 16:03:25'),(60,20,72,0.00,'2025-07-14 16:03:36'),(63,21,65,0.00,'2025-07-14 16:06:15'),(64,21,64,0.00,'2025-07-14 16:06:20'),(65,22,65,0.00,'2025-07-14 16:07:55'),(66,22,64,0.00,'2025-07-14 16:07:59'),(67,23,65,0.00,'2025-07-14 16:08:38'),(68,23,64,0.00,'2025-07-14 16:08:41'),(69,24,65,0.00,'2025-07-14 16:09:21'),(70,24,64,0.00,'2025-07-14 16:09:25'),(71,25,35,0.00,'2025-07-14 16:10:18'),(72,25,42,0.00,'2025-07-14 16:10:22'),(73,25,38,0.00,'2025-07-14 16:10:26'),(74,25,33,0.00,'2025-07-14 16:10:33'),(75,25,32,0.00,'2025-07-14 16:11:03'),(76,25,41,0.00,'2025-07-14 16:11:07'),(77,25,36,0.00,'2025-07-14 16:11:11'),(78,25,34,0.00,'2025-07-14 16:11:17'),(79,25,30,0.00,'2025-07-14 16:11:21'),(80,25,44,0.00,'2025-07-14 16:11:24'),(81,25,39,0.00,'2025-07-14 16:11:28'),(82,25,37,0.00,'2025-07-14 16:11:32'),(83,25,31,0.00,'2025-07-14 16:11:36'),(84,26,35,0.00,'2025-07-14 16:12:35'),(85,26,42,0.00,'2025-07-14 16:12:39'),(86,26,38,0.00,'2025-07-14 16:12:43'),(87,26,33,0.00,'2025-07-14 16:12:47'),(88,26,32,0.00,'2025-07-14 16:12:51'),(89,26,41,0.00,'2025-07-14 16:12:55'),(90,26,36,0.00,'2025-07-14 16:12:58'),(91,26,34,0.00,'2025-07-14 16:13:03'),(92,26,30,0.00,'2025-07-14 16:13:07'),(93,26,44,0.00,'2025-07-14 16:13:11'),(94,26,39,0.00,'2025-07-14 16:13:14'),(95,26,37,0.00,'2025-07-14 16:13:18'),(96,26,31,0.00,'2025-07-14 16:13:21'),(97,27,35,0.00,'2025-07-14 16:14:11'),(98,27,42,0.00,'2025-07-14 16:14:15'),(99,27,38,0.00,'2025-07-14 16:14:18'),(100,27,33,0.00,'2025-07-14 16:14:22'),(101,27,32,0.00,'2025-07-14 16:14:26'),(102,27,41,0.00,'2025-07-14 16:14:29'),(103,27,36,0.00,'2025-07-14 16:14:33'),(104,27,34,0.00,'2025-07-14 16:14:37'),(105,27,30,0.00,'2025-07-14 16:14:41'),(106,27,44,0.00,'2025-07-14 16:14:45'),(107,27,39,0.00,'2025-07-14 16:15:07'),(108,27,37,0.00,'2025-07-14 16:15:12'),(109,27,31,0.00,'2025-07-14 16:15:15'),(110,28,35,0.00,'2025-07-14 16:15:50'),(111,28,42,0.00,'2025-07-14 16:15:54'),(112,28,38,0.00,'2025-07-14 16:15:57'),(113,28,33,0.00,'2025-07-14 16:16:02'),(114,28,32,0.00,'2025-07-14 16:16:05'),(115,28,41,0.00,'2025-07-14 16:16:17'),(116,28,36,0.00,'2025-07-14 16:16:25'),(117,28,34,0.00,'2025-07-14 16:16:29'),(118,28,30,0.00,'2025-07-14 16:16:33'),(119,28,44,0.00,'2025-07-14 16:16:40'),(120,28,39,0.00,'2025-07-14 16:16:46'),(121,28,37,0.00,'2025-07-14 16:16:50'),(122,28,31,0.00,'2025-07-14 16:17:01'),(123,29,35,0.00,'2025-07-14 16:18:32'),(124,29,42,0.00,'2025-07-14 16:18:36'),(125,29,38,0.00,'2025-07-14 16:18:40'),(126,29,33,0.00,'2025-07-14 16:18:44'),(127,29,32,0.00,'2025-07-14 16:18:49'),(128,29,41,0.00,'2025-07-14 16:18:59'),(129,29,36,0.00,'2025-07-14 16:19:10'),(130,29,34,0.00,'2025-07-14 16:19:13'),(131,29,30,0.00,'2025-07-14 16:19:17'),(132,29,44,0.00,'2025-07-14 16:19:21'),(133,29,39,0.00,'2025-07-14 16:19:25'),(134,29,37,0.00,'2025-07-14 16:19:29'),(135,29,31,0.00,'2025-07-14 16:19:32'),(136,30,35,0.00,'2025-07-14 16:20:15'),(137,30,42,0.00,'2025-07-14 16:20:18'),(138,30,38,0.00,'2025-07-14 16:20:22'),(139,30,33,0.00,'2025-07-14 16:20:25'),(140,30,32,0.00,'2025-07-14 16:20:29'),(141,30,41,0.00,'2025-07-14 16:20:33'),(142,30,36,0.00,'2025-07-14 16:20:37'),(143,30,34,0.00,'2025-07-14 16:20:40'),(144,30,30,0.00,'2025-07-14 16:20:43'),(145,30,44,0.00,'2025-07-14 16:20:47'),(146,30,39,0.00,'2025-07-14 16:20:50'),(147,30,37,0.00,'2025-07-14 16:20:54'),(148,30,31,0.00,'2025-07-14 16:20:58'),(149,31,35,0.00,'2025-07-14 16:21:35'),(150,31,42,0.00,'2025-07-14 16:21:40'),(151,31,38,0.00,'2025-07-14 16:21:47'),(152,31,33,0.00,'2025-07-14 16:21:51'),(153,31,32,0.00,'2025-07-14 16:21:54'),(154,31,41,0.00,'2025-07-14 16:21:58'),(155,31,36,0.00,'2025-07-14 16:22:02'),(156,31,34,0.00,'2025-07-14 16:22:05'),(157,31,30,0.00,'2025-07-14 16:22:22'),(158,31,44,0.00,'2025-07-14 16:22:26'),(159,31,39,0.00,'2025-07-14 16:22:30'),(160,31,37,0.00,'2025-07-14 16:22:35'),(161,31,31,0.00,'2025-07-14 16:22:38'),(162,32,72,0.00,'2025-07-14 16:25:09'),(163,32,71,0.00,'2025-07-14 16:25:11'),(164,46,35,0.00,'2025-07-14 16:26:14'),(165,46,42,0.00,'2025-07-14 16:26:17'),(166,46,38,0.00,'2025-07-14 16:26:21'),(167,46,33,0.00,'2025-07-14 16:26:24'),(168,46,32,0.00,'2025-07-14 16:26:27'),(169,46,41,0.00,'2025-07-14 16:26:31'),(170,46,36,0.00,'2025-07-14 16:26:36'),(171,46,34,0.00,'2025-07-14 16:26:40'),(172,46,30,0.00,'2025-07-14 16:26:44'),(173,46,44,0.00,'2025-07-14 16:26:47'),(174,46,39,0.00,'2025-07-14 16:26:52'),(175,46,37,0.00,'2025-07-14 16:26:56'),(176,46,31,0.00,'2025-07-14 16:26:59'),(177,33,35,0.00,'2025-07-14 16:27:59'),(178,33,42,0.00,'2025-07-14 16:28:02'),(179,33,38,0.00,'2025-07-14 16:28:06'),(180,33,33,0.00,'2025-07-14 16:28:09'),(181,33,32,0.00,'2025-07-14 16:28:13'),(182,33,41,0.00,'2025-07-14 16:28:17'),(183,33,36,0.00,'2025-07-14 16:28:20'),(184,33,34,0.00,'2025-07-14 16:28:24'),(185,33,30,0.00,'2025-07-14 16:28:28'),(186,33,44,0.00,'2025-07-14 16:28:31'),(187,33,39,0.00,'2025-07-14 16:28:35'),(188,33,37,0.00,'2025-07-14 16:28:38'),(189,33,31,0.00,'2025-07-14 16:28:45'),(190,34,35,0.00,'2025-07-15 15:15:10'),(191,34,42,0.00,'2025-07-15 15:15:17'),(192,34,38,0.00,'2025-07-15 15:15:25'),(193,34,33,0.00,'2025-07-15 15:15:28'),(194,34,32,0.00,'2025-07-15 15:15:32'),(195,34,41,0.00,'2025-07-15 15:15:36'),(196,34,36,0.00,'2025-07-15 15:15:55'),(197,34,34,0.00,'2025-07-15 15:15:59'),(198,34,30,0.00,'2025-07-15 15:16:02'),(199,34,44,0.00,'2025-07-15 15:16:26'),(200,34,39,0.00,'2025-07-15 15:16:31'),(201,34,37,0.00,'2025-07-15 15:16:35'),(202,34,31,0.00,'2025-07-15 15:16:38'),(203,35,42,0.00,'2025-07-15 15:17:44'),(204,35,38,0.00,'2025-07-15 15:17:49'),(205,35,33,0.00,'2025-07-15 15:17:53'),(206,35,32,0.00,'2025-07-15 15:17:56'),(207,35,35,0.00,'2025-07-15 15:18:01'),(208,35,41,0.00,'2025-07-15 15:18:04'),(209,35,36,0.00,'2025-07-15 15:18:08'),(210,35,34,0.00,'2025-07-15 15:18:11'),(211,35,30,0.00,'2025-07-15 15:18:15'),(212,35,44,0.00,'2025-07-15 15:18:19'),(213,35,39,0.00,'2025-07-15 15:18:24'),(214,35,37,0.00,'2025-07-15 15:18:32'),(215,35,31,0.00,'2025-07-15 15:18:35'),(216,44,35,0.00,'2025-07-15 15:20:11'),(217,44,42,0.00,'2025-07-15 15:20:15'),(218,44,38,0.00,'2025-07-15 15:20:19'),(219,44,33,0.00,'2025-07-15 15:20:22'),(220,44,32,0.00,'2025-07-15 15:20:26'),(221,44,41,0.00,'2025-07-15 15:20:29'),(222,44,36,0.00,'2025-07-15 15:20:33'),(223,44,34,0.00,'2025-07-15 15:20:36'),(224,44,30,0.00,'2025-07-15 15:20:40'),(225,44,44,0.00,'2025-07-15 15:20:43'),(226,44,39,0.00,'2025-07-15 15:20:46'),(227,44,37,0.00,'2025-07-15 15:20:50'),(228,44,31,0.00,'2025-07-15 15:20:53'),(229,45,35,0.00,'2025-07-15 15:25:20'),(230,45,42,0.00,'2025-07-15 15:25:24'),(231,45,38,0.00,'2025-07-15 15:25:28'),(232,45,33,0.00,'2025-07-15 15:25:31'),(233,45,32,0.00,'2025-07-15 15:25:34'),(234,45,41,0.00,'2025-07-15 15:25:38'),(235,45,36,0.00,'2025-07-15 15:25:42'),(236,45,34,0.00,'2025-07-15 15:25:46'),(237,45,30,0.00,'2025-07-15 15:25:49'),(238,45,44,0.00,'2025-07-15 15:25:53'),(239,45,39,0.00,'2025-07-15 15:25:57'),(240,45,37,0.00,'2025-07-15 15:26:01'),(241,45,31,0.00,'2025-07-15 15:26:04'),(244,47,77,0.00,'2025-07-15 15:56:04'),(245,47,76,0.00,'2025-07-15 15:56:13'),(246,47,78,0.00,'2025-07-15 15:56:19'),(247,49,77,5.50,'2025-07-15 16:41:26'),(248,49,76,5.50,'2025-07-15 16:41:29'),(249,49,78,5.50,'2025-07-15 16:41:30'),(250,48,80,5.50,'2025-07-15 16:46:20'),(251,48,79,5.50,'2025-07-15 16:46:35'),(252,48,81,5.50,'2025-07-15 16:46:41'),(256,50,83,6.50,'2025-07-15 16:51:28'),(257,50,82,6.50,'2025-07-15 16:51:30'),(258,50,84,6.50,'2025-07-15 16:51:36'),(259,51,83,6.50,'2025-07-15 17:06:19'),(260,51,82,6.50,'2025-07-15 17:06:21'),(261,51,84,6.50,'2025-07-15 17:07:01'),(263,52,76,0.00,'2025-07-15 17:19:06'),(264,52,77,0.00,'2025-07-15 17:19:11'),(265,52,78,0.00,'2025-07-15 17:19:13');

--
-- 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` double DEFAULT '0',
  `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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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=86 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-07-08 21:45:16',' ',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,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-08 21:45: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 '\0',_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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 1','1X Durum o pita, papas fritas y coca cola 330ml','SELECCIONE',0,0,0,'2025-07-10 14:12:14',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:12:14',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,9,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 2','2X Durum o pita, papas fritas y 2 coca cola 330ml','SELECCIONE',0,0,0,'2025-07-10 14:13:17',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,2,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:13:17',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,15,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 3','3X Durum o pita, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:14:47',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,3,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:14:47',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,20,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 4','4X Durum o pita, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:15:53',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,4,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:15:53',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,24,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 5','Hamburguesa, papas fritas y coca cola 330ml','SELECCIONE',0,0,0,'2025-07-10 14:16:39',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,5,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:16:39',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,8.5,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 6','2X Durum o pita, papas fritas y 2 coca cola 330ml','SELECCIONE',0,0,0,'2025-07-10 14:17:37',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,6,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:17: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,14,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 7','3X Durum o pita, papas fritas y coca cola 1.5lt','SELECCIONE',0,0,0,'2025-07-10 14:18:41',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,7,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:18:41',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,18,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 8','4X Hamburguesa, papas fritas y coca cola 1.5lt','SELECCIONE',0,0,0,'2025-07-10 14:19:28',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,8,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:19:28',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,22,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 9','1X Durum o pita, papas fritas y coca cola 330ml','SELECCIONE',0,0,0,'2025-07-10 14:20:21',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,9,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:20:21',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,10.5,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 10','2X Pizza Med, papas fritas y coca cola 1.5lt','SELECCIONE',0,0,0,'2025-07-10 14:21:16',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,10,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:21: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,19,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 11','1X Pizza Med, papas fritas y coca cola 1.5lt','SELECCIONE',0,0,0,'2025-07-10 14:22:49',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,11,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:22:49',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,25,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 12','4X Pizza Med, papas fritas y coca cola 1.5lt','SELECCIONE',0,0,0,'2025-07-10 14:23:57',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,12,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:23: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,32,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 13','1X Pizza grande, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:25:10',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,13,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:25: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,13.5,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 14','2X Pizza grande, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:26:00',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,14,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:26: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,22.5,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 15','1X Pizza Familiar, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:26:46',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,15,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:26: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,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,19,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 16','1X Pizza grande, 2X Kebab, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:27:34',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,16,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:27: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,24,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 17','Pizza grande, kebab, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:28:23',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,17,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:28:23',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,18,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 18','Pizza grande, kebab, hamburguesa, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:29:07',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,18,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:29: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,23,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 19','Tiras de pollo + 20 unidades+ patatas + coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:29:59',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,19,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:29:59',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,22,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 20','Tiras de pollo 6 unidades + patatas + coca cola 330ml','SELECCIONE',0,0,0,'2025-07-10 14:32:32',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,20,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:32: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,7,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 21','Salchipapa','SELECCIONE',0,0,0,'2025-07-10 14:35:09',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,21,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:35:09',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,6,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 '',0,1,1,'GENERAL',0,'','','','','CAJA','Menú 22','Durum Seekh Kebab','SELECCIONE',0,0,0,'2025-07-10 14:36:51',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,22,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:36: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,7,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 23','Pop Corn Pollo 20 unidades','SELECCIONE',0,0,0,'2025-07-10 14:37:30',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,23,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:37:30',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,5,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 24','Pollo Asado Entero + patatas fritas+ coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:38:32',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,24,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:38: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,13,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 25','Pollo Asado Entero+ patatas fritas','SELECCIONE',0,0,0,'2025-07-10 14:39:25',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,25,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:39:25',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,11,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 26','Pollo Asado Medio + patatas fritas+ ensalada','SELECCIONE',0,0,0,'2025-07-10 14:40:20',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,26,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:40: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,7.5,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 27','Pollo Asado+ 2 kebab, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:41:12',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,27,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:41: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,24,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 '',0,1,10,'GENERAL',0,'','','','','CAJA','Menú 28','Pollo Asado, Pizza grande, kebab, papas fritas y coca cola 1.5 lt','SELECCIONE',0,0,0,'2025-07-10 14:42:15',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,28,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:42:15',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,25,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 '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Margarita','Salsa de tomate y queso','SELECCIONE',0,0,0,'2025-07-10 14:44:06',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,30,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:44: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),(31,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizzas de Salami','Salsa de tomate, queso y salami','SELECCIONE',0,0,0,'2025-07-10 14:44:50',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,31,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:44: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),(32,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza de Jamón y Champiñones','Salsa de tomate, queso, jamón de pavo y champiñones','SELECCIONE',0,0,0,'2025-07-10 14:45:52',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,32,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:45:52',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),(33,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza de Atún y Cebolla','Salsa de tomate, queso, atún y cebolla','SELECCIONE',0,0,0,'2025-07-10 14:46:33',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,33,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:46:33',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),(34,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Mare','Salsa de tomate, queso, atún y gambas','SELECCIONE',0,0,0,'2025-07-10 14:47:28',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,34,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:47:28',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),(35,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Barbacoa','Salsa de tomate, queso, carne y salsa BBQ','SELECCIONE',0,0,0,'2025-07-10 14:49:21',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,35,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:49:21',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),(36,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Kebab','Salsa de tomate, queso, carne, kebab y salsa','SELECCIONE',0,0,0,'2025-07-10 14:50:05',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,36,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:50: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),(37,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Vegetariana','Salsa de tomate y verdura del día','SELECCIONE',0,0,0,'2025-07-10 14:50:49',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,37,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:50:49',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),(38,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Cuatro Queso','Salsa de tomate y cuatro quesos','SELECCIONE',0,0,0,'2025-07-10 14:51:31',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,38,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:51:31',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),(39,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Pollo Tikka','Salsa de tomate, queso y pollo','SELECCIONE',0,0,0,'2025-07-10 14:52:12',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,39,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:52: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),(41,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Hawaii','Salsa de tomate, queso jamón y piña','SELECCIONE',0,0,0,'2025-07-10 14:53:41',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,40,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:53:41',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),(42,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Carbonara','Salsa de tomate, queso, champiñones, nata, y pollo','SELECCIONE',0,0,0,'2025-07-10 14:54:25',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,41,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:54:25',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),(43,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Calzone','Mozzarella, salsa de tomate, yogurt, pollo y ternera','SELECCIONE',0,0,0,'2025-07-10 14:55:18',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,42,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:55:18',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),(44,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza Pepperoni','Salsa de tomate, queso y pepperoni','SELECCIONE',0,0,0,'2025-07-10 14:55:59',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,43,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:55:59',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),(45,1,_binary '',0,1,2,'GENERAL',0,'','','','','CAJA','Pizza de Marisco','Atún, gambas, mejillones, palitos de cangrejo','SELECCIONE',0,0,0,'2025-07-10 14:56:34',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,44,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:56: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),(46,1,_binary '',0,1,3,'GENERAL',0,'','','','','CAJA','Platos de kebab','','SELECCIONE',0,0,0,'2025-07-10 14:58:12',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,45,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:58: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,7.5,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 '',0,1,3,'GENERAL',0,'','','','','CAJA','Platos de Calamares fritos','','SELECCIONE',0,0,0,'2025-07-10 14:58:38',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,46,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:58:38',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,7.5,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),(48,1,_binary '',0,1,3,'GENERAL',0,'','','','','CAJA','Platos Falafel','','SELECCIONE',0,0,0,'2025-07-10 14:59:12',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,47,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:59: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,7.5,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 '',0,1,3,'GENERAL',0,'','','','','CAJA','Platos de Alitas de pollo','','SELECCIONE',0,0,0,'2025-07-10 14:59:44',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,48,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 14:59: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,7.5,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),(50,1,_binary '',0,1,3,'GENERAL',0,'','','','','CAJA','Platos de Nuchos','','SELECCIONE',0,0,0,'2025-07-10 15:00:08',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,49,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:00: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,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,7.5,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,3,'GENERAL',0,'','','','','CAJA','Platos de pollo bites','','SELECCIONE',0,0,0,'2025-07-10 15:01:25',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,50,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:01:25',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,7.5,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,3,'GENERAL',0,'','','','','CAJA','Platos de Nuggets de Pollo','','SELECCIONE',0,0,0,'2025-07-10 15:02:10',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,51,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:02: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,7.5,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,5,'GENERAL',0,'','','','','CAJA','Papas fritas','','SELECCIONE',0,0,0,'2025-07-10 15:03:16',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,52,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:03: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,3,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,5,'GENERAL',0,'','','','','CAJA','Papas Gajo','','SELECCIONE',0,0,0,'2025-07-10 15:05:22',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,53,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15: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,4,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,5,'GENERAL',0,'','','','','CAJA','Papas jamón y queso','','SELECCIONE',0,0,0,'2025-07-10 15:09:21',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,54,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:09:21',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,5,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,5,'GENERAL',0,'','','','','CAJA','Papas con queso','','SELECCIONE',0,0,0,'2025-07-10 15:12:45',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,55,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:12: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,4,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,5,'GENERAL',0,'','','','','CAJA','Papas con carne, kebab y queso','','SELECCIONE',0,0,0,'2025-07-10 15:13:37',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,56,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:13: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,6,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),(58,1,_binary '',0,1,6,'GENERAL',0,'','','','','CAJA','Ensalada Caesar','','SELECCIONE',0,0,0,'2025-07-10 15:14:26',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,57,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:14: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,6.5,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','Ensalada de Atún','','SELECCIONE',0,0,0,'2025-07-10 15:15:05',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,58,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:15: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,6.5,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,7,'GENERAL',0,'','','','','CAJA','Durum','Carne de ternera y/o pollo con lechuga, papa','SELECCIONE',0,0,0,'2025-07-10 15:24:40',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,59,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:24: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,5.5,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,7,'GENERAL',0,'','','','','CAJA','Pita','Carne de ternera y/o pollo con lechuga, papa','SELECCIONE',0,0,0,'2025-07-10 15:25:26',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,60,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:25: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,5.5,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,4,'GENERAL',0,'','','','','CAJA','Hamburguesa de ternera','Carne de ternera con lechuga, tomate, cebolla y salsas','SELECCIONE',0,0,0,'2025-07-10 15:28:51',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,61,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:28: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,4,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,4,'GENERAL',0,'','','','','CAJA','Hamburguesa de pollo','Carne de pollo con lechuga, tomate, cebolla y salsas','SELECCIONE',0,0,0,'2025-07-10 15:29:41',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,62,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:29:41',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,4,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,4,'GENERAL',0,'','','','','CAJA','Hamburguesa Especial con Huevo','Carne de ternera o pollo, lechuga, tomate, cebolla, huevo, queso y salsas','SELECCIONE',0,0,0,'2025-07-10 15:30:51',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,63,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:30: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,4.5,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,4,'GENERAL',0,'','','','','CAJA','Hamburguesa Especial doble carne','Doble carne de ternera o pollo, lechuga, tomate, cebolla, huevo, queso y salsas','SELECCIONE',0,0,0,'2025-07-10 15:31:46',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,68,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-10 15:31: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,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,6.5,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,8,'GENERAL',0,'','','','','CAJA','Normal','','SELECCIONE',0,0,0,'2025-07-11 09:13:24',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-11 09:13: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 '\0',_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,8,'GENERAL',0,'','','','','CAJA','Grande','','SELECCIONE',0,0,0,'2025-07-11 09:13:36',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-11 09:13:36',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '\0',_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,8,'GENERAL',0,'','','','','CAJA','Familiar','','SELECCIONE',0,0,0,'2025-07-11 09:13:48',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-11 09:13:48',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '\0',_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,9,'GENERAL',0,'','','','','CAJA','Pita','Carne de ternera y/o pollo con lechuga y papas','SELECCIONE',0,0,0,'2025-07-14 13:33:40',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-14 13:33: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),(72,1,_binary '',0,1,9,'GENERAL',0,'','','','','CAJA','Durum','Carne de ternera y/o pollo con lechuga , papas','SELECCIONE',0,0,0,'2025-07-14 16:01:21',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-14 16:01:21',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,9,'GENERAL',0,'','','','','CAJA','Durum Solo Carne','Carne de ternera, pollo y mixto','SELECCIONE',0,0,0,'2025-07-15 15:02:37',' ',0,0,0,2,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 15:02: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),(74,1,_binary '',0,1,10,'GENERAL',0,'','','','','CAJA','Menu 29','','SELECCIONE',0,0,0,'2025-07-15 15:34:35',' ',0,0,0,2,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,29,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 15:34: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,50,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,10,'GENERAL',0,'','','','','CAJA','Menu 29','','SELECCIONE',0,0,0,'2025-07-15 15:37:22',' ',0,0,0,2,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,29,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 15:37: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 '\0',_binary '\0',0,0,_binary '\0',_binary '\0',1,0,_binary '\0',_binary '\0',0,0.00,1,50,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,9,'GENERAL',0,'','','','','CAJA','Durum carne de Pollo','','SELECCIONE',0,0,0,'2025-07-15 15:50:26',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 15:50: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 '\0',_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,9,'GENERAL',0,'','','','','CAJA','Durum Carne de ternera','','SELECCIONE',0,0,0,'2025-07-15 15:50:39',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 15:50:39',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '\0',_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,9,'GENERAL',0,'','','','','CAJA','Durum Mixto','','SELECCIONE',0,0,0,'2025-07-15 15:50:50',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 15:50: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 '\0',_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,9,'GENERAL',0,'','','','','CAJA','Pita carne de ternera','','SELECCIONE',0,0,0,'2025-07-15 16:44:36',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 16:44:36',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '\0',_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),(80,1,_binary '',0,1,9,'GENERAL',0,'','','','','CAJA','Pita carne de pollo','','SELECCIONE',0,0,0,'2025-07-15 16:45:16',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 16:45: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 '\0',_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,9,'GENERAL',0,'','','','','CAJA','Pita Mixto','','SELECCIONE',0,0,0,'2025-07-15 16:45:44',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 16:45: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 '\0',_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,9,'GENERAL',0,'','','','','CAJA','Carne de ternera','','SELECCIONE',0,0,0,'2025-07-15 16:48:26',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 16:48: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 '\0',_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,9,'GENERAL',0,'','','','','CAJA','Carne de Pollo','','SELECCIONE',0,0,0,'2025-07-15 16:48:37',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 16:48: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 '\0',_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,9,'GENERAL',0,'','','','','CAJA','Mixto','','SELECCIONE',0,0,0,'2025-07-15 16:48:47',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 16:48:47',0,'SELECCIONE',NULL,0,0,NULL,NULL,NULL,NULL,NULL,'https://susoftware.es/imagenes/susoftware.png',NULL,_binary '',NULL,NULL,NULL,_binary '\0',_binary '\0',_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,9,'GENERAL',0,'','','','','CAJA','Pita solo carne','Carne de ternera, pollo y mixto','SELECCIONE',0,0,0,'2025-07-15 17:04:34',' ',0,0,0,6,1,1,0,0,0,1,0.00,'SELECCIONE','SELECCIONE',0,0,0,0,0,0,0,NULL,0,1,0,1,NULL,0,0,0,NULL,NULL,NULL,'KALDI',NULL,NULL,NULL,NULL,NULL,'2025-07-15 17: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);

--
-- 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 AUTO_INCREMENT=56 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `articulos_grupos` (`id`, `idarticulo`, `idgrupo`, `fechacreacion`, `idusuario`) VALUES (4,30,4,'2025-07-11 09:16:31',6),(5,31,5,'2025-07-11 09:17:39',6),(6,32,6,'2025-07-11 09:19:15',6),(7,33,7,'2025-07-11 09:21:17',6),(8,34,8,'2025-07-11 09:23:19',6),(9,35,9,'2025-07-11 09:27:21',6),(10,36,10,'2025-07-11 09:28:14',6),(11,37,11,'2025-07-11 09:29:14',6),(12,38,12,'2025-07-11 09:31:06',6),(13,39,13,'2025-07-11 09:32:12',6),(14,41,14,'2025-07-11 09:34:32',6),(15,42,15,'2025-07-11 09:36:47',6),(16,43,16,'2025-07-11 09:37:30',6),(17,44,17,'2025-07-11 09:38:25',6),(19,45,18,'2025-07-11 09:39:28',6),(24,2,2,'2025-07-14 16:04:11',6),(25,3,3,'2025-07-14 16:04:34',6),(26,4,19,'2025-07-14 16:05:03',6),(27,5,20,'2025-07-14 16:05:46',6),(28,6,21,'2025-07-14 16:06:37',6),(29,7,22,'2025-07-14 16:08:20',6),(30,8,23,'2025-07-14 16:09:00',6),(31,9,24,'2025-07-14 16:09:56',6),(32,10,25,'2025-07-14 16:12:16',6),(33,11,26,'2025-07-14 16:13:41',6),(34,12,27,'2025-07-14 16:15:32',6),(35,13,28,'2025-07-14 16:18:04',6),(36,14,29,'2025-07-14 16:19:49',6),(37,15,30,'2025-07-14 16:21:16',6),(38,16,31,'2025-07-14 16:22:57',6),(39,17,32,'2025-07-14 16:25:27',6),(40,17,46,'2025-07-14 16:27:15',6),(41,18,33,'2025-07-14 16:29:04',6),(42,19,34,'2025-07-15 15:16:57',6),(44,29,44,'2025-07-15 15:21:13',6),(46,75,45,'2025-07-15 15:57:34',2),(49,74,45,'2025-07-15 16:14:59',2),(50,74,47,'2025-07-15 16:27:19',2),(51,72,49,'2025-07-15 16:42:39',6),(52,71,48,'2025-07-15 16:47:17',6),(53,73,50,'2025-07-15 16:52:32',6),(54,85,51,'2025-07-15 17:07:45',6),(55,28,52,'2025-07-15 17:19:48',6);

--
-- 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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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=6 DEFAULT CHARSET=utf8mb3;

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

INSERT INTO `asignacionzonasterceros` (`id`, `idcliente`, `idzona`, `activo`) VALUES (1,2,1,1),(5,6,1,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=12 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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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-06-12 11:34:48',1,4215,'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,0,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','TC',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,'Tienes 10 facturas pendientes por tramitar a la Dian',60001,100000,10,'12','2024-05-07','2024-05-07','2026-05-06','66','66001','PEREIRA','RISARALDA',2,'NIT','https://demo1.taxxa.co/api2.djson','','396316085266','SETP',0,0,0,'<a href=\'/im?tarea=proximosvencimientos\' style=\'color:white;\'>Tienes 3 articulos que vencen en menos de 60 días</a>',99100062,'2027-02-28','SELECCIONE','','IMPOCONSUMO','texasburgers','660001','DSE','O-49','person','1321132132131',2001,'2026-06-28','demo@taxxa.co','Demo2022*',NULL,0,0,_binary '',NULL,'2033-03-01',NULL,NULL,NULL,'total',NULL,NULL,6,'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:55: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','23:55: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,'2026-06-03',1,500,'2024-05-29','2026-05-29','PT1','2026-05-29',NULL,NULL,NULL,'',2500,NULL,NULL,3000,1,NULL,NULL,'',NULL,NULL),(3,0,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','TC',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,'Tienes 10 facturas pendientes por tramitar a la Dian',60001,100000,10,'12','2024-05-07','2024-05-07','2026-05-06','66','66001','PEREIRA','RISARALDA',2,'NIT','https://demo1.taxxa.co/api2.djson','','396316085266','SETP',0,0,0,'<a href=\'/im?tarea=proximosvencimientos\' style=\'color:white;\'>Tienes 3 articulos que vencen en menos de 60 días</a>',99100062,'2027-02-28','SELECCIONE','','IMPOCONSUMO','texasburgers','660001','DSE','O-49','person','1321132132131',2001,'2026-06-28','demo@taxxa.co','Demo2022*',NULL,0,0,_binary '',NULL,'2033-03-01',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,'2026-06-03',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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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 'PEREIRA',
  `departamento` varchar(25) DEFAULT 'RISARALDA',
  `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 '66001',
  `codigodepartamento` varchar(7) DEFAULT '66',
  `codigopostal` varchar(7) DEFAULT '660001',
  `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=10 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,'SYSTEM',NULL,NULL,NULL,'',0,'','MZ 1 c 13 Perla del sur','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','0t977382k3n4g38rnvf8kps0nf',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,'LIBARDO','',NULL,NULL,'',2,'10117768','','2050-12-12','','2022-12-06 06:58:59','PEREIRA','RISARALDA','97sWqGhpdr5Sw','ADMINISTRADOR','','',0,'MASCULINO','CC',0,2,1,'NO',0,0,'','',0,0,NULL,'2',0,0,0,0,NULL,NULL,'66001','66','660001',NULL,NULL,0,'FN','','',0,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','0m6725hkketn53rd5a5prov13j',NULL,0,NULL,'hola',NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'81.0.35.4',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-07-08 21:45:16','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,'VENTA DIRECTA',NULL,NULL,NULL,'',2,'VENTADIRECTA','',NULL,'','2025-07-08 21:45:16','PEREIRA','RISARALDA',NULL,'CLIENTE','','',0,'MASCULINO','CC',0,2,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),(5,'',NULL,NULL,NULL,'',2,'','',NULL,'','2025-07-10 19:36:29','PEREIRA','RISARALDA','','CLIENTE','','',0,'MASCULINO','CC',0,2,2,'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),(6,'Odaisy',NULL,NULL,NULL,'',2,'58406087','',NULL,'','2025-07-10 19:38:55','PEREIRA','RISARALDA','21tx061dL7pnU','CAJERO (A)','','',0,'MASCULINO','CC',0,2,2,'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','9q6p10a542t2ldnapbf1rnu5tn',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,'Libardo García','horizontes',NULL,NULL,'',2,'Y7061699T','Calle Profesor Juan Tadeo Cabrera 12 2B',NULL,'611 78 22 16','2025-07-25 14:29:31','Puerto Del Rosario','RISARALDA',NULL,'CLIENTE','','',0,'MASCULINO','CC',0,0,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,'CON',NULL,0,NULL,'valordeventa',0,NULL,1),(9,'KEBAB Y TEXMEX',NULL,NULL,NULL,'',2,'Y2474508K','',NULL,'','2025-08-18 08:40:02','PEREIRA','RISARALDA','11nCfIb46buho','CLIENTE','','',0,'MASCULINO','CC',0,2,2,'NO',0,0,'','',0,0,NULL,'75',0,0,0,0,NULL,NULL,'66001','66','660001','FAISAL',NULL,0,'CC',NULL,NULL,NULL,'R-99-PN',49,NULL,NULL,NULL,NULL,NULL,NULL,'texasburgers','ik1t2l8gpi3bm4r09t4uj9vo3c',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,'Calle Langerman',NULL,'CLIENTES',0,NULL,_binary '\0',0,_binary '\0','NO',NULL,NULL,'CON',NULL,0,NULL,'valordeventa',0,NULL,1);

--
-- 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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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 DEFAULT CHARSET=utf8mb3;

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


--
-- 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=103 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 (19,76,'2025-04-05 10:05:03',1,0,3,2300,'2025-04-05 10:05:03',15,19,0,0,1,0,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(20,76,'2025-04-05 10:08:01',1,0,3,2300,'2025-04-05 10:08:01',15,19,0,0,1,0,1,0,1,2,1,'KALDI',0,0,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(21,127,'2025-04-05 10:08:10',1,0,3,2300,'2025-04-05 10:08:10',15,19,0,0,1,0,1,0,1,2,1,'KALDI',0.09,3,'SIN INCLUIR','IVA','','0000-00-00',0,0,0,0,0,0),(22,76,'2025-04-05 10:09:06',1,0,2,2300,'2025-04-05 10:09:06',15,19,0,0,1,0,1,0,1,2,1,'KALDI',0.06,3,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(23,76,'2025-04-05 10:09:11',1,0,2,2300,'2025-04-05 10:09:11',15,19,0,0,1,0,1,0,1,2,1,'KALDI',0.06,3,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,0,0),(24,76,'2025-04-05 10:10:18',1,0.97,1,2300,'2025-04-05 10:10:18',15,19,0.8151260504201681,0.15487394957983194,1,0.97,1,0,1,2,1,'KALDI',0.03,3,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,98.6229071804703,0),(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),(89,76,'2025-05-05 01:43:32',74,81066.852,1231,2300,'2025-05-04 23:59:59',17,22,66448.2393442623,14618.612655737705,1,1098.498,1,0,1,2,1,'KALDI',135.502,11.007473598700244,'INCLUIDO','IVA','','0000-00-00',1,2,0,0,74.92060092165899,0),(90,154,'2025-05-05 01:43:40',1,2296.14,2343,2300,'2025-05-04 23:59:59',17,19,1929.5294117647059,366.61058823529413,1,2296.14,1,0,1,2,1,'KALDI',46.86,2,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,55689.80699999999,0),(91,127,'2025-05-05 01:43:48',4,16018.923200000001,3434,2300,'2025-05-04 23:59:59',17,19,13461.28,2557.6432,1,4004.7308000000003,1,0,1,2,1,'KALDI',68.68,2,'SIN INCLUIR','IVA','','0000-00-00',0,0,0,0,8246.554358271236,0),(92,143,'2025-05-05 02:32:08',2,842625.42,434343,2300,'2025-05-04 23:59:59',17,0,842625.42,0,1,421312.71,1,0,1,2,1,'KALDI',13030.29,3,'INCLUIDO','IVA','','0000-00-00',0,0,0,0,10117.390638722554,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) COLLATE utf8mb4_general_ci NOT NULL,
  `valor` text COLLATE utf8mb4_general_ci NOT NULL,
  `descripcion` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `configuracion` (`id`, `clave`, `valor`, `descripcion`) VALUES (16,'Ajustes de inventario','Hay mas unidades en el inventario físico',''),(17,'Ajustes de inventario','Hay menos en el inventario físico',''),(18,'Ajustes de inventario','Se le da de baja por descomposición',''),(19,'Ajustes de inventario','Se le da de baja por mala presentación',''),(20,'Ajustes de inventario','Sale como degustación',''),(21,'Ajustes de inventario','Sale como promoción',''),(22,'Ajustes de inventario','Descontado para cocina',''),(23,'Edición en regularizaciones','Modificando la cantidad','Modificando la cantidad/Agregando la cantidad'),(24,'Descontar inventario en venta','Del módulo de artículos','Del módulo de artículos/Del inventario del vendedor');

--
-- 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;

--
-- Dumping data for table `configuraciontirilla`
--

INSERT INTO `configuraciontirilla` (`id`, `fuentemodificadorescomanda`, `fuentelineascomanda`, `COD_SATELITE`, `user`, `fuentedatosempresa`, `fuentetitulo`, `bdcontroldelcliente`, `userbdcontroldelcliente`, `quienrecibeelpedido`, `dominiodelcliente`, `rutaquehayparaimprimir`, `master`, `rutaborrarfactura`, `masterparasubirdatosdeinformes`, `bdparasubirdatosdeinformes`, `tabladondeseeejecutaelprocedimiento`, `tamanopapel`, `fuenteunocomanda`, `cantidadletrasunocomanda`, `fuentedoscomanda`, `cantidadletrasdoscomanda`, `fuentetrescomanda`, `cantidadletrastrescomanda`, `fuenteunofactura`, `cantidadletrasunofactura`, `fuentedosfactura`, `cantidadletrasdosfactura`, `fuentetresfactura`, `cantidadletrastresfactura`, `alergenos`, `imprimir`, `facturadeconfirmacion`, `campoparaelconsecutivo`, `tipotirillafactura`, `formatofechasistema`, `lineaimpuestos`, `TIPOIVAPORDEFECTO`, `codigoenlace`, `titulotirilla`, `nombreimpresora`, `codalmacen`, `codalmacenfapster`, `pagoepayco`, `pagodatafono`, `pagoqr`, `pagoefectivo`, `sizetextomediana`, `sizetextomediano`, `sizelineascomanda`, `sizetitulo`, `sizetextopequeno`, `maxletrasencomanda`, `maxletrasenfactura`, `bd`, `serie`, `caja`, `serieresolucion`, `fo`, `n`, `terminal`, `seriedelequipo`, `host`, `regimen`, `comentariotirilla`, `observacionalpie`, `email`, `hasta`, `desde`, `fechainicioresolucion`, `resolucioncontrol`, `nit`, `telefono`, `subtitulo`, `direccion`, `razonsocial`, `razonsocialcomanda`, `numfacturaescero`, `seimprimrecomandaconlafactura`, `direccionparapush`, `direccionservidorqueescucha`, `tabla`, `imprimirfacturadoble`, `fuentelineasfactura`, `imprimirprecuentaconservicio`, `pv`, `fuentetitulop`, `fuentedatosempresap`, `fuentelineascomandap`, `fuentemodificadorescomandap`, `fuentetotalesp`, `fuentehoracomanda`) VALUES (2,12,12,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'tabladondeseeejecutaelprocedimiento',80,12,20,12,20,10,10,12,20,12,20,10,10,0,1,0,'pendiente','html','YYYY-MM-dd','pendiente',0,'5',NULL,NULL,NULL,'7',0,0,0,0,12,12,12,12,12,12,30,NULL,NULL,1,NULL,0,'B',NULL,NULL,'host',NULL,NULL,'.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,NULL,NULL,NULL,0,14,1,NULL,12,12,12,12,16,12);

--
-- Table structure for table `consecutivos`
--

CREATE TABLE `consecutivos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` bigint NOT NULL DEFAULT '1',
  `cc` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `tipo` varchar(50) NOT NULL DEFAULT 'VENTAS',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `consecutivos`
--

INSERT INTO `consecutivos` (`id`, `consecutivo`, `cc`, `fechacreacion`, `tipo`, `idusuario`, `pv`) VALUES (1,57,1,'2020-12-24 19:28:24','VENTAS',1,'KALDI'),(2,73596,2,'2020-12-24 19:28:24','VENTAS',1,'KALDI'),(3,980,1,'2020-12-24 19:28:24','Z',1,'KALDI'),(4,4,2,'2020-12-24 19:28:24','Z',1,'KALDI'),(5,181,1,'2020-12-24 19:28:24','ABONOS',1,'KALDI'),(6,181,2,'2020-12-24 19:28:24','ABONOS',1,'KALDI'),(7,1,1,'2020-12-24 19:28:24','NOTASCREDITO',1,'KALDI'),(8,1,2,'2020-12-24 19:28:24','NOTASCREDITO',1,'KALDI'),(9,1,1,'2020-12-24 19:28:24','NOTASDEBITO',1,'KALDI'),(10,1,2,'2020-12-24 19:28:24','NOTASDEBITO',1,'KALDI'),(11,1,1,'2020-12-24 19:28:24','CORTESIAS',1,'KALDI'),(12,1,2,'2020-12-24 19:28:24','CORTESIAS',1,'KALDI'),(13,2,1,'2020-12-24 19:28:24','COMPROBANTE DE EGRESOS',1,'KALDI'),(14,4,2,'2020-12-24 19:28:24','COMPROBANTE DE EGRESOS',1,'KALDI'),(15,1,1,'2020-12-24 19:28:24','SEPARADOS',1,'KALDI'),(16,1,2,'2020-12-24 19:28:24','SEPARADOS',1,'KALDI'),(17,1,1,'2020-12-24 19:28:24','PRODUCCION',1,'KALDI'),(18,2,2,'2020-12-24 19:28:24','PRODUCCION',1,'KALDI'),(19,1,2,'2020-12-24 19:28:24','SOLICITUDES',1,'KALDI'),(20,1,2,'2020-12-24 19:28:24','SOLICITUDES',1,'KALDI'),(21,16,1,'2021-04-04 18:41:42','BAJAS',1,'KALDI'),(22,16,2,'2021-04-04 18:41:52','BAJAS',1,'KALDI'),(23,1,2,'2021-08-31 05:13:46','ABONOS PRESTAMOS',1,'KALDI'),(24,1,2,'2021-09-02 21:51:07','ABONOS SEPARADOS',1,'KALDI'),(25,1,2,'2021-10-09 01:38:11','RecepcionEquipo',1,'KALDI'),(26,1,2,'2022-01-16 08:30:58','TRASLADOS',1,'KALDI'),(27,1,2,'2022-01-24 12:25:47','PrecuentaCallcenter',1,'KALDI'),(28,1,2,'2022-02-04 19:54:59','FICHA DE REGISTRO',1,'KALDI'),(29,10,2,'2022-08-12 19:58:36','DOCUMENTO SOPORTE',1,'KALDI'),(30,1,2,'2023-01-26 09:53:10','DEVOLUCIONES POR PAGAR',1,'KALDI'),(31,1002,2,'2023-02-26 05:14:06','FE',1,'KALDI'),(32,9,2,'2024-01-16 18:29:10','NOTACREDITOFE',1,'KALDI'),(33,1,2,'2024-06-01 17:53:45','POS ELECTRONICO',1,'KALDI'),(34,6,2,'2024-08-13 10:13:50','ANTICIPOS',1,'KALDI'),(35,34,0,'2025-03-13 16:29:02','RECIBO GENERAL',1,'KALDI'),(36,44,0,'2025-03-30 00:31:37','RUTAS',1,'KALDI'),(37,2,0,'2025-05-03 19:57:10','ABONOS COMPRAS',1,'KALDI'),(41,8,0,'2025-05-16 03:33:14','PEDIDOS',1,'KALDI'),(42,3,2,'2025-05-26 13:43:49','FEN',1,'KALDI'),(43,1,0,'2025-06-18 04:23:09','NOMINA',1,'KALDI');

--
-- Table structure for table `consultas`
--

CREATE TABLE `consultas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consulta` text,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `consultas`
--


--
-- Table structure for table `contable`
--

CREATE TABLE `contable` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `idfactura` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `idcliente` bigint unsigned NOT NULL,
  `cuenta` varchar(8) DEFAULT NULL,
  `debito` decimal(11,2) DEFAULT '0.00',
  `credito` decimal(11,2) DEFAULT '0.00',
  `descripcioncuenta` varchar(25) DEFAULT NULL,
  `tipo` varchar(25) DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idfactura` (`idfactura`),
  KEY `contable_ibfk_3` (`idcliente`),
  CONSTRAINT `contable_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `contable_ibfk_2` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`),
  CONSTRAINT `contable_ibfk_3` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `contable`
--


--
-- Table structure for table `conteodiario`
--

CREATE TABLE `conteodiario` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(100) NOT NULL DEFAULT '',
  `cantidad` double NOT NULL DEFAULT '0',
  `mes` int NOT NULL,
  `ano` int NOT NULL,
  `costomedio` double NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `fechacracion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fisico` double NOT NULL DEFAULT '0',
  `idmayor` bigint unsigned NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idmayor` (`idusuario`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idmayor_2` (`idmayor`),
  CONSTRAINT `conteodiario_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresconteodiario` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `conteodiario`
--


--
-- Table structure for table `cotizaciondereceta`
--

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

--
-- Dumping data for table `cotizaciondereceta`
--

INSERT INTO `cotizaciondereceta` (`idarticulo`, `cantidad`, `idusuario`, `id`, `revisado`, `pv`) VALUES (20,1,1,13,1,'KALDI');

--
-- Table structure for table `cotizaciones`
--

CREATE TABLE `cotizaciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmayor` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cantidad` int NOT NULL DEFAULT '0',
  `valorunitario` double NOT NULL DEFAULT '0',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `escortesiadeconvenio` int NOT NULL DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `descripcion` varchar(25) DEFAULT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `porcentajeiva` decimal(5,2) DEFAULT '0.00',
  `base` double DEFAULT '0',
  `impuesto` double DEFAULT '0',
  `numlinea` text,
  `unidaddemedida` text,
  `talla` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idmayor` (`idmayor`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cotizaciones`
--

INSERT INTO `cotizaciones` (`id`, `idmayor`, `consecutivo`, `idarticulo`, `cantidad`, `valorunitario`, `bruto`, `descuento`, `valortotal`, `fechacreacion`, `idcliente`, `idusuario`, `escortesiadeconvenio`, `fechaabonado`, `descripcion`, `porcentajedescuento`, `porcentajeiva`, `base`, `impuesto`, `numlinea`, `unidaddemedida`, `talla`) VALUES (1,5,0,0,0,7532000,0,0,0,'2025-04-14 17:59:25',0,1,0,NULL,'DISEÑO Y FABRICACIÓN DE M',0,0.00,0,0,'1','gl',NULL),(2,5,0,0,0,5000000,0,0,0,'2025-04-14 17:59:25',0,1,0,NULL,'FABRICACIÓN DE RODILLO SE',0,0.00,0,0,'2','gl',NULL),(3,6,0,0,0,7532000,0,0,0,'2025-04-14 18:37:15',0,1,0,NULL,'DISEÑO Y FABRICACIÓN DE M',0,0.00,0,0,'1','gl',NULL),(4,6,0,0,0,5000000,0,0,0,'2025-04-14 18:37:15',0,1,0,NULL,'FABRICACIÓN DE RODILLO SE',0,0.00,0,0,'2','gl',NULL),(5,6,0,0,0,10000,0,0,0,'2025-04-14 18:37:15',0,1,0,NULL,'as fñalds fañsfljkañsflk',0,0.00,0,0,'3','gl',NULL);

--
-- Table structure for table `cuentadecobro`
--

CREATE TABLE `cuentadecobro` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `idusuario` bigint NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `valor` float NOT NULL DEFAULT '0',
  `concepto` text,
  `idcliente` bigint NOT NULL,
  `tipodeventa` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cuentadecobro`
--


--
-- Table structure for table `cuentas`
--

CREATE TABLE `cuentas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tipo` varchar(25) DEFAULT NULL,
  `cuenta` int DEFAULT NULL,
  `Nombre` varchar(25) DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `porcentaje` decimal(5,2) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `tipo` (`tipo`,`porcentaje`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cuentas`
--


--
-- Table structure for table `cupones`
--

CREATE TABLE `cupones` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `nombre` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `cupones`
--


--
-- Table structure for table `departments`
--

CREATE TABLE `departments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `country_id` bigint unsigned NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` char(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `departments_country_id_foreign` (`country_id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `departments`
--

INSERT INTO `departments` (`id`, `country_id`, `name`, `code`, `created_at`, `updated_at`) VALUES (1,46,'Amazonas','91','2024-06-21 01:05:20','2024-06-21 01:05:20'),(2,46,'Antioquia','05','2024-06-21 01:05:20','2024-06-21 01:05:20'),(3,46,'Arauca','81','2024-06-21 01:05:20','2024-06-21 01:05:20'),(4,46,'Atlántico','08','2024-06-21 01:05:20','2024-06-21 01:05:20'),(5,46,'Bogotá','11','2024-06-21 01:05:20','2024-06-21 01:05:20'),(6,46,'Bolívar','13','2024-06-21 01:05:20','2024-06-21 01:05:20'),(7,46,'Boyacá','15','2024-06-21 01:05:20','2024-06-21 01:05:20'),(8,46,'Caldas','17','2024-06-21 01:05:20','2024-06-21 01:05:20'),(9,46,'Caquetá','18','2024-06-21 01:05:20','2024-06-21 01:05:20'),(10,46,'Casanare','85','2024-06-21 01:05:20','2024-06-21 01:05:20'),(11,46,'Cauca','19','2024-06-21 01:05:20','2024-06-21 01:05:20'),(12,46,'Cesar','20','2024-06-21 01:05:20','2024-06-21 01:05:20'),(13,46,'Chocó','27','2024-06-21 01:05:20','2024-06-21 01:05:20'),(14,46,'Córdoba','23','2024-06-21 01:05:20','2024-06-21 01:05:20'),(15,46,'Cundinamarca','25','2024-06-21 01:05:20','2024-06-21 01:05:20'),(16,46,'Guainía','94','2024-06-21 01:05:20','2024-06-21 01:05:20'),(17,46,'Guaviare','95','2024-06-21 01:05:20','2024-06-21 01:05:20'),(18,46,'Huila','41','2024-06-21 01:05:20','2024-06-21 01:05:20'),(19,46,'La Guajira','44','2024-06-21 01:05:20','2024-06-21 01:05:20'),(20,46,'Magdalena','47','2024-06-21 01:05:20','2024-06-21 01:05:20'),(21,46,'Meta','50','2024-06-21 01:05:20','2024-06-21 01:05:20'),(22,46,'Nariño','52','2024-06-21 01:05:20','2024-06-21 01:05:20'),(23,46,'Norte de Santander','54','2024-06-21 01:05:20','2024-06-21 01:05:20'),(24,46,'Putumayo','86','2024-06-21 01:05:20','2024-06-21 01:05:20'),(25,46,'Quindío','63','2024-06-21 01:05:20','2024-06-21 01:05:20'),(26,46,'Risaralda','66','2024-06-21 01:05:20','2024-06-21 01:05:20'),(27,46,'San Andrés y Providencia','88','2024-06-21 01:05:20','2024-06-21 01:05:20'),(28,46,'Santander','68','2024-06-21 01:05:20','2024-06-21 01:05:20'),(29,46,'Sucre','70','2024-06-21 01:05:20','2024-06-21 01:05:20'),(30,46,'Tolima','73','2024-06-21 01:05:20','2024-06-21 01:05:20'),(31,46,'Valle del Cauca','76','2024-06-21 01:05:20','2024-06-21 01:05:20'),(32,46,'Vaupés','97','2024-06-21 01:05:20','2024-06-21 01:05:20'),(33,46,'Vichada','99','2024-06-21 01:05:20','2024-06-21 01:05:20');

--
-- Table structure for table `descuentosporgrupo`
--

CREATE TABLE `descuentosporgrupo` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idgrupo` bigint unsigned NOT NULL DEFAULT '1',
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `porcentaje` int NOT NULL DEFAULT '0',
  `linea` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idgrupo` (`idgrupo`),
  KEY `cc` (`cc`),
  CONSTRAINT `descuentosporgrupo_ibfk_1` FOREIGN KEY (`idgrupo`) REFERENCES `gruposdepersonas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `descuentosporgrupo`
--


--
-- Table structure for table `descuentosprogramados`
--

CREATE TABLE `descuentosprogramados` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `idcliente` bigint unsigned NOT NULL,
  `valor` int DEFAULT NULL,
  `mes` tinyint unsigned DEFAULT NULL,
  `ano` year DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idcliente_2` (`idcliente`,`mes`,`ano`),
  KEY `idusuario` (`idusuario`),
  KEY `idcliente` (`idcliente`)
) ENGINE=InnoDB AUTO_INCREMENT=505 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `descuentosprogramados`
--


--
-- Table structure for table `devolucionesporpagar`
--

CREATE TABLE `devolucionesporpagar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfactura` 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',
  `pagado` bit(1) DEFAULT b'0',
  `fechapagado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuariopaga` bigint unsigned NOT NULL DEFAULT '1',
  `idcliente` bigint unsigned DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idfactura` (`idfactura`),
  CONSTRAINT `cons_devporpgagar_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `cons_devporpgagar_2` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `devolucionesporpagar`
--


--
-- Table structure for table `direcciones`
--

CREATE TABLE `direcciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `direccion` varchar(300) DEFAULT NULL,
  `telefono` varchar(15) DEFAULT NULL,
  `idcliente` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `direccion` (`direccion`,`idcliente`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `direcciones_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `direcciones`
--


--
-- Table structure for table `ediciones`
--

CREATE TABLE `ediciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tabla` varchar(300) DEFAULT NULL,
  `tarea` varchar(600) DEFAULT NULL,
  `usuario` varchar(300) DEFAULT NULL,
  `fechacreacion` varchar(300) DEFAULT NULL,
  `antes` varchar(300) DEFAULT NULL,
  `despues` varchar(300) DEFAULT NULL,
  `campo` varchar(150) DEFAULT NULL,
  `idtabla` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=338 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ediciones`
--

INSERT INTO `ediciones` (`id`, `tabla`, `tarea`, `usuario`, `fechacreacion`, `antes`, `despues`, `campo`, `idtabla`) VALUES (1,'clientes','editar id 2 CONSUMIDOR FINAL   ',' ','2025-07-08 21:43:37','CONSUMIDOR FINAL','LIBARDO','primernombre',NULL),(2,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:43:39','222222222222','','cedula',NULL),(3,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:43:42','Cra 14  9-07','','direccion',NULL),(4,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:43:46','CONSUMIDOR FINAL','','contacto',NULL),(5,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:43:48','2','1','tipodepersona',NULL),(6,'clientes','editar id 2 CONSUMIDOR FINAL CONSUMIDOR FINAL',' ','2025-07-08 21:43:49','CONSUMIDOR FINAL','','razonsocial',NULL),(7,'clientes','editar id 2  CONSUMIDOR FINAL',' ','2025-07-08 21:43:50','CONSUMIDOR FINAL','','nombrecomercial',NULL),(8,'clientes','editar id 2  ',' ','2025-07-08 21:43:51','1','2','tipodepersona',NULL),(9,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:45:31','','10117768','cedula',NULL),(10,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:45:31','raulotalvaro@gmail.com','','email',NULL),(11,'clientes','editar id 2 LIBARDO   ',' ','2025-07-08 21:45:57','2EPVhdbrMz0e2','1512','clave',NULL),(12,'modulos','editar id 206 ','LIBARDO   ','2025-07-09 08:12:55','AdValorem','Editar_articulos_TV','modulo',NULL),(13,'modulos','editar id 206 ','LIBARDO   ','2025-07-09 08:12:56','El término Ad Valorem proviene del latín y significa según el valor. Este tipo de impuesto se calcula como un porcentaje sobre el valor de un bien o servicio, se utiliza para impuestos como el predial o el de importación entre otros','','descripcion',NULL),(14,'clientes','editar id 6    ','LIBARDO   ','2025-07-10 19:39:24','','Odaisy','primernombre',NULL),(15,'clientes','editar id 6 Odaisy   ','LIBARDO   ','2025-07-10 19:39:33','','58406087','cedula',NULL),(16,'clientes','editar id 6 Odaisy   ','LIBARDO   ','2025-07-10 19:39:43','','6087','clave',NULL),(17,'clientes','editar id 6 Odaisy   ','LIBARDO   ','2025-07-10 19:40:02','CLIENTE','CAJERO (A)','rol',NULL),(18,'secciones','Edición de sección: Elige tú Menú','Odaisy   ','2025-07-10 20:11:11',NULL,NULL,NULL,1),(19,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-10 20:13:34',NULL,NULL,NULL,2),(20,'articulos','editar id 2 ','Odaisy   ','2025-07-10 20:13:34','1X Drum o pita, papas fritas y coca cola 330ml','1X Durum o pita, papas fritas y coca cola 330ml','descripcionlarga',2),(21,'articulos','editar id 22 ','Odaisy   ','2025-07-10 20:35:26','20','21','orden',22),(22,'articulos','editar id 22 ','Odaisy   ','2025-07-10 20:35:29','Menú 20','Menú 21','descripcion',22),(23,'articulos','editar id 22 ','Odaisy   ','2025-07-10 20:35:40','7','6.00','vrventapublico',22),(24,'articulos','editar id 22 ','Odaisy   ','2025-07-10 20:36:00','Tiras de pollo de 6 unidades+ patatas+ coca cola 330ml','Salchipapa','descripcionlarga',22),(25,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-10 20:36:00',NULL,NULL,NULL,22),(26,'articulos','editar id 34 ','Odaisy   ','2025-07-10 20:47:54','33','34','orden',34),(27,'articulos','Eliminación de artículo','Odaisy   ','2025-07-10 20:52:35',NULL,NULL,NULL,40),(28,'secciones','editar id 4 ','Odaisy   ','2025-07-10 21:03:26','4','7','orden',4),(29,'secciones','editar id 7 ','Odaisy   ','2025-07-10 21:03:33','7','6','orden',7),(30,'secciones','editar id 6 ','Odaisy   ','2025-07-10 21:03:35','6','5','orden',6),(31,'secciones','editar id 5 ','Odaisy   ','2025-07-10 21:03:40','5','4','orden',5),(32,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-10 21:10:40',NULL,NULL,NULL,53),(33,'articulos','editar id 53 ','Odaisy   ','2025-07-10 21:10:43','Papas fritas','Extras de papas fritas','descripcion',53),(34,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-10 21:11:16',NULL,NULL,NULL,54),(35,'articulos','editar id 54 ','Odaisy   ','2025-07-10 21:11:21','Papas Gajo','Extras de papas Gajo','descripcion',54),(36,'adicionales_grupo','editar id 1 ',' ','2025-07-11 12:58:52','0.00','10.00','incremento',1),(37,'adicionales_grupo','editar id 2 ',' ','2025-07-11 12:58:53','0.00','10.00','incremento',2),(38,'adicionales_grupo','editar id 1 ',' ','2025-07-11 13:01:40','10.00','','incremento',1),(39,'adicionales_grupo','editar id 2 ',' ','2025-07-11 13:01:41','10.00','9.98','incremento',2),(40,'adicionales_grupo','editar id 2 ',' ','2025-07-11 13:01:43','9.98','','incremento',2),(41,'grupos_adicionales','editar id 1 ','LIBARDO   ','2025-07-11 13:02:33','0','1','esobligatorio',1),(42,'estilos','Editar id 2 ',' ','2025-07-11 13:04:23','','.ficha-articulo-img{display:none !important;}','estilo',NULL),(43,'estilos','Editar id 2 ',' ','2025-07-11 13:05:06','.ficha-articulo-img{display:none !important;}','.ficha-articulo-img{display:none !important;}\n\n.ficha-articulo {\n    height: 100px !important;  \nmin-height: 100px !important;  \n} \n.ficha-articulo-titulo{\ncolor:#ff7514;\nfont-size:14px !important;\nfont-weight:bold !important;\n}\n.ficha-articulo-desc{\ncolor:red;\nfont-size:14px !important;\nfont-weight','estilo',NULL),(44,'estilos','Editar id 2 ',' ','2025-07-11 13:06:31','.ficha-articulo-img{display:none !important;}\n\n.ficha-articulo {\n    height: 100px !important;  \nmin-height: 100px !important;  \n} \n.ficha-articulo-titulo{\ncolor:#ff7514;\nfont-size:14px !important;\nfont-weight:bold !important;\n}\n.ficha-articulo-desc{','.ficha-articulo-img{display:none !important;}\n\n.ficha-articulo { \n    height: 100px !important;  \nmin-height: 100px !important;  \n} \n.ficha-articulo-titulo{\ncolor:#ff7514;\nfont-size:14px !important;\nfont-weight:bold !important;\n}\n.ficha-articulo-desc{\ncolor:red;\nfont-size:14px !important;\nfont-weigh','estilo',NULL),(45,'grupos_adicionales','editar id 2 ','LIBARDO   ','2025-07-11 13:07:37','0','1','esobligatorio',2),(46,'grupos_adicionales','editar id 3 ','LIBARDO   ','2025-07-11 13:11:59','0','1','esobligatorio',3),(47,'adicionales_grupo','editar id 7 ','Odaisy   ','2025-07-11 15:15:55','0.00','6.50','incremento',7),(48,'adicionales_grupo','editar id 8 ','Odaisy   ','2025-07-11 15:15:59','0.00','07.50','incremento',8),(49,'adicionales_grupo','editar id 9 ','Odaisy   ','2025-07-11 15:16:03','0.00','14.50','incremento',9),(50,'adicionales_grupo','editar id 10 ','Odaisy   ','2025-07-11 15:17:12','0.00','8.00','incremento',10),(51,'adicionales_grupo','editar id 11 ','Odaisy   ','2025-07-11 15:17:12','0.00','0.01','incremento',11),(52,'adicionales_grupo','editar id 11 ','Odaisy   ','2025-07-11 15:17:18','0.01','9.00','incremento',11),(53,'adicionales_grupo','editar id 12 ','Odaisy   ','2025-07-11 15:17:24','0.00','15.00','incremento',12),(54,'grupos_adicionales','editar id 6 ','Odaisy   ','2025-07-11 15:18:18','Pizza de Jamón y Queso','Pizza de Jamón y champiñones','nombre',6),(55,'adicionales_grupo','editar id 13 ','Odaisy   ','2025-07-11 15:18:51','0.00','8.00','incremento',13),(56,'adicionales_grupo','editar id 14 ','Odaisy   ','2025-07-11 15:18:55','0.00','9.00','incremento',14),(57,'adicionales_grupo','editar id 15 ','Odaisy   ','2025-07-11 15:19:01','0.00','15.00','incremento',15),(58,'adicionales_grupo','editar id 16 ','Odaisy   ','2025-07-11 15:20:49','0.00','9.01','incremento',16),(59,'adicionales_grupo','editar id 16 ','Odaisy   ','2025-07-11 15:20:51','9.01','9.00','incremento',16),(60,'adicionales_grupo','editar id 17 ','Odaisy   ','2025-07-11 15:20:57','0.00','10.00','incremento',17),(61,'adicionales_grupo','editar id 18 ','Odaisy   ','2025-07-11 15:21:01','0.00','16.00','incremento',18),(62,'adicionales_grupo','editar id 19 ','Odaisy   ','2025-07-11 15:22:48','0.00','10.00','incremento',19),(63,'adicionales_grupo','editar id 20 ','Odaisy   ','2025-07-11 15:22:55','0.00','11.00','incremento',20),(64,'adicionales_grupo','editar id 21 ','Odaisy   ','2025-07-11 15:23:01','0.00','15.00','incremento',21),(65,'adicionales_grupo','editar id 22 ','Odaisy   ','2025-07-11 15:26:50','0.00','8.00','incremento',22),(66,'adicionales_grupo','editar id 23 ','Odaisy   ','2025-07-11 15:26:56','0.00','9.00','incremento',23),(67,'adicionales_grupo','editar id 24 ','Odaisy   ','2025-07-11 15:27:02','0.00','15.00','incremento',24),(68,'adicionales_grupo','editar id 25 ','Odaisy   ','2025-07-11 15:27:53','0.00','8.00','incremento',25),(69,'adicionales_grupo','editar id 26 ','Odaisy   ','2025-07-11 15:27:56','0.00','9.00','incremento',26),(70,'adicionales_grupo','editar id 27 ','Odaisy   ','2025-07-11 15:28:01','0.00','15.00','incremento',27),(71,'adicionales_grupo','editar id 28 ','Odaisy   ','2025-07-11 15:28:48','0.00','9.00','incremento',28),(72,'adicionales_grupo','editar id 29 ','Odaisy   ','2025-07-11 15:28:55','0.00','9.50','incremento',29),(73,'adicionales_grupo','editar id 30 ','Odaisy   ','2025-07-11 15:29:01','0.00','15.00','incremento',30),(74,'adicionales_grupo','editar id 31 ','Odaisy   ','2025-07-11 15:30:43','0.00','8.00','incremento',31),(75,'adicionales_grupo','editar id 32 ','Odaisy   ','2025-07-11 15:30:47','0.00','9.00','incremento',32),(76,'adicionales_grupo','editar id 33 ','Odaisy   ','2025-07-11 15:30:52','0.00','16.00','incremento',33),(77,'adicionales_grupo','editar id 34 ','Odaisy   ','2025-07-11 15:31:43','0.00','8.00','incremento',34),(78,'adicionales_grupo','editar id 35 ','Odaisy   ','2025-07-11 15:31:48','0.00','10.00','incremento',35),(79,'adicionales_grupo','editar id 36 ','Odaisy   ','2025-07-11 15:31:54','0.00','16.00','incremento',36),(80,'adicionales_grupo','editar id 37 ','Odaisy   ','2025-07-11 15:34:05','0.00','8.00','incremento',37),(81,'adicionales_grupo','editar id 38 ','Odaisy   ','2025-07-11 15:34:08','0.00','9.00','incremento',38),(82,'adicionales_grupo','editar id 39 ','Odaisy   ','2025-07-11 15:34:13','0.00','16.00','incremento',39),(83,'adicionales_grupo','editar id 40 ','Odaisy   ','2025-07-11 15:36:21','0.00','8.00','incremento',40),(84,'adicionales_grupo','editar id 41 ','Odaisy   ','2025-07-11 15:36:25','0.00','9.00','incremento',41),(85,'adicionales_grupo','editar id 42 ','Odaisy   ','2025-07-11 15:36:31','0.00','15.00','incremento',42),(86,'adicionales_grupo','editar id 43 ','Odaisy   ','2025-07-11 15:37:11','0.00','9.00','incremento',43),(87,'adicionales_grupo','editar id 44 ','Odaisy   ','2025-07-11 15:37:15','0.00','11.00','incremento',44),(88,'adicionales_grupo','editar id 45 ','Odaisy   ','2025-07-11 15:37:59','0.00','8.00','incremento',45),(89,'adicionales_grupo','editar id 46 ','Odaisy   ','2025-07-11 15:38:03','0.00','9.00','incremento',46),(90,'adicionales_grupo','editar id 47 ','Odaisy   ','2025-07-11 15:38:10','0.00','15.00','incremento',47),(91,'adicionales_grupo','editar id 48 ','Odaisy   ','2025-07-11 15:38:57','0.00','11.00','incremento',48),(92,'adicionales_grupo','editar id 49 ','Odaisy   ','2025-07-11 15:39:01','0.00','13.00','incremento',49),(93,'adicionales_grupo','editar id 50 ','Odaisy   ','2025-07-11 15:39:08','0.00','17.00','incremento',50),(94,'articulos_grupos','Desasignación grupo 18 del artículo 44','Odaisy   ','2025-07-11 15:39:20',NULL,NULL,NULL,0),(95,'grupos_adicionales','editar id 3 ','Odaisy   ','2025-07-14 16:01:55','Menu 2-1','Menú 2-1','nombre',3),(96,'grupos_adicionales','editar id 2 ','Odaisy   ','2025-07-14 16:02:00','Menu 2','Menú 2','nombre',2),(97,'grupos_adicionales','editar id 19 ','Odaisy   ','2025-07-14 16:02:03','0','3','minimo',19),(98,'grupos_adicionales','editar id 19 ','Odaisy   ','2025-07-14 16:02:06','1000','3','maximo',19),(99,'grupos_adicionales','editar id 20 ','Odaisy   ','2025-07-14 16:02:23','0','4','minimo',20),(100,'grupos_adicionales','editar id 20 ','Odaisy   ','2025-07-14 16:02:28','1000','4','maximo',20),(101,'grupos_adicionales','editar id 21 ','Odaisy   ','2025-07-14 16:02:41','0','1','minimo',21),(102,'grupos_adicionales','editar id 21 ','Odaisy   ','2025-07-14 16:02:44','1000','1','maximo',21),(103,'grupos_adicionales','editar id 22 ','Odaisy   ','2025-07-14 16:03:03','0','2','minimo',22),(104,'grupos_adicionales','editar id 22 ','Odaisy   ','2025-07-14 16:03:05','1000','2','maximo',22),(105,'grupos_adicionales','editar id 23 ','Odaisy   ','2025-07-14 16:03:26','0','3','minimo',23),(106,'grupos_adicionales','editar id 23 ','Odaisy   ','2025-07-14 16:03:30','1000','3','maximo',23),(107,'grupos_adicionales','editar id 21 ','Odaisy   ','2025-07-14 16:03:46','Menu 5-1','Menú 5-1','nombre',21),(108,'grupos_adicionales','editar id 23 ','Odaisy   ','2025-07-14 16:03:49','Menu 7-3','Menú 7-3','nombre',23),(109,'grupos_adicionales','editar id 24 ','Odaisy   ','2025-07-14 16:03:56','0','4','minimo',24),(110,'grupos_adicionales','editar id 24 ','Odaisy   ','2025-07-14 16:03:59','1000','4','maximo',24),(111,'grupos_adicionales','editar id 25 ','Odaisy   ','2025-07-14 16:04:23','0','1','minimo',25),(112,'grupos_adicionales','editar id 25 ','Odaisy   ','2025-07-14 16:04:26','1000','1','maximo',25),(113,'grupos_adicionales','editar id 26 ','Odaisy   ','2025-07-14 16:04:49','0','2','minimo',26),(114,'grupos_adicionales','editar id 26 ','Odaisy   ','2025-07-14 16:04:50','1000','2','maximo',26),(115,'grupos_adicionales','editar id 27 ','Odaisy   ','2025-07-14 16:05:06','0','3','minimo',27),(116,'grupos_adicionales','editar id 27 ','Odaisy   ','2025-07-14 16:05:08','1000','3','maximo',27),(117,'grupos_adicionales','editar id 28 ','Odaisy   ','2025-07-14 16:05:25','0','4','minimo',28),(118,'grupos_adicionales','editar id 28 ','Odaisy   ','2025-07-14 16:05:27','1000','4','maximo',28),(119,'grupos_adicionales','editar id 29 ','Odaisy   ','2025-07-14 16:05:56','0','1','minimo',29),(120,'grupos_adicionales','editar id 29 ','Odaisy   ','2025-07-14 16:05:58','1000','1','maximo',29),(121,'grupos_adicionales','editar id 30 ','Odaisy   ','2025-07-14 16:06:18','0','2','minimo',30),(122,'grupos_adicionales','editar id 30 ','Odaisy   ','2025-07-14 16:06:25','1000','2','maximo',30),(123,'grupos_adicionales','editar id 31 ','Odaisy   ','2025-07-14 16:06:51','0','1','minimo',31),(124,'grupos_adicionales','editar id 31 ','Odaisy   ','2025-07-14 16:06:53','1000','1','maximo',31),(125,'grupos_adicionales','editar id 32 ','Odaisy   ','2025-07-14 16:07:40','0','1','minimo',32),(126,'grupos_adicionales','editar id 33 ','Odaisy   ','2025-07-14 16:08:08','0','1','minimo',33),(127,'grupos_adicionales','editar id 33 ','Odaisy   ','2025-07-14 16:08:10','1000','1','maximo',33),(128,'grupos_adicionales','editar id 34 ','Odaisy   ','2025-07-14 16:08:29','Menu 18-1','Menú 18-1','nombre',34),(129,'grupos_adicionales','editar id 34 ','Odaisy   ','2025-07-14 16:08:32','0','1','minimo',34),(130,'grupos_adicionales','editar id 34 ','Odaisy   ','2025-07-14 16:08:39','1000','1','maximo',34),(131,'secciones','editar id 9 ','Odaisy   ','2025-07-14 19:28:57','1','8','orden',9),(132,'secciones','Edición de sección: Durum y Pita','Odaisy   ','2025-07-14 19:33:07',NULL,NULL,NULL,9),(133,'grupos_adicionales','editar id 2 ','Odaisy   ','2025-07-14 19:35:23','Menú 2','Menú 1','nombre',2),(134,'adicionales_grupo','Desasignación adicional 61 del grupo 2','Odaisy   ','2025-07-14 19:35:31',NULL,NULL,NULL,0),(135,'grupos_adicionales','editar id 2 ','Odaisy   ','2025-07-14 19:35:53','Menú 1','Menú 1-1','nombre',2),(136,'articulos_grupos','Desasignación grupo 1 del artículo 2','Odaisy   ','2025-07-14 19:37:31',NULL,NULL,NULL,0),(137,'grupos_adicionales','editar id 3 ','Odaisy   ','2025-07-14 19:37:48','1','2','minimo',3),(138,'grupos_adicionales','editar id 3 ','Odaisy   ','2025-07-14 19:37:52','1','2','maximo',3),(139,'grupos_adicionales','editar id 3 ','Odaisy   ','2025-07-14 19:38:37','Menú 2-1','Menú 2-2','nombre',3),(140,'secciones','editar id 9 ','Odaisy   ','2025-07-14 21:26:21','8','1','orden',9),(141,'articulos','editar id 15 ','Odaisy   ','2025-07-14 21:44:23','23','22.50','vrventapublico',15),(142,'articulos','editar id 6 ','Odaisy   ','2025-07-14 21:46:39','9','8.50','vrventapublico',6),(143,'articulos','editar id 10 ','Odaisy   ','2025-07-14 21:46:49','11','10.50','vrventapublico',10),(144,'articulos','editar id 14 ','Odaisy   ','2025-07-14 21:47:14','14','13.50','vrventapublico',14),(145,'articulos','editar id 27 ','Odaisy   ','2025-07-14 21:47:46','8','7.50','vrventapublico',27),(146,'articulos','editar id 46 ','Odaisy   ','2025-07-14 21:48:35','Platos Combinados de kebab','Platos de kebab','descripcion',46),(147,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:48:35',NULL,NULL,NULL,46),(148,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:49:09',NULL,NULL,NULL,46),(149,'articulos','editar id 46 ','Odaisy   ','2025-07-14 21:49:09','8','7.50','vrventapublico',46),(150,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:49:37',NULL,NULL,NULL,46),(151,'articulos','editar id 47 ','Odaisy   ','2025-07-14 21:50:08','8','7.50','vrventapublico',47),(152,'articulos','editar id 47 ','Odaisy   ','2025-07-14 21:50:13','Platos Combinados de Calamares fritos','Platos de Calamares fritos','descripcion',47),(153,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:50:13',NULL,NULL,NULL,47),(154,'articulos','editar id 48 ','Odaisy   ','2025-07-14 21:50:27','Platos Combinados Falafel','Platos Falafel','descripcion',48),(155,'articulos','editar id 48 ','Odaisy   ','2025-07-14 21:50:32','8','7.50','vrventapublico',48),(156,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:50:33',NULL,NULL,NULL,48),(157,'articulos','editar id 49 ','Odaisy   ','2025-07-14 21:50:47','8','7.50','vrventapublico',49),(158,'articulos','editar id 49 ','Odaisy   ','2025-07-14 21:50:52','Platos Combinados de Alitas de pollo','Platos de Alitas de pollo','descripcion',49),(159,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:50:52',NULL,NULL,NULL,49),(160,'articulos','editar id 50 ','Odaisy   ','2025-07-14 21:51:10','Platos Combinados Nuchos','Platos de Nuchos','descripcion',50),(161,'articulos','editar id 50 ','Odaisy   ','2025-07-14 21:51:15','8','7.50','vrventapublico',50),(162,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:51:15',NULL,NULL,NULL,50),(163,'articulos','editar id 51 ','Odaisy   ','2025-07-14 21:51:28','8','7.50','vrventapublico',51),(164,'articulos','editar id 51 ','Odaisy   ','2025-07-14 21:51:38','Platos Combinados pollo bites','Platos de pollo bites','descripcion',51),(165,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:51:38',NULL,NULL,NULL,51),(166,'articulos','editar id 52 ','Odaisy   ','2025-07-14 21:51:52','8','7.50','vrventapublico',52),(167,'articulos','editar id 52 ','Odaisy   ','2025-07-14 21:51:55','Platos Combinados de Nuggets de Pollo','Platos de Nuggets de Pollo','descripcion',52),(168,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:51:56',NULL,NULL,NULL,52),(169,'articulos','editar id 53 ','Odaisy   ','2025-07-14 21:52:15','Extras de papas fritas','Papas fritas','descripcion',53),(170,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:52:15',NULL,NULL,NULL,53),(171,'articulos','editar id 54 ','Odaisy   ','2025-07-14 21:52:31','Extras de papas Gajo','Papas Gajo','descripcion',54),(172,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:52:31',NULL,NULL,NULL,54),(173,'articulos','editar id 55 ','Odaisy   ','2025-07-14 21:52:46','Extras de papas jamón y queso','Papas jamón y queso','descripcion',55),(174,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:52:46',NULL,NULL,NULL,55),(175,'articulos','editar id 56 ','Odaisy   ','2025-07-14 21:53:00','Extras de papas con queso','Papas con queso','descripcion',56),(176,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:53:01',NULL,NULL,NULL,56),(177,'articulos','editar id 57 ','Odaisy   ','2025-07-14 21:53:15','Extras de papas con carne, kebab y queso','Papas con carne, kebab y queso','descripcion',57),(178,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-14 21:53:15',NULL,NULL,NULL,57),(179,'articulos','editar id 58 ','Odaisy   ','2025-07-14 21:53:35','7','6.50','vrventapublico',58),(180,'articulos','editar id 59 ','Odaisy   ','2025-07-14 21:53:45','7','6.50','vrventapublico',59),(181,'articulos','editar id 60 ','Odaisy   ','2025-07-14 21:53:50','6','5.50','vrventapublico',60),(182,'articulos','editar id 61 ','Odaisy   ','2025-07-14 21:53:58','6','5.50','vrventapublico',61),(183,'articulos','editar id 62 ','Odaisy   ','2025-07-14 21:54:02','7','6.50','vrventapublico',62),(184,'articulos','editar id 63 ','Odaisy   ','2025-07-14 21:54:24','7','6.50','vrventapublico',63),(185,'articulos','editar id 66 ','Odaisy   ','2025-07-14 21:54:30','5','4.50','vrventapublico',66),(186,'articulos','editar id 67 ','Odaisy   ','2025-07-14 21:54:36','7','6.50','vrventapublico',67),(187,'articulos_grupos','Desasignación grupo 3 del artículo 3','Odaisy   ','2025-07-14 21:57:49',NULL,NULL,NULL,0),(188,'articulos_grupos','Desasignación grupo 2 del artículo 3','Odaisy   ','2025-07-14 21:57:51',NULL,NULL,NULL,0),(189,'adicionales_grupo','Desasignación adicional 60 del grupo 2','Odaisy   ','2025-07-14 22:01:43',NULL,NULL,NULL,0),(190,'articulos_grupos','Desasignación grupo 2 del artículo 2','Odaisy   ','2025-07-14 22:02:11',NULL,NULL,NULL,0),(191,'adicionales_grupo','Desasignación adicional 60 del grupo 3','Odaisy   ','2025-07-14 22:02:32',NULL,NULL,NULL,0),(192,'adicionales_grupo','Desasignación adicional 61 del grupo 3','Odaisy   ','2025-07-14 22:02:33',NULL,NULL,NULL,0),(193,'adicionales_grupo','Desasignación adicional 60 del grupo 19','Odaisy   ','2025-07-14 22:03:22',NULL,NULL,NULL,0),(194,'adicionales_grupo','Desasignación adicional 60 del grupo 20','Odaisy   ','2025-07-14 22:03:34',NULL,NULL,NULL,0),(195,'articulos_grupos','Desasignación grupo 3 del artículo 3','Odaisy   ','2025-07-14 22:04:29',NULL,NULL,NULL,0),(196,'articulos_grupos','Desasignación grupo 19 del artículo 4','Odaisy   ','2025-07-14 22:04:56',NULL,NULL,NULL,0),(197,'articulos_grupos','Desasignación grupo 20 del artículo 5','Odaisy   ','2025-07-14 22:05:39',NULL,NULL,NULL,0),(198,'adicionales_grupo','Desasignación adicional 72 del grupo 21','Odaisy   ','2025-07-14 22:06:05',NULL,NULL,NULL,0),(199,'adicionales_grupo','Desasignación adicional 71 del grupo 21','Odaisy   ','2025-07-14 22:06:06',NULL,NULL,NULL,0),(200,'grupos_adicionales','editar id 32 ','Odaisy   ','2025-07-14 22:25:06','1000','2','maximo',32),(201,'grupos_adicionales','editar id 46 ','Odaisy   ','2025-07-14 22:26:07','0','1','minimo',46),(202,'grupos_adicionales','editar id 46 ','Odaisy   ','2025-07-14 22:26:09','1000','1','maximo',46),(203,'articulos','editar id 1 ','LIBARDO   ','2025-07-15 20:56:56','1','','tiendavirtual',1),(204,'articulos','Eliminación de artículo','LIBARDO   ','2025-07-15 21:02:58',NULL,NULL,NULL,60),(205,'articulos_grupos','Desasignación grupo 35 del artículo 20','Odaisy   ','2025-07-15 21:22:41',NULL,NULL,NULL,0),(206,'adicionales_grupo','Desasignación adicional 72 del grupo 45','Odaisy   ','2025-07-15 21:27:48',NULL,NULL,NULL,0),(207,'grupos_adicionales','editar id 45 ','LIBARDO   ','2025-07-15 21:31:46','0','1','minimo',45),(208,'grupos_adicionales','editar id 45 ','LIBARDO   ','2025-07-15 21:31:50','1000','1','maximo',45),(209,'adicionales_grupo','Desasignación adicional 73 del grupo 47','Odaisy   ','2025-07-15 21:46:59',NULL,NULL,NULL,0),(210,'articulos','Eliminación de artículo','LIBARDO   ','2025-07-15 21:53:02',NULL,NULL,NULL,62),(211,'articulos','Eliminación de artículo','LIBARDO   ','2025-07-15 21:53:16',NULL,NULL,NULL,63),(212,'articulos','editar id 77 ','LIBARDO   ','2025-07-15 21:54:06','Carne de ternera','Durum Carne de ternera','descripcion',77),(213,'articulos','editar id 76 ','LIBARDO   ','2025-07-15 21:54:51','Pollo','Durum de Pollo','descripcion',76),(214,'articulos','editar id 78 ','LIBARDO   ','2025-07-15 21:55:20','Mixto','Durum Mixto','descripcion',78),(215,'grupos_adicionales','editar id 47 ','Odaisy   ','2025-07-15 21:56:39','0','4','minimo',47),(216,'grupos_adicionales','editar id 47 ','LIBARDO   ','2025-07-15 21:56:40','4','2','minimo',47),(217,'grupos_adicionales','editar id 47 ','LIBARDO   ','2025-07-15 21:56:40','2','3','minimo',47),(218,'grupos_adicionales','editar id 47 ','LIBARDO   ','2025-07-15 21:56:40','3','4','minimo',47),(219,'grupos_adicionales','editar id 47 ','Odaisy   ','2025-07-15 21:56:44','1000','4','maximo',47),(220,'grupos_adicionales','editar id 47 ','LIBARDO   ','2025-07-15 21:56:49','4','4','maximo',47),(221,'articulos_grupos','Desasignación grupo 45 del artículo 74','Odaisy   ','2025-07-15 22:07:48',NULL,NULL,NULL,0),(222,'grupos_adicionales','editar id 47 ','LIBARDO   ','2025-07-15 22:11:39','1','2','orden_ga',47),(223,'articulos_grupos','Desasignación grupo 47 del artículo 74','LIBARDO   ','2025-07-15 22:13:26',NULL,NULL,NULL,0),(224,'articulos_grupos','Desasignación grupo 45 del artículo 74','LIBARDO   ','2025-07-15 22:13:28',NULL,NULL,NULL,0),(225,'articulos','Eliminación de artículo','LIBARDO   ','2025-07-15 22:21:13',NULL,NULL,NULL,74),(226,'articulos','Eliminación de artículo','LIBARDO   ','2025-07-15 22:21:25',NULL,NULL,NULL,75),(227,'articulos','editar id 68 ','LIBARDO   ','2025-07-15 22:28:28','1','','tiendavirtual',68),(228,'articulos','editar id 69 ','LIBARDO   ','2025-07-15 22:28:48','1','','tiendavirtual',69),(229,'articulos','editar id 70 ','LIBARDO   ','2025-07-15 22:29:03','1','','tiendavirtual',70),(230,'grupos_adicionales','editar id 48 ','Odaisy   ','2025-07-15 22:39:11','0','1','minimo',48),(231,'grupos_adicionales','editar id 49 ','Odaisy   ','2025-07-15 22:40:56','0','1','minimo',49),(232,'adicionales_grupo','editar id 247 ','Odaisy   ','2025-07-15 22:41:59','0.00','5.50','incremento',247),(233,'adicionales_grupo','editar id 248 ','Odaisy   ','2025-07-15 22:42:03','0.00','5.50','incremento',248),(234,'adicionales_grupo','editar id 249 ','Odaisy   ','2025-07-15 22:42:10','0.00','5.50','incremento',249),(235,'articulos','editar id 76 ','Odaisy   ','2025-07-15 22:44:51','Durum de Pollo','Durum de carne de Pollo','descripcion',76),(236,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:44:51',NULL,NULL,NULL,76),(237,'articulos','editar id 76 ','Odaisy   ','2025-07-15 22:45:25','Durum de carne de Pollo','Durum carne de Pollo','descripcion',76),(238,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:45:25',NULL,NULL,NULL,76),(239,'adicionales_grupo','editar id 250 ','Odaisy   ','2025-07-15 22:46:53','0.00','5.50','incremento',250),(240,'adicionales_grupo','editar id 251 ','Odaisy   ','2025-07-15 22:46:58','0.00','5.50','incremento',251),(241,'adicionales_grupo','editar id 252 ','Odaisy   ','2025-07-15 22:47:02','0.00','5.50','incremento',252),(242,'grupos_adicionales','editar id 50 ','Odaisy   ','2025-07-15 22:49:31','0','1','minimo',50),(243,'adicionales_grupo','Desasignación adicional 83 del grupo 50','Odaisy   ','2025-07-15 22:50:18',NULL,NULL,NULL,0),(244,'adicionales_grupo','Desasignación adicional 82 del grupo 50','Odaisy   ','2025-07-15 22:50:19',NULL,NULL,NULL,0),(245,'adicionales_grupo','Desasignación adicional 73 del grupo 50','Odaisy   ','2025-07-15 22:50:57',NULL,NULL,NULL,0),(246,'adicionales_grupo','editar id 256 ','Odaisy   ','2025-07-15 22:51:50','0.00','6.50','incremento',256),(247,'adicionales_grupo','editar id 257 ','Odaisy   ','2025-07-15 22:51:55','0.00','6.50','incremento',257),(248,'adicionales_grupo','editar id 258 ','Odaisy   ','2025-07-15 22:52:00','0.00','6.50','incremento',258),(249,'articulos','editar id 76 ','Odaisy   ','2025-07-15 22:55:06','1','','tiendavirtual',76),(250,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:55:09',NULL,NULL,NULL,76),(251,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:55:12',NULL,NULL,NULL,76),(252,'articulos','editar id 77 ','Odaisy   ','2025-07-15 22:55:19','1','','tiendavirtual',77),(253,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:55:23',NULL,NULL,NULL,77),(254,'articulos','editar id 78 ','Odaisy   ','2025-07-15 22:55:29','1','','tiendavirtual',78),(255,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:55:33',NULL,NULL,NULL,78),(256,'articulos','editar id 80 ','Odaisy   ','2025-07-15 22:56:16','1','','tiendavirtual',80),(257,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:56:20',NULL,NULL,NULL,80),(258,'articulos','editar id 79 ','Odaisy   ','2025-07-15 22:56:25','1','','tiendavirtual',79),(259,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:56:28',NULL,NULL,NULL,79),(260,'articulos','editar id 81 ','Odaisy   ','2025-07-15 22:56:33','1','','tiendavirtual',81),(261,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:56:37',NULL,NULL,NULL,81),(262,'articulos','editar id 83 ','Odaisy   ','2025-07-15 22:57:52','1','','tiendavirtual',83),(263,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:57:55',NULL,NULL,NULL,83),(264,'articulos','editar id 82 ','Odaisy   ','2025-07-15 22:57:59','1','','tiendavirtual',82),(265,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:58:00',NULL,NULL,NULL,82),(266,'articulos','editar id 84 ','Odaisy   ','2025-07-15 22:58:21','1','','tiendavirtual',84),(267,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 22:58:25',NULL,NULL,NULL,84),(268,'articulos','editar id 72 ','Odaisy   ','2025-07-15 23:00:07','','Carne de ternera y/o pollo con lechuga , papas','descripcionlarga',72),(269,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:00:07',NULL,NULL,NULL,72),(270,'articulos','editar id 71 ','Odaisy   ','2025-07-15 23:00:48','','Carne de ternera y/o pollo con lechuga y papas','descripcionlarga',71),(271,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:00:48',NULL,NULL,NULL,71),(272,'articulos','editar id 73 ','Odaisy   ','2025-07-15 23:01:31','','Carne de ternera y pollo','descripcionlarga',73),(273,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:01:32',NULL,NULL,NULL,73),(274,'articulos','editar id 73 ','Odaisy   ','2025-07-15 23:01:58','Carne de ternera y pollo','Carne de ternera, pollo y mixto','descripcionlarga',73),(275,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:01:58',NULL,NULL,NULL,73),(276,'grupos_adicionales','editar id 51 ','Odaisy   ','2025-07-15 23:06:01','0','1','minimo',51),(277,'adicionales_grupo','editar id 259 ','Odaisy   ','2025-07-15 23:07:12','0.00','6.50','incremento',259),(278,'adicionales_grupo','editar id 260 ','Odaisy   ','2025-07-15 23:07:15','0.00','6.50','incremento',260),(279,'adicionales_grupo','editar id 261 ','Odaisy   ','2025-07-15 23:07:23','0.00','6.50','incremento',261),(280,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:14','23:00:00','02:00','finmartes',2),(281,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:14','02:00:00','23:00','finmartes',2),(282,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:20','23:00:00','23:05','finmartes',2),(283,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:20','23:05:00','23:55','finmartes',2),(284,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:25','08:00:00','','finmartes2',2),(285,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:31','00:00:00','23:05','finmartes2',2),(286,'centrosdecostos','editar id 2 ','LIBARDO   ','2025-07-15 23:09:31','23:05:00','23:55','finmartes2',2),(287,'adicionales_grupo','editar id 262 ','Odaisy   ','2025-07-15 23:11:50','0.00','','incremento',262),(288,'adicionales_grupo','Desasignación adicional 70 del grupo 16','Odaisy   ','2025-07-15 23:11:50',NULL,NULL,NULL,0),(289,'grupos_adicionales','editar id 52 ','Odaisy   ','2025-07-15 23:18:27','0','2','minimo',52),(290,'grupos_adicionales','editar id 52 ','Odaisy   ','2025-07-15 23:18:34','1000','2','maximo',52),(291,'secciones','Edición de sección: Pollo','Odaisy   ','2025-07-15 23:21:00',NULL,NULL,NULL,10),(292,'articulos','editar id 20 ','Odaisy   ','2025-07-15 23:23:45','1','10','idseccion',20),(293,'secciones','Edición de sección: Pollo Asado','Odaisy   ','2025-07-15 23:24:07',NULL,NULL,NULL,10),(294,'secciones','editar id 4 ','Odaisy   ','2025-07-15 23:24:43','7','','orden',4),(295,'secciones','Edición de sección: Hamburguesas','Odaisy   ','2025-07-15 23:24:47',NULL,NULL,NULL,4),(296,'secciones','Edición de sección: Solo Kebab','Odaisy   ','2025-07-15 23:24:54',NULL,NULL,NULL,7),(297,'secciones','Edición de sección: Ensaladas','Odaisy   ','2025-07-15 23:25:01',NULL,NULL,NULL,6),(298,'secciones','Edición de sección: Extras','Odaisy   ','2025-07-15 23:25:07',NULL,NULL,NULL,5),(299,'secciones','Edición de sección: Pollo Asado','Odaisy   ','2025-07-15 23:25:12',NULL,NULL,NULL,10),(300,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:25:35',NULL,NULL,NULL,20),(301,'articulos','editar id 21 ','Odaisy   ','2025-07-15 23:25:55','1','10','idseccion',21),(302,'articulos','editar id 22 ','Odaisy   ','2025-07-15 23:26:06','1','10','idseccion',22),(303,'articulos','editar id 23 ','Odaisy   ','2025-07-15 23:26:17','1','10','idseccion',23),(304,'articulos','editar id 24 ','Odaisy   ','2025-07-15 23:26:25','1','10','idseccion',24),(305,'articulos','editar id 23 ','Odaisy   ','2025-07-15 23:26:55','10','1','idseccion',23),(306,'articulos','editar id 22 ','Odaisy   ','2025-07-15 23:27:15','10','1','idseccion',22),(307,'articulos','editar id 25 ','Odaisy   ','2025-07-15 23:27:34','1','10','idseccion',25),(308,'articulos','editar id 26 ','Odaisy   ','2025-07-15 23:27:55','1','10','idseccion',26),(309,'articulos','editar id 27 ','Odaisy   ','2025-07-15 23:28:04','1','10','idseccion',27),(310,'articulos','editar id 28 ','Odaisy   ','2025-07-15 23:28:13','1','10','idseccion',28),(311,'articulos','editar id 29 ','Odaisy   ','2025-07-15 23:28:22','1','10','idseccion',29),(312,'articulos','editar id 74 ','Odaisy   ','2025-07-15 23:29:10','1','10','idseccion',74),(313,'articulos','editar id 75 ','Odaisy   ','2025-07-15 23:29:42','1','10','idseccion',75),(314,'articulos','editar id 67 ','Odaisy   ','2025-07-15 23:31:09','66','68','orden',67),(315,'articulos','editar id 66 ','Odaisy   ','2025-07-15 23:31:12','65','67','orden',66),(316,'articulos','editar id 65 ','Odaisy   ','2025-07-15 23:31:17','64','66','orden',65),(317,'articulos','editar id 64 ','Odaisy   ','2025-07-15 23:31:19','63','65','orden',64),(318,'articulos','editar id 75 ','Odaisy   ','2025-07-15 23:31:53','1','29','orden',75),(319,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:31:53',NULL,NULL,NULL,75),(320,'articulos','editar id 74 ','Odaisy   ','2025-07-15 23:32:05','1','29','orden',74),(321,'articulos','URL de imagen actualizada: https://susoftware.es/imagenes/susoftware.png','Odaisy   ','2025-07-15 23:32:05',NULL,NULL,NULL,74),(322,'articulos','editar id 6 ','Odaisy   ','2025-07-15 23:32:53','6','5','orden',6),(323,'articulos','editar id 30 ','Odaisy   ','2025-07-15 23:33:18','29','30','orden',30),(324,'articulos','editar id 64 ','Odaisy   ','2025-07-15 23:33:37','65','61','orden',64),(325,'articulos','editar id 65 ','Odaisy   ','2025-07-15 23:33:40','66','62','orden',65),(326,'articulos','editar id 66 ','Odaisy   ','2025-07-15 23:33:45','67','63','orden',66),(327,'articulos','editar id 74 ','Odaisy   ','2025-07-15 23:36:08','1','','tiendavirtual',74),(328,'articulos','editar id 74 ','Odaisy   ','2025-07-15 23:36:46','0','1','tiendavirtual',74),(329,'articulos','editar id 75 ','Odaisy   ','2025-07-15 23:36:55','1','','tiendavirtual',75),(330,'clientes','editar id 9    ','LIBARDO   ','2025-08-18 08:40:34','','kebab y texmex','primernombre',NULL),(331,'clientes','editar id 9 kebab y texmex   ','LIBARDO   ','2025-08-18 08:40:41',NULL,'F','segundonombre',NULL),(332,'clientes','editar id 9 kebab y texmex F  ','LIBARDO   ','2025-08-18 08:40:44','kebab y texmex','KEBAB Y TEXMEX','primernombre',NULL),(333,'clientes','editar id 9 KEBAB Y TEXMEX F  ','LIBARDO   ','2025-08-18 08:41:03','F','FAISAL','segundonombre',NULL),(334,'clientes','editar id 9 KEBAB Y TEXMEX FAISAL  ','LIBARDO   ','2025-08-18 08:41:49','','Y2474508K','cedula',NULL),(335,'clientes','editar id 9 KEBAB Y TEXMEX FAISAL  ','LIBARDO   ','2025-08-18 08:42:14',NULL,'Calle Langerman','direccion3',NULL),(336,'clientes','editar id 9 KEBAB Y TEXMEX FAISAL  ','LIBARDO   ','2025-08-18 08:43:11',NULL,'75','numerocalle',NULL),(337,'clientes','editar id 9 KEBAB Y TEXMEX FAISAL  ','LIBARDO   ','2025-08-18 08:47:25','','4508','clave',NULL);

--
