--
-- Host: localhost    Database: ooswyzyu_centro
-- ------------------------------------------------------


--
-- Table structure for table `acciones`
--

CREATE TABLE `acciones` (
  `numero_aaff` int(11) NOT NULL,
  `denominacion` varchar(255) DEFAULT NULL,
  `modalidad` varchar(2) DEFAULT NULL,
  `prioridad` varchar(20) DEFAULT NULL,
  `tipo_programa` varchar(50) DEFAULT NULL,
  `horas_totales` int(11) DEFAULT NULL,
  `horas_p` int(11) DEFAULT NULL,
  `costo_por_hora_por_participante` decimal(10,2) DEFAULT NULL,
  `participantes_en_centros` int(11) DEFAULT NULL,
  `costo_centro_af` decimal(10,2) DEFAULT NULL,
  `profesor` int(11) DEFAULT NULL,
  `licencia` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`numero_aaff`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `acciones`
--


--
-- Table structure for table `actividad`
--

CREATE TABLE `actividad` (
  `id_actividad` int(11) NOT NULL AUTO_INCREMENT,
  `actividad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `user_id` int(11) NOT NULL,
  `fecha` datetime NOT NULL,
  PRIMARY KEY (`id_actividad`),
  KEY `actividad` (`actividad`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `actividad`
--


--
-- Table structure for table `administraciones`
--

CREATE TABLE `administraciones` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `codigo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `direccion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cp` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `ciudad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `provincia` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `tramitador` tinyint(4) DEFAULT 0,
  `contable` tinyint(4) DEFAULT 0,
  `gestor` tinyint(4) DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `administraciones`
--


--
-- Table structure for table `albaranes`
--

CREATE TABLE `albaranes` (
  `id_albaran` int(11) NOT NULL AUTO_INCREMENT,
  `titulo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_cliente` int(11) NOT NULL,
  `fecha` datetime NOT NULL,
  `numero` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `condiciones` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `tipo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `detallado` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `importe` decimal(9,2) NOT NULL,
  `id_fase` int(11) DEFAULT NULL,
  `id_sector` int(11) DEFAULT NULL,
  `id_obra` int(11) DEFAULT NULL,
  `cif` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `domicilio` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cp` int(11) DEFAULT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_usuario` int(11) NOT NULL,
  `importe_final` decimal(9,2) NOT NULL,
  `irpf` decimal(7,2) DEFAULT NULL,
  `nota_interna` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `nota_externa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `imagen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `programado` datetime DEFAULT NULL,
  `lugar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `fechas` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_albaran`),
  KEY `FK_client_id` (`id_cliente`),
  KEY `FK_fase_id` (`id_fase`),
  KEY `FK_sector_id` (`id_sector`),
  KEY `FK_obra_id` (`id_obra`),
  KEY `FK_user_id` (`id_usuario`),
  KEY `invoice_id` (`invoice_id`),
  CONSTRAINT `albaranes_ibfk_1` FOREIGN KEY (`id_cliente`) REFERENCES `clientes` (`client_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `albaranes_ibfk_2` FOREIGN KEY (`id_usuario`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `albaranes_ibfk_3` FOREIGN KEY (`id_fase`) REFERENCES `fases` (`id_fase`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `albaranes_ibfk_4` FOREIGN KEY (`id_obra`) REFERENCES `obras` (`id_obra`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `albaranes_ibfk_5` FOREIGN KEY (`id_sector`) REFERENCES `sectores` (`id_sector`),
  CONSTRAINT `albaranes_ibfk_6` FOREIGN KEY (`invoice_id`) REFERENCES `factura_manual` (`id_factura_manual`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `albaranes`
--


--
-- Table structure for table `alergeno_alumno`
--

CREATE TABLE `alergeno_alumno` (
  `id_alergeno_alumno` int(11) NOT NULL AUTO_INCREMENT,
  `id_alergeno` int(11) NOT NULL,
  `id_alumno` int(11) NOT NULL,
  PRIMARY KEY (`id_alergeno_alumno`),
  KEY `id_alergeno` (`id_alergeno`),
  CONSTRAINT `alergeno_alumno_ibfk_1` FOREIGN KEY (`id_alergeno`) REFERENCES `alergenos` (`id_alergeno`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `alergeno_alumno`
--


--
-- Table structure for table `alergenos`
--

CREATE TABLE `alergenos` (
  `id_alergeno` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `icono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id_alergeno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `alergenos`
--


--
-- Table structure for table `almacenes`
--

CREATE TABLE `almacenes` (
  `id_almacen` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_almacen`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `almacenes`
--


--
-- Table structure for table `alumno_curso`
--

CREATE TABLE `alumno_curso` (
  `id_alumno_curso` int(11) NOT NULL AUTO_INCREMENT,
  `id_alumno` int(11) NOT NULL,
  `id_curso` int(11) NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'Interesado',
  PRIMARY KEY (`id_alumno_curso`),
  KEY `id_alumno` (`id_alumno`),
  KEY `id_curso` (`id_curso`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `alumno_curso`
--


--
-- Table structure for table `anomalia`
--

CREATE TABLE `anomalia` (
  `id_fichaje` int(11) DEFAULT NULL,
  `anomalia` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_miembro` int(11) NOT NULL,
  `id_anomalia` int(11) NOT NULL AUTO_INCREMENT,
  `fecha` datetime NOT NULL,
  `justificacion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_danish_ci DEFAULT NULL,
  PRIMARY KEY (`id_anomalia`),
  KEY `id_miembro` (`id_miembro`),
  KEY `anomalia_ibfk_1` (`id_fichaje`)
) ENGINE=InnoDB AUTO_INCREMENT=233 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `anomalia`
--

INSERT INTO `anomalia` VALUES
(94,'Entrada marcada pasados 10 minutos del horario de entrada',10,155,'2025-04-06 20:40:00',NULL),
(95,'Entrada marcada pasados 10 minutos del horario de entrada',10,156,'2025-04-06 20:40:00',NULL),
(96,'Entrada marcada pasados 10 minutos del horario de entrada',10,157,'2025-04-06 20:40:00',NULL),
(97,'Entrada marcada pasados 10 minutos del horario de entrada',10,158,'2025-04-01 20:53:00',NULL),
(98,'Entrada marcada demasiado lejos de la dirección de trabajo',10,159,'2025-04-07 00:57:57',NULL),
(98,'Entrada marcada pasados 10 minutos del horario de entrada',10,160,'2025-04-07 00:57:57',NULL),
(99,'Entrada marcada pasados 10 minutos del horario de entrada',10,161,'2025-04-01 21:10:00',NULL),
(99,'Entrada marcada pasados 10 minutos del horario de entrada',10,162,'2025-04-01 21:10:00',NULL),
(100,'Entrada marcada pasados 10 minutos del horario de entrada',10,163,'2025-04-06 21:19:00',NULL),
(101,'Entrada marcada demasiado lejos de la dirección de trabajo',10,164,'2025-04-07 01:24:28',NULL),
(101,'Entrada marcada pasados 10 minutos del horario de entrada',10,165,'2025-04-07 01:24:28',NULL),
(102,'Entrada marcada demasiado lejos de la dirección de trabajo',10,166,'2025-04-07 01:36:57',NULL),
(102,'Entrada marcada pasados 10 minutos del horario de entrada',10,167,'2025-04-07 01:36:57',NULL),
(102,'Entrada marcada pasados 10 minutos del horario de entrada',10,168,'2025-04-06 21:36:00',NULL),
(103,'Entrada marcada demasiado lejos de la dirección de trabajo',10,169,'2025-04-09 16:30:05',NULL),
(104,'Entrada marcada demasiado lejos de la dirección de trabajo',10,170,'2025-04-09 16:30:50',NULL),
(107,'Entrada marcada demasiado lejos de la dirección de trabajo',10,171,'2025-04-09 20:11:49',NULL),
(108,'Entrada marcada demasiado lejos de la dirección de trabajo',10,172,'2025-04-09 20:12:58',NULL),
(109,'Entrada marcada demasiado lejos de la dirección de trabajo',10,173,'2025-04-09 20:14:20',NULL),
(110,'Entrada marcada demasiado lejos de la dirección de trabajo',10,174,'2025-04-09 20:21:33',NULL),
(111,'Entrada marcada demasiado lejos de la dirección de trabajo',10,175,'2025-04-09 20:22:03',NULL),
(112,'Entrada marcada demasiado lejos de la dirección de trabajo',10,176,'2025-04-09 20:22:52',NULL),
(113,'Entrada marcada demasiado lejos de la dirección de trabajo',10,177,'2025-04-09 20:22:57',NULL),
(114,'Entrada marcada demasiado lejos de la dirección de trabajo',10,178,'2025-04-09 20:23:20',NULL),
(115,'Entrada marcada demasiado lejos de la dirección de trabajo',10,179,'2025-04-09 20:26:06',NULL),
(116,'Entrada marcada demasiado lejos de la dirección de trabajo',10,180,'2025-04-09 20:26:43',NULL),
(117,'Entrada marcada demasiado lejos de la dirección de trabajo',10,181,'2025-04-09 20:28:46',NULL),
(117,'Entrada marcada pasados 10 minutos del horario de entrada',10,182,'2025-04-09 20:28:46',NULL),
(118,'Entrada marcada pasados 10 minutos del horario de entrada',10,183,'2025-04-08 19:06:00',NULL),
(119,'Entrada marcada demasiado lejos de la dirección de trabajo',10,184,'2025-04-09 23:40:53',NULL),
(119,'Entrada marcada pasados 10 minutos del horario de entrada',10,185,'2025-04-09 23:40:53',NULL),
(119,'Entrada marcada pasados 10 minutos del horario de entrada',10,186,'2025-04-09 19:40:00',NULL),
(118,'Entrada marcada pasados 10 minutos del horario de entrada',10,187,'2025-04-08 19:06:00',NULL),
(120,'Entrada marcada pasados 10 minutos del horario de entrada',10,188,'2025-04-08 21:03:00',NULL),
(117,'Entrada marcada pasados 10 minutos del horario de entrada',10,189,'2025-04-09 16:28:00',NULL),
(121,'Entrada marcada pasados 10 minutos del horario de entrada',10,190,'2025-04-01 21:39:00',NULL),
(122,'Entrada marcada demasiado lejos de la dirección de trabajo',10,191,'2025-04-10 01:40:20',NULL),
(122,'Entrada marcada pasados 10 minutos del horario de entrada',10,192,'2025-04-10 01:40:20',NULL),
(123,'Entrada marcada demasiado lejos de la dirección de trabajo',10,193,'2025-04-10 01:45:34',NULL),
(123,'Entrada marcada pasados 10 minutos del horario de entrada',10,194,'2025-04-10 01:45:34',NULL),
(124,'Entrada marcada demasiado cerca de tu casa',11,195,'2025-04-10 02:42:33',NULL),
(124,'Entrada marcada pasados 10 minutos del horario de entrada',11,196,'2025-04-10 02:42:33',NULL),
(125,'Entrada marcada demasiado cerca de tu casa',11,197,'2025-04-10 02:42:39',NULL),
(125,'Entrada marcada pasados 10 minutos del horario de entrada',11,198,'2025-04-10 02:42:39',NULL),
(126,'Entrada marcada demasiado lejos de la dirección de trabajo',11,199,'2025-04-10 12:55:09',NULL),
(126,'Entrada marcada pasados 10 minutos del horario de entrada',11,200,'2025-04-10 12:55:09',NULL),
(127,'Entrada marcada demasiado cerca de tu casa',12,201,'2025-04-10 12:57:39',NULL),
(127,'Entrada marcada pasados 10 minutos del horario de entrada',12,202,'2025-04-10 12:57:39',NULL),
(128,'Entrada marcada pasados 10 minutos del horario de entrada',12,203,'2025-04-09 12:58:00',NULL),
(129,'Entrada marcada demasiado cerca de tu casa',11,204,'2025-04-11 00:40:07',NULL),
(130,'Entrada marcada demasiado cerca de tu casa',11,205,'2025-04-11 00:40:29',NULL),
(130,'Entrada marcada demasiado lejos de la dirección de trabajo',11,206,'2025-04-11 00:40:29',NULL),
(131,'Entrada marcada demasiado cerca de tu casa',11,207,'2025-04-11 00:41:04',NULL),
(131,'Entrada marcada demasiado lejos de la dirección de trabajo',11,208,'2025-04-11 00:41:04',NULL),
(132,'Entrada marcada demasiado cerca de tu casa',13,209,'2025-04-14 21:04:56',NULL),
(132,'Entrada marcada pasados 10 minutos del horario de entrada',13,210,'2025-04-14 21:04:56',NULL),
(133,'Entrada marcada demasiado lejos de la dirección de trabajo',11,211,'2025-04-14 21:06:44',NULL),
(133,'Entrada marcada pasados 10 minutos del horario de entrada',11,212,'2025-04-14 21:06:44',NULL),
(134,'Entrada marcada pasados 10 minutos del horario de entrada',22,213,'2025-04-18 00:36:15',NULL),
(135,'Entrada marcada demasiado cerca de tu casa',26,214,'2025-04-21 19:41:20',NULL),
(135,'Entrada marcada pasados 10 minutos del horario de entrada',26,215,'2025-04-21 19:41:20',NULL),
(136,'Entrada marcada demasiado cerca de tu casa',28,216,'2025-04-21 19:43:52',NULL),
(136,'Entrada marcada pasados 10 minutos del horario de entrada',28,217,'2025-04-21 19:43:52',NULL),
(137,'Entrada marcada pasados 10 minutos del horario de entrada',26,218,'2025-04-19 19:44:00',NULL),
(138,'Entrada marcada pasados 10 minutos del horario de entrada',28,219,'2025-04-19 19:44:00',NULL),
(139,'Entrada marcada demasiado cerca de tu casa',30,220,'2025-04-22 15:12:00',NULL),
(139,'Entrada marcada pasados 10 minutos del horario de entrada',30,221,'2025-04-22 15:12:00',NULL),
(140,'Entrada marcada pasados 10 minutos del horario de entrada',30,222,'2025-04-22 15:13:00',NULL),
(141,'Entrada marcada demasiado lejos de la dirección de trabajo',32,223,'2025-04-23 09:08:39',NULL),
(141,'Entrada marcada pasados 10 minutos del horario de entrada',32,224,'2025-04-23 09:08:39',NULL),
(142,'Entrada marcada pasados 10 minutos del horario de entrada',32,225,'2025-04-25 09:53:00',NULL),
(143,'Entrada marcada pasados 10 minutos del horario de entrada',32,226,'2025-04-27 17:37:00',NULL),
(144,'Entrada marcada pasados 10 minutos del horario de entrada',26,227,'2025-04-27 20:29:00',NULL),
(145,'Entrada marcada demasiado cerca de tu casa',32,228,'2025-05-01 18:42:49',NULL),
(145,'Entrada marcada pasados 10 minutos del horario de entrada',32,229,'2025-05-01 18:42:49',NULL),
(146,'Entrada marcada demasiado lejos de la dirección de trabajo',32,230,'2025-05-04 01:21:49',NULL),
(147,'Entrada marcada demasiado lejos de la dirección de trabajo',32,231,'2025-05-04 01:24:28',NULL),
(148,'Entrada marcada pasados 10 minutos del horario de entrada',34,232,'2025-05-08 08:24:00',NULL);

--
-- Table structure for table `apartado_factura_manual`
--

CREATE TABLE `apartado_factura_manual` (
  `id_apartado_factura_manual` int(11) NOT NULL AUTO_INCREMENT,
  `cantidad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `titulo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `descripcion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `precio_unitario` decimal(9,2) NOT NULL,
  `id_factura_manual` int(11) NOT NULL,
  `id_medida` int(11) NOT NULL,
  `codigo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `igic` decimal(10,2) DEFAULT NULL,
  `id_albaran` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_apartado_factura_manual`),
  KEY `id_factura_manual` (`id_factura_manual`),
  KEY `id_medida` (`id_medida`),
  KEY `id_albaran` (`id_albaran`),
  CONSTRAINT `apartado_factura_manual_ibfk_1` FOREIGN KEY (`id_factura_manual`) REFERENCES `factura_manual` (`id_factura_manual`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `apartado_factura_manual_ibfk_2` FOREIGN KEY (`id_albaran`) REFERENCES `albaranes` (`id_albaran`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=103 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `apartado_factura_manual`
--

INSERT INTO `apartado_factura_manual` VALUES
(102,'11 ',NULL,'Descripción 19',13.00,79,0,'17',21.00,NULL);

--
-- Table structure for table `apartado_factura_rectificada`
--

CREATE TABLE `apartado_factura_rectificada` (
  `id_apartado_factura_rectificada` int(11) NOT NULL AUTO_INCREMENT,
  `cantidad` varchar(255) DEFAULT NULL,
  `titulo` varchar(255) DEFAULT NULL,
  `descripcion` varchar(10000) DEFAULT NULL,
  `precio_unitario` decimal(9,2) DEFAULT NULL,
  `igic` decimal(9,2) DEFAULT NULL,
  `id_factura_rectificada` int(11) DEFAULT NULL,
  `id_apartado_factura_manual` int(11) NOT NULL,
  PRIMARY KEY (`id_apartado_factura_rectificada`),
  KEY `apartado_factura_rectificada_ibfk_1` (`id_factura_rectificada`),
  KEY `id_apartado_factura_manual` (`id_apartado_factura_manual`),
  CONSTRAINT `apartado_factura_rectificada_ibfk_1` FOREIGN KEY (`id_factura_rectificada`) REFERENCES `facturas_rectificadas` (`id_factura_rectificada`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `apartado_factura_rectificada_ibfk_2` FOREIGN KEY (`id_apartado_factura_manual`) REFERENCES `apartado_factura_manual` (`id_apartado_factura_manual`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `apartado_factura_rectificada`
--


--
-- Table structure for table `apartados`
--

CREATE TABLE `apartados` (
  `apartado_id` int(11) NOT NULL AUTO_INCREMENT,
  `titulo` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `descripcion` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `cantidad` int(11) NOT NULL,
  `precio_unitario` decimal(9,2) NOT NULL,
  `fecha` date NOT NULL DEFAULT current_timestamp(),
  `id_medida` int(11) DEFAULT NULL,
  `codigo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `precio_coste` double(10,2) DEFAULT NULL,
  `id_ubicacion` int(11) DEFAULT NULL,
  `ean` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `id_familia` int(11) DEFAULT NULL,
  `id_subfamilia` int(11) DEFAULT NULL,
  `id_igic` int(11) DEFAULT NULL,
  `fecha_caducidad` date DEFAULT NULL,
  `numero_lote` varchar(15) DEFAULT NULL,
  `stock` int(255) NOT NULL DEFAULT 0,
  PRIMARY KEY (`apartado_id`),
  UNIQUE KEY `codigo_unico` (`codigo`),
  KEY `id_medida` (`id_medida`),
  KEY `fk_apartados_ubicaciones` (`id_ubicacion`),
  KEY `fk_apartados_familias` (`id_familia`),
  KEY `fk_apartados_subfamilias` (`id_subfamilia`),
  KEY `id_igic` (`id_igic`),
  CONSTRAINT `apartados_ibfk_1` FOREIGN KEY (`id_medida`) REFERENCES `medidas` (`id_medida`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `apartados_ibfk_2` FOREIGN KEY (`id_igic`) REFERENCES `igic` (`id_igic`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_apartados_familias` FOREIGN KEY (`id_familia`) REFERENCES `familias` (`id_familia`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_apartados_subfamilias` FOREIGN KEY (`id_subfamilia`) REFERENCES `subfamilias` (`id_subfamilia`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_apartados_ubicaciones` FOREIGN KEY (`id_ubicacion`) REFERENCES `ubicaciones` (`id_ubicacion`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `apartados`
--

INSERT INTO `apartados` VALUES
(31,'Artículo 11','Descripción 1',1,200.00,'2025-04-18',NULL,'1',200.00,NULL,'1',NULL,NULL,NULL,NULL,'1112',10),
(32,'Artículo 21','Descripción 2',1,0.00,'2025-04-18',NULL,'2',100.00,NULL,'2',NULL,NULL,NULL,NULL,'123',2147483647),
(33,'Artículo 31','Descripción 3',1,10.00,'2025-04-18',NULL,'3',10.00,NULL,'3',NULL,NULL,NULL,NULL,'3213',100000),
(34,'Artículo 41','Descripción 4',1,13.00,'2025-04-18',NULL,'4',9.00,NULL,'4',NULL,NULL,NULL,NULL,'3123',0),
(35,'Artículo 5','Descripción 5',1,13.00,'2025-04-18',NULL,'5',9.00,NULL,'4',NULL,NULL,NULL,NULL,'3123',0),
(36,'Artículo 6','Descripción 6',1,13.00,'2025-04-18',NULL,'6',9.00,NULL,'4',NULL,NULL,NULL,NULL,'3123',0),
(37,'Arrticulo 7','Arrticulo 7',1,10.00,'2025-04-18',1,'7',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(38,'Arrticulo 7','Arrticulo 7',1,10.00,'2025-04-18',1,'8',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(39,'Arrticulo 7','Arrticulo 7',1,10.00,'2025-04-18',1,'9',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(40,'Arrticulo 17','Arrticulo 17',1,10.00,'2025-04-18',1,'10',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(41,'asdfasdf','sdfasdf',1,10.00,'2025-04-18',NULL,'11',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(42,'ertw','ertwert',2,20.00,'2025-04-18',NULL,'12',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(43,'wertwer','sdfgws',2,20.00,'2025-04-18',NULL,'13',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(44,'Artículo 15','Descripción 15',11,13.00,'2025-04-18',NULL,'14',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(45,'nuevo','nuevo',1,10.00,'2025-04-18',NULL,'15',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(46,'Artículo 18','Descripción 18',11,13.00,'2025-04-18',NULL,'16',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(47,'Artículo 19','Descripción 19',11,13.00,'2025-04-27',NULL,'17',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000),
(48,'Artículo 20','Descripción 20',11,13.00,'2025-04-27',NULL,'18',0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000);
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER before_insert_apartados
BEFORE INSERT ON apartados
FOR EACH ROW
BEGIN
    IF NEW.codigo IS NULL OR NEW.codigo = '' THEN
        SET NEW.codigo = (
            SELECT IFNULL(MAX(CAST(codigo AS UNSIGNED)), 0) + 1 FROM apartados
        );
    END IF;
END */;;
DELIMITER ;

--
-- Table structure for table `archivos`
--

CREATE TABLE `archivos` (
  `id_archivo` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `fecha` timestamp NOT NULL DEFAULT current_timestamp(),
  `tipo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `carpeta_id` int(11) DEFAULT NULL,
  `extension` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id_archivo`),
  KEY `id_carpeta` (`carpeta_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `archivos`
--


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

CREATE TABLE `articulos` (
  `id_articulo` int(11) NOT NULL AUTO_INCREMENT,
  `titulo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `descripcion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `precio_unitario` decimal(10,2) DEFAULT NULL,
  `activo` tinyint(1) NOT NULL DEFAULT 1,
  `descuento` decimal(10,2) DEFAULT NULL,
  `stock` int(11) DEFAULT NULL,
  `ean` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `codigo_proveedor` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `precio_coste` decimal(10,2) DEFAULT NULL,
  `id_marca` int(11) DEFAULT NULL,
  `id_familia` int(11) DEFAULT NULL,
  `id_subfamilia` int(11) DEFAULT NULL,
  `uds_caja` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `campo_1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `campo_2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `campo_3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `campo_4` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `igic` decimal(9,2) DEFAULT NULL,
  `codigo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_ubicacion` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_articulo`),
  KEY `articulos_ibfk_1` (`id_marca`),
  KEY `articulos_ibfk_2` (`id_familia`),
  KEY `articulos_ibfk_3` (`id_subfamilia`),
  KEY `fk_ubicacion` (`id_ubicacion`),
  CONSTRAINT `articulos_ibfk_1` FOREIGN KEY (`id_marca`) REFERENCES `marcas` (`id_marca`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `articulos_ibfk_2` FOREIGN KEY (`id_familia`) REFERENCES `familias` (`id_familia`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `articulos_ibfk_3` FOREIGN KEY (`id_subfamilia`) REFERENCES `subfamilias` (`id_subfamilia`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_ubicacion` FOREIGN KEY (`id_ubicacion`) REFERENCES `ubicaciones` (`id_ubicacion`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- Table structure for table `backups`
--

CREATE TABLE `backups` (
  `id_backup` int(11) NOT NULL AUTO_INCREMENT,
  `fecha` date NOT NULL,
  PRIMARY KEY (`id_backup`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `backups`
--

INSERT INTO `backups` VALUES
(2,'2025-04-03'),
(3,'2025-04-03');

--
-- Table structure for table `baldas`
--

CREATE TABLE `baldas` (
  `id_balda` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_balda`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `baldas`
--


--
-- Table structure for table `carpetas`
--

CREATE TABLE `carpetas` (
  `id_carpeta` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `carpeta_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_carpeta`),
  KEY `carpeta_id` (`carpeta_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `carpetas`
--


--
-- Table structure for table `categoria`
--

CREATE TABLE `categoria` (
  `id_categoria` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_categoria`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `categoria`
--

INSERT INTO `categoria` VALUES
(1,'Fiestas');

--
-- Table structure for table `cliente_subvencion`
--

CREATE TABLE `cliente_subvencion` (
  `id_cliente_subvencion` int(11) NOT NULL AUTO_INCREMENT,
  `id_cliente` int(11) NOT NULL,
  `id_subvencion` int(11) NOT NULL,
  `fecha_envio` datetime DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `email_marketing` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `id_estado_subvencion` int(11) DEFAULT NULL,
  `tag` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `url_portada` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `condiciones` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_cliente_subvencion`),
  KEY `id_cliente` (`id_cliente`),
  KEY `id_subvencion` (`id_subvencion`),
  KEY `id_estado_subvencion` (`id_estado_subvencion`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `cliente_subvencion`
--


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

CREATE TABLE `clientes` (
  `client_id` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `direccion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cp` int(11) DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cif` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'Potencial',
  `imagen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'assets/images/clientes/user-default.png',
  `email_marketing` tinyint(1) NOT NULL DEFAULT 0,
  `subvencionado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'No',
  `fecha_nacimiento` date DEFAULT NULL,
  `sms_habilitado` tinyint(1) NOT NULL DEFAULT 0,
  `felicitado` tinyint(1) NOT NULL DEFAULT 0,
  `peluqueria` varchar(255) NOT NULL DEFAULT 'No',
  `tipo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'Particular',
  `sexo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'Otro',
  `emails` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `descuento` decimal(10,2) DEFAULT 0.00,
  `codigo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'CI78S',
  `id_sector` int(11) DEFAULT NULL,
  `linkedin` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `instagram` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tiktok` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `x` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facebook` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `forma_juridica` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nombre_juridico` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cif_juridico` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `domicilio_fiscal` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `activo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'Activo',
  `codigo_tramitador` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `codigo_gestor` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `codigo_contable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `web` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `terminos` tinyint(1) NOT NULL DEFAULT 0,
  `movil` varchar(20) DEFAULT NULL,
  `id_poblacion` int(11) DEFAULT NULL,
  PRIMARY KEY (`client_id`),
  KEY `FK_user_id` (`user_id`) USING BTREE,
  KEY `id_poblacion` (`id_poblacion`),
  CONSTRAINT `clientes_ibfk_1` FOREIGN KEY (`id_poblacion`) REFERENCES `poblaciones` (`id`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

INSERT INTO `clientes` VALUES
(31,'Paco Sanz 1',NULL,35011,'11@limidata.com','928252167','45394193J','2025-05-08',6707,'Potencial','assets/images/clientes/user-default.png',0,'No',NULL,0,0,'No','Particular','Hombre',NULL,0.00,'1',NULL,'jvs','IG','Tiktok','X','FB',NULL,NULL,NULL,NULL,'Activo',NULL,NULL,NULL,'https://limidata.com',1,'34739988922',NULL),
(37,'Andres Gracida','Alcalde Jose Ramirez Bethencourt n13',NULL,'llruben_gm@hotmail.com','34634674501','Y1255741R','2025-05-01',13,'Potencial','assets/images/clientes/user-default.png',0,'No',NULL,0,0,'No','Particular','Hombre',NULL,0.00,'35017',NULL,NULL,NULL,NULL,NULL,NULL,'Autónomo',NULL,NULL,NULL,'Activo',NULL,NULL,NULL,NULL,1,'34634674501',6),
(38,'Federico Gundel','rendon 540',7400,'fede.gundel@gmail.com','02284728052','37847226','2025-05-08',6707,'Potencial','assets/images/clientes/user-default.png',0,'No','2025-09-06',0,0,'No','Particular','Hombre','fede.gundel@gmail.com',0.00,'7400',NULL,NULL,NULL,NULL,NULL,NULL,'Autónomo',NULL,NULL,NULL,'Activo',NULL,NULL,NULL,NULL,1,'34689094468',1);
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `before_insert_clientes` BEFORE INSERT ON `clientes` FOR EACH ROW BEGIN
    IF NEW.codigo IS NULL THEN
        SET NEW.codigo = (SELECT COALESCE(MAX(codigo), 0) + 1 FROM clientes);
    END IF;
END */;;
DELIMITER ;

--
-- Table structure for table `cnae`
--

CREATE TABLE `cnae` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(20) DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `cnae`
--


--
-- Table structure for table `columnas`
--

CREATE TABLE `columnas` (
  `id_columna` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_columna`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `columnas`
--


--
-- Table structure for table `combustibles`
--

CREATE TABLE `combustibles` (
  `id_combustible` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id_combustible`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `combustibles`
--


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

CREATE TABLE `compras` (
  `id_compra` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) DEFAULT NULL,
  `detallado` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`detallado`)),
  `igic` decimal(7,2) NOT NULL,
  `importe` decimal(9,2) NOT NULL,
  `tipo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `importe_final` decimal(9,2) NOT NULL,
  `fecha` datetime NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_compra`),
  KEY `client_id` (`client_id`),
  KEY `user_id` (`user_id`),
  KEY `invoice_id` (`invoice_id`),
  CONSTRAINT `compras_ibfk_1` FOREIGN KEY (`client_id`) REFERENCES `clientes` (`client_id`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `compras_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `compras_ibfk_3` FOREIGN KEY (`invoice_id`) REFERENCES `factura_manual` (`id_factura_manual`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `compras` VALUES
(14,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"},{\"tipo\":\"Producto\",\"nombre\":\"pEPE\",\"cantidad\":\"1\",\"precio_unitario\":\"32.00\",\"total\":\"32.00\"}]',0.07,35.00,'Efectivo',37.45,'2025-04-16 04:28:26',13,NULL),
(15,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"}]',0.21,3.00,'Efectivo',3.63,'2025-04-16 04:28:26',13,NULL),
(16,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"},{\"tipo\":\"Producto\",\"nombre\":\"pEPE\",\"cantidad\":\"1\",\"precio_unitario\":\"32.00\",\"total\":\"32.00\"}]',0.07,35.00,'Efectivo',37.45,'2025-04-16 05:04:02',13,NULL),
(17,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"},{\"tipo\":\"Producto\",\"nombre\":\"pEPE\",\"cantidad\":\"1\",\"precio_unitario\":\"32.00\",\"total\":\"32.00\"}]',0.07,35.00,'Efectivo',37.45,'2025-04-16 11:19:32',13,NULL),
(18,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"},{\"tipo\":\"Producto\",\"nombre\":\"pEPE\",\"cantidad\":\"1\",\"precio_unitario\":\"32.00\",\"total\":\"32.00\"}]',0.07,35.00,'Efectivo',37.45,'2025-04-22 15:15:11',13,NULL),
(19,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"},{\"tipo\":\"Producto\",\"nombre\":\"pEPE\",\"cantidad\":\"1\",\"precio_unitario\":\"32.00\",\"total\":\"32.00\"}]',0.07,35.00,'Efectivo',37.45,'2025-04-23 09:09:43',13,NULL),
(20,NULL,'[{\"tipo\":\"Producto\",\"nombre\":\"Laser\",\"cantidad\":\"1\",\"precio_unitario\":\"3.00\",\"total\":\"3.00\"},{\"tipo\":\"Producto\",\"nombre\":\"pEPE\",\"cantidad\":\"1\",\"precio_unitario\":\"32.00\",\"total\":\"32.00\"}]',0.07,35.00,'Efectivo',37.45,'2025-04-23 18:50:23',13,NULL);

--
-- Table structure for table `condiciones`
--

CREATE TABLE `condiciones` (
  `id_condicion` int(11) NOT NULL AUTO_INCREMENT,
  `condicion` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `titulo` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  PRIMARY KEY (`id_condicion`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `condiciones`
--

INSERT INTO `condiciones` VALUES
(3,'DESDE NUESTRAUHDWQDQDVWF','NO NOS HACEMOS CARGO '),
(4,'NUESTRA EMPRES ANO SEIOEÑ','AVISO LEGAL ');

--
-- Table structure for table `contratos`
--

CREATE TABLE `contratos` (
  `id_contrato` int(11) NOT NULL AUTO_INCREMENT,
  `id_empleado` int(11) DEFAULT NULL,
  `tipo_contrato` varchar(25) DEFAULT NULL,
  `fecha_inicio` date DEFAULT NULL,
  `fecha_fin` date DEFAULT NULL,
  `salario_base` decimal(10,2) DEFAULT NULL,
  `horas_semanales` int(11) DEFAULT NULL,
  `dias_laborales` varchar(20) DEFAULT NULL,
  `horario_entrada` time DEFAULT NULL,
  `horario_salida` time DEFAULT NULL,
  `estado` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id_contrato`),
  KEY `id_empleado` (`id_empleado`),
  CONSTRAINT `contratos_ibfk_1` FOREIGN KEY (`id_empleado`) REFERENCES `empleado` (`id_empleado`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `contratos`
--


--
-- Table structure for table `convenios`
--

CREATE TABLE `convenios` (
  `id_convenio` int(20) NOT NULL AUTO_INCREMENT,
  `id_sector` int(11) DEFAULT NULL,
  `denominacion` varchar(255) DEFAULT NULL,
  `ambito` varchar(255) DEFAULT NULL,
  `codigo` bigint(255) NOT NULL,
  PRIMARY KEY (`id_convenio`),
  KEY `id_sector` (`id_sector`),
  CONSTRAINT `convenios_ibfk_1` FOREIGN KEY (`id_sector`) REFERENCES `sectors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `convenios`
--


--
-- Table structure for table `copia_seguridad`
--

CREATE TABLE `copia_seguridad` (
  `id_copia_seguridad` int(11) NOT NULL AUTO_INCREMENT,
  `fecha` datetime NOT NULL,
  PRIMARY KEY (`id_copia_seguridad`)
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `copia_seguridad`
--

INSERT INTO `copia_seguridad` VALUES
(1,'2025-01-15 00:00:00'),
(2,'2025-01-15 00:00:00'),
(3,'2025-01-15 00:00:00'),
(4,'2025-01-16 11:35:00'),
(5,'2025-01-16 11:36:00'),
(6,'2025-01-16 11:37:00'),
(7,'2025-01-19 12:30:00'),
(8,'2025-01-16 11:41:00'),
(9,'2025-01-16 11:42:00'),
(10,'2025-01-16 11:43:00'),
(11,'2025-01-16 11:44:00'),
(12,'2025-01-16 11:45:00'),
(13,'2025-01-16 11:45:00'),
(14,'2025-01-16 11:46:00'),
(15,'2025-01-16 11:47:00'),
(16,'2025-01-16 11:48:00'),
(17,'2025-01-16 11:49:00'),
(18,'2025-01-16 11:50:00'),
(19,'2025-01-16 11:51:00'),
(20,'2025-01-16 11:52:00'),
(21,'2025-01-16 11:53:00'),
(22,'2025-01-16 11:54:00'),
(23,'2025-01-16 11:55:00'),
(24,'2025-01-16 11:56:00'),
(25,'2025-01-16 11:57:00'),
(26,'2025-01-16 11:58:00'),
(27,'2025-01-16 11:59:00'),
(28,'2025-01-16 12:00:00'),
(29,'2025-01-16 12:01:00'),
(30,'2025-01-16 12:02:00'),
(31,'2025-01-16 12:03:00'),
(32,'2025-01-16 12:04:00'),
(33,'2025-01-16 12:05:00'),
(34,'2025-01-16 12:06:00'),
(35,'2025-01-16 12:07:00'),
(36,'2025-01-16 12:08:00'),
(37,'2025-01-16 12:09:00'),
(38,'2025-01-16 12:10:00'),
(39,'2025-01-16 12:11:00'),
(40,'2025-01-16 12:12:00'),
(41,'2025-01-16 12:13:00'),
(42,'2025-01-16 12:14:00'),
(43,'2025-01-16 12:15:00'),
(44,'2025-01-16 12:16:00'),
(45,'2025-01-16 12:17:00'),
(46,'2025-01-16 12:18:00'),
(47,'2025-01-16 12:19:00'),
(48,'2025-01-16 12:20:00'),
(49,'2025-01-16 12:21:00'),
(50,'2025-01-16 12:22:00'),
(51,'2025-01-16 12:23:00'),
(52,'2025-01-16 12:24:00'),
(53,'2025-01-16 12:25:00'),
(54,'2025-01-16 12:26:00'),
(55,'2025-01-16 12:27:00'),
(56,'2025-01-16 12:28:00'),
(57,'2025-01-16 12:29:00'),
(58,'2025-01-16 12:30:00'),
(59,'2025-01-16 12:31:00'),
(60,'2025-01-16 12:32:00'),
(61,'2025-01-16 12:33:00'),
(62,'2025-01-16 12:34:00'),
(63,'2025-01-16 12:35:00'),
(64,'2025-01-16 12:36:00'),
(65,'2025-01-16 12:37:00'),
(66,'2025-01-16 12:38:00'),
(67,'2025-01-16 12:39:00'),
(68,'2025-01-16 12:40:00'),
(69,'2025-01-16 12:41:00'),
(70,'2025-01-16 12:42:00'),
(71,'2025-01-16 12:43:00'),
(72,'2025-01-16 12:44:00'),
(73,'2025-01-16 12:45:00'),
(74,'2025-01-16 12:46:00'),
(75,'2025-01-16 12:47:00'),
(76,'2025-01-16 12:48:00'),
(77,'2025-01-16 12:49:00'),
(78,'2025-01-16 12:50:00'),
(79,'2025-01-16 12:51:00'),
(80,'2025-01-16 12:52:00'),
(81,'2025-01-16 12:53:00'),
(82,'2025-01-16 12:54:00'),
(83,'2025-01-16 12:55:00'),
(84,'2025-01-16 12:56:00'),
(85,'2025-01-16 12:57:00'),
(86,'2025-01-16 12:58:00'),
(87,'2025-01-16 12:59:00'),
(88,'2025-01-16 13:00:00'),
(89,'2025-01-16 13:01:00');

--
-- Table structure for table `coverpage`
--

CREATE TABLE `coverpage` (
  `coverpage_id` int(11) NOT NULL AUTO_INCREMENT,
  `coverpage_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `coverpage_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  PRIMARY KEY (`coverpage_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `coverpage`
--


--
-- Table structure for table `cursos`
--

CREATE TABLE `cursos` (
  `id_curso` int(11) NOT NULL AUTO_INCREMENT,
  `numero_aaff` int(11) NOT NULL,
  `numero_grupo` int(11) DEFAULT NULL,
  `numero_plaza` int(11) DEFAULT NULL,
  `certificado` tinyint(1) DEFAULT NULL,
  `instalacion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `sede` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `modalidad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `fecha_i` date DEFAULT NULL,
  `fecha_f` date DEFAULT NULL,
  `horario` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_plan` int(11) DEFAULT NULL,
  `nivel_estudios` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_docente` int(11) DEFAULT NULL,
  `nombre_curso` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id_curso`),
  KEY `id_plan` (`id_plan`),
  KEY `id_docente` (`id_docente`),
  KEY `numero_aaff` (`numero_aaff`),
  CONSTRAINT `cursos_ibfk_2` FOREIGN KEY (`id_plan`) REFERENCES `planes` (`id_plan`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `cursos_ibfk_3` FOREIGN KEY (`id_docente`) REFERENCES `docentes` (`id_docente`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `cursos_ibfk_4` FOREIGN KEY (`numero_aaff`) REFERENCES `acciones` (`numero_aaff`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `cursos`
--


--
-- Table structure for table `datos_cliente`
--

CREATE TABLE `datos_cliente` (
  `cp` int(11) NOT NULL,
  `telefono` int(11) NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `nombre_comercial` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `id_sector` int(11) DEFAULT NULL,
  `id_fase` int(11) DEFAULT NULL,
  `id_zona` int(11) DEFAULT NULL,
  `tipo` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `numero_empleados` int(11) NOT NULL,
  `importe` int(11) NOT NULL,
  `tipo_enlace` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `user_id` int(11) NOT NULL,
  `id_cliente_subvencion` int(11) NOT NULL,
  `cif` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `id_datos_cliente` int(11) NOT NULL AUTO_INCREMENT,
  `domicilio` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `titulo` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  PRIMARY KEY (`id_datos_cliente`),
  KEY `id_sector` (`id_sector`),
  KEY `id_fase` (`id_fase`),
  KEY `id_zona` (`id_zona`),
  KEY `user_id` (`user_id`),
  KEY `id_cliente_subvencion` (`id_cliente_subvencion`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `datos_cliente`
--


--
-- Table structure for table `datos_cliente_peluqueria`
--

CREATE TABLE `datos_cliente_peluqueria` (
  `id_datos_cliente_peluqueria` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `id_sector` int(11) DEFAULT NULL,
  `id_tipo_pelo` int(11) DEFAULT NULL,
  `id_fase` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `fotos` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_datos_cliente_peluqueria`),
  KEY `client_id` (`client_id`),
  KEY `id_sector` (`id_sector`),
  KEY `id_tipo_pelo` (`id_tipo_pelo`),
  KEY `id_fase` (`id_fase`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `datos_cliente_peluqueria`
--


--
-- Table structure for table `docentes`
--

CREATE TABLE `docentes` (
  `id_docente` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `dni` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `fecha_alta` date DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  PRIMARY KEY (`id_docente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `docentes`
--


--
-- Table structure for table `email_custom`
--

CREATE TABLE `email_custom` (
  `id_email_custom` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(100) NOT NULL,
  `asunto` varchar(255) NOT NULL,
  `cuerpo` text NOT NULL,
  PRIMARY KEY (`id_email_custom`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `email_custom`
--

INSERT INTO `email_custom` VALUES
(1,'Empiresystems','promoción','<p>Hola %nombre%, &iquest;necesitas de un servicio digital? Cada una de nuestras areas se encuentra formado por diversos expertos para m&aacute;ximizar y asegurar el &eacute;xito. Ayudamos a nuestros clientes a ser m&aacute;s competitivos mediante una dedicaci&oacute;n comprometida, innovadora y eficaz basada en la confianza.</p>\n<p>Puede consultar por nuestros servicios&nbsp;<a href=\"https://empiresystems.io/\">empiresystems.io</a></p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<!-- Fallback force center content -->\n<div style=\"text-align: center;\">\n<table style=\"text-align: center; vertical-align: top; width: 592px; max-width: 600px; background-color: #3f3f3f;\" width=\"592\" cellpadding=\"0px\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"width: 592px; vertical-align: top; padding: 0px;\"><!-- Your logo  is here --> <!--\n            <img style=\"width: 200px; max-width: 200px; height: 70px; max-height: 70px; text-align: center; color: #ffffff;\" alt=\"Logo\" src=\"https://64.media.tumblr.com/dfe839d12d891dc4b73f0f29da62fa49/tumblr_inline_sc3yl3BwJh1rfe0n6_500.jpg\" align=\"center\" width=\"600\" height=\"170\">\n            <!-- Your logo 2 is here --> <!--   <img style=\"width: 600px; max-width: 600px; height: 200px; max-height: 200px; text-align: center; color: #fcf6df;\" alt=\"Logo\" src=\"https://64.media.tumblr.com/77b0199f657ba1688b57394272b58e9b/tumblr_inline_sc42vq6ffd1rfe0n6_500.jpg\" align=\"center\" width=\"800\" height=\"300\">\n <!-- Your logo 3 is here --> <img style=\"max-width: 200px; max-height: 100px; text-align: center; color: #ffffff;\" src=\"image.php?id=ix7XQcvhzdaaoqIPXeSEtgIO7\" alt=\"Logo\" width=\"240\" height=\"49\" align=\"middle\" /></td>\n</tr>\n</tbody>\n</table>\n<!-- End container for logo --> <!-- Hero image --> <br /><!-- Hero image --> <!-- Start single column section -->\n<table style=\"text-align: center; vertical-align: top; width: 600px; max-width: 600px; background-color: #ffffff;\" width=\"600\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"width: 596px; vertical-align: top; padding: 30px 30px 40px 30px;\" width=\"596\">\n<div class=\"caja\">\n<p class=\"pretitulo wow fadeInUp\" data-wow-duration=\"1s\" data-wow-delay=\"0.3s\" data-wow-offset=\"100\">&iexcl;&iexcl;BIENVENIDO!!</p>\n</div>\n<div class=\"centrado centrado relative\">\n<div class=\"caja_h3 caja\">\n<h3 class=\"h3 wow fadeInUp\" data-wow-duration=\"1s\" data-wow-delay=\"0.6s\" data-wow-offset=\"100\">Tenemos el veh&iacute;culo que est&aacute; buscando</h3>\n</div>\n</div>\n<p><strong>Dilucars Autom&oacute;viles, S.L.</strong>&nbsp;empresa dedicada a la venta de&nbsp;<strong>veh&iacute;culos de ocasi&oacute;n</strong>, inicia su actividad el&nbsp;<strong>10 de diciembre de</strong>&nbsp;<strong>2007&nbsp;</strong>abriendo su primera exposici&oacute;n en una de las calles de mayor crecimiento y desarrollo econ&oacute;mico de la ciudad de Las Palmas de G.C en la&nbsp;<strong>Avda. Pintor Felo Monz&oacute;n,17 Portal 9 Bajo - 7 Palmas</strong>.</p>\n<p>Prueba de&nbsp;nuestra profesionalidad, seguridad en la compra a nuestros clientes y garant&iacute;a, nos llevan a seguir en el mercado a&ntilde;os m&aacute;s tarde. En febrero de&nbsp;<strong>2021 abrimos nuevas instalaciones</strong>&nbsp;tambi&eacute;n en Las Palmas de Gran Canaria en la&nbsp;<strong>C/ Arguineg&uuml;&iacute;n, 23 - Pol&iacute;gono Industrial Lomo Blanco - Las Torres (frente a la ITV)</strong>. Entre ambas exposiciones ofrecemos m&aacute;s de&nbsp;<strong>750 metros cuadrados&nbsp;</strong>y un amplio stock de&nbsp;<strong>veh&iacute;culos para elegir</strong>.</p>\n<h3>Le queremos agradecer su tiempo en la visita a nuestra web y le invitamos a conocer nuestro Stock y nuestra pol&iacute;tica de empresa.</h3>\n<p style=\"font-size: 15px; line-height: 24px; font-family: Releway, sans-serif; font-weight: 400; text-decoration: none; color: #919293; text-align: justify;\">Nuestra especialidad, es la venta de veh&iacute;culos seminuevos que han sido seleccionados para usted, por cubrir unos requisitos indispensables de bajo kilometraje, antig&uuml;edad no superior a 40 meses y totalmente revisados y garantizados.</p>\n<h2><span style=\"color: #3366ff;\"><strong><a style=\"color: #3366ff;\" href=\"https://www.empiresystems.io\">empiresystems.io</a></strong><!-- Start container for logo --></span></h2>\n</td>\n</tr>\n</tbody>\n</table>\n<h2><span style=\"color: #3366ff;\"><a style=\"color: #3366ff;\" href=\"https://www.dilucars.com/\"><!-- End single column section --> <!-- Start image --> </a></span></h2>\n<h4><span style=\"color: #3366ff;\"><a style=\"color: #3366ff;\" href=\"https://www.dilucars.com/\"><!-- End image --> <!-- Start footer --></a></span></h4>\n<table style=\"text-align: center; vertical-align: top; width: 600px; max-width: 600px; background-color: #3f3f3f;\" width=\"600\" cellpadding=\"15px 30px\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"width: 600px; vertical-align: top; padding: 15px 30px 15px 30px;\" width=\"600\">\n<h4><!-- Your inverted logo is here --></h4>\n<span style=\"color: #ffffff;\">infomx@empiresystems.io</span>\n<h4 style=\"font-size: 12px; line-height: 12px; font-family: \'Raleway\', Raleway, sans-serif; font-weight: normal; text-decoration: none; color: #000000;\">&nbsp;</h4>\n<h4 style=\"font-size: 11px; line-height: 20px; font-family: \'Helvetica\', Arial, sans-serif; font-weight: 400; text-decoration: none; color: #000000;\"><span style=\"color: #ffffff;\">No quieres recibir m&aacute;s correos electr&oacute;nicos?</span></h4>\n<p>&nbsp;</p>\n<h4 style=\"margin-bottom: 0; font-size: 17px; line-height: 24px; font-family: \'Releway\', Releway, sans-serif; font-weight: 400; text-decoration: none; color: #ffffff;\">&nbsp;</h4>\n<h4 style=\"font-size: 12px; line-height: 12px; font-family: \'Raleway\', Raleway, sans-serif; font-weight: normal; text-decoration: none; color: #000000;\">&nbsp;</h4>\n</td>\n</tr>\n</tbody>\n</table>\n</div>');

--
-- Table structure for table `empleado`
--

CREATE TABLE `empleado` (
  `id_empleado` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `apellidos` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `nif` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `direccion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `telefono` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `fecha_contratacion` date DEFAULT NULL,
  `fecha_nacimiento` date DEFAULT NULL,
  `estado` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `numero_seguridad_social` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id_empleado`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `empleado`
--


--
-- Table structure for table `empleado_grupo2`
--

CREATE TABLE `empleado_grupo2` (
  `id_empleado_grupo2` int(11) NOT NULL AUTO_INCREMENT,
  `id_grupo2` int(11) NOT NULL,
  `id_empleado` int(11) NOT NULL,
  PRIMARY KEY (`id_empleado_grupo2`),
  KEY `id_grupo2` (`id_grupo2`),
  KEY `id_empleado` (`id_empleado`),
  CONSTRAINT `empleado_grupo2_ibfk_1` FOREIGN KEY (`id_empleado`) REFERENCES `empleados` (`id_empleado`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `empleado_grupo2_ibfk_2` FOREIGN KEY (`id_grupo2`) REFERENCES `grupos2` (`id_grupo2`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `empleado_grupo2`
--


--
-- Table structure for table `empleados`
--

CREATE TABLE `empleados` (
  `id_empleado` int(11) NOT NULL AUTO_INCREMENT,
  `dni` varchar(255) DEFAULT NULL,
  `telefono` varchar(255) DEFAULT NULL,
  `direccion` varchar(255) DEFAULT NULL,
  `nombre` varchar(255) DEFAULT NULL,
  `precio_hora` decimal(9,2) DEFAULT NULL,
  `numero` varchar(15) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `nif` varchar(20) DEFAULT NULL,
  `precio_hora_extra` decimal(10,2) DEFAULT NULL,
  `id_usuario` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_empleado`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `empleados`
--

INSERT INTO `empleados` VALUES
(1,'2323','2323','232','Pepe',2.00,'33333333333','fede.gundel@gmail.com','123123',23.00,NULL),
(2,'martin','12345678','calle poeta','juan carlods',22.00,'12122222','fede.gundel@gmail.com','2121',12.00,NULL),
(3,'2222','2222','1','Pepe',30.00,'987123',NULL,NULL,NULL,NULL),
(4,'ii','ii','ii','k',12.00,'212121212','fede.gundel@gmail.com','1232',12312.00,NULL),
(5,'000000','6666666','calle 3','Ramiro',8.00,'7','yosoyrubens@gmail.com','88723',99.00,NULL),
(6,'2222','2222','Alcalde Jose Ramirez Bethencourt','Javi Pepito',3.00,'312222','javiervs9797@gmail.com','3',3.00,6690),
(7,'2','3','4','Empleado Limixer',5.00,'6','77','8',9.00,6697),
(10,'3213213123213123','31312','1232132132','Empleado Rubben',213.00,'21321','3123213','21321',99999999.99,13),
(11,'qewqe','wqe','wqewqe','ewqe',321312.00,'3213','213','213213',99999999.99,6684);

--
-- Table structure for table `envios_cumple`
--

CREATE TABLE `envios_cumple` (
  `id_envios_cumple` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `fecha` datetime NOT NULL,
  `tipo` varchar(255) NOT NULL,
  `estado` varchar(255) NOT NULL,
  PRIMARY KEY (`id_envios_cumple`),
  KEY `client_id` (`client_id`)
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `envios_cumple`
--

INSERT INTO `envios_cumple` VALUES
(28,23,'2025-04-27 14:38:36','email','Enviado'),
(29,23,'2025-04-27 14:43:11','email','Enviado'),
(30,23,'2025-04-27 14:50:55','sms','Enviado'),
(31,23,'2025-04-27 21:55:00','sms','Enviado'),
(32,24,'2025-04-27 21:55:01','sms','Enviado'),
(33,23,'2025-04-27 21:55:47','email','Enviado'),
(34,24,'2025-04-27 21:55:50','email','Enviado');

--
-- Table structure for table `envios_itv`
--

CREATE TABLE `envios_itv` (
  `id_envio_itv` int(11) NOT NULL AUTO_INCREMENT,
  `tipo` varchar(25) DEFAULT NULL,
  `id_vehiculo` int(11) DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `numero_email` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `motivo` varchar(20) NOT NULL,
  PRIMARY KEY (`id_envio_itv`),
  KEY `fk_vehiculo` (`id_vehiculo`),
  CONSTRAINT `fk_vehiculo` FOREIGN KEY (`id_vehiculo`) REFERENCES `vehiculos` (`id_vehiculo`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `envios_itv`
--


--
-- Table structure for table `estado_archivo`
--

CREATE TABLE `estado_archivo` (
  `id_estado_archivo` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_estado_archivo`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `estado_archivo`
--

INSERT INTO `estado_archivo` VALUES
(1,'Cancelado','#bc5063'),
(2,'PASO 2','#3dba1e'),
(3,'Activo','#ef7afa'),
(4,'TODO OK','#33fd00'),
(5,'TODO PERFECTO','#ff0080');

--
-- Table structure for table `estado_subvencion`
--

CREATE TABLE `estado_subvencion` (
  `nombre` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `id_estado_subvencion` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id_estado_subvencion`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `estado_subvencion`
--


--
-- Table structure for table `estados`
--

CREATE TABLE `estados` (
  `id_estado` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  PRIMARY KEY (`id_estado`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `estados`
--

INSERT INTO `estados` VALUES
(1,'Nuevas'),
(2,'A estrenaer');

--
-- Table structure for table `eventos`
--

CREATE TABLE `eventos` (
  `id_evento` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `fecha_inicio` datetime NOT NULL,
  `descripcion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_categoria` int(11) DEFAULT NULL,
  `fecha_final` datetime NOT NULL,
  `cancelado` tinyint(1) NOT NULL DEFAULT 0,
  `horario` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '../horarios/default.pdf',
  PRIMARY KEY (`id_evento`),
  KEY `id_categoria` (`id_categoria`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `eventos`
--

INSERT INTO `eventos` VALUES
(1,'Fiesta de la primavera','2024-09-01 04:42:00','dfgsdfgdfg',1,'2024-09-24 04:42:00',0,'../horarios/default.pdf'),
(2,'nuevo','2024-09-08 12:02:00','rdtgwet',NULL,'2024-10-03 12:02:00',0,'../horarios/default.pdf');

--
-- Table structure for table `factura_manual`
--

CREATE TABLE `factura_manual` (
  `id_factura_manual` int(11) NOT NULL AUTO_INCREMENT,
  `numero` varchar(255) NOT NULL,
  `fecha` date NOT NULL,
  `direccion` varchar(255) DEFAULT NULL,
  `importe` decimal(9,2) NOT NULL,
  `estado` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `imagen` varchar(255) NOT NULL,
  `fecha_vencimiento` date DEFAULT NULL,
  `nombre` varchar(255) NOT NULL,
  `cif` varchar(255) DEFAULT NULL,
  `cp` varchar(255) DEFAULT NULL,
  `telefono` varchar(255) DEFAULT NULL,
  `irpf` decimal(7,2) DEFAULT NULL,
  `client_id` int(11) NOT NULL,
  `fecha_envio` datetime DEFAULT NULL,
  `titulo` varchar(255) DEFAULT NULL,
  `tipo` varchar(255) NOT NULL DEFAULT 'Empresa',
  `programado` date DEFAULT NULL,
  `id_banco` int(11) DEFAULT NULL,
  `id_banco_2` int(11) DEFAULT NULL,
  `id_banco_3` int(11) DEFAULT NULL,
  `condiciones` longtext DEFAULT NULL,
  `impuesto` longtext DEFAULT NULL,
  `fechas` varchar(255) DEFAULT NULL,
  `lugar` varchar(255) DEFAULT NULL,
  `id_proyecto` int(11) DEFAULT NULL,
  `clase` varchar(255) NOT NULL DEFAULT 'Normal',
  PRIMARY KEY (`id_factura_manual`),
  KEY `client_id` (`client_id`),
  KEY `id_banco` (`id_banco`),
  KEY `id_banco_3` (`id_banco_3`),
  KEY `id_proyecto` (`id_proyecto`),
  KEY `id_banco_2` (`id_banco_2`),
  CONSTRAINT `factura_manual_ibfk_1` FOREIGN KEY (`id_banco`) REFERENCES `bancos` (`id_banco`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `factura_manual_ibfk_2` FOREIGN KEY (`id_proyecto`) REFERENCES `proyectos` (`id_proyecto`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `factura_manual_ibfk_3` FOREIGN KEY (`id_banco_2`) REFERENCES `bancos` (`id_banco`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `factura_manual_ibfk_4` FOREIGN KEY (`client_id`) REFERENCES `clientes` (`client_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `factura_manual`
--

INSERT INTO `factura_manual` VALUES
(79,'2025/A39','2025-04-09',NULL,143.00,'Enviada','fede.gundel@gmail.com','https://centro.factuley.com/image.php?id=ix7XQcvhzdaaoqIPXeSEtgIO7',NULL,'Paco Sanz 1','45394193J','35011','928252167',NULL,31,'2025-05-04 16:38:16','Factura','Particular',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Normal');

--
-- Table structure for table `factura_proveedor`
--

CREATE TABLE `factura_proveedor` (
  `id_factura_proveedor` int(11) NOT NULL AUTO_INCREMENT,
  `importe` decimal(7,2) NOT NULL,
  `id_proveedor` int(11) DEFAULT NULL,
  `fecha_vencimiento` datetime DEFAULT NULL,
  `numero` varchar(255) DEFAULT NULL,
  `fecha` datetime NOT NULL,
  PRIMARY KEY (`id_factura_proveedor`),
  KEY `id_proveedor` (`id_proveedor`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `factura_proveedor`
--

INSERT INTO `factura_proveedor` VALUES
(4,800.00,1,'2024-11-04 13:37:00','8888','2024-11-04 13:37:00'),
(5,1400.00,1,'2024-11-14 12:34:00','112','2024-11-14 12:34:00'),
(9,500.00,2,'2024-12-30 14:05:00','LMD/01','2024-12-30 14:05:00'),
(10,3000.00,1,'2025-04-10 13:06:00','23','2025-04-10 13:06:00');

--
-- Table structure for table `facturas`
--

CREATE TABLE `facturas` (
  `id_factura` int(11) NOT NULL AUTO_INCREMENT,
  `numero` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `fecha` datetime NOT NULL,
  `domicilio` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `importe` decimal(9,2) NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `id_presupuesto` int(11) NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `importe_restante` decimal(9,2) NOT NULL,
  `fecha_envio` datetime DEFAULT NULL,
  `metodo_pago` int(11) DEFAULT NULL,
  `pagos` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `importe_s` decimal(9,2) NOT NULL,
  `fecha_vencimiento` datetime NOT NULL,
  `dias_vencimiento` int(11) NOT NULL DEFAULT 7,
  `emails_vencimiento` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '',
  `imagen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `programado` datetime DEFAULT NULL,
  PRIMARY KEY (`id_factura`),
  KEY `FK_presupuesto_id` (`id_presupuesto`),
  KEY `metodo_pago` (`metodo_pago`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `facturas`
--


--
-- Table structure for table `facturas_rectificadas`
--

CREATE TABLE `facturas_rectificadas` (
  `id_factura_rectificada` int(11) NOT NULL AUTO_INCREMENT,
  `id_factura_manual` int(11) NOT NULL,
  `numero` varchar(255) NOT NULL,
  `fecha` date NOT NULL,
  PRIMARY KEY (`id_factura_rectificada`),
  KEY `facturas_rectificadas_ibfk_1` (`id_factura_manual`),
  CONSTRAINT `facturas_rectificadas_ibfk_1` FOREIGN KEY (`id_factura_manual`) REFERENCES `factura_manual` (`id_factura_manual`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `facturas_rectificadas`
--


--
-- Table structure for table `familias`
--

CREATE TABLE `familias` (
  `id_familia` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_familia`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `familias`
--


--
-- Table structure for table `fases`
--

CREATE TABLE `fases` (
  `id_fase` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_fase`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `fases`
--


--
-- Table structure for table `favorites`
--

CREATE TABLE `favorites` (
  `favorite_id` int(11) NOT NULL AUTO_INCREMENT,
  `favorite_user` int(11) NOT NULL,
  `favorite_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `favorite_type_id` int(11) NOT NULL,
  `favorite_data` int(11) NOT NULL,
  PRIMARY KEY (`favorite_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `favorites`
--


--
-- Table structure for table `featured`
--

CREATE TABLE `featured` (
  `featured_id` int(11) NOT NULL AUTO_INCREMENT,
  `featured_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `featured_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `featured_column` int(11) NOT NULL,
  PRIMARY KEY (`featured_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `featured`
--


--
-- Table structure for table `files`
--

CREATE TABLE `files` (
  `file_id` int(11) NOT NULL AUTO_INCREMENT,
  `file_user` int(11) DEFAULT NULL,
  `file_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `file_extension` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `file_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `file_section` int(11) NOT NULL,
  `file_folder` int(11) NOT NULL,
  `file_address` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `file_tags` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `file_data` int(11) NOT NULL,
  `fecha` date NOT NULL,
  `id_estado_archivo` int(11) DEFAULT NULL,
  PRIMARY KEY (`file_id`),
  KEY `file_user` (`file_user`),
  KEY `id_estado_archivo` (`id_estado_archivo`),
  CONSTRAINT `files_ibfk_1` FOREIGN KEY (`id_estado_archivo`) REFERENCES `estado_archivo` (`id_estado_archivo`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `files_ibfk_2` FOREIGN KEY (`file_user`) REFERENCES `users` (`user_id`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `files`
--

INSERT INTO `files` VALUES
(8,13,'Fondo empresa','pdf','Archivo',0,22,'/22/','',1731587600,'2024-11-14',NULL);

--
-- Table structure for table `financieras`
--

CREATE TABLE `financieras` (
  `id_financiera` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) NOT NULL,
  `telefono` varchar(20) NOT NULL,
  `email` varchar(255) NOT NULL,
  PRIMARY KEY (`id_financiera`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `financieras`
--


--
-- Table structure for table `firmas`
--

CREATE TABLE `firmas` (
  `id_firma` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `dni` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id_firma`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `firmas`
--


--
-- Table structure for table `folders`
--

CREATE TABLE `folders` (
  `folder_id` int(11) NOT NULL AUTO_INCREMENT,
  `folder_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `folder_user` int(11) DEFAULT NULL,
  `folder_section` int(11) NOT NULL,
  `folder_folder` int(11) NOT NULL,
  `folder_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `folder_address` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `folder_tag` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `folder_data` int(11) NOT NULL,
  `id_estado_archivo` int(11) DEFAULT NULL,
  `id_extra_folder` int(11) DEFAULT NULL,
  PRIMARY KEY (`folder_id`),
  KEY `id_estado_archivo` (`id_estado_archivo`),
  KEY `folder_user` (`folder_user`),
  CONSTRAINT `folders_ibfk_1` FOREIGN KEY (`id_estado_archivo`) REFERENCES `estado_archivo` (`id_estado_archivo`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `folders_ibfk_2` FOREIGN KEY (`folder_user`) REFERENCES `users` (`user_id`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `folders`
--

INSERT INTO `folders` VALUES
(19,'JUAN MANUEL',13,0,0,NULL,'/','',1726574064,3,NULL),
(22,'FACTURAS 2025 ',13,0,0,NULL,'/','',1731587567,2,NULL),
(37,'prueba',6707,0,0,NULL,'/','sdfasd,sadfa',1744399544,NULL,NULL);

--
-- Table structure for table `formularios`
--

CREATE TABLE `formularios` (
  `id_formulario` int(11) NOT NULL AUTO_INCREMENT,
  `portada` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `info_1` varchar(2500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `apellidos` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `dni` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `pais` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `ciudad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `direccion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `info_2` varchar(2500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `info_3` varchar(2500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `autorizacion` tinyint(1) DEFAULT NULL,
  `info_4` varchar(2500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `texto_modal` varchar(2500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `lottie_modal` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `nombre_formulario` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'Activo',
  PRIMARY KEY (`id_formulario`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `formularios`
--


--
-- Table structure for table `gasto_proyecto`
--

CREATE TABLE `gasto_proyecto` (
  `id_gasto_proyecto` int(11) NOT NULL AUTO_INCREMENT,
  `concepto` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `importe` decimal(10,2) DEFAULT NULL,
  `observaciones` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_proyecto` int(11) NOT NULL,
  `fecha` date DEFAULT NULL,
  PRIMARY KEY (`id_gasto_proyecto`),
  KEY `fk_gasto_proyecto_proyectos` (`id_proyecto`),
  CONSTRAINT `fk_gasto_proyecto_proyectos` FOREIGN KEY (`id_proyecto`) REFERENCES `proyectos` (`id_proyecto`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `gasto_proyecto`
--

INSERT INTO `gasto_proyecto` VALUES
(2,'Bloque de hormigon',3000.00,'bloque',4,'2025-01-30');

--
-- Table structure for table `grupo_cliente`
--

CREATE TABLE `grupo_cliente` (
  `id_grupo_cliente` int(11) NOT NULL AUTO_INCREMENT,
  `id_grupo` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  PRIMARY KEY (`id_grupo_cliente`),
  KEY `id_grupo` (`id_grupo`),
  KEY `client_id` (`client_id`),
  CONSTRAINT `grupo_cliente_ibfk_1` FOREIGN KEY (`id_grupo`) REFERENCES `grupos` (`id_grupo`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `grupo_cliente_ibfk_2` FOREIGN KEY (`client_id`) REFERENCES `clientes` (`client_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `grupo_cliente`
--


--
-- Table structure for table `grupos`
--

CREATE TABLE `grupos` (
  `id_grupo` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_grupo`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `grupos`
--

INSERT INTO `grupos` VALUES
(3,'LASER MICROBLADING'),
(5,'Grupos jueves a las 3'),
(6,'ss'),
(7,'Nuevo'),
(8,'1'),
(9,'klñ'),
(10,'1111'),
(11,'44');

--
-- Table structure for table `grupos2`
--

CREATE TABLE `grupos2` (
  `id_grupo2` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_grupo2`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `grupos2`
--

INSERT INTO `grupos2` VALUES
(1,'ss');

--
-- Table structure for table `igic`
--

CREATE TABLE `igic` (
  `id_igic` int(11) NOT NULL AUTO_INCREMENT,
  `porcentaje` decimal(9,2) DEFAULT NULL,
  `nombre` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id_igic`),
  UNIQUE KEY `porcentaje` (`porcentaje`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `igic`
--

INSERT INTO `igic` VALUES
(1,7.00,'IGIC 7%'),
(3,21.00,'IVA 21%');

--
-- Table structure for table `impuestos`
--

CREATE TABLE `impuestos` (
  `id_impuesto` int(11) NOT NULL AUTO_INCREMENT,
  `titulo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `impuesto` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_impuesto`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `impuestos`
--

INSERT INTO `impuestos` VALUES
(1,'a1','a2'),
(2,'Exento de IGIC','\"Operación exenta de IGIC según lo dispuesto en el artículo 10.1.27º de la Ley 20/1991, de modificación de los aspectos fiscales del REF de Canarias.');

--
-- Table structure for table `ingreso_plan`
--

CREATE TABLE `ingreso_plan` (
  `id_ingreso_plan` int(11) NOT NULL AUTO_INCREMENT,
  `monto` decimal(9,2) NOT NULL,
  `fecha` datetime NOT NULL,
  `observaciones` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_plan` int(11) NOT NULL,
  PRIMARY KEY (`id_ingreso_plan`),
  KEY `id_plan` (`id_plan`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ingreso_plan`
--


--
-- Table structure for table `jornada_laboral`
--

CREATE TABLE `jornada_laboral` (
  `id_jornada` int(11) NOT NULL AUTO_INCREMENT,
  `id_miembro` int(11) NOT NULL,
  `lunes_e` time DEFAULT '08:00:00',
  `lunes_s` time DEFAULT '12:00:00',
  `martes_e` time DEFAULT '08:00:00',
  `martes_s` time DEFAULT '12:00:00',
  `miercoles_e` time DEFAULT '08:00:00',
  `miercoles_s` time DEFAULT '12:00:00',
  `jueves_e` time DEFAULT '08:00:00',
  `jueves_s` time DEFAULT '12:00:00',
  `viernes_e` time DEFAULT '08:00:00',
  `viernes_s` time DEFAULT '12:00:00',
  `sabado_e` time DEFAULT '08:00:00',
  `sabado_s` time DEFAULT '12:00:00',
  `lunes2_e` time DEFAULT '14:00:00',
  `lunes2_s` time DEFAULT '18:00:00',
  `martes2_e` time DEFAULT '14:00:00',
  `martes2_s` time DEFAULT '18:00:00',
  `miercoles2_e` time DEFAULT '14:00:00',
  `miercoles2_s` time DEFAULT '18:00:00',
  `jueves2_e` time DEFAULT '14:00:00',
  `jueves2_s` time DEFAULT '18:00:00',
  `viernes2_e` time DEFAULT '14:00:00',
  `viernes2_s` time DEFAULT '18:00:00',
  `sabado2_e` time DEFAULT '14:00:00',
  `sabado2_s` time DEFAULT '18:00:00',
  `domingo_e` time DEFAULT NULL,
  `domingo_s` time DEFAULT NULL,
  `domingo2_e` time DEFAULT NULL,
  `domingo2_s` time DEFAULT NULL,
  PRIMARY KEY (`id_jornada`),
  KEY `id_miembro` (`id_miembro`),
  CONSTRAINT `jornada_laboral_ibfk_1` FOREIGN KEY (`id_miembro`) REFERENCES `miembro_equipo` (`id_miembro`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `jornada_laboral`
--

INSERT INTO `jornada_laboral` VALUES
(22,26,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','08:00:00','12:00:00','14:00:00','22:00:00'),
(24,28,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','14:00:00','22:00:00','08:00:00','12:00:00','14:00:00','22:00:00'),
(25,29,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','08:00:00','12:00:00','14:00:00','20:00:00'),
(26,30,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','08:00:00','12:00:00','14:00:00','20:00:00'),
(27,31,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','08:00:00','12:00:00','14:00:00','20:00:00'),
(28,32,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','08:00:00','12:00:00','14:00:00','20:00:00'),
(29,33,'08:02:00','12:00:00',NULL,NULL,NULL,NULL,'08:02:00','12:00:00','08:02:00','12:00:00','08:02:00','12:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00',NULL,NULL,'14:00:00','20:00:00','14:00:00','20:00:00','08:02:00','12:00:00',NULL,NULL),
(30,34,'08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','08:00:00','12:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','14:00:00','20:00:00','08:00:00','12:00:00','14:00:00','20:00:00');

--
-- Table structure for table `kit_articulo`
--

CREATE TABLE `kit_articulo` (
  `id_kit_articulo` int(11) NOT NULL AUTO_INCREMENT,
  `id_articulo` int(11) NOT NULL,
  `id_kit` int(11) NOT NULL,
  `cantidad` int(11) NOT NULL,
  PRIMARY KEY (`id_kit_articulo`),
  KEY `fk_kit_articulo_id_articulo` (`id_articulo`),
  KEY `fk_kit_articulo_id_kit` (`id_kit`),
  CONSTRAINT `fk_kit_articulo_id_articulo` FOREIGN KEY (`id_articulo`) REFERENCES `articulos` (`id_articulo`) ON DELETE CASCADE,
  CONSTRAINT `fk_kit_articulo_id_kit` FOREIGN KEY (`id_kit`) REFERENCES `kits` (`id_kit`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `kit_articulo`
--


--
-- Table structure for table `kits`
--

CREATE TABLE `kits` (
  `id_kit` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `descuento` decimal(7,2) NOT NULL,
  PRIMARY KEY (`id_kit`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `kits`
--


--
-- Table structure for table `logins`
--

CREATE TABLE `logins` (
  `login_id` int(11) NOT NULL AUTO_INCREMENT,
  `login_user` int(11) DEFAULT NULL,
  `login_ip` text NOT NULL,
  `login_agent` text DEFAULT NULL,
  `login_success` tinyint(4) NOT NULL,
  `login_date` int(11) NOT NULL,
  PRIMARY KEY (`login_id`),
  KEY `fk_logins_users_idx` (`login_user`)
) ENGINE=InnoDB AUTO_INCREMENT=372 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `logins`
--

INSERT INTO `logins` VALUES
(8,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725289441),
(9,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725292413),
(12,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725301235),
(17,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725460669),
(18,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725461097),
(20,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725522947),
(21,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725619965),
(24,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725628090),
(26,13,'85.51.18.14','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725707061),
(27,13,'85.51.16.184','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725710322),
(29,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725822977),
(31,13,'90.166.99.91','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1725967262),
(37,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1726120796),
(38,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1726129244),
(52,13,'85.51.18.3','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1726574031),
(68,13,'90.166.99.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1727088088),
(69,13,'85.51.17.73','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1727094976),
(74,13,'90.166.193.89','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1727269230),
(80,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0',1,1727544251),
(84,13,'77.231.124.90','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1728322851),
(85,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1728396513),
(86,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1728593270),
(87,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1728668894),
(88,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1728919837),
(92,13,'2.137.147.122','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1729106149),
(93,13,'85.51.21.85','Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/129.0.6668.69 Mobile/15E148 Safari/604.1',1,1729107580),
(94,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1729122995),
(95,13,'81.61.230.94','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0',1,1729178640),
(100,13,'212.230.233.53','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730143954),
(103,13,'119.12.255.220','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730199294),
(108,13,'79.116.36.84','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730289437),
(109,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730552143),
(113,13,'90.166.98.221','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730727318),
(115,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730816028),
(116,13,'87.125.238.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1730885984),
(118,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1731075807),
(119,13,'213.96.27.35','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1731320105),
(121,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1731585581),
(122,13,'83.59.19.36','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1731586665),
(124,13,'83.59.19.36','Mozilla/5.0 (iPhone; CPU iPhone OS 18_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.90 Mobile/15E148 Safari/604.1',1,1731592079),
(125,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',1,1731608316),
(127,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1731928764),
(128,13,'46.27.69.24','Mozilla/5.0 (iPhone; CPU iPhone OS 18_2_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.73 Mobile/15E148 Safari/604.1',1,1732016727),
(130,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732016792),
(137,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732187769),
(143,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732275550),
(147,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732288086),
(148,6692,'88.8.175.89','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',0,1732538783),
(155,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732557970),
(156,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732558008),
(157,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1732558301),
(165,13,'85.48.184.171','Mozilla/5.0 (iPhone; CPU iPhone OS 18_2_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.73 Mobile/15E148 Safari/604.1',1,1732866504),
(174,13,'46.27.69.24','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1733129056),
(175,13,'206.204.131.46','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1733132841),
(176,6701,'206.204.131.46','Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Mobile/15E148 Safari/604.1',0,1733132945),
(177,6701,'206.204.131.46','Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Mobile/15E148 Safari/604.1',1,1733132965),
(178,13,'176.80.93.104','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1733133172),
(184,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1733181550),
(202,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1733764407),
(209,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1734111177),
(210,6704,'83.52.81.110','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',0,1734113445),
(211,6704,'83.52.81.110','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1734113475),
(212,13,'83.59.20.38','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1734266363),
(225,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1735820069),
(234,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1736337821),
(235,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1736344295),
(238,13,'83.59.9.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',1,1736425921),
(244,13,'83.59.9.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1736594704),
(245,13,'79.117.162.10','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1736799163),
(248,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1736986160),
(249,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1737031169),
(250,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1737050002),
(251,13,'83.59.9.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0',1,1737137137),
(252,13,'83.59.9.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1737969013),
(254,13,'85.51.16.41','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',1,1738008085),
(255,13,'83.59.9.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738085923),
(256,13,'85.51.16.169','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738158938),
(257,13,'85.51.23.116','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/132.0.6834.100 Mobile/15E148 Safari/604.1',1,1738159205),
(258,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738171504),
(259,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0',1,1738172444),
(261,13,'83.59.9.4','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738254557),
(262,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738580648),
(263,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738583900),
(266,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738602085),
(267,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738748375),
(268,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0',1,1738756283),
(269,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',0,1743331492),
(270,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743333559),
(271,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743459631),
(272,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743983661),
(273,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743983718),
(274,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743984817),
(275,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743984910),
(276,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',1,1743985189),
(277,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744212852),
(278,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744238647),
(279,6707,'::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744245544),
(280,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744249321),
(281,13,'85.51.57.178','Mozilla/5.0 (iPhone; CPU iPhone OS 18_4_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/135.0.7049.53 Mobile/15E148 Safari/604.1',1,1744249326),
(282,13,'85.51.57.178','Mozilla/5.0 (iPhone; CPU iPhone OS 18_4_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/135.0.7049.53 Mobile/15E148 Safari/604.1',1,1744271092),
(283,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744275662),
(284,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744283272),
(285,6708,'88.25.46.205','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0',0,1744283620),
(286,6708,'88.25.46.205','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0',1,1744283656),
(287,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744309002),
(288,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744328041),
(289,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744329268),
(290,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744370999),
(291,13,'46.27.69.24','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744378310),
(292,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744392931),
(293,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744405277),
(294,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744410059),
(295,13,'83.59.18.196','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744481571),
(296,6709,'83.59.18.196','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',0,1744646640),
(297,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744656347),
(298,13,'83.59.18.196','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744660631),
(299,6710,'31.221.199.232','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/27.0 Chrome/125.0.0.0 Mobile Safari/537.36',0,1744660950),
(300,6710,'31.221.199.232','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/27.0 Chrome/125.0.0.0 Mobile Safari/537.36',1,1744660977),
(301,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',0,1744747428),
(302,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',0,1744748936),
(303,6709,'83.59.18.196','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744749003),
(304,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',0,1744749271),
(305,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',0,1744749283),
(306,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',0,1744749284),
(307,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744749839),
(308,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',1,1744751210),
(309,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',1,1744752245),
(310,6711,'95.127.42.239','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',1,1744752526),
(311,6711,'79.157.84.38','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744755232),
(312,6709,'83.59.18.196','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744755489),
(313,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744756641),
(314,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744770738),
(315,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744777354),
(316,13,'62.43.176.41','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1744798745),
(317,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744826239),
(318,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744830531),
(319,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744843296),
(320,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744849779),
(321,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744851702),
(322,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744855213),
(323,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744907406),
(324,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744907459),
(325,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744909775),
(326,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744910380),
(327,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744917991),
(328,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744921964),
(329,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744931884),
(330,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1744993129),
(331,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745010713),
(332,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745011330),
(333,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745035267),
(334,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745036965),
(335,6711,'79.157.77.97','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745243266),
(336,6711,'79.157.77.97','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0',1,1745243577),
(337,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745260601),
(338,6708,'88.25.46.205','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0',1,1745261117),
(339,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745270224),
(340,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745274406),
(341,13,'88.25.163.117','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745330723),
(342,6725,'88.25.163.117','Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1',0,1745331949),
(343,6725,'88.25.163.117','Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1',0,1745331971),
(344,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745349866),
(345,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745353925),
(346,13,'83.59.185.188','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745355033),
(347,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745395333),
(348,13,'88.25.163.117','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745430457),
(349,6709,'88.25.163.117','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745433318),
(350,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745449306),
(351,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745456766),
(352,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745466632),
(353,13,'88.25.163.117','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745569816),
(354,13,'88.25.163.117','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745593376),
(355,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745681351),
(356,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745756233),
(357,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745784637),
(358,13,'85.51.57.178','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 OPR/117.0.0.0',1,1745786138),
(359,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745786269),
(360,6727,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',0,1745788416),
(361,6727,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745788508),
(362,6707,'186.137.88.51','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Mobile Safari/537.36',1,1745790162),
(363,6727,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1745796542),
(364,6711,'95.127.94.24','Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1',1,1745944056),
(365,6728,'83.59.252.76','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',0,1746039173),
(366,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1746061562),
(367,6707,'186.137.88.51','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1746084409),
(368,13,'83.59.194.78','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 OPR/118.0.0.0',1,1746121319),
(369,6707,'186.0.182.42','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36',1,1746703516),
(370,6729,'186.0.182.42','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36',1,1746704386),
(371,6709,'83.59.15.159','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36',1,1746705753);

--
-- Table structure for table `mailing`
--

CREATE TABLE `mailing` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `from_address` varchar(100) DEFAULT NULL,
  `to_address` varchar(100) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `used` tinyint(1) DEFAULT NULL,
  `attachments` text DEFAULT NULL,
  `status` tinyint(1) DEFAULT NULL,
  `createdAt` datetime DEFAULT NULL,
  `title` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `mailing`
--

INSERT INTO `mailing` VALUES
(7,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos el albaran, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-02 22:15:35','Albaran - Pendiente'),
(8,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos el albaran, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-03 00:59:07','Albaran - Pendiente'),
(9,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-03 01:26:48','Factura - Importante'),
(10,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-03 05:25:00','Factura - Importante'),
(11,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=95&token=MTc0Mzk4MzI2N2xNQkRBZk5nSVNkUXRkN203UHFTN3V2REsxalNiMnFM\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 00:47:47','Se ha creado un fichaje a su nombre'),
(12,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=96&token=MTc0Mzk4MzQ1MmZnR2pYMkhOcmR3bUh2QTRlbkdSTFhhdzF6VlJncnRD\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 00:50:52','Se ha creado un fichaje a su nombre'),
(13,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=97&token=MTc0Mzk4MzYyNTZQVDlTZjVZTGFtbk9tWWI1S2E1aWZ1QWRRaU1RUmVj\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 00:53:45','Se ha creado un fichaje a su nombre'),
(14,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=99&token=MTc0Mzk4NDY0OTQ4OFFNcURwMkRxaXliMlh3WEtXbnVXQjVqaDVIU2JO\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 01:10:49','Se ha creado un fichaje a su nombre'),
(15,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=99&token=MTc0Mzk4NDc3ME1hMEtCWDlaTEpjWXVYM3EwQ25iQzFxUmxxQXBsVFVv\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 01:12:50','Se ha creado un fichaje a su nombre'),
(16,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=100&token=MTc0Mzk4NTE2NVJoN3l1ZDhCOFlFM1lyWHZGUWJ5QUZFeHFxcXhYcUx5\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 01:19:25','Se ha creado un fichaje a su nombre'),
(17,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=102&token=MTc0Mzk4NjY4NDZkSVUxTVdBZE5NaGN4WE12UXRzOXQ4Uk81M21waWNo\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-07 01:44:44','Se ha creado un fichaje a su nombre'),
(18,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-09 16:19:45','Factura - Importante'),
(19,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=105&token=MTc0NDIxMjc0OVRJSkhwZXNXbGo3Z0xGZko1MG5nQ1ZIRnRzWXFBQ1hP\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-09 16:32:29','Se ha creado un fichaje a su nombre'),
(20,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=106&token=MTc0NDIxMjc2N3cwb3BhakFzZ1hqcnNhZVo2c0dzYk5JWmYzRkVzVkp1\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-09 16:32:47','Se ha creado un fichaje a su nombre'),
(21,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=118&token=MTc0NDIzNjM4M0pmeE5OaG5EZERXM2k4Mk82dzh4ZGRQRDRYZmZVdkI3\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-09 23:06:23','Se ha creado un fichaje a su nombre'),
(22,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=119&token=MTc0NDI0MDc0NTh6TWk5S1FCRUhxSU1IeGNQRE5xQWo1VXVpd2pYU1gw\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-10 00:19:05','Se ha creado un fichaje a su nombre'),
(23,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=118&token=MTc0NDI0MDc5NEg2bXl0MjJEQkhJMEYwUmNuVk9JbHFzTUgyaEtkanhW\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-10 00:19:54','Se ha creado un fichaje a su nombre'),
(24,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=120&token=MTc0NDI0MzQ0MFR5b1c2Mk1xODRpMFlnRHlOWGx1ZGY5VVR2bVdneVNa\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-10 01:04:00','Se ha creado un fichaje a su nombre'),
(25,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=117&token=MTc0NDI0NTQ4OVdKOU9OaHJIWnZzc21uNk9VdmdWcDR4Vnh1SklobkVL\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-10 01:38:09','Se ha creado un fichaje a su nombre'),
(26,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://panelprincipal.platformkitdigital.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'http://localhost/plataforma/aceptar_fichaje?id=121&token=MTc0NDI0NTU4OGVkUEpENTQ5TXZsS09QQ1ZsNnRoQ3cwRDhvdEI4Y2NB\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-10 01:39:48','Se ha creado un fichaje a su nombre'),
(27,'panelprincipal@platformkitdigital.com','cdm23.ambm@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola Aranzazu Maria Beltr&aacute;n Mart&iacute;n</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-10 12:14:01','Solicitud aceptada'),
(28,'panelprincipal@platformkitdigital.com','cdm23.ambm@gmail.com',' <html>\r\n                                <head>\r\n                                    <style>\r\n                                        .button {\r\n                                        background-color: #0cca8e;\r\n                                border-color: #0cca8e;\r\n                                        display: inline-block;\r\n                                font-weight: 400;\r\n                                text-align: center;\r\n                                white-space: nowrap;\r\n                                vertical-align: middle;\r\n                                user-select: none;\r\n                                border: 1px solid rgba(0, 0, 0, 0);\r\n                                padding: .56rem 1.375rem;\r\n                                font-size: 1rem;\r\n                                line-height: 1;\r\n                                border-radius: .1875rem;\r\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n                                outline: 0;\r\n                                outline-offset: 0;\r\n                                color: #fff!important;\r\n                            }\r\n                            .button:hover {\r\n                                color: #fff;\r\n                                background-color: #0aa675;\r\n                                border-color: #099a6c;\r\n                                text-decoration: none;\r\n                            }\r\n                                        .email-container {\r\n                                            font-family: Arial, sans-serif;\r\n                                            line-height: 1.5;\r\n                                            margin: 20px;\r\n                                                max-width: 370px;\r\n                                                margin: 0 auto;\r\n                                                text-align:center;\r\n                                        }\r\n                                        .email-title {\r\n                                            color: #333;\r\n                                            font-size: 20px;\r\n                                            font-weight: bold;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-text {\r\n                                            color: #555;\r\n                                            font-size: 16px;\r\n                                            width: 100%;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                        .email-b{\r\n                                        width: 100%;\r\n                                        }\r\n                                        .email-image {\r\n                                            width: 100%;\r\n                                            max-width: 300px;\r\n                                            height: auto;\r\n                                            display: block;\r\n                                            margin: 0 auto;\r\n                                            margin-bottom:.5rem;\r\n                                        }\r\n                                    </style>\r\n                                </head>\r\n                                <body>\r\n                                    <div class=\\\'email-container\\\'>\r\n                                    \r\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\r\n                            <div class=\\\'email-title\\\'>\r\n                                            Se ha creado un fichaje a su nombre\r\n                                        </div>\r\n                                    \r\n                                        <div class=\\\'email-text\\\'>\r\n                                            ¿Desea aceptar el fichaje? <br>\r\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\r\n                                        </div>\r\n                            <div class=\\\'email-b\\\'>\r\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=128&token=MTc0NDI4NjMyMWlmY1Jud0ppTFpPdTNINHA5dVBUT3BJT0FEREhhTU5h\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \r\n                                        </div>\r\n                                    </div>\r\n                                </body>\r\n                                </html>\r\n                            ',0,'null',1,'2025-04-10 12:58:41','Se ha creado un fichaje a su nombre'),
(29,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p><em><strong>Muy buenas</strong></em>, Tras lo hablado le enviamos el presupuesto, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-10 20:12:51','Presupuesto - Pendiente'),
(30,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-10 20:13:43','Factura - Importante'),
(31,'panelprincipal@platformkitdigital.com','yosoyrubens@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-10 20:14:09','Factura - Importante'),
(32,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-10 20:19:22','Factura - Importante'),
(33,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-10 20:29:56','Factura - Importante'),
(34,'panelprincipal@platformkitdigital.com','yosoyrubens@gmail.com','<p><em><strong>Muy buenas</strong></em>, Tras lo hablado le enviamos el presupuesto, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-12 19:19:12','Presupuesto - Pendiente'),
(35,'panelprincipal@platformkitdigital.com','andresgracida6@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola Andr&eacute;s Gracida</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-14 19:46:13','Solicitud aceptada'),
(36,'panelprincipal@platformkitdigital.com','nehomers@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola Nehomer S&aacute;nchez Santana</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-14 21:02:47','Solicitud aceptada'),
(37,'panelprincipal@platformkitdigital.com','doncelmartineza@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola Alex Doncel martinez</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-15 21:44:50','Solicitud aceptada'),
(38,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola Federico pruebas</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-17 18:19:53','Solicitud aceptada'),
(39,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=20&token=MTc0NDkxODU2N2x4Sjl1eFV3bEdEUk5vNDVBRzVOOHhNQkpCZWVob0lD\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-17 20:36:07','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(40,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=21&token=MTc0NDkxOTkxM1VqWHhwcTgyR3p2REpMNXF0bWo1aDB3cmZnejZJTm5q&email=gundelagustina@gmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-17 20:58:33','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(41,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-18 00:24:55','Factura - Importante'),
(42,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=22&token=MTc0NDkzMjc2NzVLYzBTbXhtb0lRV1ZQVEpqZ3NjWUpBZ0pGc09GQ3Zp&email=gundelagustina@gmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-18 00:32:47','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(43,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos el albaran, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-18 00:39:56','Albaran - Pendiente'),
(44,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=23&token=MTc0NDk5ODM3M0FhYlZlc1hjU3VNUTlSNmlIb0FXSnBxYWpxYkZWYVZ1&email=gundelagustina@gmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-18 18:46:13','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(45,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=24&token=MTc0NDk5ODk3M2QxVDU5YXdjdGZLWUh2WllNMEpzdVZHMEhsczBQYzZv&email=gundelagustina@gmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-18 18:56:13','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(46,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p><em><strong>Muy buenas</strong></em>, Tras lo hablado le enviamos el presupuesto, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-04-18 20:08:52','Presupuesto - Pendiente'),
(47,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=25&token=MTc0NTAwNDk5MjNHYVhmamhlQTNmeGxxRFc5dmFvMnN3Mmxyc2JScll3&email=gundelagustina@gmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-18 20:36:32','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(48,'panelprincipal@platformkitdigital.com','adrian@opa.agency',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=26&token=MTc0NTI2MDY3ODlwOEU4VG5ZNGg3Y0FodUpGR2RnaEVSRm1xcVlERGY0&email=adrian@opa.agency\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-21 19:37:58','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(49,'panelprincipal@platformkitdigital.com','david@opa.agency',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=27&token=MTc0NTI2MDc0M1pCTjNuWFF2SUcwejBlVHpMbDZCSzBKUmhWam9xeGFn&email=david@opa.agency\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-21 19:39:03','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(50,'panelprincipal@platformkitdigital.com','david@opa.agency','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>%asunto%</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;text-align: center;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:85%;margin: 0 auto;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola David Barredo</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">Haga click <a href=\\\"https://centro.factuley.com/recover_login?token=9c3e4333b5413aaca38cefe48f5033911b64867f48804f4f5ac835306ac47934e3d65b161ca68e433a7d1b05617336578c97035f00ffa9f301ab51b581f83abf280f972ee151ecbe729e5777fa409c55bd08a366b37b592d726209544905028336ede4df_6704\\\" target=\\\"_blank\\\">aquí</a> para recuperar su contraseña</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-21 19:43:02','Recupera tu contraseña'),
(51,'panelprincipal@platformkitdigital.com','adrian@opa.agency',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=137&token=MTc0NTI2MTA5N21taWJjMXlxcWhwNjhuZTYyTWN0V3lLaFl2N1llUVV5\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-21 19:44:57','Se ha creado un fichaje a su nombre'),
(52,'panelprincipal@platformkitdigital.com','david@opa.agency',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=138&token=MTc0NTI2MTExMkwwZ0xLUjJuVVNZYUFKVEVzbVI1Zm5BbkJCYkJUMFhX\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-21 19:45:12','Se ha creado un fichaje a su nombre'),
(53,'panelprincipal@platformkitdigital.com','ramirocarrilmartin@hotmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=29&token=MTc0NTMzMDg0NVB2eGdNRHdxaXRpOHc0clhDcEU5UG9Ram84eTlHc2xu&email=ramirocarrilmartin@hotmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-22 15:07:25','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(54,'panelprincipal@platformkitdigital.com','davidsuarezperez@alumno.ieselrincon.es',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=30&token=MTc0NTMzMDk5NVFXOTFDbUhlRWdoOHJDQnFqb2JKdUkzTjdyOEs5UmJX&email=davidsuarezperez@alumno.ieselrincon.es\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-22 15:09:55','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(55,'panelprincipal@platformkitdigital.com','davidsuarezperez@alumno.ieselrincon.es',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=140&token=MTc0NTMzMTIxNUV2eHFMTng0eUhCNnhvQ1lkVklNalZGSXFmbHN2ajdp\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-22 15:13:35','Se ha creado un fichaje a su nombre'),
(56,'panelprincipal@platformkitdigital.com','alvaro.esteve1@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se a añadido tu email a nuestro sistema de fichajes\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n                                        Para proceder a la creación de tu cuenta haz click en el siguiente enlace: <br>\n\n                                           \n                                        \n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_miembro?id=31&token=MTc0NTM5NTU4N3FiRDBUanlSbnVBc0xwREZkRUhjMVNzWDFxd0Jqbkxt&email=alvaro.esteve1@gmail.com\\\' class=\\\'button\\\'>Crear usuario</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-23 09:06:27','Se ha solicitado la creación de un usuario con tu cuenta de correo electrónico'),
(57,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>FedericoFederico Gundel24/04/2025</p>',0,'{\\\"name\\\":[\\\"WhatsApp Image 2025-04-18 at 9.21.47 PM.jpeg\\\"],\\\"type\\\":[\\\"image\\\\/jpeg\\\"],\\\"tmp_name\\\":[\\\"\\\\/tmp\\\\/phpwSfEWE\\\"],\\\"error\\\":[0],\\\"size\\\":[94796]}',1,'2025-04-24 01:10:45','p'),
(58,'panelprincipal@platformkitdigital.com','yosoyrubens@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=142&token=MTc0NTU3MTE5Mk9VTXFSZ2hWUFVvQmFGUjg5SmVHNjhHekNBZlI2TWh2\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-25 09:53:12','Se ha creado un fichaje a su nombre'),
(59,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','Feliz cumpleaños, tienes un código descuento x',0,'null',1,'2025-04-27 14:34:48','Feliz Cumpleaños'),
(60,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Feliz cumpleaños Federico Gundel, hoy 27/04/2025 tienes un código descuento x</p>',0,'null',1,'2025-04-27 14:38:34','Feliz Cumpleaños'),
(61,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Feliz cumpleaños Federico Gundel, hoy 27/04/2025 tienes un código descuento x</p>',0,'null',1,'2025-04-27 14:43:09','Feliz Cumpleaños'),
(62,'panelprincipal@platformkitdigital.com','yosoyrubens@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=143&token=MTc0NTc4NjM1MnNvbnBTeDBkZ1FXcjdTSlVwM2haQnFXSFBXRVBEd0hJ\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-27 21:39:12','Se ha creado un fichaje a su nombre'),
(63,'panelprincipal@platformkitdigital.com','yosoyrubens@gmail.com','<p>Hola Rubén, &iquest;necesitas de un servicio digital? Cada una de nuestras areas se encuentra formado por diversos expertos para m&aacute;ximizar y asegurar el &eacute;xito. Ayudamos a nuestros clientes a ser m&aacute;s competitivos mediante una dedicaci&oacute;n comprometida, innovadora y eficaz basada en la confianza.</p>\r\n<p>Puede consultar por nuestros servicios&nbsp;<a href=\\\"https://empiresystems.io/\\\">empiresystems.io</a></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<!-- Fallback force center content -->\r\n<div style=\\\"text-align: center;\\\">\r\n<table style=\\\"text-align: center; vertical-align: top; width: 592px; max-width: 600px; background-color: #3f3f3f;\\\" width=\\\"592\\\" cellpadding=\\\"0px\\\" align=\\\"center\\\">\r\n<tbody>\r\n<tr>\r\n<td style=\\\"width: 592px; vertical-align: top; padding: 0px;\\\"><!-- Your logo  is here --> <!--\r\n            <img style=\\\"width: 200px; max-width: 200px; height: 70px; max-height: 70px; text-align: center; color: #ffffff;\\\" alt=\\\"Logo\\\" src=\\\"https://64.media.tumblr.com/dfe839d12d891dc4b73f0f29da62fa49/tumblr_inline_sc3yl3BwJh1rfe0n6_500.jpg\\\" align=\\\"center\\\" width=\\\"600\\\" height=\\\"170\\\">\r\n            <!-- Your logo 2 is here --> <!--   <img style=\\\"width: 600px; max-width: 600px; height: 200px; max-height: 200px; text-align: center; color: #fcf6df;\\\" alt=\\\"Logo\\\" src=\\\"https://64.media.tumblr.com/77b0199f657ba1688b57394272b58e9b/tumblr_inline_sc42vq6ffd1rfe0n6_500.jpg\\\" align=\\\"center\\\" width=\\\"800\\\" height=\\\"300\\\">\r\n <!-- Your logo 3 is here --> <img style=\\\"max-width: 200px; max-height: 100px; text-align: center; color: #ffffff;\\\" src=\\\"image.php?id=ix7XQcvhzdaaoqIPXeSEtgIO7\\\" alt=\\\"Logo\\\" width=\\\"240\\\" height=\\\"49\\\" align=\\\"middle\\\" /></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<!-- End container for logo --> <!-- Hero image --> <br /><!-- Hero image --> <!-- Start single column section -->\r\n<table style=\\\"text-align: center; vertical-align: top; width: 600px; max-width: 600px; background-color: #ffffff;\\\" width=\\\"600\\\" align=\\\"center\\\">\r\n<tbody>\r\n<tr>\r\n<td style=\\\"width: 596px; vertical-align: top; padding: 30px 30px 40px 30px;\\\" width=\\\"596\\\">\r\n<div class=\\\"caja\\\">\r\n<p class=\\\"pretitulo wow fadeInUp\\\" data-wow-duration=\\\"1s\\\" data-wow-delay=\\\"0.3s\\\" data-wow-offset=\\\"100\\\">&iexcl;&iexcl;BIENVENIDO!!</p>\r\n</div>\r\n<div class=\\\"centrado centrado relative\\\">\r\n<div class=\\\"caja_h3 caja\\\">\r\n<h3 class=\\\"h3 wow fadeInUp\\\" data-wow-duration=\\\"1s\\\" data-wow-delay=\\\"0.6s\\\" data-wow-offset=\\\"100\\\">Tenemos el veh&iacute;culo que est&aacute; buscando</h3>\r\n</div>\r\n</div>\r\n<p><strong>Dilucars Autom&oacute;viles, S.L.</strong>&nbsp;empresa dedicada a la venta de&nbsp;<strong>veh&iacute;culos de ocasi&oacute;n</strong>, inicia su actividad el&nbsp;<strong>10 de diciembre de</strong>&nbsp;<strong>2007&nbsp;</strong>abriendo su primera exposici&oacute;n en una de las calles de mayor crecimiento y desarrollo econ&oacute;mico de la ciudad de Las Palmas de G.C en la&nbsp;<strong>Avda. Pintor Felo Monz&oacute;n,17 Portal 9 Bajo - 7 Palmas</strong>.</p>\r\n<p>Prueba de&nbsp;nuestra profesionalidad, seguridad en la compra a nuestros clientes y garant&iacute;a, nos llevan a seguir en el mercado a&ntilde;os m&aacute;s tarde. En febrero de&nbsp;<strong>2021 abrimos nuevas instalaciones</strong>&nbsp;tambi&eacute;n en Las Palmas de Gran Canaria en la&nbsp;<strong>C/ Arguineg&uuml;&iacute;n, 23 - Pol&iacute;gono Industrial Lomo Blanco - Las Torres (frente a la ITV)</strong>. Entre ambas exposiciones ofrecemos m&aacute;s de&nbsp;<strong>750 metros cuadrados&nbsp;</strong>y un amplio stock de&nbsp;<strong>veh&iacute;culos para elegir</strong>.</p>\r\n<h3>Le queremos agradecer su tiempo en la visita a nuestra web y le invitamos a conocer nuestro Stock y nuestra pol&iacute;tica de empresa.</h3>\r\n<p style=\\\"font-size: 15px; line-height: 24px; font-family: Releway, sans-serif; font-weight: 400; text-decoration: none; color: #919293; text-align: justify;\\\">Nuestra especialidad, es la venta de veh&iacute;culos seminuevos que han sido seleccionados para usted, por cubrir unos requisitos indispensables de bajo kilometraje, antig&uuml;edad no superior a 40 meses y totalmente revisados y garantizados.</p>\r\n<h2><span style=\\\"color: #3366ff;\\\"><strong><a style=\\\"color: #3366ff;\\\" href=\\\"https://www.empiresystems.io\\\">empiresystems.io</a></strong><!-- Start container for logo --></span></h2>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<h2><span style=\\\"color: #3366ff;\\\"><a style=\\\"color: #3366ff;\\\" href=\\\"https://www.dilucars.com/\\\"><!-- End single column section --> <!-- Start image --> </a></span></h2>\r\n<h4><span style=\\\"color: #3366ff;\\\"><a style=\\\"color: #3366ff;\\\" href=\\\"https://www.dilucars.com/\\\"><!-- End image --> <!-- Start footer --></a></span></h4>\r\n<table style=\\\"text-align: center; vertical-align: top; width: 600px; max-width: 600px; background-color: #3f3f3f;\\\" width=\\\"600\\\" cellpadding=\\\"15px 30px\\\" align=\\\"center\\\">\r\n<tbody>\r\n<tr>\r\n<td style=\\\"width: 600px; vertical-align: top; padding: 15px 30px 15px 30px;\\\" width=\\\"600\\\">\r\n<h4><!-- Your inverted logo is here --></h4>\r\n<span style=\\\"color: #ffffff;\\\">infomx@empiresystems.io</span>\r\n<h4 style=\\\"font-size: 12px; line-height: 12px; font-family: \\\'Raleway\\\', Raleway, sans-serif; font-weight: normal; text-decoration: none; color: #000000;\\\">&nbsp;</h4>\r\n<h4 style=\\\"font-size: 11px; line-height: 20px; font-family: \\\'Helvetica\\\', Arial, sans-serif; font-weight: 400; text-decoration: none; color: #000000;\\\"><span style=\\\"color: #ffffff;\\\">No quieres recibir m&aacute;s correos electr&oacute;nicos?</span></h4>\r\n<h4 style=\\\"margin-bottom: 0; font-size: 17px; line-height: 24px; font-family: \\\'Releway\\\', Releway, sans-serif; font-weight: 400; text-decoration: none; color: #ffffff;\\\">&nbsp;</h4>\r\n<h4 style=\\\"font-size: 12px; line-height: 12px; font-family: \\\'Raleway\\\', Raleway, sans-serif; font-weight: normal; text-decoration: none; color: #000000;\\\">&nbsp;</h4>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n</div>',0,'null',1,'2025-04-27 21:51:08','promoción'),
(64,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Hola Federico, &iquest;necesitas de un servicio digital? Cada una de nuestras areas se encuentra formado por diversos expertos para m&aacute;ximizar y asegurar el &eacute;xito. Ayudamos a nuestros clientes a ser m&aacute;s competitivos mediante una dedicaci&oacute;n comprometida, innovadora y eficaz basada en la confianza.</p>\r\n<p>Puede consultar por nuestros servicios&nbsp;<a href=\\\"https://empiresystems.io/\\\">empiresystems.io</a></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<!-- Fallback force center content -->\r\n<div style=\\\"text-align: center;\\\">\r\n<table style=\\\"text-align: center; vertical-align: top; width: 592px; max-width: 600px; background-color: #3f3f3f;\\\" width=\\\"592\\\" cellpadding=\\\"0px\\\" align=\\\"center\\\">\r\n<tbody>\r\n<tr>\r\n<td style=\\\"width: 592px; vertical-align: top; padding: 0px;\\\"><!-- Your logo  is here --> <!--\r\n            <img style=\\\"width: 200px; max-width: 200px; height: 70px; max-height: 70px; text-align: center; color: #ffffff;\\\" alt=\\\"Logo\\\" src=\\\"https://64.media.tumblr.com/dfe839d12d891dc4b73f0f29da62fa49/tumblr_inline_sc3yl3BwJh1rfe0n6_500.jpg\\\" align=\\\"center\\\" width=\\\"600\\\" height=\\\"170\\\">\r\n            <!-- Your logo 2 is here --> <!--   <img style=\\\"width: 600px; max-width: 600px; height: 200px; max-height: 200px; text-align: center; color: #fcf6df;\\\" alt=\\\"Logo\\\" src=\\\"https://64.media.tumblr.com/77b0199f657ba1688b57394272b58e9b/tumblr_inline_sc42vq6ffd1rfe0n6_500.jpg\\\" align=\\\"center\\\" width=\\\"800\\\" height=\\\"300\\\">\r\n <!-- Your logo 3 is here --> <img style=\\\"max-width: 200px; max-height: 100px; text-align: center; color: #ffffff;\\\" src=\\\"image.php?id=ix7XQcvhzdaaoqIPXeSEtgIO7\\\" alt=\\\"Logo\\\" width=\\\"240\\\" height=\\\"49\\\" align=\\\"middle\\\" /></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<!-- End container for logo --> <!-- Hero image --> <br /><!-- Hero image --> <!-- Start single column section -->\r\n<table style=\\\"text-align: center; vertical-align: top; width: 600px; max-width: 600px; background-color: #ffffff;\\\" width=\\\"600\\\" align=\\\"center\\\">\r\n<tbody>\r\n<tr>\r\n<td style=\\\"width: 596px; vertical-align: top; padding: 30px 30px 40px 30px;\\\" width=\\\"596\\\">\r\n<div class=\\\"caja\\\">\r\n<p class=\\\"pretitulo wow fadeInUp\\\" data-wow-duration=\\\"1s\\\" data-wow-delay=\\\"0.3s\\\" data-wow-offset=\\\"100\\\">&iexcl;&iexcl;BIENVENIDO!!</p>\r\n</div>\r\n<div class=\\\"centrado centrado relative\\\">\r\n<div class=\\\"caja_h3 caja\\\">\r\n<h3 class=\\\"h3 wow fadeInUp\\\" data-wow-duration=\\\"1s\\\" data-wow-delay=\\\"0.6s\\\" data-wow-offset=\\\"100\\\">Tenemos el veh&iacute;culo que est&aacute; buscando</h3>\r\n</div>\r\n</div>\r\n<p><strong>Dilucars Autom&oacute;viles, S.L.</strong>&nbsp;empresa dedicada a la venta de&nbsp;<strong>veh&iacute;culos de ocasi&oacute;n</strong>, inicia su actividad el&nbsp;<strong>10 de diciembre de</strong>&nbsp;<strong>2007&nbsp;</strong>abriendo su primera exposici&oacute;n en una de las calles de mayor crecimiento y desarrollo econ&oacute;mico de la ciudad de Las Palmas de G.C en la&nbsp;<strong>Avda. Pintor Felo Monz&oacute;n,17 Portal 9 Bajo - 7 Palmas</strong>.</p>\r\n<p>Prueba de&nbsp;nuestra profesionalidad, seguridad en la compra a nuestros clientes y garant&iacute;a, nos llevan a seguir en el mercado a&ntilde;os m&aacute;s tarde. En febrero de&nbsp;<strong>2021 abrimos nuevas instalaciones</strong>&nbsp;tambi&eacute;n en Las Palmas de Gran Canaria en la&nbsp;<strong>C/ Arguineg&uuml;&iacute;n, 23 - Pol&iacute;gono Industrial Lomo Blanco - Las Torres (frente a la ITV)</strong>. Entre ambas exposiciones ofrecemos m&aacute;s de&nbsp;<strong>750 metros cuadrados&nbsp;</strong>y un amplio stock de&nbsp;<strong>veh&iacute;culos para elegir</strong>.</p>\r\n<h3>Le queremos agradecer su tiempo en la visita a nuestra web y le invitamos a conocer nuestro Stock y nuestra pol&iacute;tica de empresa.</h3>\r\n<p style=\\\"font-size: 15px; line-height: 24px; font-family: Releway, sans-serif; font-weight: 400; text-decoration: none; color: #919293; text-align: justify;\\\">Nuestra especialidad, es la venta de veh&iacute;culos seminuevos que han sido seleccionados para usted, por cubrir unos requisitos indispensables de bajo kilometraje, antig&uuml;edad no superior a 40 meses y totalmente revisados y garantizados.</p>\r\n<h2><span style=\\\"color: #3366ff;\\\"><strong><a style=\\\"color: #3366ff;\\\" href=\\\"https://www.empiresystems.io\\\">empiresystems.io</a></strong><!-- Start container for logo --></span></h2>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<h2><span style=\\\"color: #3366ff;\\\"><a style=\\\"color: #3366ff;\\\" href=\\\"https://www.dilucars.com/\\\"><!-- End single column section --> <!-- Start image --> </a></span></h2>\r\n<h4><span style=\\\"color: #3366ff;\\\"><a style=\\\"color: #3366ff;\\\" href=\\\"https://www.dilucars.com/\\\"><!-- End image --> <!-- Start footer --></a></span></h4>\r\n<table style=\\\"text-align: center; vertical-align: top; width: 600px; max-width: 600px; background-color: #3f3f3f;\\\" width=\\\"600\\\" cellpadding=\\\"15px 30px\\\" align=\\\"center\\\">\r\n<tbody>\r\n<tr>\r\n<td style=\\\"width: 600px; vertical-align: top; padding: 15px 30px 15px 30px;\\\" width=\\\"600\\\">\r\n<h4><!-- Your inverted logo is here --></h4>\r\n<span style=\\\"color: #ffffff;\\\">infomx@empiresystems.io</span>\r\n<h4 style=\\\"font-size: 12px; line-height: 12px; font-family: \\\'Raleway\\\', Raleway, sans-serif; font-weight: normal; text-decoration: none; color: #000000;\\\">&nbsp;</h4>\r\n<h4 style=\\\"font-size: 11px; line-height: 20px; font-family: \\\'Helvetica\\\', Arial, sans-serif; font-weight: 400; text-decoration: none; color: #000000;\\\"><span style=\\\"color: #ffffff;\\\">No quieres recibir m&aacute;s correos electr&oacute;nicos?</span></h4>\r\n<h4 style=\\\"margin-bottom: 0; font-size: 17px; line-height: 24px; font-family: \\\'Releway\\\', Releway, sans-serif; font-weight: 400; text-decoration: none; color: #ffffff;\\\">&nbsp;</h4>\r\n<h4 style=\\\"font-size: 12px; line-height: 12px; font-family: \\\'Raleway\\\', Raleway, sans-serif; font-weight: normal; text-decoration: none; color: #000000;\\\">&nbsp;</h4>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n</div>',0,'null',1,'2025-04-27 21:51:11','promoción'),
(65,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Feliz cumpleaños Federico Gundel, hoy 27/04/2025 tienes un código descuento x</p>',0,'null',1,'2025-04-27 21:55:45','Email de promoción'),
(66,'panelprincipal@platformkitdigital.com','yosoyrubens@gmail.com','<p>Feliz cumpleaños Rubén Gracida, hoy 27/04/2025 tienes un código descuento x</p>',0,'null',1,'2025-04-27 21:55:47','Email de promoción'),
(67,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola agustina gundel</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-04-27 22:13:59','Solicitud aceptada'),
(68,'panelprincipal@platformkitdigital.com','adrian@opa.agency',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=144&token=MTc0NTc5NjY3OE5HZXpPSktEbjJ4czM3OXU3dTJMOE5yNXJ0Wk5PeFhU\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-04-28 00:31:18','Se ha creado un fichaje a su nombre'),
(69,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com','<!DOCTYPE html>\n<html lang=\\\"es\\\">\n	<head>\n	<title>Solicitud de acceso - Plataforma [A&ntilde;adirNombre]</title>\n		<meta charset=\\\"UTF-8\\\">\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:300\\\" rel=\\\"stylesheet\\\" />\n		<link href=\\\"https://fonts.googleapis.com/css?family=Ubuntu:400,500&display=swap\\\" rel=\\\"stylesheet\\\" />\n        <meta name=\\\"viewport\\\" content=\\\"user-scalable=no, width=device-width, initial-scale=1\\\">\n	</head>\n	<body style=\\\"margin:0px;padding:0px;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n		<div style=\\\"max-width:700px;margin: auto;height:auto;overflow:hidden;\\\">\n			<div style=\\\"width:100%;height:120px;overflow:hidden;\\\">\n				<img src=\\\"https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\" style=\\\"width:100%;\\\">\n			</div>\n			<div style=\\\"width:auto;padding:0px 25px;\\\">\n				\n				<h1 style=\\\"color:#4d4d4d;font-size:18pt;font-family:\\\'Ubuntu\\\', sans-serif;font-weight:400;\\\">Hola Agustina Cuarterola</h1>\n				<div style=\\\"width:100%;height:auto;font-weight:300;font-size:14pt;color:#4d4d4d;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n\n\n					<p>Su solicitud ha sido aceptada por parte del departamento de [A&ntilde;adirNombre]</p>\n	\n				</div>\n				\n			</div>\n		\n			<div style=\\\"max-width:100%;margin:auto;color:#abadae;font-size:11pt;font-family:\\\'Ubuntu\\\', sans-serif;\\\">\n				<p align=\\\"justify\\\">&lt;p&gt;Este mensaje es solamente para la persona a la que va dirigido. Puede contener informaci&amp;oacute;n confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisi&amp;oacute;n mala o err&amp;oacute;nea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje as&amp;iacute; como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opini&amp;oacute;n expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente esta autorizado para establecer que dichas opiniones provienen de [A&amp;ntilde;adirNombre]. N&amp;oacute;tese que el correo electr&amp;oacute;nico v&amp;iacute;a Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepci&amp;oacute;n de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilizaci&amp;oacute;n del correo electr&amp;oacute;nico v&amp;iacute;a Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.&lt;/p&gt;</p>\n				\n			</div>\n		</div>\n	</body>\n</html>',0,'null',1,'2025-05-01 02:06:18','Solicitud aceptada'),
(70,'panelprincipal@platformkitdigital.com','fede.gundel@gmail.com','<p>Muy buenas, Tras lo hablado le enviamos la <strong>factura</strong>, Cualquier tipo de duda o comentario por favor h&aacute;ganoslo saber, Un saludo.</p>',0,'',1,'2025-05-04 16:38:15','Factura - Importante'),
(71,'panelprincipal@platformkitdigital.com','gundelagustina@gmail.com',' <html>\n\n                                <head>\n\n                                    <style>\n\n                                        .button {\n\n                                        background-color: #0cca8e;\n\n                                border-color: #0cca8e;\n\n                                        display: inline-block;\n\n                                font-weight: 400;\n\n                                text-align: center;\n\n                                white-space: nowrap;\n\n                                vertical-align: middle;\n\n                                user-select: none;\n\n                                border: 1px solid rgba(0, 0, 0, 0);\n\n                                padding: .56rem 1.375rem;\n\n                                font-size: 1rem;\n\n                                line-height: 1;\n\n                                border-radius: .1875rem;\n\n                                transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\n\n                                outline: 0;\n\n                                outline-offset: 0;\n\n                                color: #fff!important;\n\n                            }\n\n                            .button:hover {\n\n                                color: #fff;\n\n                                background-color: #0aa675;\n\n                                border-color: #099a6c;\n\n                                text-decoration: none;\n\n                            }\n\n                                        .email-container {\n\n                                            font-family: Arial, sans-serif;\n\n                                            line-height: 1.5;\n\n                                            margin: 20px;\n\n                                                max-width: 370px;\n\n                                                margin: 0 auto;\n\n                                                text-align:center;\n\n                                        }\n\n                                        .email-title {\n\n                                            color: #333;\n\n                                            font-size: 20px;\n\n                                            font-weight: bold;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-text {\n\n                                            color: #555;\n\n                                            font-size: 16px;\n\n                                            width: 100%;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                        .email-b{\n\n                                        width: 100%;\n\n                                        }\n\n                                        .email-image {\n\n                                            width: 100%;\n\n                                            max-width: 300px;\n\n                                            height: auto;\n\n                                            display: block;\n\n                                            margin: 0 auto;\n\n                                            margin-bottom:.5rem;\n\n                                        }\n\n                                    </style>\n\n                                </head>\n\n                                <body>\n\n                                    <div class=\\\'email-container\\\'>\n\n                                    \n\n                                        <img src=\\\'https://centro.factuley.com/image.php?id=CeD4ahiDU2QgDyWgNWYeh69k2\\\' alt=\\\'Imagen de fichaje\\\' class=\\\'email-image\\\' />\n\n                            <div class=\\\'email-title\\\'>\n\n                                            Se ha creado un fichaje a su nombre\n\n                                        </div>\n\n                                    \n\n                                        <div class=\\\'email-text\\\'>\n\n                                            ¿Desea aceptar el fichaje? <br>\n\n                                            Haga clic en el siguiente botón para confirmar su aceptación:\n\n                                        </div>\n\n                            <div class=\\\'email-b\\\'>\n\n                                        <a href=\\\'https://centro.factuley.com/aceptar_fichaje?id=148&token=MTc0NjcwMzYyOEdVelJoYUpLVTdSZjJjc09qbzlZYUxVRGNXSU40S0Vs\\\' class=\\\'button\\\'>Aceptar Fichaje</a> \n\n                                        </div>\n\n                                    </div>\n\n                                </body>\n\n                                </html>\n\n                            ',0,'null',1,'2025-05-08 12:27:08','Se ha creado un fichaje a su nombre');

--
-- Table structure for table `marcas`
--

CREATE TABLE `marcas` (
  `id_marca` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_marca`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `marcas`
--


--
-- Table structure for table `materiales`
--

CREATE TABLE `materiales` (
  `material_id` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `cantidad` int(11) NOT NULL,
  `id_estado` int(11) NOT NULL,
  `id_ubicacion` int(11) NOT NULL,
  PRIMARY KEY (`material_id`),
  KEY `FK_estado_id` (`id_estado`),
  KEY `FK_ubicacion_id` (`id_ubicacion`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `materiales`
--

INSERT INTO `materiales` VALUES
(2,'Cajas',234,2,1),
(3,'ROLLOS PAPEL ',500,1,1),
(4,'Papel',300,1,2);

--
-- Table structure for table `medidas`
--

CREATE TABLE `medidas` (
  `id_medida` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_medida`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `medidas`
--

INSERT INTO `medidas` VALUES
(1,'dfgh');

--
-- Table structure for table `message`
--

CREATE TABLE `message` (
  `message_id` int(11) NOT NULL AUTO_INCREMENT,
  `message_user` int(11) NOT NULL,
  `message_ticket_id` int(11) NOT NULL,
  `message_date` int(11) NOT NULL,
  `message_text` varchar(5000) NOT NULL,
  PRIMARY KEY (`message_id`),
  KEY `fk_logins_users_idx` (`message_user`),
  KEY `fk_message_tikets1_idx` (`message_ticket_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `message`
--


--
-- Table structure for table `metodos_pago`
--

CREATE TABLE `metodos_pago` (
  `id_metodo` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_metodo`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `metodos_pago`
--

INSERT INTO `metodos_pago` VALUES
(1,'Efectivo'),
(2,'Transferencia bancaria ');

--
-- Table structure for table `modelos`
--

CREATE TABLE `modelos` (
  `id_modelo` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id_modelo`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `modelos`
--

INSERT INTO `modelos` VALUES
(3,'qwe');

--
-- Table structure for table `navegadores`
--

CREATE TABLE `navegadores` (
  `id_navegador` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_navegador`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `navegadores`
--


--
-- Table structure for table `nivel_estudios`
--

CREATE TABLE `nivel_estudios` (
  `id_nivel_estudios` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_nivel_estudios`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `nivel_estudios`
--


--
-- Table structure for table `notas`
--

CREATE TABLE `notas` (
  `id_nota` int(11) NOT NULL AUTO_INCREMENT,
  `cuerpo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_cliente` int(11) NOT NULL,
  `fecha` datetime NOT NULL,
  PRIMARY KEY (`id_nota`),
  KEY `FK_client_id` (`id_cliente`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `notas`
--

INSERT INTO `notas` VALUES
(1,'Cliente ideal',1,'2024-09-04 15:46:00'),
(2,'Cliente contento',2,'2024-09-10 12:27:12'),
(3,'Cliente problematico',2,'2024-09-23 11:56:31'),
(4,'Clienta me llamo a las 7:00 am',3,'2024-10-08 15:21:40'),
(5,'cLIENTE CONTENTO',4,'2024-10-14 16:43:16'),
(6,'Cliente simpatico',10,'2025-01-09 12:39:21'),
(7,'cl4l',1,'2025-01-17 18:31:56');

--
-- Table structure for table `obras`
--

CREATE TABLE `obras` (
  `id_obra` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_obra`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `obras`
--


--
-- Table structure for table `observaciones`
--

CREATE TABLE `observaciones` (
  `id_observacion` int(11) NOT NULL AUTO_INCREMENT,
  `observacion` varchar(2255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_pedido` int(11) NOT NULL,
  PRIMARY KEY (`id_observacion`),
  KEY `id_pedido` (`id_pedido`),
  CONSTRAINT `observaciones_ibfk_1` FOREIGN KEY (`id_pedido`) REFERENCES `pedidos` (`id_pedido`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `observaciones`
--


--
-- Table structure for table `otras_carpetas`
--

CREATE TABLE `otras_carpetas` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `otras_carpetas`
--


--
-- Table structure for table `pago`
--

CREATE TABLE `pago` (
  `id_pago` int(11) NOT NULL AUTO_INCREMENT,
  `importe` decimal(7,2) NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_miembro` int(11) DEFAULT NULL,
  `fecha` date NOT NULL,
  `pagos` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `importe_restante` decimal(7,2) NOT NULL,
  `horas_extra` int(11) DEFAULT NULL,
  `precio_horas_extra` decimal(7,2) DEFAULT NULL,
  `id_proveedor` int(11) DEFAULT NULL,
  `numero_factura` int(11) DEFAULT NULL,
  `fecha_vencimiento` datetime DEFAULT NULL,
  PRIMARY KEY (`id_pago`),
  KEY `id_miembro` (`id_miembro`),
  KEY `id_proveedor` (`id_proveedor`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pago`
--


--
-- Table structure for table `pago_empleado`
--

CREATE TABLE `pago_empleado` (
  `id_pago_empleado` int(11) NOT NULL AUTO_INCREMENT,
  `importe` decimal(7,2) DEFAULT NULL,
  `id_metodo` int(11) DEFAULT NULL,
  `id_banco` int(11) DEFAULT NULL,
  `fecha` datetime DEFAULT NULL,
  `id_factura_empleado` int(11) NOT NULL,
  PRIMARY KEY (`id_pago_empleado`),
  KEY `id_metodo` (`id_metodo`),
  KEY `id_banco` (`id_banco`),
  KEY `id_factura_empleado` (`id_factura_empleado`),
  CONSTRAINT `pago_empleado_ibfk_1` FOREIGN KEY (`id_banco`) REFERENCES `bancos` (`id_banco`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pago_empleado_ibfk_2` FOREIGN KEY (`id_metodo`) REFERENCES `metodos_pago` (`id_metodo`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pago_empleado_ibfk_3` FOREIGN KEY (`id_factura_empleado`) REFERENCES `factura_empleado` (`id_factura_empleado`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `pago_empleado`
--


--
-- Table structure for table `pago_factura`
--

CREATE TABLE `pago_factura` (
  `id_pago_factura` int(11) NOT NULL AUTO_INCREMENT,
  `importe` decimal(9,2) NOT NULL,
  `id_metodo` int(11) DEFAULT NULL,
  `id_banco` int(11) DEFAULT NULL,
  `fecha` date NOT NULL,
  `id_factura_manual` int(11) NOT NULL,
  PRIMARY KEY (`id_pago_factura`),
  KEY `id_metodo` (`id_metodo`),
  KEY `id_banco` (`id_banco`),
  KEY `id_factura_manual` (`id_factura_manual`),
  CONSTRAINT `pago_factura_ibfk_1` FOREIGN KEY (`id_banco`) REFERENCES `bancos` (`id_banco`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pago_factura_ibfk_2` FOREIGN KEY (`id_metodo`) REFERENCES `metodos_pago` (`id_metodo`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pago_factura_ibfk_3` FOREIGN KEY (`id_factura_manual`) REFERENCES `factura_manual` (`id_factura_manual`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `pago_factura`
--


--
-- Table structure for table `pago_proveedor`
--

CREATE TABLE `pago_proveedor` (
  `id_pago_proveedor` int(11) NOT NULL AUTO_INCREMENT,
  `importe` decimal(9,2) NOT NULL,
  `id_metodo` int(11) DEFAULT NULL,
  `id_banco` int(11) DEFAULT NULL,
  `fecha` datetime NOT NULL,
  `id_factura_proveedor` int(11) NOT NULL,
  PRIMARY KEY (`id_pago_proveedor`),
  KEY `id_metodo` (`id_metodo`),
  KEY `id_banco` (`id_banco`),
  KEY `id_factura_proveedor` (`id_factura_proveedor`),
  CONSTRAINT `pago_proveedor_ibfk_1` FOREIGN KEY (`id_banco`) REFERENCES `bancos` (`id_banco`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pago_proveedor_ibfk_2` FOREIGN KEY (`id_metodo`) REFERENCES `metodos_pago` (`id_metodo`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pago_proveedor_ibfk_3` FOREIGN KEY (`id_factura_proveedor`) REFERENCES `factura_proveedor` (`id_factura_proveedor`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `pago_proveedor`
--

INSERT INTO `pago_proveedor` VALUES
(1,20.00,NULL,4,'2024-11-04 13:37:50',4),
(2,780.00,1,NULL,'2024-11-04 13:38:00',4),
(3,1400.00,1,4,'2024-11-14 12:34:00',5);

--
-- Table structure for table `pedidos`
--

CREATE TABLE `pedidos` (
  `id_pedido` int(11) NOT NULL AUTO_INCREMENT,
  `numero` varchar(255) DEFAULT NULL,
  `nombre` varchar(255) DEFAULT NULL,
  `domicilio` varchar(255) DEFAULT NULL,
  `dni` varchar(255) DEFAULT NULL,
  `telefono` varchar(255) DEFAULT NULL,
  `palets` varchar(255) DEFAULT NULL,
  `bultos` varchar(255) DEFAULT NULL,
  `tipo_entrega` varchar(255) DEFAULT NULL,
  `estado` varchar(255) DEFAULT '',
  `geolocalizacion` varchar(255) DEFAULT NULL,
  `id_transportista` int(11) DEFAULT NULL,
  `fecha_creacion` datetime DEFAULT current_timestamp(),
  `fecha_entrega` date DEFAULT NULL,
  `id_firma` int(11) DEFAULT NULL,
  `id_almacen` int(11) DEFAULT NULL,
  `id_balda` int(11) DEFAULT NULL,
  `id_columna` int(11) DEFAULT NULL,
  `fecha_almacen` date DEFAULT NULL,
  PRIMARY KEY (`id_pedido`),
  KEY `pedidos_transportistas_id` (`id_transportista`),
  KEY `id_firma` (`id_firma`),
  KEY `id_almacen` (`id_almacen`),
  KEY `id_balda` (`id_balda`),
  KEY `id_columna` (`id_columna`),
  CONSTRAINT `pedidos_ibfk_1` FOREIGN KEY (`id_transportista`) REFERENCES `transportistas` (`id_transportista`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pedidos_ibfk_2` FOREIGN KEY (`id_firma`) REFERENCES `firmas` (`id_firma`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pedidos_ibfk_3` FOREIGN KEY (`id_almacen`) REFERENCES `almacenes` (`id_almacen`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pedidos_ibfk_4` FOREIGN KEY (`id_balda`) REFERENCES `baldas` (`id_balda`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `pedidos_ibfk_5` FOREIGN KEY (`id_columna`) REFERENCES `columnas` (`id_columna`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `pedidos`
--

INSERT INTO `pedidos` VALUES
(1,'234234','341234','123412','12341234',NULL,'0','012341234','Directa','Entregado',NULL,NULL,'2024-09-25 17:20:15',NULL,NULL,NULL,NULL,NULL,NULL),
(2,'1','Nuevo',NULL,NULL,NULL,'0','0','Directa','Entregado',NULL,NULL,'2025-05-01 09:27:20',NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `pedidos_observaciones`
--

CREATE TABLE `pedidos_observaciones` (
  `id_pedido` int(11) NOT NULL,
  `observacion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  KEY `pedidos_observaciones_id` (`id_pedido`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `pedidos_observaciones`
--


--
-- Table structure for table `pedidos_transportistas`
--

CREATE TABLE `pedidos_transportistas` (
  `id_transportista` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) NOT NULL,
  `domicilio` varchar(255) NOT NULL,
  `dni` varchar(255) NOT NULL,
  `telefono` varchar(255) NOT NULL,
  PRIMARY KEY (`id_transportista`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

--
-- Dumping data for table `pedidos_transportistas`
--


--
-- Table structure for table `periodo_vacaciones`
--

CREATE TABLE `periodo_vacaciones` (
  `id_periodo_vacaciones` int(11) NOT NULL AUTO_INCREMENT,
  `salida_periodo_1` date DEFAULT NULL,
  `incorporacion_periodo_1` date DEFAULT NULL,
  `salida_periodo_2` date DEFAULT NULL,
  `incorporacion_periodo_2` date DEFAULT NULL,
  `salida_periodo_3` date DEFAULT NULL,
  `incorporacion_periodo_3` date DEFAULT NULL,
  `id_empleado` int(11) NOT NULL,
  `observaciones` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `data` text DEFAULT NULL,
  PRIMARY KEY (`id_periodo_vacaciones`),
  KEY `id_empleado` (`id_empleado`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `periodo_vacaciones`
--

INSERT INTO `periodo_vacaciones` VALUES
(16,NULL,NULL,NULL,NULL,NULL,NULL,6,'turbodat','[{\\\"salida\\\":\\\"2025-02-05\\\",\\\"incorporacion\\\":\\\"2025-02-07\\\",\\\"dias\\\":2},{\\\"salida\\\":\\\"2025-02-10\\\",\\\"incorporacion\\\":\\\"2025-02-16\\\",\\\"dias\\\":6},{\\\"salida\\\":\\\"2025-02-27\\\",\\\"incorporacion\\\":\\\"2025-03-02\\\",\\\"dias\\\":3}]'),
(18,NULL,NULL,NULL,NULL,NULL,NULL,7,'','[{\\\"salida\\\":\\\"2025-02-05\\\",\\\"incorporacion\\\":\\\"2025-02-27\\\",\\\"dias\\\":22}]'),
(19,NULL,NULL,NULL,NULL,NULL,NULL,7,'ewqeqwe','[{\\\"salida\\\":\\\"2025-02-10\\\",\\\"incorporacion\\\":\\\"2025-02-17\\\",\\\"dias\\\":7}]'),
(20,NULL,NULL,NULL,NULL,NULL,NULL,10,'Okey','[{\\\"salida\\\":\\\"2025-04-10\\\",\\\"incorporacion\\\":\\\"2025-04-11\\\",\\\"dias\\\":1},{\\\"salida\\\":\\\"2025-04-17\\\",\\\"incorporacion\\\":\\\"2025-04-26\\\",\\\"dias\\\":9}]');

--
-- Table structure for table `personalizacion`
--

CREATE TABLE `personalizacion` (
  `url_logo_portada` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_imagen_portada` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_facebook` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_linkedin` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_twitter` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_youtube` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_personalizacion` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id_personalizacion`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `personalizacion`
--


--
-- Table structure for table `planes`
--

CREATE TABLE `planes` (
  `id_plan` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_sector` int(11) DEFAULT NULL,
  `importe` decimal(9,2) NOT NULL,
  `fecha` date NOT NULL,
  PRIMARY KEY (`id_plan`),
  KEY `id_sector` (`id_sector`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `planes`
--


--
-- Table structure for table `poblaciones`
--

CREATE TABLE `poblaciones` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `poblaciones`
--

INSERT INTO `poblaciones` VALUES
(1,'Olavarria'),
(6,'Las Palmas'),
(7,'Olavarría'),
(8,'Las palmas'),
(9,'Barcelona'),
(10,'Olavarria');

--
-- Table structure for table `presupuesto_programado`
--

CREATE TABLE `presupuesto_programado` (
  `id_presupuesto_programado` int(11) NOT NULL AUTO_INCREMENT,
  `fecha_envio` datetime NOT NULL,
  `id_presupuesto` int(11) NOT NULL,
  `estado` varchar(255) NOT NULL DEFAULT 'No enviado',
  PRIMARY KEY (`id_presupuesto_programado`),
  KEY `id_presupuesto` (`id_presupuesto`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `presupuesto_programado`
--


--
-- Table structure for table `presupuestos`
--

CREATE TABLE `presupuestos` (
  `id_presupuesto` int(11) NOT NULL AUTO_INCREMENT,
  `titulo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_cliente` int(11) NOT NULL,
  `fecha` datetime NOT NULL,
  `numero` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `condiciones` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `tipo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `detallado` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `importe` decimal(9,2) NOT NULL,
  `id_fase` int(11) DEFAULT NULL,
  `id_sector` int(11) DEFAULT NULL,
  `id_obra` int(11) DEFAULT NULL,
  `cif` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `domicilio` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cp` int(11) DEFAULT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `id_usuario` int(11) NOT NULL,
  `importe_final` decimal(9,2) NOT NULL,
  `irpf` decimal(7,2) DEFAULT NULL,
  `nota_interna` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `nota_externa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `imagen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `programado` date DEFAULT NULL,
  `lugar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `fechas` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `impuesto` decimal(7,2) DEFAULT NULL,
  PRIMARY KEY (`id_presupuesto`),
  KEY `FK_client_id` (`id_cliente`),
  KEY `FK_fase_id` (`id_fase`),
  KEY `FK_sector_id` (`id_sector`),
  KEY `FK_obra_id` (`id_obra`),
  KEY `FK_user_id` (`id_usuario`),
  CONSTRAINT `presupuestos_ibfk_1` FOREIGN KEY (`id_cliente`) REFERENCES `clientes` (`client_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `presupuestos_ibfk_2` FOREIGN KEY (`id_usuario`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `presupuestos_ibfk_3` FOREIGN KEY (`id_fase`) REFERENCES `fases` (`id_fase`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `presupuestos_ibfk_4` FOREIGN KEY (`id_obra`) REFERENCES `obras` (`id_obra`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `presupuestos_ibfk_5` FOREIGN KEY (`id_sector`) REFERENCES `sectores` (`id_sector`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `presupuestos`
--


--
-- Table structure for table `producto`
--

CREATE TABLE `producto` (
  `id_producto` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `precio` decimal(10,2) NOT NULL,
  `id_subcategoria` int(11) DEFAULT NULL,
  `descripcion` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `numero` int(11) NOT NULL,
  PRIMARY KEY (`id_producto`),
  UNIQUE KEY `numero` (`numero`),
  KEY `id_subcategoria` (`id_subcategoria`),
  CONSTRAINT `producto_ibfk_1` FOREIGN KEY (`id_subcategoria`) REFERENCES `subcategorias` (`id_subcategoria`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `producto`
--

INSERT INTO `producto` VALUES
(17,'Nuevo 1',32.00,NULL,'2222',1),
(18,'Nuevo 2',3.00,NULL,'11111',23);
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER before_insert_producto
BEFORE INSERT ON producto
FOR EACH ROW
BEGIN
    IF NEW.numero IS NULL OR NEW.numero = '' THEN
        SET NEW.numero = (
            SELECT IFNULL(MAX(CAST(numero AS UNSIGNED)), 0) + 1 FROM producto
        );
    END IF;
END */;;
DELIMITER ;

--
-- Table structure for table `proveedores`
--

CREATE TABLE `proveedores` (
  `id_proveedor` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `cif` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cp` int(11) DEFAULT NULL,
  `direccion` int(11) DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `telefono` int(11) DEFAULT NULL,
  `tipo` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id_proveedor`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `proveedores`
--

INSERT INTO `proveedores` VALUES
(1,'Quesos las palmas','iiii',0,0,'yosoyrubens@gmail.com',661033031,NULL);

--
-- Table structure for table `proyecto_empleado`
--

CREATE TABLE `proyecto_empleado` (
  `id_proyecto_empleado` int(11) NOT NULL AUTO_INCREMENT,
  `id_empleado` int(11) DEFAULT NULL,
  `id_proyecto` int(11) DEFAULT NULL,
  `fecha_i` datetime NOT NULL,
  `fecha_f` datetime NOT NULL,
  `id_grupo2` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_proyecto_empleado`),
  KEY `id_empleado` (`id_empleado`),
  KEY `id_proyecto` (`id_proyecto`),
  KEY `id_grupo2` (`id_grupo2`),
  CONSTRAINT `proyecto_empleado_ibfk_1` FOREIGN KEY (`id_empleado`) REFERENCES `empleados` (`id_empleado`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `proyecto_empleado_ibfk_2` FOREIGN KEY (`id_grupo2`) REFERENCES `grupos2` (`id_grupo2`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `proyecto_empleado_ibfk_3` FOREIGN KEY (`id_proyecto`) REFERENCES `proyectos` (`id_proyecto`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `proyecto_empleado`
--

INSERT INTO `proyecto_empleado` VALUES
(6,1,1,'2024-09-02 02:00:00','2024-09-02 06:00:00',NULL),
(11,1,3,'2024-11-12 06:00:00','2024-11-12 18:00:00',NULL),
(12,1,4,'2025-01-14 06:00:00','2025-01-14 18:00:00',NULL),
(13,5,4,'2025-01-28 06:00:00','2025-01-28 18:00:00',NULL),
(14,3,4,'2025-01-28 12:00:00','2025-01-29 00:00:00',NULL),
(15,3,4,'2025-01-28 06:00:00','2025-01-28 18:00:00',NULL),
(16,6,5,'2025-02-04 06:00:00','2025-02-04 18:00:00',NULL),
(17,5,5,'2025-02-04 06:00:00','2025-02-04 18:00:00',NULL),
(18,3,5,'2025-02-04 06:00:00','2025-02-04 18:00:00',NULL);

--
-- Table structure for table `proyecto_trabajador`
--

CREATE TABLE `proyecto_trabajador` (
  `id_proyecto_trabajador` int(11) NOT NULL AUTO_INCREMENT,
  `id_trabajador` int(11) NOT NULL,
  `id_proyecto` int(11) DEFAULT NULL,
  `fecha_i` datetime NOT NULL,
  `fecha_f` datetime NOT NULL,
  PRIMARY KEY (`id_proyecto_trabajador`),
  KEY `FK_t_id` (`id_trabajador`),
  KEY `FK_p_id` (`id_proyecto`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `proyecto_trabajador`
--


--
-- Table structure for table `proyectos`
--

CREATE TABLE `proyectos` (
  `id_proyecto` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `color` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `gastos_adicionales` decimal(10,2) DEFAULT NULL,
  `observaciones` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id_proyecto`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `proyectos`
--

INSERT INTO `proyectos` VALUES
(1,'Proyecto de prueba','#d81089',10.00,'Es un proyecto de prueba'),
(3,'TENERIFE SUR ','#b77afa',400.00,'DESDE EL DIA 9 DE NOVIEMBRE AL 28 DE NOVIEMBRE ESTARÁN LOS MATERIALES EN ESTA UBICACIÓN: \n'),
(4,'Hospital negrin','#db1988',100.00,'Hospital negrin GC'),
(5,'Boda Marbella 1','#16e525',0.00,'Boda');

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id_rol` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `links` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_rol`)
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` VALUES
(23,'Administrador','[\"calculonomina\",\"historialnominas\",\"empleadosnomina\",\"contratos\",\"inicio\",\"apartados\",\"condiciones\",\"crearpresupuesto\",\"historialpresupuestos\",\"presupuestosprogramados\",\"crearfacturamanual\",\"historialfacturasmanuales\",\"historialfacturasrectificadas\",\"bancos\",\"copias_seguridad\",\"facturasprogramadas\",\"cobrospendientes\",\"clientestotales\",\"potencialcliente\",\"emailmarketing\",\"vehiculos\",\"financiacion\",\"historialventas\",\"itv\",\"historialenviositv\",\"alumnos\",\"alumnospotenciales\",\"planes\",\"cursos\",\"docentes\",\"equipo\",\"fichajes\",\"fichaje\",\"alerta\",\"controldevacaciones\",\"ventasmanuales\",\"agregarproductosyservicios\",\"calendariocitas\",\"historialcompras\",\"ofertacumpleanos\",\"enviomasivo\",\"subirrecursos\",\"marketing\",\"crearcarpeta\",\"finanzas\",\"legal\",\"presupuestos_c\",\"otrosrecursos\",\"proveedores\",\"pagoaproveedores\",\"inventario\",\"controldesueldos\",\"empleados\",\"controldepersonal\",\"backups\",\"historialactividades\",\"miembros_eventos\",\"historialeventos\",\"historialeventosprueba\",\"historialeventosusuario\",\"miembros\",\"logistica_crear_pedido\",\"logistica_estadisticas\",\"logistica_en_ruta\",\"logistica_pedidos_pendientes\",\"logistica_pedidos_entregados\",\"logistica_no_entregado\",\"logistica_historial\",\"logistica_observaciones_carga\",\"logistica_transportistas\",\"logistica_scanner\",\"misformularios\",\"crearformulario\",\"sistemaarchivos\",\"condiciones\",\"crearalbaran\",\"historialalbaranes\",\"crearfacturamanualalbaranes\"]'),
(40,'Admin1','[\"inicio\",\"clientestotales\",\"potencialcliente\",\"emailmarketing\"]'),
(43,'FEBRERO','[\"miembros\",\"crearpresupuesto\",\"historialpresupuestos\",\"crearfacturamanual\",\"historialfacturasmanuales\",\"facturasprogramadas\"]'),
(46,'Nuevo','[\"inicio\",\"financiacion\",\"historialventas\",\"alumnospotenciales\",\"cursos\"]'),
(47,'Unico','[\"apartados\",\"miembros\"]'),
(48,'Trabajador','[\"fichaje\"]'),
(51,'De prueba','[\"apartados\",\"miembros\"]'),
(52,'Contratos','[\"inicio\",\"contratos\"]'),
(53,'Trabajadores','[\"fichaje\",\"miembros\"]');

--
-- Table structure for table `sector_cnae`
--

CREATE TABLE `sector_cnae` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sector_id` int(11) DEFAULT NULL,
  `cnae_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_sector_cnae` (`sector_id`,`cnae_id`),
  KEY `cnae_id` (`cnae_id`),
  CONSTRAINT `sector_cnae_ibfk_1` FOREIGN KEY (`sector_id`) REFERENCES `sectors` (`id`),
  CONSTRAINT `sector_cnae_ibfk_2` FOREIGN KEY (`cnae_id`) REFERENCES `cnae` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `sector_cnae`
--


--
-- Table structure for table `sectores`
--

CREATE TABLE `sectores` (
  `id_sector` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_cliente` int(11) NOT NULL,
  PRIMARY KEY (`id_sector`),
  KEY `FK_sector_client_id` (`id_cliente`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sectores`
--

INSERT INTO `sectores` VALUES
(1,'1',0),
(2,'Autónomo',0),
(3,'dfdf',0);

--
-- Table structure for table `sectors`
--

CREATE TABLE `sectors` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sector_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `sectors`
--


--
-- Table structure for table `servicio`
--

CREATE TABLE `servicio` (
  `id_servicio` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `descripcion` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `precio` decimal(7,2) NOT NULL,
  `id_subcategoria` int(11) DEFAULT NULL,
  `numero` int(11) NOT NULL,
  PRIMARY KEY (`id_servicio`),
  UNIQUE KEY `numero` (`numero`),
  KEY `id_subcategoria` (`id_subcategoria`),
  CONSTRAINT `servicio_ibfk_1` FOREIGN KEY (`id_subcategoria`) REFERENCES `subcategorias` (`id_subcategoria`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `servicio`
--

INSERT INTO `servicio` VALUES
(11,'Mantenimiento','2222',32.00,NULL,3),
(12,'Reparación','11111',3.00,NULL,4),
(13,'Nuevo 3','2222',32.00,NULL,5),
(14,'nuevo 4','11111',3.00,NULL,6);
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER before_insert_servicio
BEFORE INSERT ON servicio
FOR EACH ROW
BEGIN
    IF NEW.numero IS NULL OR NEW.numero = '' THEN
        SET NEW.numero = (
            SELECT IFNULL(MAX(CAST(numero AS UNSIGNED)), 0) + 1 FROM servicio
        );
    END IF;
END */;;
DELIMITER ;

--
-- Table structure for table `servicio_calendario`
--

CREATE TABLE `servicio_calendario` (
  `id_servicio_calendario` int(11) NOT NULL AUTO_INCREMENT,
  `id_servicio` int(11) NOT NULL,
  `color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_servicio_calendario`),
  KEY `id_servicio` (`id_servicio`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `servicio_calendario`
--


--
-- Table structure for table `servicio_trabajador`
--

CREATE TABLE `servicio_trabajador` (
  `id_servicio_trabajador` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) DEFAULT NULL,
  `id_servicio_calendario` int(11) DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `fecha_i` datetime NOT NULL,
  `fecha_f` datetime NOT NULL,
  PRIMARY KEY (`id_servicio_trabajador`),
  KEY `client_id` (`client_id`),
  KEY `id_servicio_calendario` (`id_servicio_calendario`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `servicio_trabajador`
--


--
-- Table structure for table `slider`
--

CREATE TABLE `slider` (
  `slider_id` int(11) NOT NULL AUTO_INCREMENT,
  `slider_title` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `slider_subtitle` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `slider_url` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `slider_btn` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `slider_image` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `slider_data` int(11) NOT NULL,
  PRIMARY KEY (`slider_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `slider`
--


--
-- Table structure for table `sms`
--

CREATE TABLE `sms` (
  `id_sms` int(11) NOT NULL AUTO_INCREMENT,
  `fecha_envio` datetime DEFAULT NULL,
  `client_id` int(11) NOT NULL,
  `estado` varchar(255) NOT NULL DEFAULT '',
  `cuerpo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `fecha_programado` datetime DEFAULT NULL,
  `tipo` varchar(255) NOT NULL DEFAULT 'sms',
  PRIMARY KEY (`id_sms`),
  KEY `vwer` (`client_id`),
  CONSTRAINT `sms_ibfk_1` FOREIGN KEY (`client_id`) REFERENCES `clientes` (`client_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sms`
--

INSERT INTO `sms` VALUES
(8,'2025-05-01 19:48:05',37,'Enviado','Hola %nombreyapellido%','2025-05-01 18:48:00','sms');

--
-- Table structure for table `subcategorias`
--

CREATE TABLE `subcategorias` (
  `id_subcategoria` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_subcategoria`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `subcategorias`
--

INSERT INTO `subcategorias` VALUES
(1,'Test'),
(2,'Test'),
(3,'Test');

--
-- Table structure for table `subfamilias`
--

CREATE TABLE `subfamilias` (
  `id_subfamilia` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `id_familia` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_subfamilia`),
  KEY `id_familia` (`id_familia`),
  CONSTRAINT `subfamilias_ibfk_1` FOREIGN KEY (`id_familia`) REFERENCES `familias` (`id_familia`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `subfamilias`
--


--
-- Table structure for table `subvenciones`
--

CREATE TABLE `subvenciones` (
  `id_subvencion` int(11) NOT NULL AUTO_INCREMENT,
  `titulo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `estado` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_generico` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `email_marketing` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `url_autonomo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `url_sociedad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `descripcion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `fecha` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id_subvencion`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `subvenciones`
--


--
-- Table structure for table `tag`
--

CREATE TABLE `tag` (
  `id_tag` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_tag`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tag`
--

INSERT INTO `tag` VALUES
(1,'gf');

--
-- Table structure for table `tag_cliente`
--

CREATE TABLE `tag_cliente` (
  `id_tag` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `id_tag_cliente` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id_tag_cliente`),
  KEY `id_tag` (`id_tag`),
  KEY `client_id` (`client_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tag_cliente`
--


--
-- Table structure for table `tickets`
--

CREATE TABLE `tickets` (
  `ticket_id` int(11) NOT NULL AUTO_INCREMENT,
  `ticket_user` int(11) NOT NULL,
  `ticket_assistant` int(11) DEFAULT NULL,
  `ticket_title` tinytext NOT NULL,
  `ticket_status` tinytext NOT NULL,
  `ticket_response_date` int(11) DEFAULT NULL,
  `ticket_date` int(11) NOT NULL,
  PRIMARY KEY (`ticket_id`),
  KEY `fk_logins_users_idx` (`ticket_user`),
  KEY `fk_tickets_users1_idx` (`ticket_assistant`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `tickets`
--


--
-- Table structure for table `tipo_pelo`
--

CREATE TABLE `tipo_pelo` (
  `id_tipo_pelo` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_tipo_pelo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tipo_pelo`
--


--
-- Table structure for table `tools`
--

CREATE TABLE `tools` (
  `tool_id` int(11) NOT NULL AUTO_INCREMENT,
  `tool_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `tool_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `tool_image` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `tool_discard` int(11) DEFAULT NULL,
  PRIMARY KEY (`tool_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tools`
--


--
-- Table structure for table `trabajadores`
--

CREATE TABLE `trabajadores` (
  `id_trabajador` int(11) NOT NULL AUTO_INCREMENT,
  `cif` varchar(255) NOT NULL,
  `precio_hora` int(11) NOT NULL,
  `horas_totales` int(11) NOT NULL,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `precio_horas_extra` int(11) NOT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_trabajador`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `trabajadores`
--


--
-- Table structure for table `transportistas`
--

CREATE TABLE `transportistas` (
  `id_transportista` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `dni` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_transportista`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `transportistas`
--


--
-- Table structure for table `tutores`
--

CREATE TABLE `tutores` (
  `id_tutor` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `apellidos` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `parentesco` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL,
  `id_alumno` int(11) NOT NULL,
  PRIMARY KEY (`id_tutor`),
  KEY `id_alumno` (`id_alumno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `tutores`
--


--
-- Table structure for table `ubicaciones`
--

CREATE TABLE `ubicaciones` (
  `id_ubicacion` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_ubicacion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `ubicaciones`
--

INSERT INTO `ubicaciones` VALUES
(1,'Almacen 4'),
(2,'Almacen 5');

--
-- Table structure for table `user_copia`
--

CREATE TABLE `user_copia` (
  `id_user_copia` int(11) NOT NULL AUTO_INCREMENT,
  `id_copia_seguridad` int(11) NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  PRIMARY KEY (`id_user_copia`),
  KEY `id_copia_seguridad` (`id_copia_seguridad`)
) ENGINE=InnoDB AUTO_INCREMENT=88 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `user_copia`
--

INSERT INTO `user_copia` VALUES
(1,3,'javiervs9797@gmail.com'),
(2,4,'javiervs9797@gmail.com'),
(3,5,'javiervs9797@gmail.com'),
(4,6,'javiervs9797@gmail.com'),
(5,7,'javiervs9797@gmail.com'),
(6,8,'javiervs9797@gmail.com'),
(7,9,'javiervs9797@gmail.com'),
(8,10,'javiervs9797@gmail.com'),
(9,11,'javiervs9797@gmail.com'),
(10,12,'javiervs9797@gmail.com'),
(11,13,'limixerr@gmail.com'),
(12,14,'limixerr@gmail.com'),
(13,15,'limixerr@gmail.com'),
(14,16,'limixerr@gmail.com'),
(15,17,'limixerr@gmail.com'),
(16,18,'limixerr@gmail.com'),
(17,19,'limixerr@gmail.com'),
(18,20,'limixerr@gmail.com'),
(19,21,'limixerr@gmail.com'),
(20,22,'limixerr@gmail.com'),
(21,23,'limixerr@gmail.com'),
(22,24,'limixerr@gmail.com'),
(23,25,'limixerr@gmail.com'),
(24,26,'limixerr@gmail.com'),
(25,27,'limixerr@gmail.com'),
(26,28,'limixerr@gmail.com'),
(27,29,'limixerr@gmail.com'),
(28,30,'limixerr@gmail.com'),
(29,31,'limixerr@gmail.com'),
(30,32,'limixerr@gmail.com'),
(31,33,'limixerr@gmail.com'),
(32,34,'limixerr@gmail.com'),
(33,35,'limixerr@gmail.com'),
(34,36,'limixerr@gmail.com'),
(35,37,'limixerr@gmail.com'),
(36,38,'limixerr@gmail.com'),
(37,39,'limixerr@gmail.com'),
(38,40,'limixerr@gmail.com'),
(39,41,'limixerr@gmail.com'),
(40,42,'limixerr@gmail.com'),
(41,43,'limixerr@gmail.com'),
(42,44,'limixerr@gmail.com'),
(43,45,'limixerr@gmail.com'),
(44,46,'limixerr@gmail.com'),
(45,47,'limixerr@gmail.com'),
(46,48,'limixerr@gmail.com'),
(47,49,'limixerr@gmail.com'),
(48,50,'limixerr@gmail.com'),
(49,51,'limixerr@gmail.com'),
(50,52,'limixerr@gmail.com'),
(51,53,'limixerr@gmail.com'),
(52,54,'limixerr@gmail.com'),
(53,55,'limixerr@gmail.com'),
(54,56,'limixerr@gmail.com'),
(55,57,'limixerr@gmail.com'),
(56,58,'limixerr@gmail.com'),
(57,59,'limixerr@gmail.com'),
(58,60,'limixerr@gmail.com'),
(59,61,'limixerr@gmail.com'),
(60,62,'limixerr@gmail.com'),
(61,63,'limixerr@gmail.com'),
(62,64,'limixerr@gmail.com'),
(63,65,'limixerr@gmail.com'),
(64,66,'limixerr@gmail.com'),
(65,67,'limixerr@gmail.com'),
(66,68,'limixerr@gmail.com'),
(67,69,'limixerr@gmail.com'),
(68,70,'limixerr@gmail.com'),
(69,71,'limixerr@gmail.com'),
(70,72,'limixerr@gmail.com'),
(71,73,'limixerr@gmail.com'),
(72,74,'limixerr@gmail.com'),
(73,75,'limixerr@gmail.com'),
(74,76,'limixerr@gmail.com'),
(75,77,'limixerr@gmail.com'),
(76,78,'limixerr@gmail.com'),
(77,79,'limixerr@gmail.com'),
(78,80,'limixerr@gmail.com'),
(79,81,'limixerr@gmail.com'),
(80,82,'limixerr@gmail.com'),
(81,83,'limixerr@gmail.com'),
(82,84,'limixerr@gmail.com'),
(83,85,'limixerr@gmail.com'),
(84,86,'limixerr@gmail.com'),
(85,87,'limixerr@gmail.com'),
(86,88,'limixerr@gmail.com'),
(87,89,'limixerr@gmail.com');

--
-- Table structure for table `user_evento`
--

CREATE TABLE `user_evento` (
  `id_user_evento` int(11) NOT NULL AUTO_INCREMENT,
  `id_evento` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `contrato` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `nif` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `contrato_lleno` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `horario_lleno` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `direccion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `cp` int(11) DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `telefono` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `uniforme` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'No entregado',
  PRIMARY KEY (`id_user_evento`),
  KEY `user_id` (`user_id`),
  KEY `id_evento` (`id_evento`),
  CONSTRAINT `user_evento_ibfk_1` FOREIGN KEY (`id_evento`) REFERENCES `eventos` (`id_evento`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `user_evento`
--

INSERT INTO `user_evento` VALUES
(1,1,13,'../contratos/1/13/contrato_vacio.pdf','ewteer','../contratos/1/13/contrato_lleno.pdf','../horarios/1/13/horario_lleno.pdf','Pellegrino 2045',7400,'fede.gundel@gmail.com','+34 22846121397','No entregado'),
(2,2,14,'../contratos/2/14/contrato_vacio.pdf','2134234',NULL,'../horarios/2/14/horario_lleno.pdf','12342',34123,'fede.gundel@gmail.com',NULL,'No entregado'),
(3,2,6680,'../contratos/2/6680/contrato_vacio.pdf','2134234',NULL,NULL,'12342',34123,'32123',NULL,'No entregado');

--
-- Table structure for table `user_permiso`
--

CREATE TABLE `user_permiso` (
  `id_user_permiso` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `folder_id` int(11) NOT NULL,
  PRIMARY KEY (`id_user_permiso`),
  KEY `user_id` (`user_id`),
  KEY `folder_id` (`folder_id`),
  CONSTRAINT `user_permiso_ibfk_1` FOREIGN KEY (`folder_id`) REFERENCES `folders` (`folder_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_permiso_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=142 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `user_permiso`
--

INSERT INTO `user_permiso` VALUES
(84,6680,17),
(85,6680,19),
(86,14,19);

--
-- Table structure for table `vehiculos`
--

CREATE TABLE `vehiculos` (
  `id_vehiculo` int(11) NOT NULL AUTO_INCREMENT,
  `exposicion` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `id_modelo` int(11) DEFAULT NULL,
  `id_marca` int(11) DEFAULT NULL,
  `fecha_matriculacion` date DEFAULT NULL,
  `proxima_itv` date NOT NULL,
  `id_combustible` int(11) DEFAULT NULL,
  `kilometros` decimal(10,2) NOT NULL,
  `matricula` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `envio_vencimiento` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id_vehiculo`),
  UNIQUE KEY `matricula` (`matricula`),
  KEY `fk_modelo` (`id_modelo`),
  KEY `fk_combustible` (`id_combustible`),
  KEY `fk_marca` (`id_marca`),
  CONSTRAINT `fk_combustible` FOREIGN KEY (`id_combustible`) REFERENCES `combustibles` (`id_combustible`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_marca` FOREIGN KEY (`id_marca`) REFERENCES `marcas` (`id_marca`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_modelo` FOREIGN KEY (`id_modelo`) REFERENCES `modelos` (`id_modelo`) ON DELETE SET NULL ON UPDATE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `vehiculos`
--


--
-- Table structure for table `ventas`
--

CREATE TABLE `ventas` (
  `id_venta` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) DEFAULT NULL,
  `id_vehiculo` int(11) DEFAULT NULL,
  `id_financiera` int(11) DEFAULT NULL,
  `plazo` int(11) DEFAULT NULL,
  `id_metodo` int(11) DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  PRIMARY KEY (`id_venta`),
  UNIQUE KEY `unique_id_vehiculo` (`id_vehiculo`),
  KEY `fk_financieras` (`id_financiera`),
  KEY `fk_metodos_pago` (`id_metodo`),
  CONSTRAINT `fk_financieras` FOREIGN KEY (`id_financiera`) REFERENCES `financieras` (`id_financiera`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_metodos_pago` FOREIGN KEY (`id_metodo`) REFERENCES `metodos_pago` (`id_metodo`) ON DELETE SET NULL ON UPDATE SET NULL,
  CONSTRAINT `fk_vehiculos` FOREIGN KEY (`id_vehiculo`) REFERENCES `vehiculos` (`id_vehiculo`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ventas`
--


--
-- Temporary table structure for view `vista_clientes`
--

/*!50001 DROP VIEW IF EXISTS `vista_clientes`*/;
/*!50001 CREATE VIEW `vista_clientes` AS SELECT
 1 AS `movil`,
  1 AS `client_id`,
  1 AS `nombre`,
  1 AS `direccion`,
  1 AS `cp`,
  1 AS `email`,
  1 AS `telefono`,
  1 AS `cif`,
  1 AS `fecha`,
  1 AS `user_id`,
  1 AS `estado`,
  1 AS `imagen`,
  1 AS `terminos`,
  1 AS `email_marketing`,
  1 AS `subvencionado`,
  1 AS `fecha_nacimiento`,
  1 AS `sms_habilitado`,
  1 AS `felicitado`,
  1 AS `peluqueria`,
  1 AS `tipo`,
  1 AS `sexo`,
  1 AS `emails`,
  1 AS `descuento`,
  1 AS `codigo`,
  1 AS `id_sector`,
  1 AS `linkedin`,
  1 AS `instagram`,
  1 AS `tiktok`,
  1 AS `x`,
  1 AS `facebook`,
  1 AS `forma_juridica`,
  1 AS `nombre_juridico`,
  1 AS `cif_juridico`,
  1 AS `domicilio_fiscal`,
  1 AS `activo`,
  1 AS `codigo_tramitador`,
  1 AS `id_poblacion`,
  1 AS `codigo_gestor`,
  1 AS `codigo_contable`,
  1 AS `web`,
  1 AS `grupos`,
  1 AS `sms_enviados` */;

--
-- Temporary table structure for view `vista_clientes_2`
--

/*!50001 DROP VIEW IF EXISTS `vista_clientes_2`*/;
/*!50001 CREATE VIEW `vista_clientes_2` AS SELECT
 1 AS `movil`,
  1 AS `client_id`,
  1 AS `nombre`,
  1 AS `direccion`,
  1 AS `cp`,
  1 AS `email`,
  1 AS `telefono`,
  1 AS `cif`,
  1 AS `fecha`,
  1 AS `user_id`,
  1 AS `estado`,
  1 AS `imagen`,
  1 AS `terminos`,
  1 AS `email_marketing`,
  1 AS `subvencionado`,
  1 AS `fecha_nacimiento`,
  1 AS `sms_habilitado`,
  1 AS `felicitado`,
  1 AS `peluqueria`,
  1 AS `tipo`,
  1 AS `sexo`,
  1 AS `emails`,
  1 AS `descuento`,
  1 AS `codigo`,
  1 AS `id_sector`,
  1 AS `linkedin`,
  1 AS `instagram`,
  1 AS `tiktok`,
  1 AS `x`,
  1 AS `facebook`,
  1 AS `forma_juridica`,
  1 AS `nombre_juridico`,
  1 AS `cif_juridico`,
  1 AS `domicilio_fiscal`,
  1 AS `activo`,
  1 AS `codigo_tramitador`,
  1 AS `id_poblacion`,
  1 AS `codigo_gestor`,
  1 AS `codigo_contable`,
  1 AS `web`,
  1 AS `grupos`,
  1 AS `sms_enviados` */;

--
-- Table structure for table `zonas`
--

CREATE TABLE `zonas` (
  `id_zona` int(11) NOT NULL AUTO_INCREMENT,
  `nombre` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `id_cliente` int(11) NOT NULL,
  PRIMARY KEY (`id_zona`),
  KEY `id_cliente` (`id_cliente`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `zonas`
--


--
-- Final view structure for view `vista_clientes`
--

/*!50001 DROP VIEW IF EXISTS `vista_clientes`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `vista_clientes` AS select `c`.`movil` AS `movil`,`c`.`client_id` AS `client_id`,`c`.`nombre` AS `nombre`,`c`.`direccion` AS `direccion`,`c`.`cp` AS `cp`,`c`.`email` AS `email`,`c`.`telefono` AS `telefono`,`c`.`cif` AS `cif`,`c`.`fecha` AS `fecha`,`c`.`user_id` AS `user_id`,`c`.`estado` AS `estado`,`c`.`imagen` AS `imagen`,`c`.`terminos` AS `terminos`,`c`.`email_marketing` AS `email_marketing`,`c`.`subvencionado` AS `subvencionado`,`c`.`fecha_nacimiento` AS `fecha_nacimiento`,`c`.`sms_habilitado` AS `sms_habilitado`,`c`.`felicitado` AS `felicitado`,`c`.`peluqueria` AS `peluqueria`,`c`.`tipo` AS `tipo`,`c`.`sexo` AS `sexo`,`c`.`emails` AS `emails`,`c`.`descuento` AS `descuento`,`c`.`codigo` AS `codigo`,`c`.`id_sector` AS `id_sector`,`c`.`linkedin` AS `linkedin`,`c`.`instagram` AS `instagram`,`c`.`tiktok` AS `tiktok`,`c`.`x` AS `x`,`c`.`facebook` AS `facebook`,`c`.`forma_juridica` AS `forma_juridica`,`c`.`nombre_juridico` AS `nombre_juridico`,`c`.`cif_juridico` AS `cif_juridico`,`c`.`domicilio_fiscal` AS `domicilio_fiscal`,`c`.`activo` AS `activo`,`c`.`codigo_tramitador` AS `codigo_tramitador`,`c`.`id_poblacion` AS `id_poblacion`,`c`.`codigo_gestor` AS `codigo_gestor`,`c`.`codigo_contable` AS `codigo_contable`,`c`.`web` AS `web`,nullif(json_arrayagg(if(`g`.`id_grupo` is not null,json_object('id_grupo',`g`.`id_grupo`,'nombre',`g`.`nombre`),NULL)),'[null]') AS `grupos`,nullif(json_arrayagg(if(`s`.`id_sms` is not null,json_object('id_sms',`s`.`id_sms`,'fecha_envio',`s`.`fecha_envio`,'estado',`s`.`estado`,'cuerpo',`s`.`cuerpo`,'fecha_programado',`s`.`fecha_programado`,'tipo',`s`.`tipo`),NULL)),'[null]') AS `sms_enviados` from (((`clientes` `c` left join `grupo_cliente` `gc` on(`c`.`client_id` = `gc`.`client_id`)) left join `grupos` `g` on(`gc`.`id_grupo` = `g`.`id_grupo`)) left join `sms` `s` on(`c`.`client_id` = `s`.`client_id`)) group by `c`.`movil`,`c`.`client_id`,`c`.`nombre`,`c`.`direccion`,`c`.`cp`,`c`.`email`,`c`.`telefono`,`c`.`cif`,`c`.`fecha`,`c`.`user_id`,`c`.`estado`,`c`.`imagen`,`c`.`terminos`,`c`.`email_marketing`,`c`.`subvencionado`,`c`.`fecha_nacimiento`,`c`.`sms_habilitado`,`c`.`felicitado`,`c`.`peluqueria`,`c`.`tipo`,`c`.`sexo`,`c`.`emails`,`c`.`descuento`,`c`.`codigo`,`c`.`id_sector`,`c`.`linkedin`,`c`.`instagram`,`c`.`tiktok`,`c`.`x`,`c`.`facebook`,`c`.`forma_juridica`,`c`.`nombre_juridico`,`c`.`cif_juridico`,`c`.`domicilio_fiscal`,`c`.`activo`,`c`.`codigo_tramitador`,`c`.`id_poblacion`,`c`.`codigo_gestor`,`c`.`codigo_contable`,`c`.`web` */;

--
-- Final view structure for view `vista_clientes_2`
--

/*!50001 DROP VIEW IF EXISTS `vista_clientes_2`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `vista_clientes_2` AS select `c`.`movil` AS `movil`,`c`.`client_id` AS `client_id`,`c`.`nombre` AS `nombre`,`c`.`direccion` AS `direccion`,`c`.`cp` AS `cp`,`c`.`email` AS `email`,`c`.`telefono` AS `telefono`,`c`.`cif` AS `cif`,`c`.`fecha` AS `fecha`,`c`.`user_id` AS `user_id`,`c`.`estado` AS `estado`,`c`.`imagen` AS `imagen`,`c`.`terminos` AS `terminos`,`c`.`email_marketing` AS `email_marketing`,`c`.`subvencionado` AS `subvencionado`,`c`.`fecha_nacimiento` AS `fecha_nacimiento`,`c`.`sms_habilitado` AS `sms_habilitado`,`c`.`felicitado` AS `felicitado`,`c`.`peluqueria` AS `peluqueria`,`c`.`tipo` AS `tipo`,`c`.`sexo` AS `sexo`,`c`.`emails` AS `emails`,`c`.`descuento` AS `descuento`,`c`.`codigo` AS `codigo`,`c`.`id_sector` AS `id_sector`,`c`.`linkedin` AS `linkedin`,`c`.`instagram` AS `instagram`,`c`.`tiktok` AS `tiktok`,`c`.`x` AS `x`,`c`.`facebook` AS `facebook`,`c`.`forma_juridica` AS `forma_juridica`,`c`.`nombre_juridico` AS `nombre_juridico`,`c`.`cif_juridico` AS `cif_juridico`,`c`.`domicilio_fiscal` AS `domicilio_fiscal`,`c`.`activo` AS `activo`,`c`.`codigo_tramitador` AS `codigo_tramitador`,`c`.`id_poblacion` AS `id_poblacion`,`c`.`codigo_gestor` AS `codigo_gestor`,`c`.`codigo_contable` AS `codigo_contable`,`c`.`web` AS `web`,coalesce(json_arrayagg(case when `g`.`id_grupo` is not null then json_object('id_grupo',`g`.`id_grupo`,'nombre',`g`.`nombre`) else NULL end),'[]') AS `grupos`,coalesce(json_arrayagg(case when `s`.`id_sms` is not null then json_object('id_sms',`s`.`id_sms`,'tipo',`s`.`tipo`,'fecha_envio',`s`.`fecha_envio`,'estado',`s`.`estado`,'cuerpo',`s`.`cuerpo`,'fecha_programado',`s`.`fecha_programado`) else NULL end),'[]') AS `sms_enviados` from (((`clientes` `c` left join `grupo_cliente` `gc` on(`c`.`client_id` = `gc`.`client_id`)) left join `grupos` `g` on(`gc`.`id_grupo` = `g`.`id_grupo`)) left join `sms` `s` on(`c`.`client_id` = `s`.`client_id`)) group by `c`.`movil`,`c`.`client_id`,`c`.`nombre`,`c`.`direccion`,`c`.`cp`,`c`.`email`,`c`.`telefono`,`c`.`cif`,`c`.`fecha`,`c`.`user_id`,`c`.`estado`,`c`.`imagen`,`c`.`terminos`,`c`.`email_marketing`,`c`.`subvencionado`,`c`.`fecha_nacimiento`,`c`.`sms_habilitado`,`c`.`felicitado`,`c`.`peluqueria`,`c`.`tipo`,`c`.`sexo`,`c`.`emails`,`c`.`descuento`,`c`.`codigo`,`c`.`id_sector`,`c`.`linkedin`,`c`.`instagram`,`c`.`tiktok`,`c`.`x`,`c`.`facebook`,`c`.`forma_juridica`,`c`.`nombre_juridico`,`c`.`cif_juridico`,`c`.`domicilio_fiscal`,`c`.`activo`,`c`.`codigo_tramitador`,`c`.`id_poblacion`,`c`.`codigo_gestor`,`c`.`codigo_contable`,`c`.`web` */;


