(3478,NULL,NULL,0,1,1,0,'CARRERA 26I #73-67 CORREO carosanchezcon3108@gmailcom',' MANOS Y PIES SABADO AM',' 3128375263','   LEYDI CAROLINA SANCHEZ   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3475,1553,'2024-05-18 09:13:34','2024-05-18 09:13:34','C',0,NULL,'MESAS',' ',' ','2024-05-18 09:13:34',2,20,1030000,0,1030000,770,0,0,0,0,0,0,0,0,2,'2024-05-18 09:13:34','2024-05-18 09:13:34',NULL,1030000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1087129957','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3479,NULL,NULL,0,1,1,0,'CALLE 90  95-196','UNA CLASE ADICIONAL ESTET',' 3023071923','   LUISA MARIA RODRIGUEZ    ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3476,1175,'2024-05-18 09:39:53','2024-05-18 09:39:53','V',0,NULL,'MESAS',' ',' ','2024-05-18 09:39:53',2,20,40000,0,40000,770,0,0,0,0,0,0,0,0,2,'2024-05-18 09:39:53','2024-05-18 09:39:53',NULL,40000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1144205658','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3480,NULL,NULL,0,1,1,0,'CALLE 72R #28B2-80 CORREO alexarealpeastudillo93@gmail.com','MASAJES MIERCOLES AM',' 3147296715','   ALEXANDRA ASTUDILLO   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3477,1554,'2024-05-18 14:03:04','2024-05-18 14:03:04','C',0,NULL,'MESAS',' ',' ','2024-05-18 14:03:04',2,20,870000,0,870000,770,0,0,0,0,0,0,0,0,2,'2024-05-18 14:03:04','2024-05-18 14:03:04',NULL,870000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1058669032','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3481,NULL,NULL,0,1,1,0,'UNIDAD  VIENTOS APTP 404 CORREO  eliri0128@hotmail.co','MANOS Y PIES  SABADO AM',' 3186465542','   SARA GOMEZ RIVERA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3478,1555,'2024-05-18 15:52:07','2024-05-18 15:52:07','C',0,NULL,'MESAS',' ',' ','2024-05-18 15:52:07',2,20,1030000,0,1030000,770,0,0,0,0,0,0,0,0,2,'2024-05-18 15:52:07','2024-05-18 15:52:07',NULL,1030000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1108255995','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3482,NULL,NULL,0,1,1,0,'CRA 26 R1  123-91','DOS MESES ADICIONALES CUI',' 3127722944','   ESTEFANI HIDALGO VELAS   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3479,1129,'2024-05-20 09:14:04','2024-05-20 09:14:04','C',0,NULL,'MESAS',' ',' ','2024-05-20 09:14:04',2,20,320000,0,320000,770,0,0,0,0,0,0,0,0,1,'2024-05-20 09:14:04','2024-05-20 09:14:04',NULL,320000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1108561846','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3483,NULL,NULL,0,1,1,0,'CALLE 105#26H-85 CORREO jenniferrecio76@GMAIL.COM','ESTETICA FACIAL VIERNES A',' 3183096706','   JENIFER RECIO   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3480,1556,'2024-05-20 09:23:55','2024-05-20 09:23:55','C',0,NULL,'MESAS',' ',' ','2024-05-20 09:23:55',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,1,'2024-05-20 09:23:55','2024-05-20 09:23:55',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1107069285','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3484,NULL,NULL,0,1,1,0,'CALLE 7 OESTE #42-43 CORREO mariaeugeniamarulandaurbano@gmail.com','PEINADOS VIERNES PM',' 3163380533','   MARIA EUGENIA MARULAND   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3481,1557,'2024-05-20 17:32:58','2024-05-20 17:32:58','C',0,NULL,'MESAS',' ',' ','2024-05-20 17:32:58',2,20,710000,0,710000,770,0,0,0,0,0,0,0,0,2,'2024-05-20 17:32:58','2024-05-20 17:32:58',NULL,710000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1143862259','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3485,NULL,NULL,0,1,1,0,'CALLE 2BOESTE #73D-04 CORREO linisamalmer@gmail.com','ESTETICA FACOAL VIERNES A',' 3116849499','   LINA ISABELLA MALES ME   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3482,1558,'2024-05-21 09:06:41','2024-05-21 09:06:41','C',0,NULL,'MESAS',' ',' ','2024-05-21 09:06:41',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-21 09:06:41','2024-05-21 09:06:41',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1112044061','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3486,NULL,NULL,0,1,1,0,'CALLE 4 OESTE #91-251 CORREO mireyarosero117@gmail.com','MAQUILLAJE SABADO PM',' 3213494777','   MIREYA MARINA  ROSERO    ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3483,1559,'2024-05-21 13:48:34','2024-05-21 13:48:34','C',0,NULL,'MESAS',' ',' ','2024-05-21 13:48:34',2,20,670000,0,670000,770,0,0,0,0,0,0,0,0,2,'2024-05-21 13:48:34','2024-05-21 13:48:34',NULL,670000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1089556517','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3487,NULL,NULL,0,1,1,0,'CALLE59 #1C-73 CORREO argenis.71@hotmail.com','ESTETICA FACIAL VIERNES A',' 3128945191','   MARIA ARGENIS POLOCHE    ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3484,1560,'2024-05-21 14:40:58','2024-05-21 14:40:58','C',0,NULL,'MESAS',' ',' ','2024-05-21 14:40:58',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-21 14:40:58','2024-05-21 14:40:58',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'31475847','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3488,NULL,NULL,0,1,1,0,'CALLE 42 #33A-03 CORREO karolospina37@gmail.com','ESTETICA FACIAL  VIERNES ',' 3503037369','   KAROL DANIELA OSPINA C   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3485,1561,'2024-05-21 15:51:16','2024-05-21 15:51:16','C',0,NULL,'MESAS',' ',' ','2024-05-21 15:51:16',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-21 15:51:16','2024-05-21 15:51:16',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1111542943','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3489,NULL,NULL,0,1,1,0,'CARRERA 18 CALLE 13D-35  CORREO leidyvasquez356@gmail.com','PELUQUERIA MIERCOLES AM',' 3113812432','   LEIDY LORENA OSORIO VA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3486,1562,'2024-05-22 09:26:24','2024-05-22 09:26:24','C',0,NULL,'MESAS',' ',' ','2024-05-22 09:26:24',2,20,1190000,0,1190000,770,0,0,0,0,0,0,0,0,2,'2024-05-22 09:26:24','2024-05-22 09:26:24',NULL,1190000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1006170193','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3490,NULL,NULL,0,1,1,0,'CARR.comERA 1A5C#73-87 CORREO hernandezisabella624@icloud','ESTETICA FACIAL  VIERNES ',' 3152099896','   ISABELLA HERNANDEZ MOR   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3487,1563,'2024-05-22 09:52:35','2024-05-22 09:52:35','C',0,NULL,'MESAS',' ',' ','2024-05-22 09:52:35',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-22 09:52:35','2024-05-22 09:52:35',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1106516035','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3491,NULL,NULL,0,1,1,0,'CARREA 50#3-27 CORREO badillotamara2005@gmail.com','UNA CLASE ADICIONAL PEINA',' 3150044553','   TAMARA BADILLO   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3488,1564,'2024-05-22 11:49:21','2024-05-22 11:49:21','V',0,NULL,'MESAS',' ',' ','2024-05-22 11:49:21',2,20,40000,0,40000,770,0,0,0,0,0,0,0,0,2,'2024-05-22 11:49:21','2024-05-22 11:49:21',NULL,40000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1089381162','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3492,NULL,NULL,0,1,1,0,'CARRERA 29#72T-68 CORREO herreravalencialuisafernandaqgmail.com','ESTETICA FACIAL  VIERNES ',' 3145559752','   LUISA FERNANDA HERRERA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3489,1565,'2024-05-22 12:13:11','2024-05-22 12:13:12','C',0,NULL,'MESAS',' ',' ','2024-05-22 12:13:11',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-22 12:13:12','2024-05-22 12:13:12',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1111670223','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3493,NULL,NULL,0,1,1,0,'CALLE 20#7B015 Corrreo: profeinglesamaya@gmail.com','CURSO NUEVO MAQUILLAJE SA',' 3226452660','LEIDY LILIANA AMAYA TULCA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3490,1566,'2024-05-23 09:04:24','2024-05-23 09:04:24','C',0,NULL,'MESAS',' ',' ','2024-05-23 09:04:24',2,20,670000,0,670000,770,0,0,0,0,0,0,0,0,2,'2024-05-23 09:04:24','2024-05-23 09:04:24',NULL,670000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1007706019','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3494,NULL,NULL,0,1,1,0,'CRA 24F# 72D42 Corre: yoelys93@gmail.com','CURSO NUEVO ESTETICA FACI',' 3226375014','YOELYS MILAGROS APONTE HE   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3491,1567,'2024-05-23 09:22:19','2024-05-23 09:22:19','C',0,NULL,'MESAS',' ',' ','2024-05-23 09:22:19',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-23 09:22:19','2024-05-23 09:22:19',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'7573440','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3495,NULL,NULL,0,1,1,0,'CALLE 19 B #24-07 Correo: gillianhenao26@gmail.com','CURSO NUEVO ESTETICA FACI',' 3103630823',' GILLIAN HENAO SAMBONI   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3492,1568,'2024-05-23 11:31:06','2024-05-23 11:31:06','C',0,NULL,'MESAS',' ',' ','2024-05-23 11:31:06',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-23 11:31:06','2024-05-23 11:31:06',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1111662754','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3496,NULL,NULL,0,1,1,0,'CARRERA 43 #48-78 CORREO sharinicolhurtado@gmail.com','PEINADOS VIERNES PM',' 3107077924','   SHARY NICOL HURTADO CH   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3493,1569,'2024-05-23 15:02:16','2024-05-23 15:02:16','C',0,NULL,'MESAS',' ',' ','2024-05-23 15:02:16',2,20,700000,0,700000,770,0,0,0,0,0,0,0,0,2,'2024-05-23 15:02:16','2024-05-23 15:02:16',NULL,700000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1066840760','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3497,NULL,NULL,0,1,1,0,'MASAJES VIERNES NOCHE','DERECOS DE GRADO EXTREMA ',' 3244571500','   BLANCA CECILIA BONILLA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3494,970,'2024-05-23 15:39:49','2024-05-23 15:39:50','V',0,NULL,'MESAS',' ',' ','2024-05-23 15:39:49',2,20,150000,0,150000,770,0,0,0,0,0,0,0,0,1,'2024-05-23 15:39:50','2024-05-23 15:39:50',NULL,150000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'66845981','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3498,NULL,NULL,0,1,1,0,'AV 3OESTE  #22-29 CORREO gomezmaira744@gmail.com','CUIDADO FACIAL   VIERNES ',' 3169511453','   MAYRA ALEJANFDRA  GOME   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3495,1570,'2024-05-23 15:52:10','2024-05-23 15:52:10','C',0,NULL,'MESAS',' ',' ','2024-05-23 15:52:10',2,20,710000,0,710000,770,0,0,0,0,0,0,0,0,1,'2024-05-23 15:52:10','2024-05-23 15:52:10',NULL,710000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1108252231','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3499,NULL,NULL,0,1,1,0,'CARRERA 56 #1B-112 CORREO danielasan05@gmail.com','ESTETICA FACIAL  SABADO P',' 3163358952','   DANIELA SANCLEMENTE PE   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3496,1571,'2024-05-23 18:13:06','2024-05-23 18:13:06','C',0,NULL,'MESAS',' ',' ','2024-05-23 18:13:06',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-23 18:13:06','2024-05-23 18:13:06',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1112494122','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3500,NULL,NULL,0,1,1,0,'CALLE 62A# 1-210 Correo: mendezjuniandry@gmail.com','CURSO NUEVO ESTETICA FACI',' 3106333407','JUNIANDRY MARYLEN MENDEZ    ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3497,1572,'2024-05-24 09:06:43','2024-05-24 09:06:43','C',0,NULL,'MESAS',' ',' ','2024-05-24 09:06:43',2,20,1190000,0,1190000,770,0,0,0,0,0,0,0,0,2,'2024-05-24 09:06:43','2024-05-24 09:06:43',NULL,1190000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1599295','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3501,NULL,NULL,0,1,1,0,'CRA 41 #96A03 Correo: yurani-martinez@hotmail.com','CURSO NUEVO ESTETICA FACI',' 3104221825','  LUISA YURANI MARTINEZ B   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3498,1540,'2024-05-24 10:10:32','2024-05-24 10:10:32','C',0,NULL,'MESAS',' ',' ','2024-05-24 10:10:32',2,20,1120000,0,1120000,770,0,0,0,0,0,0,0,0,2,'2024-05-24 10:10:32','2024-05-24 10:10:32',NULL,1120000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1144172041','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3502,NULL,NULL,0,1,1,0,'CARRERA 85 #42-29  CORREO jususdavidhurtadoprt@gmail.com','MASAJES  MIERCOLES AM',' 3168159410','   ZAMIA TAYLOR   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3499,1573,'2024-05-24 15:56:27','2024-05-24 15:56:27','C',0,NULL,'MESAS',' ',' ','2024-05-24 15:56:27',2,20,870000,0,870000,770,0,0,0,0,0,0,0,0,2,'2024-05-24 15:56:27','2024-05-24 15:56:27',NULL,870000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'38466667','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3503,NULL,NULL,0,1,1,0,'CARRERA 74#1A-133 CORREO irmasuarez.1033@gmail.com','MAQUILLAJE SABADO PM',' 3161837480','   IRMA NARANJO SUAREZ   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3500,1574,'2024-05-24 16:03:52','2024-05-24 16:03:52','C',0,NULL,'MESAS',' ',' ','2024-05-24 16:03:52',2,20,670000,0,670000,770,0,0,0,0,0,0,0,0,2,'2024-05-24 16:03:52','2024-05-24 16:03:52',NULL,670000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1033799320','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3504,NULL,NULL,0,1,1,0,'CALLE 1BIS#69-11 CORREO 06kathe16@gmail.com','ESTETICA FACIAL SABADO PM',' 3218506459','   KATHERINE  LOPEZ PEREZ   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3501,1575,'2024-05-24 16:19:22','2024-05-24 16:19:22','C',0,NULL,'MESAS',' ',' ','2024-05-24 16:19:22',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-24 16:19:22','2024-05-24 16:19:22',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1144062462','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3505,NULL,NULL,0,1,1,0,'ESTETICA FACIAL SABADO TARDE','DERECHOS DE GRADO EXTREMA',' 3053121486','LUZ KARINA VARGAS ISAZA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3502,987,'2024-05-25 09:51:55','2024-05-25 09:51:55','V',0,NULL,'MESAS',' ',' ','2024-05-25 09:51:55',2,20,70000,0,70000,770,0,0,0,0,0,0,0,0,1,'2024-05-25 09:51:55','2024-05-25 09:51:55',NULL,70000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1104806079','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3506,NULL,NULL,0,1,1,0,'CARRERA 23B #7-12 CORREO mayerlincas00@gmail.com','MAQUILLAJE  SABADO PM',' 3156428433','   MAYERLIN  CASTRO CHILO   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3503,1576,'2024-05-25 13:49:02','2024-05-25 13:49:03','C',0,NULL,'MESAS',' ',' ','2024-05-25 13:49:02',2,20,670000,0,670000,770,0,0,0,0,0,0,0,0,2,'2024-05-25 13:49:03','2024-05-25 13:49:03',NULL,670000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1192761361','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3507,NULL,NULL,0,1,1,0,'DIAGONAL2612 #93-46 CORREO lauravalentina2512@gmail.com','MAQUILLAJE SABADO PM',' 3013658764','   LAURA VALENTINA FERNAN   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3504,1577,'2024-05-25 14:05:19','2024-05-25 14:05:19','C',0,NULL,'MESAS',' ',' ','2024-05-25 14:05:19',2,20,670000,0,670000,770,0,0,0,0,0,0,0,0,2,'2024-05-25 14:05:19','2024-05-25 14:05:19',NULL,670000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1111662656','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3508,NULL,NULL,0,1,1,0,'CARRERA 49A #13-43 CORREO valdesarenasdaniela @gmail.com','maquillaje sabado pm',' 3012880379','   DANIELA VALDES ARENAS   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3505,1578,'2024-05-25 14:15:36','2024-05-25 14:15:36','C',0,NULL,'MESAS',' ',' ','2024-05-25 14:15:36',2,20,670000,0,670000,770,0,0,0,0,0,0,0,0,2,'2024-05-25 14:15:36','2024-05-25 14:15:36',NULL,670000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1144095090','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3509,NULL,NULL,0,1,1,0,'CARRERA 23#76-38 CORREO palaciosbueno@gmail.com','ESTETICA FACIAL SABADO PM',' 3004287212','   XIMENA PALACIOS BUENO   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3506,1579,'2024-05-25 17:14:35','2024-05-25 17:14:35','V',0,NULL,'MESAS',' ',' ','2024-05-25 17:14:35',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-25 17:14:35','2024-05-25 17:14:35',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1106514125','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3510,NULL,NULL,0,1,1,0,'CRR 27 36-51 CORREO: alejandrasalazar.as22@gmail.com','DOS MESES COMPLEMENTARIOS',' 3002401509','  MAIRA ALEJANDRA MARTINE   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3507,1227,'2024-05-27 09:36:03','2024-05-27 09:36:03','C',0,NULL,'MESAS',' ',' ','2024-05-27 09:36:03',2,19,320000,0,320000,770,0,0,0,0,0,0,0,0,1,'2024-05-27 09:36:03','2024-05-27 09:36:03',NULL,320000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1143867165','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3511,NULL,NULL,0,1,1,0,'CRA 97 #2D24 CORREO; dubraska20granda.guevara@gmail.com','UNA CLASE ADICIONAL NUEVO',' 3128435677','DUBRASKA DEXIREE GRANDA G   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3508,1498,'2024-05-27 10:56:05','2024-05-27 10:56:05','V',0,NULL,'MESAS',' ',' ','2024-05-27 10:56:05',2,20,40000,0,40000,770,0,0,0,0,0,0,0,0,1,'2024-05-27 10:56:05','2024-05-27 10:56:05',NULL,40000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'6081075','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3512,NULL,NULL,0,1,1,0,'CARRERA 46A #13D-50 CORREO salinasyuliana720@gmail.com','ESTETICA FACIAL  SABADO A',' 3025960455','   YULIANA CERIMAR SALINA   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3509,1581,'2024-05-28 09:28:08','2024-05-28 09:28:08','C',0,NULL,'MESAS',' ',' ','2024-05-28 09:28:08',2,20,1240000,0,1240000,770,0,0,0,0,0,0,0,0,2,'2024-05-28 09:28:08','2024-05-28 09:28:08',NULL,1240000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'4668217','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3513,NULL,NULL,0,1,1,0,'CALLE 8 #2-49  YUMBO CORREO isabelpalac83@gmail.com','CUIDADO FACIAL MARTES AM',' 3106592328','   ISABELA PALACIOS URCUE   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3510,1582,'2024-05-28 10:06:33','2024-05-28 10:06:33','C',0,NULL,'MESAS',' ',' ','2024-05-28 10:06:33',2,20,710000,0,710000,770,0,0,0,0,0,0,0,0,1,'2024-05-28 10:06:33','2024-05-28 10:06:33',NULL,710000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1109187148','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3514,NULL,NULL,0,1,1,0,'CALLE 120 #2688 CORREO yuli.viveros0121@mail.com','MASAJES  MIERCOLES AM',' 3128501315','   YULI ANDREA VIVEROS  R   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3511,1583,'2024-05-28 14:46:41','2024-05-28 14:46:41','C',0,NULL,'MESAS',' ',' ','2024-05-28 14:46:41',2,20,710000,0,710000,770,0,0,0,0,0,0,0,0,2,'2024-05-28 14:46:41','2024-05-28 14:46:41',NULL,710000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1006182711','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL),(3515,NULL,NULL,0,1,1,0,'CARRA 85E# 28-06  correo JESSICAVM1212@GMAIL.COM','ESTETICA FACIAL SABADO PM',' 3217526411','   JESSICA ALEXANDRA VALE   ',NULL,NULL,'0000-00-00','',0,0,0,'',0,0,0,0,3512,1584,'2024-05-28 16:49:34','2024-05-28 16:49:34','C',0,NULL,'MESAS',' ',' ','2024-05-28 16:49:34',2,20,1190000,0,1190000,770,0,0,0,0,0,0,0,0,2,'2024-05-28 16:49:34','2024-05-28 16:49:34',NULL,1190000,' ',0,770,0,0,1,'EFECTIVO','',NULL,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,0,'1143865138','66001','','66000','66','RISARALDA','',NULL,'0000-00-00','0000-00-00',0,NULL,0,NULL,NULL,0,NULL,0,'distrito',0,'0',0,0,NULL);

--
-- Table structure for table `facturas2021`
--

CREATE TABLE `facturas2021` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `aliado` varchar(25) DEFAULT NULL,
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` date DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(50) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(6) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `despachadoaifood` int DEFAULT '0',
  `valornc` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `READY_TO_PICKUP` datetime DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `fecha_registrofactura` datetime DEFAULT NULL,
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  `codeudor` varchar(50) DEFAULT NULL,
  `telefonoocodeudor` varchar(30) DEFAULT NULL,
  `parentescocodeudor` varchar(25) DEFAULT NULL,
  `plazo` int DEFAULT NULL,
  `valorcuota` int DEFAULT NULL,
  `valorcuotainicial` int DEFAULT NULL,
  `fechacuotainicial` date DEFAULT NULL,
  `cuotasapartirde` date DEFAULT NULL,
  `modalidad` int DEFAULT NULL,
  `comensales_factura` int DEFAULT '0',
  `identificador` varchar(25) DEFAULT NULL,
  `impazucaradas` int DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `descuentoporflete` int DEFAULT '0',
  `otrosdescuentos` int DEFAULT '0',
  `sobrecargoeventosf` double DEFAULT '0',
  `forzar2222` varchar(2) DEFAULT 'no',
  `fechafinfe` date DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas2021`
--


--
-- Table structure for table `facturas2022`
--

CREATE TABLE `facturas2022` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `aliado` varchar(25) DEFAULT NULL,
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` date DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(50) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(6) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `despachadoaifood` int DEFAULT '0',
  `valornc` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `READY_TO_PICKUP` datetime DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `fecha_registrofactura` datetime DEFAULT NULL,
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  `codeudor` varchar(50) DEFAULT NULL,
  `telefonoocodeudor` varchar(30) DEFAULT NULL,
  `parentescocodeudor` varchar(25) DEFAULT NULL,
  `plazo` int DEFAULT NULL,
  `valorcuota` int DEFAULT NULL,
  `valorcuotainicial` int DEFAULT NULL,
  `fechacuotainicial` date DEFAULT NULL,
  `cuotasapartirde` date DEFAULT NULL,
  `modalidad` int DEFAULT NULL,
  `comensales_factura` int DEFAULT '0',
  `identificador` varchar(25) DEFAULT NULL,
  `impazucaradas` int DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `descuentoporflete` int DEFAULT '0',
  `otrosdescuentos` int DEFAULT '0',
  `sobrecargoeventosf` double DEFAULT '0',
  `forzar2222` varchar(2) DEFAULT 'no',
  `fechafinfe` date DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas2022`
--


--
-- Table structure for table `facturas3`
--

CREATE TABLE `facturas3` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(50) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(6) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `despachadoaifood` int DEFAULT '0',
  `valornc` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `READY_TO_PICKUP` datetime DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `fecha_registrofactura` datetime DEFAULT NULL,
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas3`
--


--
-- Table structure for table `familiasdemodificadores`
--

CREATE TABLE `familiasdemodificadores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `familiademodificadores` varchar(100) DEFAULT NULL,
  `minimo` int DEFAULT '0',
  `maximo` int DEFAULT '0',
  `codabajo` int DEFAULT '0',
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `alias` varchar(100) DEFAULT NULL,
  `idrappi` varchar(25) DEFAULT NULL,
  `sesubeaifood` int DEFAULT '0',
  `idifood` varchar(100) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `sepuedeborrar` int DEFAULT '0',
  `saleenlaventa` int DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `familiasdemodificadores`
--


--
-- Table structure for table `fechasdescuentos`
--

CREATE TABLE `fechasdescuentos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `fechasdescuentos_ibfk_1` FOREIGN KEY (`cc`) REFERENCES `centrosdecostos` (`id`),
  CONSTRAINT `fechasdescuentos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `fechasdescuentos`
--


--
-- Table structure for table `festivos`
--

CREATE TABLE `festivos` (
  `fecha` date NOT NULL,
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `festivos`
--

INSERT INTO `festivos` (`fecha`, `id`) VALUES ('2022-07-20',2),('2022-12-08',19),('2022-11-14',18),('2022-11-07',17),('2022-10-17',16),('2022-08-15',14);

--
-- Table structure for table `fichaderegistro`
--

CREATE TABLE `fichaderegistro` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `cliente` varchar(100) DEFAULT NULL,
  `cedula` varchar(15) DEFAULT NULL,
  `telefono` varchar(25) DEFAULT NULL,
  `fechaentrada` date DEFAULT NULL,
  `fechasalida` date DEFAULT NULL,
  `nacionalidad` varchar(25) DEFAULT NULL,
  `direccion` varchar(100) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `marca` varchar(25) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `idcliente` bigint unsigned DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idmayor` bigint unsigned DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idmayor` (`idmayor`),
  CONSTRAINT `fichaderegistro_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresfichaderegistro` (`id`),
  CONSTRAINT `idcliente` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `idusuario` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `fichaderegistro`
--


--
-- Table structure for table `fichaderegistroauxiliar`
--

CREATE TABLE `fichaderegistroauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `cliente` varchar(100) DEFAULT NULL,
  `cedula` varchar(15) DEFAULT NULL,
  `telefono` varchar(25) DEFAULT NULL,
  `fechaentrada` date DEFAULT NULL,
  `fechasalida` date DEFAULT NULL,
  `nacionalidad` varchar(25) DEFAULT NULL,
  `direccion` varchar(100) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `marca` varchar(25) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `idcliente` bigint unsigned DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `idreserva` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idcliente` (`idcliente`),
  KEY `idclientefichaderegistroauxiliar` (`idcliente`),
  KEY `idusuariofichaderegistroauxiliar` (`idusuario`),
  CONSTRAINT `idclientefichaderegistroauxiliar` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `idusuariofichaderegistroauxiliar` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `fichaderegistroauxiliar`
--


--
-- Table structure for table `garantiasenespera`
--

CREATE TABLE `garantiasenespera` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `devolucionrevisada` int DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `bodega` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idfactura` (`idfactura`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `garantiasenespera`
--


--
-- Table structure for table `gastos`
--

CREATE TABLE `gastos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned NOT NULL,
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `consecutivo` int NOT NULL DEFAULT '1',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idproveedor` bigint unsigned NOT NULL DEFAULT '1',
  `concepto` text,
  `valor` double NOT NULL DEFAULT '0',
  `numero` varchar(7) DEFAULT NULL,
  `tipo` varchar(50) DEFAULT 'SELECCIONE',
  `afectacaja` int DEFAULT '1',
  `mediodepago` varchar(25) DEFAULT NULL,
  `placa` varchar(25) DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `contadocredito` varchar(7) DEFAULT 'CONTADO',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idz` (`idz`),
  KEY `idusuario` (`idusuario`),
  KEY `idproveedor` (`idproveedor`),
  CONSTRAINT `gastos_ibfk_2` FOREIGN KEY (`idproveedor`) REFERENCES `clientes` (`id`),
  CONSTRAINT `gastos_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `gastos`
--


--
-- Table structure for table `gruposdepersonas`
--

CREATE TABLE `gruposdepersonas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `grupo` varchar(20) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `porcentaje` int DEFAULT '0',
  `campovalordeventa` varchar(25) DEFAULT NULL,
  `alias` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `gruposdepersonas`
--


--
-- Table structure for table `habitaciones`
--

CREATE TABLE `habitaciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `habitacion` varchar(25) DEFAULT NULL,
  `codigo` varchar(20) NOT NULL DEFAULT ' ',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idzona` bigint unsigned NOT NULL DEFAULT '1',
  `orden` int NOT NULL DEFAULT '0',
  `idmeseroactual` bigint unsigned NOT NULL DEFAULT '1',
  `barcode` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idzona` (`idzona`),
  KEY `idmeseroactual` (`idmeseroactual`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `habitaciones`
--


--
-- Table structure for table `habitacionesvsenseres`
--

CREATE TABLE `habitacionesvsenseres` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `idusuario` int DEFAULT '0',
  `idhabitacion` bigint unsigned NOT NULL,
  `idensere` bigint unsigned NOT NULL,
  `cantidad` int DEFAULT '1',
  `valor` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idhabitacion_2` (`idhabitacion`,`idensere`),
  KEY `idhabitacion` (`idhabitacion`),
  KEY `idensere` (`idensere`),
  CONSTRAINT `llavedos` FOREIGN KEY (`idensere`) REFERENCES `enseres` (`id`),
  CONSTRAINT `llaveuno` FOREIGN KEY (`idhabitacion`) REFERENCES `habitaciones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `habitacionesvsenseres`
--


--
-- Table structure for table `historial_traslados`
--

CREATE TABLE `historial_traslados` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fecha_original` date NOT NULL,
  `origen` varchar(50) NOT NULL,
  `destino` varchar(50) NOT NULL,
  `fecha_recepcion` datetime NOT NULL,
  `usuario_recibe` varchar(50) NOT NULL,
  `fecha_creacion` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `costomedio` double DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `historial_traslados`
--


--
-- Table structure for table `imprimirhtml`
--

CREATE TABLE `imprimirhtml` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `texto` text,
  `fechacreacion` datetime DEFAULT NULL,
  `usuario` varchar(50) DEFAULT NULL,
  `situacioncocina` varchar(25) DEFAULT 'SELECCIONE',
  `impresora` varchar(25) DEFAULT 'CAJA',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `imprimirhtml`
--


--
-- Table structure for table `informehorasporperiodo`
--

CREATE TABLE `informehorasporperiodo` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nombre` varchar(50) DEFAULT NULL,
  `cedula` varchar(50) DEFAULT NULL,
  `horas` double DEFAULT NULL,
  `cantidaddedias` double DEFAULT NULL,
  `diferencia` double DEFAULT NULL,
  `diasregistrados` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `informehorasporperiodo`
--


--
-- Table structure for table `ingresoempleados`
--

CREATE TABLE `ingresoempleados` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ingreso` datetime DEFAULT NULL,
  `cc` int DEFAULT '2',
  `salida` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `inicioesperado` datetime DEFAULT NULL,
  `salidaesperada` datetime DEFAULT NULL,
  `entradatarde` int DEFAULT '0',
  `salidatemprano` int DEFAULT '0',
  `diferenciaentrada` time DEFAULT NULL,
  `diferenciasalida` time DEFAULT NULL,
  `diasemanaingreso` int DEFAULT NULL,
  `diasemanasalida` int DEFAULT NULL,
  `horasextras` decimal(5,2) DEFAULT '0.00',
  `extrasdominical` decimal(5,2) DEFAULT '0.00',
  `extrasdominicalnocturno` decimal(5,2) DEFAULT '0.00',
  `extrasnocturno` decimal(5,2) DEFAULT '0.00',
  `extrasfestivonocturno` decimal(5,2) DEFAULT '0.00',
  `extrasfestivo` decimal(5,2) DEFAULT '0.00',
  `extrasdiurno` decimal(5,2) DEFAULT '0.00',
  `festivo` int DEFAULT NULL,
  `sumahorasextras` decimal(5,2) DEFAULT NULL,
  `nombreturno` varchar(25) DEFAULT NULL,
  `origendelasalida` varchar(4) DEFAULT 'java',
  `latitud` double DEFAULT '0',
  `longitud` double DEFAULT '0',
  `latitudsalida` double DEFAULT '0',
  `longitudsalida` double DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `salidamenosentrada` decimal(4,2) DEFAULT '0.00',
  `minutosdescanso` int DEFAULT '0',
  `iniciocalculado` datetime DEFAULT NULL,
  `salidacalculada` datetime DEFAULT NULL,
  `usuario` varchar(50) DEFAULT NULL,
  `ip` varchar(20) DEFAULT NULL,
  `iniciodescanso` datetime DEFAULT NULL,
  `findescanso` datetime DEFAULT NULL,
  `obsiniciodescanso` varchar(100) DEFAULT NULL,
  `obsfindescanso` varchar(100) DEFAULT NULL,
  `esparacompensatorio` bit(1) DEFAULT b'0',
  `compensatorioredimido` bit(1) DEFAULT b'0',
  `fecharedimido` date DEFAULT NULL,
  `escompensatorio` bit(1) DEFAULT b'0',
  `ipsalida` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ingresoempleados`
--


--
-- Table structure for table `iniciosdesesion`
--

CREATE TABLE `iniciosdesesion` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `usuario` varchar(100) DEFAULT NULL,
  `ipinicio` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `iniciosdesesion`
--

INSERT INTO `iniciosdesesion` (`id`, `fechacreacion`, `usuario`, `ipinicio`) VALUES (1,'2025-11-17 21:32:55','5 - ISABEL SOFIA CARDONA CAÑAS','45.225.224.53'),(2,'2025-11-19 10:55:29','5 - ISABEL SOFIA CARDONA CAÑAS','45.225.224.53'),(3,'2025-11-19 15:07:54','5 - ISABEL SOFIA CARDONA CAÑAS','45.225.224.53'),(4,'2025-11-20 11:07:43','5 - ISABEL SOFIA CARDONA CAÑAS','45.225.224.53');

--
-- Table structure for table `insumos`
--

CREATE TABLE `insumos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `descripcion` varchar(50) NOT NULL DEFAULT ' ',
  `cantidad` double NOT NULL DEFAULT '0',
  `valordecompra` int NOT NULL DEFAULT '0',
  `cantidadminima` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'distrito',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `insumos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `insumos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `insumos`
--


--
-- Table structure for table `inventarioinicial`
--

CREATE TABLE `inventarioinicial` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(100) NOT NULL DEFAULT '',
  `cantidad` double NOT NULL,
  `mes` int NOT NULL,
  `ano` int NOT NULL,
  `costomedio` double NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `fechacracion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fisico` double NOT NULL DEFAULT '0',
  `idmayor` bigint unsigned NOT NULL DEFAULT '0',
  `contado` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idmayor` (`idusuario`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idmayor_2` (`idmayor`),
  CONSTRAINT `inventarioinicial_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresinventarioinicial` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `inventarioinicial`
--


--
-- Table structure for table `ipbloqueadas`
--

CREATE TABLE `ipbloqueadas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ip` varchar(25) DEFAULT NULL,
  `alias` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `cedula` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ipbloqueadas`
--


--
-- Table structure for table `ips`
--

CREATE TABLE `ips` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ip` varchar(25) DEFAULT NULL,
  `alias` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ips`
--


--
-- Table structure for table `jsonrecibido2`
--

CREATE TABLE `jsonrecibido2` (
  `idrapi` varchar(25) DEFAULT NULL,
  `descripcion` varchar(100) DEFAULT NULL,
  `valor` int NOT NULL DEFAULT '0',
  `cantidad` int NOT NULL DEFAULT '0',
  `comentarios` varchar(100) DEFAULT NULL,
  `descuento` double DEFAULT NULL,
  `front` varchar(25) DEFAULT NULL,
  `idpadre` varchar(25) DEFAULT NULL,
  `numero` int NOT NULL DEFAULT '0',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `jsonrecibido2`
--


--
-- Table structure for table `lineas`
--

CREATE TABLE `lineas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `linea` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `ordenlinea` int DEFAULT NULL,
  `valorpuntos` int DEFAULT '0',
  `urlfotolinea` varchar(200) DEFAULT NULL,
  `saleentv` bit(1) DEFAULT b'1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineas`
--


--
-- Table structure for table `lineasborradas`
--

CREATE TABLE `lineasborradas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idusuario` bigint unsigned NOT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cantidad` int NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `descripcion` varchar(50) DEFAULT NULL,
  `usuario` varchar(150) DEFAULT NULL,
  `valorunitario` int DEFAULT '0',
  `mesa` varchar(250) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `origen` varchar(25) DEFAULT NULL,
  `idcliente` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idcliente` (`idusuario`),
  KEY `idarticulo` (`idarticulo`),
  KEY `cc` (`cc`),
  CONSTRAINT `lineasborradas_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lineasborradas`
--


--
-- Table structure for table `lineascambios`
--

CREATE TABLE `lineascambios` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `bruto` double DEFAULT '0',
  `idmayor` bigint unsigned NOT NULL,
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idfactura` bigint unsigned NOT NULL,
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int NOT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '2',
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `tipo` varchar(25) DEFAULT NULL,
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int NOT NULL DEFAULT '0',
  `porcentajedescuento` double NOT NULL DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `CODMODIF` int NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `domicilio` int DEFAULT '0',
  `enviaraproduccion` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  `afectacaja` int DEFAULT '1',
  `referencia` varchar(25) DEFAULT NULL,
  `consecutivo` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idusuario` (`idusuario`),
  KEY `idcliente` (`idcliente`),
  KEY `idmayor` (`idmayor`),
  KEY `idfactura` (`idfactura`),
  CONSTRAINT `lineascambios_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `cambios` (`id`),
  CONSTRAINT `lineascambios_ibfk_2` FOREIGN KEY (`idmayor`) REFERENCES `cambios` (`id`),
  CONSTRAINT `lineascambios_ibfk_3` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineascambios`
--


--
-- Table structure for table `lineasnotascredito`
--

CREATE TABLE `lineasnotascredito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `codarticulo` int NOT NULL,
  `codsituacion` int NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `idnc` bigint unsigned NOT NULL DEFAULT '1',
  `nc` int DEFAULT '0',
  `idusuarionc` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int NOT NULL DEFAULT '0',
  `devolucionrevisada` int DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int NOT NULL DEFAULT '0',
  `marcadoparanc` int NOT NULL DEFAULT '0',
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODMODIF` varchar(2) NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int NOT NULL DEFAULT '0',
  `NUMMODIF` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `aliasespera` int NOT NULL DEFAULT '1',
  `impresiones` int NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `idmayor` int DEFAULT '0',
  `subiralinventario` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  `afectacaja` int DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idfactura` (`idfactura`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineasnotascredito`
--


--
-- Table structure for table `lineasnotasdebito`
--

CREATE TABLE `lineasnotasdebito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `idnotasdebito` bigint unsigned NOT NULL,
  `idmayor` bigint unsigned NOT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cantidad` int NOT NULL DEFAULT '0',
  `valorunitario` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fechadecreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cc` int NOT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  `factor` int DEFAULT '0',
  `descripcionencompra` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `idmayor` (`idmayor`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idnotasdebito` (`idnotasdebito`) USING BTREE,
  CONSTRAINT `lineasnotasdebito_ibfk_1` FOREIGN KEY (`idnotasdebito`) REFERENCES `notasdebito` (`id`),
  CONSTRAINT `lineasnotasdebito_ibfk_2` FOREIGN KEY (`idmayor`) REFERENCES `mayorescompras` (`id`),
  CONSTRAINT `lineasnotasdebito_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lineasnotasdebito`
--


--
-- Table structure for table `lineaspedidosweb`
--

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

--
-- Dumping data for table `lineaspedidosweb`
--


--
-- Table structure for table `lineasproduccion`
--

CREATE TABLE `lineasproduccion` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmesa` int DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` double DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idmayor` bigint unsigned DEFAULT NULL,
  `nota` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `comision` int NOT NULL DEFAULT '0',
  `porcentajedescuento` double NOT NULL DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `descripcion` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT NULL,
  `factor` int DEFAULT '0',
  `unidaddemedida` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcaja` (`idmayor`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `lineasproduccion_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `produccion` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineasproduccion`
--


--
-- Table structure for table `logsintegraciones`
--

CREATE TABLE `logsintegraciones` (
  `fechacreacion` datetime DEFAULT NULL,
  `mensaje` text,
  `descatalogado` int DEFAULT '0',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `logsintegraciones`
--


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

CREATE TABLE `marcas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `marca` varchar(25) DEFAULT NULL,
  `celular` varchar(12) DEFAULT '',
  `video` varchar(1) DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `color` (`marca`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

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


--
-- Table structure for table `mayoresbajas`
--

CREATE TABLE `mayoresbajas` (
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `documentid` varchar(200) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned NOT NULL,
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(10) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `domicilio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `mayoresbajas_ibfk_3` (`idcliente`),
  CONSTRAINT `mayoresbajas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mayoresbajas_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  CONSTRAINT `mayoresbajas_ibfk_3` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mayoresbajas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresbajas`
--


--
-- Table structure for table `mayorescompras`
--

CREATE TABLE `mayorescompras` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `numero` varchar(10) DEFAULT NULL,
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `iva` double NOT NULL DEFAULT '0',
  `descuentocomercial` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `idproveedor` bigint unsigned NOT NULL DEFAULT '0',
  `valor` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL DEFAULT '0',
  `documento` varchar(7) DEFAULT 'CONTADO',
  `saldo` int DEFAULT '0',
  `nd` int DEFAULT '0',
  `vence` datetime DEFAULT CURRENT_TIMESTAMP,
  `observacion` text,
  `idz` int NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `descuento` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  `idusuario` int DEFAULT '1',
  `esremision` varchar(25) DEFAULT NULL,
  `consecutivodocequ` int DEFAULT '0',
  `formadepago` int DEFAULT '10',
  `cufe` varchar(250) DEFAULT NULL,
  `consecutivofe` varchar(5) DEFAULT NULL,
  `sqr` text,
  `ssignature` text,
  `mediodepagocompra` varchar(25) DEFAULT NULL,
  `fechavencecredito` date DEFAULT NULL,
  `comandaf` varchar(11) DEFAULT NULL,
  `overvacionescompra` varchar(200) DEFAULT NULL,
  `otrosdescuentos` int DEFAULT '0',
  `p_reteica` decimal(6,3) DEFAULT '0.000',
  `p_reterenta` decimal(6,3) DEFAULT '0.000',
  `v_reteica` decimal(11,2) DEFAULT '0.00',
  `v_reterenta` decimal(11,2) DEFAULT '0.00',
  `ibuatotal` mediumint unsigned DEFAULT '0',
  `advaloremtotal` int DEFAULT '0',
  `flete` int DEFAULT '0',
  `v_reteiva` double DEFAULT '0',
  `p_reteiva` double DEFAULT '0',
  `p_descuentosinfacturar` double DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idproveedor` (`idproveedor`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayorescompras`
--


--
-- Table structure for table `mayoresconteodiario`
--

CREATE TABLE `mayoresconteodiario` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `estado` varchar(25) DEFAULT 'ABIERTO',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idusuario_2` (`idusuario`),
  CONSTRAINT `mayoresconteodiario_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresconteodiario`
--


--
-- Table structure for table `mayorescotizaciones`
--

CREATE TABLE `mayorescotizaciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `bruto` float NOT NULL DEFAULT '0',
  `descuento` float NOT NULL DEFAULT '0',
  `total` float NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `cliente` varchar(25) DEFAULT NULL,
  `direccion` varchar(25) DEFAULT NULL,
  `telefono` varchar(25) DEFAULT NULL,
  `base` double DEFAULT '0',
  `impuesto` double DEFAULT '0',
  `departamento_mc` varchar(25) DEFAULT NULL,
  `ciudad_mc` varchar(25) DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mayorescotizaciones`
--


--
-- Table structure for table `mayoresfichaderegistro`
--

CREATE TABLE `mayoresfichaderegistro` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresfichaderegistro`
--


--
-- Table structure for table `mayoresinventarioinicial`
--

CREATE TABLE `mayoresinventarioinicial` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned DEFAULT '1',
  `estado` varchar(25) DEFAULT 'ABIERTO',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `fecha` (`fecha`,`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idusuario_2` (`idusuario`),
  KEY `cc` (`cc`),
  CONSTRAINT `mayoresinventarioinicial_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresinventarioinicial`
--


--
-- Table structure for table `mayoresnotascredito`
--

CREATE TABLE `mayoresnotascredito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `documentid` varchar(200) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(10) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `fecha_registrofactura` varchar(20) DEFAULT NULL,
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `anuladoencontapyme` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresnotascredito`
--


--
-- Table structure for table `mayoresordendeservicio`
--

CREATE TABLE `mayoresordendeservicio` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `foto1` longtext,
  `foto2` longtext,
  `foto3` longtext,
  `foto4` longtext,
  `foto5` longtext,
  `foto6` longtext,
  `foto7` longtext,
  `foto8` longtext,
  `idmesa` int DEFAULT NULL,
  `estado` varchar(25) NOT NULL DEFAULT 'ABIERTA',
  `idfactura` int DEFAULT '0',
  `kilometraje` int DEFAULT '0',
  `idtecnico1` int DEFAULT NULL,
  `idtecnico2` int DEFAULT NULL,
  `idtecnico3` int DEFAULT NULL,
  `firma` text,
  `horafirmado` datetime DEFAULT NULL,
  `placa` varchar(7) DEFAULT NULL,
  `valor` double DEFAULT '0',
  `numlineas` int DEFAULT '0',
  `estadovehiculo` varchar(50) DEFAULT NULL,
  `idclientes` int DEFAULT '0',
  `idcliente` int DEFAULT '0',
  `descuento` double DEFAULT '0',
  `marca` varchar(50) DEFAULT NULL,
  `modelo` int DEFAULT NULL,
  `matricula` varchar(25) DEFAULT NULL,
  `combustible` int DEFAULT '0',
  `descripcionreparacion` varchar(500) DEFAULT NULL,
  `repuestosaportados` varchar(500) DEFAULT NULL,
  `firmaresguardo` text,
  `horafirmadoresguardo` datetime DEFAULT NULL,
  `autorizadoresguardo` int DEFAULT '0',
  `recogepiezas` int DEFAULT '0',
  `referencia` varchar(25) DEFAULT NULL,
  `numerodebastidor` varchar(25) DEFAULT NULL,
  `fechaprevista` date DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idfactura` (`idfactura`,`idmesa`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresordendeservicio`
--


--
-- Table structure for table `mayorespedidosweb`
--

CREATE TABLE `mayorespedidosweb` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `aliado` varchar(25) DEFAULT NULL,
  `empacado` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `fechavencimiento` date DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `base` double NOT NULL DEFAULT '0',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fecha_anulado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(6) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `prefijofe` varchar(5) DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `despachadoaifood` int DEFAULT '0',
  `valornc` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `observacionanula` varchar(100) DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `anulado` int DEFAULT '0',
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  `codeudor` varchar(50) DEFAULT NULL,
  `telefonoocodeudor` varchar(30) DEFAULT NULL,
  `parentescocodeudor` varchar(25) DEFAULT NULL,
  `plazo` int DEFAULT NULL,
  `valorcuota` int DEFAULT NULL,
  `valorcuotainicial` int DEFAULT NULL,
  `fechacuotainicial` date DEFAULT NULL,
  `cuotasapartirde` date DEFAULT NULL,
  `modalidad` int DEFAULT NULL,
  `identificador` varchar(25) DEFAULT NULL,
  `idvendedor` int DEFAULT NULL,
  `periodiciddad` int DEFAULT '0',
  `centrodecostos` varchar(25) DEFAULT NULL,
  `fechaorden` date DEFAULT NULL,
  `idusuarioanula` int DEFAULT '0',
  `idfactura` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayorespedidosweb`
--


--
-- Table structure for table `mayoresseparados`
--

CREATE TABLE `mayoresseparados` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfactura` int NOT NULL DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `cc` bigint unsigned NOT NULL,
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `cerrado` int NOT NULL DEFAULT '0',
  `abonado` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `idusuarioanula` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `id_2` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresseparados`
--


--
-- Table structure for table `mayoressolicitudes`
--

CREATE TABLE `mayoressolicitudes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `observacion` text,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `destino` varchar(50) DEFAULT NULL,
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `ESTADO` varchar(12) NOT NULL DEFAULT 'ENVIADA',
  `pv` varchar(25) DEFAULT 'distrito',
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoressolicitudes`
--


--
-- Table structure for table `mayorestraslados`
--

CREATE TABLE `mayorestraslados` (
  `id` int NOT NULL AUTO_INCREMENT,
  `origen` varchar(255) NOT NULL,
  `destino` varchar(255) NOT NULL,
  `servicio` varchar(255) DEFAULT NULL,
  `nota` text,
  `idcaja` int DEFAULT NULL,
  `idvendedor` int DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `bruto` decimal(10,2) DEFAULT NULL,
  `consecutivo` int DEFAULT NULL,
  `idmesa` int DEFAULT NULL,
  `idcliente` int DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `cc` varchar(50) DEFAULT NULL,
  `documento` varchar(50) DEFAULT NULL,
  `base` decimal(10,2) DEFAULT NULL,
  `iva` decimal(10,2) DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mayorestraslados`
--


--
-- Table structure for table `mediosdepago`
--

CREATE TABLE `mediosdepago` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `mediodepago` varchar(200) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `orden` int NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  `cuenta_mediosdepago` varchar(8) DEFAULT NULL,
  `codigodian` varchar(3) DEFAULT '10',
  PRIMARY KEY (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mediosdepago`
--

INSERT INTO `mediosdepago` (`id`, `mediodepago`, `cc`, `orden`, `pv`, `cuenta_mediosdepago`, `codigodian`) VALUES (3,'EFECTIVO',1,1,'distrito','110505','10'),(18,'BANCOLOMBIA',2,5,'distrito','110505','10'),(19,'DAVIPLATA',2,2,'distrito','110505','10'),(20,'NEQUI',2,4,'distrito','110505','10'),(21,'SISTECREDITO',2,6,'distrito','110505','10'),(22,'ADDI',2,9,'distrito','110505','10'),(23,'BOLD',2,3,'distrito','110505','10'),(30,'DINERO LOCAL 2 O 3 ',2,7,'distrito',NULL,'10'),(31,'TRANSFERENCIA EDUCATE',2,8,'distrito',NULL,'10'),(33,'ANULACION X CONCEPTO DE',2,10,'distrito',NULL,'10');

--
-- Table structure for table `mesas`
--

CREATE TABLE `mesas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(20) DEFAULT NULL,
  `codigo` varchar(20) NOT NULL DEFAULT ' ',
  `cc` bigint unsigned NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idzona` bigint unsigned NOT NULL DEFAULT '1',
  `orden` int NOT NULL DEFAULT '0',
  `idmeseroactual` bigint unsigned NOT NULL DEFAULT '1',
  `barcode` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `estadomesa` varchar(25) DEFAULT 'OCUPADO',
  `obsmesa` varchar(100) DEFAULT NULL,
  `random` varchar(25) DEFAULT NULL,
  `urlmesa` varchar(250) DEFAULT NULL,
  `descripcionmesa` varchar(250) DEFAULT NULL,
  `valorreserva` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idzona` (`idzona`),
  KEY `idmeseroactual` (`idmeseroactual`),
  CONSTRAINT `mesas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mesas_ibfk_2` FOREIGN KEY (`idzona`) REFERENCES `zonas` (`id`),
  CONSTRAINT `mesas_ibfk_3` FOREIGN KEY (`idmeseroactual`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mesas`
--

INSERT INTO `mesas` (`id`, `nombre`, `codigo`, `cc`, `fechacreacion`, `idusuario`, `idzona`, `orden`, `idmeseroactual`, `barcode`, `pv`, `estadomesa`, `obsmesa`, `random`, `urlmesa`, `descripcionmesa`, `valorreserva`) VALUES (1,NULL,' ',0,'2025-10-30 17:55:48',1,1,0,1,NULL,'extremabelleza','OCUPADO',NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `meses`
--

CREATE TABLE `meses` (
  `mes` int DEFAULT '0',
  `pv` varchar(25) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `meses`
--

INSERT INTO `meses` (`mes`, `pv`) VALUES (1,NULL),(2,NULL),(3,NULL),(4,NULL),(5,NULL),(6,NULL),(7,NULL),(8,NULL),(9,NULL),(10,NULL),(11,NULL),(12,NULL);

--
-- Table structure for table `metas`
--

CREATE TABLE `metas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idvendedor` int NOT NULL DEFAULT '0',
  `idarticulo` int NOT NULL DEFAULT '0',
  `valor` int NOT NULL DEFAULT '0',
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `mes` int NOT NULL DEFAULT '0',
  `cumplimiento` double NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idvendedor` (`idvendedor`,`idarticulo`,`mes`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `metas`
--


--
-- Table structure for table `modificadores`
--

CREATE TABLE `modificadores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfamilia` int NOT NULL,
  `idarticulo` int NOT NULL,
  `minimo` int NOT NULL,
  `maximo` int NOT NULL,
  `incremento` int NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idrapi` varchar(25) DEFAULT NULL,
  `papa` int DEFAULT '0',
  `sesubeaifood` int DEFAULT '0',
  `fechacracion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pv` varchar(25) DEFAULT 'distrito',
  `sesubearappi` int DEFAULT '0',
  `saleenventa` int DEFAULT '1',
  `ordenmodificadores` int DEFAULT '0',
  `incrementov2` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modificadores`
--


--
-- Table structure for table `modificadoresentransito`
--

CREATE TABLE `modificadoresentransito` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `identificador` varchar(50) DEFAULT NULL,
  `idfamilia` int DEFAULT NULL,
  `orden` int NOT NULL DEFAULT '0',
  `idmodifmodif` int DEFAULT NULL,
  `idarticulo` int DEFAULT NULL,
  `familia` varchar(50) DEFAULT NULL,
  `idpadre` int DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `esmodif` int DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `cc` (`idfamilia`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modificadoresentransito`
--


--
-- Table structure for table `modulos`
--

CREATE TABLE `modulos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `modulo` varchar(50) DEFAULT NULL,
  `descripcion` varchar(500) DEFAULT NULL,
  `publico` int DEFAULT '1',
  `orden` int DEFAULT '0',
  `grupo` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `modulo` (`modulo`)
) ENGINE=InnoDB AUTO_INCREMENT=241 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modulos`
--

INSERT INTO `modulos` (`id`, `modulo`, `descripcion`, `publico`, `orden`, `grupo`) VALUES (1,'Ajustar_inventario','Se utiliza para bloquear el acceso al modulo de ajustes de inventario',1,0,'General'),(2,'articulos','Bloquea el acceso a la ruta Ficheros -> articulos',1,0,'General'),(3,'Bajas','En el módulo de ventas aparece un botón que se llama <b>Dar de baja</b>,que permite descontar los productos del inventario sin consumir un consecutivo de las facturas de venta',1,0,'Ventas'),(4,'CajaMayor','Es equivalente a tener un bolsillo en nequi, solo admite registros de ingreso y salida de dinero',1,0,'General'),(5,'callcenter','Bloquea en el menu lateral izquierdo el acceso al Callcenter',1,0,'General'),(6,'CambiarVendedor','Si los meseros no utilizan tomapedidos, en el momento de facturar el cajero puede asignar el vendedor correspondiente al documento',1,0,'Ventas'),(7,'cartera','Habilita en el menu lateral izquierdo el acceso a los botones ¿Què me deben? y ¿Qué debo?; en el módulo de ventas oculta el tipo de venta (CONTADO - CREDITO)',1,0,'General'),(8,'Compras','Habilita el módulo de compras para el registro de facturas de productos que suben al inventario',1,0,'Compras'),(9,'crear_precuenta','Bloquea en el módulo de ventas el acceso al botón que imprime la precuenta',1,0,'General'),(10,'CrearPrecuentaEnCallcenter','En callcenter podría pasar que se quiera imprimir una precuena sin facturar con el objetivo de realizar el proceso de factura una vez el domiciliario ha llegado con el dinero',1,0,'General'),(11,'Devoluciones','Bloquea en el menu lateral izquierdo el acceso al botón Devoluciones',1,0,'General'),(12,'dividircuenta','Permite dividir una mesa en otras para separar la factura de una mesa por productos',1,0,'General'),(13,'DomicilioExterno','Se utiliza cuando solamente una parte del valor que se cobra del domicilio entra a la caja',1,0,'General'),(14,'EditarCantidadEnVentas','Cuando se desea agregar otras unidades a una linea que ya se había registrado en ventas, aparece una caja para digitar la cantidad deseada',1,0,'General'),(15,'EditarCostoMedio','En el módulo de articulos permite cambiar el costo medio, cuando se hace la edición cambia automáticamente todas las preparaciones que est?n tengan como insumo el art?culo en cuesti?n',1,0,'General'),(16,'EditarDomicilios','Cuando se utilza el domicilio externo puede pasar que se registre el valor del domicilio en la columna correcta, este permiso habilita la edicion del valor del domicilio y del valor del domicilio externo en el m?dulo de informes',1,0,'General'),(17,'EditarValorUnitario','Cuando se activa, en el módulo de ventas el valor de venta de un artículo puede ser modificado sin afectar el valor real del art?culo para los dem?s registros',1,0,'General'),(18,'eliminarlineaenventas','Afecta los módulos de ventas, ventas a terceros, callcenter y ventasasesores,cuando se activa, los usuarios pueden eliminar las lineas marchadas antes de facturar',1,0,'General'),(19,'Entregar','Marca las mesas como producto entregado, asi se puede medir el tiempo de espera de los clientes desde que hacen el pedido hasta que lo reciben en la mesa',1,0,'General'),(20,'Exigir_base','Si se activa este permiso, el programa exige que el usuario digite la base con la que inicia el día antes de hacer x, xplu, o z',1,0,'Cierre'),(21,'Facturar','Se usa para mostrar u ocultar los botones de facturar y asociar cliente en el módulo de ventas',1,0,'General'),(22,'Java','Habilita las características asociadas a la impresión automática',1,0,'General'),(23,'Ficheros','Se accede al módulo de configuracón inicial del sistema',1,0,'General'),(24,'Ficheros_permisos','Para controlar el acceso al módulo de asignación de permisos',1,0,'General'),(25,'Garantia','Permite habilitar un campo en ventas terceros que se imprime en la factura con la fecha en que vence la garant?a del producto o servicio',1,0,'General'),(26,'GenerarInformes','Una vez se ha entrado al módulo de informes habilita las herramientas disponibles para ver la información general',1,0,'Informes'),(27,'Hoteles','Habilita las características específicas de los hoteles',1,0,'General'),(29,'Informes','Bloquea el acceso al módulo de informes',1,0,'Informes'),(30,'Informes_x','Permite hacer un informe preeliminar para conocer los valores de la venta y otros moviientos antes de hacer el cierre',1,0,'General'),(31,'Informes_xmp','Imprime un resumen de los medios de pago distintos al efectivo que no se han cerrado',1,0,'General'),(34,'Informes_z','Bloquea el acceso a la z',1,0,'General'),(35,'Impresion_carta','Cuando se imprime una factura de venta y otros documentos el documento sale',1,0,'General'),(36,'Marcas','En ficheros -> art?culos permite clasificar los art?culos por un campo adicional que se llama Marca',1,0,'General'),(37,'mediosdepago','En el m?dulo de ficheros bloquea la herramienta para crear los medios de pago, los tipos de gasto, los tipos de ingreso y ver los documentos pendientes por imprimir desde el java',1,0,'General'),(38,'modificadores','En el módulo de ficheros bloquea la herramienta para crear modificadores, familias de modificadores y la asignacci?n de los mismos',1,0,'General'),(39,'OcultarInformesCompras','Se usa si a un usuario que puede ver otros informes se le quieren ocultar los relacionados con compras',1,0,'General'),(40,'OcultarInformesGastos','Se usa si a un usuario que puede ver otros informes se le quieren ocultar los relacionados con gastos',1,0,'General'),(41,'OcultarInformesVentas','Se usa si a un usuario que puede ver otros informes se le quieren ocultar los relacionados con ventas',1,0,'General'),(42,'OcultarOtrosInformes','Se usa si a un usuario que puede ver otros informes se le quieren ocultar la sección de informes que se llama Otros',1,0,'General'),(43,'OcultarServicio','Al imprimir la x,xplu,z,zplu se oculta el valor del servicio y los medios de pago',1,0,'General'),(45,'otrosingresos','En el módulo de ficheros bloquea la herramienta para crear el registro de los ingresos a la caja que no corresponden a una venta',1,0,'General'),(46,'pendientesporimprimir','Cuando la impresiión de la factura se hace de manera automáctica permite desbloquear las impresiones que están represadas mediante el modulo de pendientes por imprimir',1,0,'General'),(47,'preparaciones','En el módulo de ficheros bloquea la herramienta para crear las recestas de los productos',1,0,'General'),(48,'Prestamo_empleados','En el módulo de ficheros bloquea la herramienta para registrar prestamos a empleados',1,0,'General'),(49,'produccion','En el módulo de ficheros bloquea la herramienta para crear el registro de producción en bodega',1,0,'General'),(50,'Recepcion_de_equipos','Para un negocio que hace reparación de computadores, se llena un formulario de recepción de equipos que permite detallar el estado del dispositivo que se recibe para mantenimiento en la ventana de ventas a terceros',0,0,'General'),(51,'RegistrarMinuta','Permite guardar en la factura un valor asociado a la comanda en el momento de registrar la venta, ese valor es editable en el informe de ver Facturas',1,0,'General'),(52,'roles','En el módulo de ficheros bloquea la cración de roles',1,0,'Terceros'),(53,'SituacionesCocina','Se usa para configurar la comanda de modo que los productos puedan ser enviados a distintas impresoras',1,0,'General'),(54,'tablero_de_inicio','Restringe el acceso a la dashboard que ve el administrador al ingresar al sistema',1,0,'General'),(55,'Tareas','Se utiliza para crear tareas y asignarlas al equipo de trabajo y hacer seguimiento a la ejecución de las mismas',1,0,'General'),(56,'Terceros',' En el módulo de ficheros bloquea las herramientas para crear terceros o modificar permisos',1,0,'Terceros'),(58,'TiendaVirtual','Activa la creación de imagenes en los artículos y las secciones, tambien la publicación de la tienda virtual, y otros módulos que permiten configurar la tienda virtual',1,0,'General'),(59,'traslados','Muestra una alerta cuando llega un traslado desde otro pv, y habilita otras herramientas relacionadas con los traslados',1,0,'General'),(60,'Ventas','Bloquea en el menu lateral izquierdo el acceso al módulo de ventas(por mesas) y cuando aplica a los modulos de teletrabajo, ventas asesores y metas',1,0,'General'),(61,'Ver_cantidad_articulos_en_venta','Cuando se activa, en el módulo de ventas aparece la cantidad Calculada actual en el inventario despues del nombre de cada artículo. Si la cantidad es negativa se muestra un (0) Se llama cantidad calculada porque le resta al valor real las unidades que se encuentran en las mesas pero que aún no se han facturado',1,0,'General'),(62,'Ver_observaciones_en_venta','Afecta callcenter y ventas (mesas), habilita que se puedan escribir observaciones por linea en los pedidos',1,0,'General'),(63,'verinformedeclientes','En el módulo de informes permite descargar el listados de los terceros de la base de datos',1,0,'Informes'),(64,'volveramesas','En el módulo de ventas habilita un botón para refrescar la ventana',1,0,'General'),(65,'zonas','Permite la creación de zonas y de mesas, y la configuración de las habitaciones en el caso de los hoteles',1,0,'General'),(66,'cargarplano','Permite subir información a la base de datos desde una plantilla en excel, (clientes, articulos, etc)',1,0,'Archivos planos'),(67,'Tirilla_Factura','Cuando se factura hace que la factura se abra en otra ventana en formato pdf',0,0,'General'),(70,'VentasTerceros','Permite utilizar sistema de separado, facturación a crédito con vencimiento, o utilizar datos para recepción de equipos en el caso de establecimientos que manejan reparaciones',0,0,'General'),(71,'ConfiguracionTirilla','Parametrice la impresión de las facturas de venta y otros aspectos legales',1,0,'General'),(74,'DescuentoEnCallcenter','Permite aplicar un porcentaje de descuento a todo el documento en el módulo de callcenter',1,0,'General'),(75,'Impresion_automatica','Cuando se hace una precuenta hace que la impresión salga de manera automática en la impresora que está predeterminada en el sistema operativo, solo aplica para los usuarios que utilizan java',1,0,'General'),(76,'Cambiar_clave','En ficheros->terceros permite cambiarle la clave a todos los usuarios, también habilita a un usuario para que cambie su propia clave en el menú contextual',1,0,'Terceros'),(78,'EditarFactura','En el informe de ver facturas permite modificar los datos del cliente y el número de la comanda.',1,0,'General'),(79,'crear_precuentapdf','Abre una pestaña adicional con la precuenta en formato pdf',1,0,'General'),(80,'FacturarSinImprimir','Cuando un punto de venta no tiene impresora, en la ventana de ventas aparece un botón que permite ahorrar tiempo al evitar que salga la ventana de impresi?n',1,0,'General'),(82,'OcultarVentas','Cuando solamente se utiliza el módulo de ventas a terceros, este permiso esconde el botón de ventas en el menú de navegación',1,0,'General'),(83,'VenderAgotados','Permite que el módulo de ventas disponga de los artículos que están agotados, cuando se apaga no se pueden vender hasta que se ingrese la compra o el ajuste de inventario',1,0,'General'),(84,'ImprimirPorZonas','Cuando se activa, la situación de cocina que llega a pendientes por imprimir corresponde a la zona en la que se est? registrando la venta',0,0,'General'),(85,'OcultarServicioSugerido','En la precuenta se oculta la sección que sugiere el 10% de servicio sugerido',0,0,'General'),(86,'CambiarDeMesa','Permite que al arrastrar y soltar una mesa, se ejecute el procedimiento que cambia une los productos de dos mesas',1,0,'General'),(87,'Que_debo','Se usa para administrar los pagos a las compras a crédito',1,0,'General'),(88,'AsignarDomiciliarioEnVenta','Si se activa exige que se seleccione el nombre del domiciliario antes de facturar en el módulo de ventas',0,0,'Ventas'),(90,'AsignarDomiciliarioEnCallcenter','Si se activa exige que se seleccione el nombre del domiciliario antes de facturar en el módulo de callcenter',1,0,'Ventas'),(91,'ConciliarDomicilios','Habilita un módulo para llevar registro de los dineros que los domiciliarios tienen pendientes por entregar',1,0,'Ventas'),(92,'VersionMuchosArticulos','Si se habilita este permiso los módulos de compras, ventas, callcenter y ajustesdeinventario dejan de mostrar los artículos al entrar para que el programa aumente la velocidad',1,0,'Ventas'),(93,'RecalcularIngresoEsperado','En el módulo de creación de turnos permite modificar el ingreso esperado de todos los registros en un periodo de tiempo',1,0,'Horarios'),(94,'SimplificarVistaArticulos','En el módulo de artículos aparece un datalist con los artículos, y se muestra solamente los elementos mínimos de configuración',1,0,'General'),(95,'FechaVencimientoProducto','En el módulo de ventas al pormayor permite agregar la fecha de vencimiento cada producto para que aparezca en la factura de venta',1,0,'Ventas'),(96,'EditarCantidadEnCallcenter','En el módulo de callcenter permite modificar el valor de venta de un artículo',1,0,'Ventas'),(97,'seimprimrecomandaconlafactura','Para la tienda virtual se puede imprimir adicional a la factura de venta una comanda',1,0,'Impresión'),(98,'ZxZonas','en la x,xplu,z,zplu se imprime una sección con las ventas clasificadas por zona',1,0,'Impresión'),(99,'CreditoenCallcenter','Permite habilitar la forma de pago en callcenter para que aparezca CONTADO o CRÉDITO',1,0,'Ventas'),(100,'ConservarBase','En la z o en el cierre de caja no se elimina la <b>base de la caja</b> para que arrastrando el valor para el día siguiente',1,0,'Cierre'),(101,'Medios_de_pago_por_usuario','En la x,xplu,z,zplu se muestran los medios de pago discriminando el usuario que los registró, también aparece un informe llamado <b>Medios de pago por usuario</b>',1,0,'Cierre'),(102,'Informes_domiciliarios','Lo domiciliarios pueden ver el histórico de sus transacciones y la liquidación de los servicios de un día entre otros',1,0,'Informes'),(103,'Informes_aliados','Lo distintos puntos de venta de la alianza pueden ver el resumen de los pedidos que ha llegado desde la tienda virtual',1,0,'Informes'),(104,'VencimientoEnCompras','Permite generar un informe con los productos que están a punto de vencer',1,0,'Compras'),(106,'Previsualizar_cierre','El cierre de caja permite que se muestren los valores con los cuales se va generar la Z',1,0,'Cierre'),(107,'Unidad_de_medida_en_ventas','En el módulo de ventas por mesas aparece una caja para asignarle una unidad de medida a cada producto, (Sirve para descontar varios artículos sin necesida de receta)',1,0,'Ventas'),(108,'esperar','En el módulo de ventas aparece un reloj que manda a imprimir una comanda o que oculta la venta actual según se utilice',1,0,'Ventas'),(109,'Datalist_terceros','Se muestra una lista desplegable con todos los datos de los clientes para filtrar utilizando cualquier campo',1,0,'Ventas'),(111,'Hacer_descuento_en_ventas','Permite que se haga apliquen descuentos por porcentaje o por valor absoluto en el módulo de ventas',1,0,'Ventas'),(112,'Emitir_FE_en_Ventas','Si se activa en el mòdulo de ventas permite hacer una factura electrònica directamente sin necesidad de pasar por el mòdulo de facturaciòn electrònica',1,0,'Ventas'),(113,'Ocultar_observaciones_en_factura','Al imprimir una factura de venta no se muestran las observaciones que se digitan sobre los artículos',1,0,'Impresión'),(115,'Ocultar_servicio_en_precuenta','Al imprimir una precuenta no se muestra el valor del servicio sugerido',1,0,'Impresión'),(116,'Unidades_de_medida','Cree, edite o elimine las unidades de medida',1,0,'General'),(117,'Regularizaciones','Una regularización permite poner todo el inventario con la cantidad en cero para crear un inventario inicial',1,0,'Inventario'),(118,'Crear_cuenta_de_cobro','A diferencia de una venta, no es necesario crear un artículo para crear una cuenta de cobro',1,0,'General'),(119,'Fondos','En ficheros habilita un módulo que permite controlar los dineros en efectivo para caja mayor y en otros medios de pago',1,0,'Informes'),(120,'Paga_comision_por_venta','En artículos habilita un espacio para configurar el porcentaje de comision de cada artículo, y aparece un informe con las comisiones poro vendedor asociadas a los distintos artículos',1,0,'Informes'),(121,'Videos','Puede ver algunos video donde se explica el uso de este programa',1,0,'General'),(122,'Ocultar_boton_sumar','Permite subir la cantidad de productos que se van a vender sin necesidad de agrear uno nuevo',1,0,'Ventas'),(123,'Ocultar_boton_bajar','Permite disminuir la cantidad de productos que se van a vender sin necesidad de eliminar la linea involucrada',1,0,'Ventas'),(124,'Corregir_venta_en_marcha','Permite eliminar una linea en el módulos de ventas cuando no se ha comandado',1,0,'Ventas'),(126,'Ocultar_ventas_de_modificadores','En el informe de ventas por sección oculta los artículos cuyo valor de venta es cero, (Normalmente son los modificadores)',1,0,'Ventas'),(127,'Simular_solicitud','Permite enviar inventario a otros puntos de venta sin necesidad de esperar a que el punto realice la solicitud de inventario',1,0,'Inventario'),(128,'Solicitar_inventario','Permite crear una solicitud de inventario a otro punto de la cadena',1,0,'Inventario'),(129,'Tiendas',' Se utiliza para crear tareas, asignarlas al equipo de trabajo y hacer seguimiento a la ejecución de las mismas',1,0,'General'),(131,'Borrar_articulos_en_la_precuenta','Cuando esta prendido al imprimir la precuenta se eliminan los artículos de la venta auxiliar y no sepueden facturar',0,0,'Ventas'),(132,'Eliminar_tercero','Permite marcar un tercero como descatalogado',1,0,'Terceros'),(133,'Agrupar_lineas_en_documentos','Cuando se imprimen comandas, precuentas o facturas se suman los artículos sin tener en cuenta la procedencia de los modificadores',1,0,'Ventas'),(134,'Secciones','Se utilizan para agrupar los artículos para simplifica el proceso de venta',1,0,'General'),(135,'Informes_inventario','Permite ver cantidades,precios, movimientos y otros estadísticos de los artículos',1,0,'Informes'),(136,'BloquearUnidaddemedidaEnCompras','Cuando los usuarios hacen mal las compras mezclando unidades de medida y haciendo que el costo quede mal calculado y por lo tanto la utilidad, se puede prevenir esa situaci?n prendiendo este permiso ',1,0,'Compras'),(137,'ConfigurarImpuestos','Permite configurar el porcentaje del impuesto que paga el artículo',1,0,'Artículos'),(138,'ConfigurarInventario','Permite configurar si un artículo se compra, es mp,se produce y se cuenta',1,0,'Artículos'),(139,'SistemadeSeparado','Permite utilizar el sistema de separado de manera que el inventario y la factura de venta solamente se crea en el momento qeu el cliente termina de pagar todos los abonos.',1,0,'Ventas'),(140,'CantidadMinima','Permite utilizar el sistema de separado de manera que el inventario y la factura de venta solamente se crea en el momento qeu el cliente termina de pagar todos los abonos.',1,0,'Inventario'),(141,'EditarReferenciaCruzada','Permite editar la referencia cruzada que se utiliza para integrar el inventario en varios puntos de venta.',1,0,'Artículos'),(142,'Subir_foto_cliente','Se usa para que aparezca el logo del aliado en el directorio de empresas',1,0,'Clientes'),(143,'DiscriminarServicio','Hace un prorateo para calcular el aporte de cada medio de pago al valor del servicio recibido en la X o en la Z',1,0,'Cierre'),(144,'AlertarMinimos','En el módulo de ventas, cada que se vende un producto por debajo de la cantidad mínima muestra una alerta para recordar esa situación',1,0,'Ventas'),(145,'ForzarComensales','Cuando se activa este permiso, no es posible facturar antes de registrar el número de comensales de la mesa',1,0,'Ventas'),(146,'Cotizaciones','En el módulo de ventas a terceros habilita un botón para imprimir una cotización sin descontar el inventario ni afectar la caja',1,0,'Ventas'),(147,'Eliminar_articulo','Si se apaga el usuario puede editar los artículos pero no los puede eliminar',1,0,'Inventario'),(149,'ConteoDiario','Se utiliza cuando la tienda cuenta los productos todos los días para hacer cobro de faltantes de inventario',1,0,'Inventario'),(150,'NotaDebitoEnCompras','Se utilza para disminuir el valor de la compra',1,0,'Compras'),(151,'Asignar_vendedor_por_linea','En el módulo de ventas permite la asignación uno a uno de las personas que prestan el servicio a un clliente en el mismo turno',1,0,'Ventas'),(152,'Cambio_de_mesa_en_movil','En los celulares y afines, al dejar presinada una mesa mas de medio segundo, se abre un modal para cambiar los clientes hacia otra mesa o para fusionar mesas',1,0,'Ventas'),(153,'Prestamo_a_la_empresa','Si utiliza para manejar la cartera cuando los socios le prestan dinero a la caja',1,0,'Ventas'),(155,'PlanoArticulos','Permite cargar artículos, secciones, recetas y familias de modificadores',1,0,'Archivos planos'),(157,'PlanoTerceros','Permite cargar terceros y ciudades',1,0,'Archivos planos'),(159,'OcultarInformesOtrosIngresos','Se usa si a un usuario que puede ver otros informes se le quieren ocultar los relacionados con otros ingresos o prÃ©stamos a la empresa',1,0,'Informes'),(161,'Subir_rut_cliente','Permite incrustar un pdf con el rut desde google drive en el mÃ³dulo de clientes',1,0,'Terceros'),(163,'Subir_camara_cliente','Permite incrustar un pdf con la cámara de comercio desde google drive en el módulo de clientes',1,0,'Terceros'),(165,'Subir_cedula_cliente','Permite mostrar una imagen de la cÃ©dula desde google drive en el mÃ³dulo de clientes',1,0,'Terceros'),(167,'Ciudades','Permite crear la lista de ciudades que se pueden seleccionar en terceros',1,0,'General'),(169,'VerCosto','En artículos y otras ventanas permite visualizar el costo o la utilidad según corresponda',1,0,'Artículos'),(172,'verinformedeventas','Muestra un listado con los consecutivos de las facturas que se han realizado en el turno actual, y que van a salir en la siguiente z',1,0,'Informes'),(173,'SimularIngreso','Si utilizas la tienda virtual puedes loguearte como un cliente si necesidad de conocer su contraseña',1,0,'Terceros'),(174,'Ibua','Habilita el registro del  impuesto a las bebidas ultraprocesadas azucaradas por cada artículo ingresándolo como un mayor valor del costo',1,0,'Compras'),(175,'Barrio','Permite asignar un barrio a la dirección',1,0,'Terceros'),(176,'MostrarCiudad','Permite asignar una ciudad a la dirección',1,0,'Terceros'),(177,'Configurar_barrio','Permite la creación y edición de los barrios y lso recargos asociados al domicilio',1,0,'Ficheros'),(178,'Cobrar_segun_barrio','Cuando se prende este servicio, el valor del domicilio se calcula dependiendo del barrio registrado en el tercero',1,0,'Callcenter'),(179,'Factuar_sin_imprimir_call','Muestra el boton para facturar sin imprimir en el modulo de callcenter',1,0,'Callcenter'),(180,'OcultarFacturarNCall','Si se prende este permiso, en callcenter se esconde el boton que hace una factura Normal',1,0,'Callcenter'),(181,'Notificaciones','Permite crear y visualizar recordatorios que se activan en la fecha estipulada por la persona que lo crea',1,0,'General'),(183,'Direccion_2','En el módulo de terceros y en el de callcenter habilita una casilla adicional para direccion alternativa (2)',1,0,'Terceros'),(184,'Direccion_3','En el módulo de terceros y en el de callcenter habilita una casilla adicional para direccion alternativa (3)',1,0,'Terceros'),(185,'Recargo_eventos','Habilita el incremento de un recargo con las mismas caracterìsticas del servicio voluntario pero bajo un rubro independiente',1,0,'Ventas'),(186,'Anticipos','En las órdenes de servicio o en las reservas se puede hacer anticipos para convertir en medios de pago al momento de facturar',1,0,'Ventas'),(187,'ImagenBannerSup','Si un cliente utiliza la tienda virtual, en el módulo de secciones puede cargar una url para un banner superior que represente la sección',1,0,'Secciones'),(188,'OcultarFacturaPos','En el módulo de ventas esconde el botón de facturar de manera que solamente se puedan realizar facturas electrónicas',1,0,'Ventas'),(189,'CSS_personalizado','Permite la creación de estilos propios, para darle al programa la imagen propia de la empresa',0,0,'General'),(190,'AlertaCarteraVencida','Muestra una alerta en todos los módulos con el valor total de la cartera vencida en el día actual',1,0,'General'),(191,'Bitacora','Permite llevar un registro de anotaciones ordenado por fecha en orden descendiente',0,0,'General'),(197,'Editar_email_en_ventas','En el módulo de ventas, al asignar un tercero a la mesa seleccionada, muestra una caja para escribir el email del cliente',1,0,'General'),(205,'Editar_consecutivos','En el módulo de informes aparece una caja para modificar el consecutivo de los distintos tipos de documentos que se pueden generar',1,0,'Informes'),(206,'Habilitar_reenvio_a_Dian','Cuando falla la transmisión de una factura electrónica se debe volver a enviar despues de revisar que efectivamente el documento no se halla entregado correctamente, este permiso habilita un boton en el informe <b>Documentos sin cufe</b> para tal efecto',1,0,'Informes'),(207,'Bloquear_toda_la_facturacion','No permite hacer el cierre de caja hasta que toda la facturación se ha transmitido correctamente a la Dian',1,0,'Informes'),(208,'Facturacion_electronica',NULL,1,0,'Factura electrónica'),(209,'hacer_cierre_de_caja',NULL,1,0,'Informes'),(211,'Imprimir_z','',1,0,'Informes'),(213,'Imprimir_cliente_en_precuenta','Se utiliza para que la precuenta tenga el nombre del tercero, especialmente en la zona de Recoger',1,0,'Ventas'),(214,'Enviar_factura_a_consumidorfinal','En los módulos que permiten crear facturación electrónica habilita la opción de enviar la factura a nombre de consumidor final cuando no se tienen los datos del cliente',1,0,'Factura electrónica'),(215,'Cambiar_modificadores_en_venta','Permite cambiar el modificador de un artículo si necesidad de borrar todo el pedido',1,0,'Ventas'),(216,'Historia_clinica_optometria','Habilita un enlace para crear historias clínicas y hacer seguimientos individuales de cada paciente',1,0,'Clientes'),(217,'editarvalordeventa','En el módulo de artículos permite editar el valor de venta',1,0,'Articulos'),(218,'Asesor_en_abonos','Cuando se hace un abono se debe seleccionar un asesor al cual se le puede asignar es pago, de manera que se pueda utilizar para sacar una relación de los dineros que se le debe a los asesores por los pagos recibidos',1,0,'Cartera'),(219,'Informes_Facturacion_electronica','En el módulo de informes muestra un grupo específico con la información de la facturación filtrando por fecha de transmisión a la Dian',1,0,'Factura electrónica'),(220,'EditarArticulo','Permite la creación y edicion de nombre, referencia, description  larga y otros conceptos en el módulo de artículos',1,0,'Articulos'),(221,'modificar_articulos','Permite la creación y edicion de nombre, referencia, description  larga y otros conceptos en el módulo de artículos',1,0,'Articulos'),(222,'RecalcularValorDeVentaEnCompras','Al activar este permiso, se habilita un botón en el módulo de compras que permite modificar el valor de venta de todos los artículos involucrados, calculando un porcentaje previamente establecido en la configuración',1,0,'Compras'),(223,'BloquearCierrePorDevoluciones','Cuando una factura de venta se anula en control, pero no queda asociada a una nota crédito en la Dian, se bloquea el cierre de caja para exigirle al vendedor que tramite la nota crédito',1,0,'Facturacion_electronica'),(224,'imprimirqrmesa','Se utiliza para que el cliente vea el valor de la cuenta desde su dispositivo movil',1,0,'Ventas'),(225,'Informes_Medios_de_pago','',1,0,'Informes'),(226,'Avisar_retencion','En el módulo de ventas muestra una alerta cuando se trata de un cliente al que es necesario aplicar retenciones',1,0,'Ventas'),(227,'Imprimir_etiquetas','Permite imprimir etiquetas QR o de barras para identificar productos',1,0,'Artículos'),(228,'Prestamos','Gestione los préstamos de dinero',1,0,'General'),(229,'ConfigurarHorariosTienda','Permite programar cuando la tienda virtual està abierta o cerrada',1,0,'TiendaVirtual'),(230,'Bloquear_cliente_en_ventas','En el módulo de terceros se puede marcar a los clientes con la categoría Bloqueado, cuando se intenta realizar una venta a un cliente Bloqueado, el sistema no permite que se haga la venta',1,0,'Ventas'),(231,'Utilizar_un_unico_medio_de_pago','En los módulos de ventas, cuando el usuario presiona un medio de pago, se crea el registro por el valor total de la venta con el medio de pago seleccionado, eso quiere decir que nunca es posible utilizar varios medios de pago',0,0,'Ventas'),(232,'imprimirzfe','',0,0,'Informes'),(233,'ClasificarClientes','',1,0,'Terceros'),(234,'Cambiar_contacto','',1,0,'Terceros'),(235,'Cambiar_direccion','',1,0,'Terceros'),(236,'Cambiar_tipodepersona','',1,0,'Terceros'),(237,'Cambiar_fechadenacimiento','',1,0,'Terceros'),(238,'Cambiar_expedidoen','',1,0,'Terceros'),(239,'ConsultarPrecios','Permite consultar los precios de venta de los productos (Unicamente eso)',1,0,'General'),(240,'Historicos_chequeopreoperacional','Visualice informes a partir de los chequeos preoperacionales que se hacen diariamente a los vehículos',1,0,'General');

--
-- Table structure for table `movimientoscajas`
--

CREATE TABLE `movimientoscajas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tipo` varchar(25) DEFAULT NULL,
  `valor` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `movimientoscajas`
--


--
-- Table structure for table `movimientoscliente`
--

CREATE TABLE `movimientoscliente` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` datetime DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `saldoinicial` int DEFAULT NULL,
  `saldofinal` int DEFAULT NULL,
  `idcliente` int DEFAULT NULL,
  `idfactura` int DEFAULT NULL,
  `valor` int DEFAULT NULL,
  `tipo` varchar(25) DEFAULT NULL,
  `anulado` int DEFAULT '0',
  `idabono` int DEFAULT NULL,
  `idseparado` int DEFAULT NULL,
  `idabonoseparado` int DEFAULT NULL,
  `idmayorcortesia` int NOT NULL DEFAULT '0',
  `idmayorseparado` int NOT NULL DEFAULT '0',
  `idnotacredito` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  `idprestamo` int DEFAULT '0',
  `idvendedor` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `movimientoscliente`
--


--
-- Table structure for table `movimientosdebodega`
--

CREATE TABLE `movimientosdebodega` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idarticulo` bigint unsigned NOT NULL,
  `movimiento` varchar(50) DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `cantidad` double DEFAULT NULL,
  `ventana` varchar(100) DEFAULT NULL,
  `valorfinal` double DEFAULT NULL,
  `consecutivo` int DEFAULT NULL,
  `valorinicial` double DEFAULT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idusuario` (`idusuario`),
  KEY `cc` (`cc`),
  KEY `idz` (`idz`),
  CONSTRAINT `movimientosdebodega_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `movimientosdebodega_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `movimientosdebodega`
--


--
-- Table structure for table `movimientosdeinventario`
--

CREATE TABLE `movimientosdeinventario` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idarticulo` bigint unsigned NOT NULL,
  `movimiento` varchar(200) DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `cantidad` double DEFAULT NULL,
  `ventana` varchar(100) DEFAULT NULL,
  `valorfinal` double DEFAULT NULL,
  `consecutivo` int DEFAULT NULL,
  `valorinicial` double DEFAULT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idproduccion` int DEFAULT '0',
  `descripcionmov` varchar(50) DEFAULT NULL,
  `imeimov` varchar(50) DEFAULT NULL,
  `costomovimiento` decimal(11,2) DEFAULT '0.00',
  `tablamov` varchar(25) DEFAULT NULL,
  `idtablatablamov` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idusuario` (`idusuario`),
  KEY `cc` (`cc`),
  KEY `idz` (`idz`),
  CONSTRAINT `movimientosdeinventario_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `movimientosdeinventario`
--

INSERT INTO `movimientosdeinventario` (`id`, `fechacreacion`, `idarticulo`, `movimiento`, `idusuario`, `cantidad`, `ventana`, `valorfinal`, `consecutivo`, `valorinicial`, `cc`, `idz`, `idproduccion`, `descripcionmov`, `imeimov`, `costomovimiento`, `tablamov`, `idtablatablamov`) VALUES (1,'2025-11-19 15:08:51',2,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'SACHET ACEITE DE ARGAN Y ROMERO X 30 G',NULL,0.00,NULL,NULL),(2,'2025-11-19 15:09:04',7,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO  LISOS KIDS X 30 G',NULL,0.00,NULL,NULL),(3,'2025-11-19 15:09:15',4,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO CAPILAR DE CEBOLLA X 30 G',NULL,0.00,NULL,NULL),(4,'2025-11-19 15:09:27',5,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO CAPILAR DE COLAGENO X  30 G',NULL,0.00,NULL,NULL),(5,'2025-11-19 15:09:38',3,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO REPARADOR COCO X  30 G',NULL,0.00,NULL,NULL),(6,'2025-11-19 15:09:49',6,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO RIZOS  ADULTO X 30 G',NULL,0.00,NULL,NULL),(7,'2025-11-19 15:12:56',8,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO S.O.S X 30 G',NULL,0.00,NULL,NULL),(8,'2025-11-19 15:15:28',9,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO RIZOS KIDS X 30 G',NULL,0.00,NULL,NULL),(9,'2025-11-19 15:20:49',10,'INVENTARIO NUEVO',5,24,'AJUSTES DE INVENTARIO',24,NULL,0,2,1,0,'TRATAMIENTO LISOS ADULTO X 30 G',NULL,0.00,NULL,NULL),(10,'2025-11-19 15:28:55',12,'INVENTARIO NUEVO',5,3,'AJUSTES DE INVENTARIO',3,NULL,0,2,1,0,'PERFUME CAPILAR  MAGIC ROSE X 105 ML',NULL,0.00,NULL,NULL),(11,'2025-11-19 15:29:09',13,'INVENTARIO NUEVO',5,3,'AJUSTES DE INVENTARIO',3,NULL,0,2,1,0,'PERFUME CAPILAR  ORIENTAL ADICTION  X 105 ML',NULL,0.00,NULL,NULL),(12,'2025-11-19 15:29:43',15,'INVENTARIO NUEVO',5,3,'AJUSTES DE INVENTARIO',3,NULL,0,2,1,0,'PERFUME CAPILAR PURE LOVE X 105 ML',NULL,0.00,NULL,NULL),(13,'2025-11-19 15:29:52',11,'INVENTARIO NUEVO',5,3,'AJUSTES DE INVENTARIO',3,NULL,0,2,1,0,'PERFUME CAPILAR TERMOPORTECTOR',NULL,0.00,NULL,NULL),(14,'2025-11-19 15:30:11',14,'INVENTARIO NUEVO',5,3,'AJUSTES DE INVENTARIO',3,NULL,0,2,1,0,'PERFUME CAPILAR  BERRY FRESH X 105 ML',NULL,0.00,NULL,NULL);

--
-- Table structure for table `municipalities`
--

CREATE TABLE `municipalities` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `department_id` bigint unsigned NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` char(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `codefacturador` bigint unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `municipalities_department_id_foreign` (`department_id`),
  CONSTRAINT `municipalities_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1123 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `municipalities`
--

INSERT INTO `municipalities` (`id`, `department_id`, `name`, `code`, `created_at`, `updated_at`, `codefacturador`) VALUES (1,2,'Medellín','05001','2024-06-21 01:05:20','2024-06-21 01:05:20',12601),(2,2,'Abejorral','05002','2024-06-21 01:05:20','2024-06-21 01:05:20',12533),(3,2,'Abriaquí','05004','2024-06-21 01:05:20','2024-06-21 01:05:20',12534),(4,2,'Alejandría','05021','2024-06-21 01:05:20','2024-06-21 01:05:20',12535),(5,2,'Amagá','05030','2024-06-21 01:05:20','2024-06-21 01:05:20',12536),(6,2,'Amalfi','05031','2024-06-21 01:05:20','2024-06-21 01:05:20',12537),(7,2,'Andes','05034','2024-06-21 01:05:20','2024-06-21 01:05:20',12538),(8,2,'Angelópolis','05036','2024-06-21 01:05:20','2024-06-21 01:05:20',12539),(9,2,'Angostura','05038','2024-06-21 01:05:20','2024-06-21 01:05:20',12540),(10,2,'Anorí','05040','2024-06-21 01:05:20','2024-06-21 01:05:20',12541),(11,2,'Santa Fé De Antioquia','05042','2024-06-21 01:05:20','2024-06-21 01:05:20',12723),(12,2,'Anzá','05044','2024-06-21 01:05:20','2024-06-21 01:05:20',12543),(13,2,'Apartadó','05045','2024-06-21 01:05:20','2024-06-21 01:05:20',12544),(14,2,'Arboletes','05051','2024-06-21 01:05:20','2024-06-21 01:05:20',12545),(15,2,'Argelia','05055','2024-06-21 01:05:20','2024-06-21 01:05:20',12920),(16,2,'Armenia','05059','2024-06-21 01:05:20','2024-06-21 01:05:20',13337),(17,2,'Barbosa','05079','2024-06-21 01:05:20','2024-06-21 01:05:20',13366),(18,2,'Belmira','05086','2024-06-21 01:05:20','2024-06-21 01:05:20',12550),(19,2,'Bello','05088','2024-06-21 01:05:20','2024-06-21 01:05:20',12549),(20,2,'Betania','05091','2024-06-21 01:05:20','2024-06-21 01:05:20',12551),(21,2,'Betulia','05093','2024-06-21 01:05:20','2024-06-21 01:05:20',13369),(22,2,'Ciudad Bolívar ','05101','2024-06-21 01:05:20','2024-06-21 01:05:20',12568),(23,2,'Briceño','05107','2024-06-21 01:05:20','2024-06-21 01:05:20',12742),(24,2,'Buriticá','05113','2024-06-21 01:05:20','2024-06-21 01:05:20',12555),(25,2,'Cáceres','05120','2024-06-21 01:05:20','2024-06-21 01:05:20',12556),(26,2,'Caicedo','05125','2024-06-21 01:05:20','2024-06-21 01:05:20',12557),(27,2,'Caldas','05129','2024-06-21 01:05:20','2024-06-21 01:05:20',12745),(28,2,'Campamento','05134','2024-06-21 01:05:20','2024-06-21 01:05:20',12559),(29,2,'Cañasgordas','05138','2024-06-21 01:05:20','2024-06-21 01:05:20',12992),(30,2,'Caracolí','05142','2024-06-21 01:05:20','2024-06-21 01:05:20',12561),(31,2,'Caramanta','05145','2024-06-21 01:05:20','2024-06-21 01:05:20',12562),(32,2,'Carepa','05147','2024-06-21 01:05:20','2024-06-21 01:05:20',12563),(33,2,'El Carmen De Viboral','05148','2024-06-21 01:05:20','2024-06-21 01:05:20',12564),(34,2,'Carolina','05150','2024-06-21 01:05:20','2024-06-21 01:05:20',12565),(35,2,'Caucasia','05154','2024-06-21 01:05:20','2024-06-21 01:05:20',12566),(36,2,'Chigorodó','05172','2024-06-21 01:05:20','2024-06-21 01:05:20',12567),(37,2,'Cisneros','05190','2024-06-21 01:05:20','2024-06-21 01:05:20',12568),(38,2,'Cocorná','05197','2024-06-21 01:05:20','2024-06-21 01:05:20',12569),(39,2,'Concepción','05206','2024-06-21 01:05:20','2024-06-21 01:05:20',13383),(40,2,'Concordia','05209','2024-06-21 01:05:20','2024-06-21 01:05:20',13207),(41,2,'Copacabana','05212','2024-06-21 01:05:20','2024-06-21 01:05:20',12572),(42,2,'Dabeiba','05234','2024-06-21 01:05:20','2024-06-21 01:05:20',12573),(43,2,'Donmatías','05237','2024-06-21 01:05:20','2024-06-21 01:05:20',12574),(44,2,'Ebéjico','05240','2024-06-21 01:05:20','2024-06-21 01:05:20',12575),(45,2,'El Bagre ','05250','2024-06-21 01:05:20','2024-06-21 01:05:20',12576),(46,2,'Entrerríos','05264','2024-06-21 01:05:20','2024-06-21 01:05:20',12577),(47,2,'Envigado','05266','2024-06-21 01:05:20','2024-06-21 01:05:20',12578),(48,2,'Fredonia','05282','2024-06-21 01:05:20','2024-06-21 01:05:20',12579),(49,2,'Frontino','05284','2024-06-21 01:05:20','2024-06-21 01:05:20',12580),(50,2,'Giraldo','05306','2024-06-21 01:05:20','2024-06-21 01:05:20',12581),(51,2,'Girardota','05308','2024-06-21 01:05:20','2024-06-21 01:05:20',12582),(52,2,'Gómez Plata ','05310','2024-06-21 01:05:20','2024-06-21 01:05:20',12583),(53,2,'Granada','05313','2024-06-21 01:05:20','2024-06-21 01:05:20',13241),(54,2,'Guadalupe','05315','2024-06-21 01:05:20','2024-06-21 01:05:20',13400),(55,2,'Guarne','05318','2024-06-21 01:05:20','2024-06-21 01:05:20',12586),(56,2,'Guatapé','05321','2024-06-21 01:05:20','2024-06-21 01:05:20',12587),(57,2,'Heliconia','05347','2024-06-21 01:05:20','2024-06-21 01:05:20',12588),(58,2,'Hispania','05353','2024-06-21 01:05:20','2024-06-21 01:05:20',12589),(59,2,'Itagüí','05360','2024-06-21 01:05:20','2024-06-21 01:05:20',12590),(60,2,'Ituango','05361','2024-06-21 01:05:20','2024-06-21 01:05:20',12591),(61,2,'Jardín','05364','2024-06-21 01:05:20','2024-06-21 01:05:20',12592),(62,2,'Jericó','05368','2024-06-21 01:05:20','2024-06-21 01:05:20',12778),(63,2,'La Ceja ','05376','2024-06-21 01:05:20','2024-06-21 01:05:20',12594),(64,2,'La Estrella ','05380','2024-06-21 01:05:20','2024-06-21 01:05:20',12595),(65,2,'La Pintada ','05390','2024-06-21 01:05:20','2024-06-21 01:05:20',12596),(66,2,'La Unión ','05400','2024-06-21 01:05:20','2024-06-21 01:05:20',12597),(67,2,'Liborina','05411','2024-06-21 01:05:20','2024-06-21 01:05:20',12598),(68,2,'Maceo','05425','2024-06-21 01:05:20','2024-06-21 01:05:20',12599),(69,2,'Marinilla','05440','2024-06-21 01:05:20','2024-06-21 01:05:20',12600),(70,2,'Montebello','05467','2024-06-21 01:05:20','2024-06-21 01:05:20',12602),(71,2,'Murindó','05475','2024-06-21 01:05:20','2024-06-21 01:05:20',12603),(72,2,'Mutatá','05480','2024-06-21 01:05:20','2024-06-21 01:05:20',12604),(73,2,'Nariño','05483','2024-06-21 01:05:20','2024-06-21 01:05:20',13298),(74,2,'Necoclí','05490','2024-06-21 01:05:20','2024-06-21 01:05:20',12607),(75,2,'Nechí','05495','2024-06-21 01:05:20','2024-06-21 01:05:20',12606),(76,2,'Olaya','05501','2024-06-21 01:05:20','2024-06-21 01:05:20',12608),(77,2,'Peñol','05541','2024-06-21 01:05:20','2024-06-21 01:05:20',12609),(78,2,'Peque','05543','2024-06-21 01:05:20','2024-06-21 01:05:20',12610),(79,2,'Pueblorrico','05576','2024-06-21 01:05:20','2024-06-21 01:05:20',12611),(80,2,'Puerto Berrío ','05579','2024-06-21 01:05:20','2024-06-21 01:05:20',12612),(81,2,'Puerto Nare ','05585','2024-06-21 01:05:20','2024-06-21 01:05:20',12613),(82,2,'Puerto Triunfo ','05591','2024-06-21 01:05:20','2024-06-21 01:05:20',12614),(83,2,'Remedios','05604','2024-06-21 01:05:20','2024-06-21 01:05:20',12615),(84,2,'Retiro','05607','2024-06-21 01:05:20','2024-06-21 01:05:20',12616),(85,2,'Rionegro','05615','2024-06-21 01:05:20','2024-06-21 01:05:20',12617),(86,2,'Sabanalarga','05628','2024-06-21 01:05:20','2024-06-21 01:05:20',12911),(87,2,'Sabaneta','05631','2024-06-21 01:05:20','2024-06-21 01:05:20',12619),(88,2,'Salgar','05642','2024-06-21 01:05:20','2024-06-21 01:05:20',12620),(89,2,'San Andrés De Cuerquía','05647','2024-06-21 01:05:20','2024-06-21 01:05:20',13430),(90,2,'San Carlos ','05649','2024-06-21 01:05:20','2024-06-21 01:05:20',13039),(91,2,'San Francisco ','05652','2024-06-21 01:05:20','2024-06-21 01:05:20',13331),(92,2,'San Jerónimo ','05656','2024-06-21 01:05:20','2024-06-21 01:05:20',12624),(93,2,'San José De La Montaña ','05658','2024-06-21 01:05:20','2024-06-21 01:05:20',12625),(94,2,'San Juan De Urabá','05659','2024-06-21 01:05:20','2024-06-21 01:05:20',12626),(95,2,'San Luis ','05660','2024-06-21 01:05:20','2024-06-21 01:05:20',13515),(96,2,'San Pedro De Los Milagros ','05664','2024-06-21 01:05:20','2024-06-21 01:05:20',12628),(97,2,'San Pedro De Urabá','05665','2024-06-21 01:05:20','2024-06-21 01:05:20',12629),(98,2,'San Rafael ','05667','2024-06-21 01:05:20','2024-06-21 01:05:20',12630),(99,2,'San Roque ','05670','2024-06-21 01:05:20','2024-06-21 01:05:20',12631),(100,2,'San Vicente Ferrer','05674','2024-06-21 01:05:20','2024-06-21 01:05:20',12896),(101,2,'Santa Bárbara ','05679','2024-06-21 01:05:20','2024-06-21 01:05:20',13437),(102,2,'Santa Rosa De Osos','05686','2024-06-21 01:05:20','2024-06-21 01:05:20',12634),(103,2,'Santo Domingo ','05690','2024-06-21 01:05:20','2024-06-21 01:05:20',12635),(104,2,'El Santuario ','05697','2024-06-21 01:05:20','2024-06-21 01:05:20',12636),(105,2,'Segovia','05736','2024-06-21 01:05:20','2024-06-21 01:05:20',12637),(106,2,'Sonsón','05756','2024-06-21 01:05:20','2024-06-21 01:05:20',12638),(107,2,'Sopetrán','05761','2024-06-21 01:05:20','2024-06-21 01:05:20',12639),(108,2,'Támesis','05789','2024-06-21 01:05:20','2024-06-21 01:05:20',12640),(109,2,'Tarazá','05790','2024-06-21 01:05:20','2024-06-21 01:05:20',12641),(110,2,'Tarso','05792','2024-06-21 01:05:20','2024-06-21 01:05:20',12642),(111,2,'Titiribí','05809','2024-06-21 01:05:20','2024-06-21 01:05:20',12643),(112,2,'Toledo','05819','2024-06-21 01:05:20','2024-06-21 01:05:20',12644),(113,2,'Turbo','05837','2024-06-21 01:05:20','2024-06-21 01:05:20',12645),(114,2,'Uramita','05842','2024-06-21 01:05:20','2024-06-21 01:05:20',12646),(115,2,'Urrao','05847','2024-06-21 01:05:20','2024-06-21 01:05:20',12647),(116,2,'Valdivia','05854','2024-06-21 01:05:20','2024-06-21 01:05:20',12648),(117,2,'Valparaíso','05856','2024-06-21 01:05:20','2024-06-21 01:05:20',12899),(118,2,'Vegachí','05858','2024-06-21 01:05:20','2024-06-21 01:05:20',12650),(119,2,'Venecia','05861','2024-06-21 01:05:20','2024-06-21 01:05:20',12651),(120,2,'Vigía Del Fuerte','05873','2024-06-21 01:05:20','2024-06-21 01:05:20',12652),(121,2,'Yalí','05885','2024-06-21 01:05:20','2024-06-21 01:05:20',12653),(122,2,'Yarumal','05887','2024-06-21 01:05:20','2024-06-21 01:05:20',12654),(123,2,'Yolombó','05890','2024-06-21 01:05:20','2024-06-21 01:05:20',12655),(124,2,'Yondó','05893','2024-06-21 01:05:20','2024-06-21 01:05:20',12656),(125,2,'Zaragoza','05895','2024-06-21 01:05:20','2024-06-21 01:05:20',12657),(126,4,'Barranquilla','08001','2024-06-21 01:05:20','2024-06-21 01:05:20',12666),(127,4,'Baranoa','08078','2024-06-21 01:05:20','2024-06-21 01:05:20',12665),(128,4,'Campo De La Cruz','08137','2024-06-21 01:05:20','2024-06-21 01:05:20',12667),(129,4,'Candelaria','08141','2024-06-21 01:05:20','2024-06-21 01:05:20',12668),(130,4,'Galapa','08296','2024-06-21 01:05:20','2024-06-21 01:05:20',12669),(131,4,'Juan De Acosta','08372','2024-06-21 01:05:20','2024-06-21 01:05:20',12670),(132,4,'Luruaco','08421','2024-06-21 01:05:20','2024-06-21 01:05:20',12671),(133,4,'Malambo','08433','2024-06-21 01:05:20','2024-06-21 01:05:20',12672),(134,4,'Manatí','08436','2024-06-21 01:05:20','2024-06-21 01:05:20',12673),(135,4,'Palmar De Varela','08520','2024-06-21 01:05:20','2024-06-21 01:05:20',12674),(136,4,'Piojó','08549','2024-06-21 01:05:20','2024-06-21 01:05:20',12675),(137,4,'Polonuevo','08558','2024-06-21 01:05:20','2024-06-21 01:05:20',12676),(138,4,'Ponedera','08560','2024-06-21 01:05:20','2024-06-21 01:05:20',12677),(139,4,'Puerto Colombia ','08573','2024-06-21 01:05:20','2024-06-21 01:05:20',12678),(140,4,'Repelón','08606','2024-06-21 01:05:20','2024-06-21 01:05:20',12679),(141,4,'Sabanagrande','08634','2024-06-21 01:05:20','2024-06-21 01:05:20',12680),(142,4,'Sabanalarga','08638','2024-06-21 01:05:20','2024-06-21 01:05:20',12911),(143,4,'Santa Lucía ','08675','2024-06-21 01:05:20','2024-06-21 01:05:20',12682),(144,4,'Santo Tomás ','08685','2024-06-21 01:05:20','2024-06-21 01:05:20',12683),(145,4,'Soledad','08758','2024-06-21 01:05:20','2024-06-21 01:05:20',12684),(146,4,'Suan','08770','2024-06-21 01:05:20','2024-06-21 01:05:20',12685),(147,4,'Tubará','08832','2024-06-21 01:05:20','2024-06-21 01:05:20',12686),(148,4,'Usiacurí','08849','2024-06-21 01:05:20','2024-06-21 01:05:20',12687),(149,5,'Bogotá, D.c. ','11001','2024-06-21 01:05:20','2024-06-21 01:05:20',12688),(150,6,'Cartagena De Indias','13001','2024-06-21 01:05:20','2024-06-21 01:05:20',12697),(151,6,'Achí','13006','2024-06-21 01:05:20','2024-06-21 01:05:20',12689),(152,6,'Altos Del Rosario','13030','2024-06-21 01:05:20','2024-06-21 01:05:20',12690),(153,6,'Arenal','13042','2024-06-21 01:05:20','2024-06-21 01:05:20',12691),(154,6,'Arjona','13052','2024-06-21 01:05:20','2024-06-21 01:05:20',12692),(155,6,'Arroyohondo','13062','2024-06-21 01:05:20','2024-06-21 01:05:20',12693),(156,6,'Barranco De Loba','13074','2024-06-21 01:05:20','2024-06-21 01:05:20',12694),(157,6,'Calamar','13140','2024-06-21 01:05:20','2024-06-21 01:05:20',13160),(158,6,'Cantagallo','13160','2024-06-21 01:05:20','2024-06-21 01:05:20',12696),(159,6,'Cicuco','13188','2024-06-21 01:05:20','2024-06-21 01:05:20',12698),(160,6,'Córdoba','13212','2024-06-21 01:05:20','2024-06-21 01:05:20',13341),(161,6,'Clemencia','13222','2024-06-21 01:05:20','2024-06-21 01:05:20',12699),(162,6,'El Carmen De Bolívar','13244','2024-06-21 01:05:20','2024-06-21 01:05:20',12701),(163,6,'El Guamo ','13248','2024-06-21 01:05:20','2024-06-21 01:05:20',12702),(164,6,'El Peñón ','13268','2024-06-21 01:05:20','2024-06-21 01:05:20',13390),(165,6,'Hatillo De Loba','13300','2024-06-21 01:05:20','2024-06-21 01:05:20',12704),(166,6,'Magangué','13430','2024-06-21 01:05:20','2024-06-21 01:05:20',12705),(167,6,'Mahates','13433','2024-06-21 01:05:20','2024-06-21 01:05:20',12706),(168,6,'Margarita','13440','2024-06-21 01:05:20','2024-06-21 01:05:20',12707),(169,6,'María La Baja','13442','2024-06-21 01:05:20','2024-06-21 01:05:20',12708),(170,6,'Montecristo','13458','2024-06-21 01:05:20','2024-06-21 01:05:20',12710),(171,6,'Mompós','13468','2024-06-21 01:05:20','2024-06-21 01:05:20',12709),(172,6,'Morales','13473','2024-06-21 01:05:20','2024-06-21 01:05:20',12711),(173,6,'Norosí','13490','2024-06-21 01:05:20','2024-06-21 01:05:20',12871),(174,6,'Pinillos','13549','2024-06-21 01:05:20','2024-06-21 01:05:20',12712),(175,6,'Regidor','13580','2024-06-21 01:05:20','2024-06-21 01:05:20',12713),(176,6,'Río Viejo ','13600','2024-06-21 01:05:20','2024-06-21 01:05:20',12714),(177,6,'San Cristóbal ','13620','2024-06-21 01:05:20','2024-06-21 01:05:20',12715),(178,6,'San Estanislao ','13647','2024-06-21 01:05:20','2024-06-21 01:05:20',12716),(179,6,'San Fernando ','13650','2024-06-21 01:05:20','2024-06-21 01:05:20',12717),(180,6,'San Jacinto ','13654','2024-06-21 01:05:20','2024-06-21 01:05:20',12718),(181,6,'San Jacinto Del Cauca','13655','2024-06-21 01:05:20','2024-06-21 01:05:20',12719),(182,6,'San Juan Nepomuceno','13657','2024-06-21 01:05:20','2024-06-21 01:05:20',12720),(183,6,'San Martín De Loba','13667','2024-06-21 01:05:20','2024-06-21 01:05:20',12721),(184,6,'San Pablo ','13670','2024-06-21 01:05:20','2024-06-21 01:05:20',12722),(185,6,'Santa Catalina ','13673','2024-06-21 01:05:20','2024-06-21 01:05:20',12723),(186,6,'Santa Rosa ','13683','2024-06-21 01:05:20','2024-06-21 01:05:20',12949),(187,6,'Santa Rosa Del Sur','13688','2024-06-21 01:05:20','2024-06-21 01:05:20',12725),(188,6,'Simití','13744','2024-06-21 01:05:20','2024-06-21 01:05:20',12726),(189,6,'Soplaviento','13760','2024-06-21 01:05:20','2024-06-21 01:05:20',12727),(190,6,'Talaigua Nuevo ','13780','2024-06-21 01:05:20','2024-06-21 01:05:20',12728),(191,6,'Tiquisio','13810','2024-06-21 01:05:20','2024-06-21 01:05:20',12729),(192,6,'Turbaco','13836','2024-06-21 01:05:20','2024-06-21 01:05:20',12730),(193,6,'Turbaná','13838','2024-06-21 01:05:20','2024-06-21 01:05:20',12731),(194,6,'Villanueva','13873','2024-06-21 01:05:20','2024-06-21 01:05:20',13448),(195,6,'Zambrano','13894','2024-06-21 01:05:20','2024-06-21 01:05:20',12733),(196,7,'Tunja','15001','2024-06-21 01:05:20','2024-06-21 01:05:20',12848),(197,7,'Almeida','15022','2024-06-21 01:05:20','2024-06-21 01:05:20',12734),(198,7,'Aquitania','15047','2024-06-21 01:05:20','2024-06-21 01:05:20',12735),(199,7,'Arcabuco','15051','2024-06-21 01:05:20','2024-06-21 01:05:20',12736),(200,7,'Belén','15087','2024-06-21 01:05:20','2024-06-21 01:05:20',13265),(201,7,'Berbeo','15090','2024-06-21 01:05:20','2024-06-21 01:05:20',12738),(202,7,'Betéitiva','15092','2024-06-21 01:05:20','2024-06-21 01:05:20',12739),(203,7,'Boavita','15097','2024-06-21 01:05:20','2024-06-21 01:05:20',12740),(204,7,'Boyacá','15104','2024-06-21 01:05:20','2024-06-21 01:05:20',12741),(205,7,'Briceño','15106','2024-06-21 01:05:20','2024-06-21 01:05:20',12742),(206,7,'Buenavista','15109','2024-06-21 01:05:20','2024-06-21 01:05:20',13450),(207,7,'Busbanzá','15114','2024-06-21 01:05:20','2024-06-21 01:05:20',12744),(208,7,'Caldas','15131','2024-06-21 01:05:20','2024-06-21 01:05:20',12745),(209,7,'Campohermoso','15135','2024-06-21 01:05:20','2024-06-21 01:05:20',12746),(210,7,'Cerinza','15162','2024-06-21 01:05:20','2024-06-21 01:05:20',12747),(211,7,'Chinavita','15172','2024-06-21 01:05:20','2024-06-21 01:05:20',12748),(212,7,'Chiquinquirá','15176','2024-06-21 01:05:20','2024-06-21 01:05:20',12749),(213,7,'Chiscas','15180','2024-06-21 01:05:20','2024-06-21 01:05:20',12751),(214,7,'Chita','15183','2024-06-21 01:05:20','2024-06-21 01:05:20',12752),(215,7,'Chitaraque','15185','2024-06-21 01:05:20','2024-06-21 01:05:20',12753),(216,7,'Chivatá','15187','2024-06-21 01:05:20','2024-06-21 01:05:20',12754),(217,7,'Ciénega','15189','2024-06-21 01:05:20','2024-06-21 01:05:20',12756),(218,7,'Cómbita','15204','2024-06-21 01:05:20','2024-06-21 01:05:20',12757),(219,7,'Coper','15212','2024-06-21 01:05:20','2024-06-21 01:05:20',12758),(220,7,'Corrales','15215','2024-06-21 01:05:20','2024-06-21 01:05:20',12759),(221,7,'Covarachía','15218','2024-06-21 01:05:20','2024-06-21 01:05:20',12760),(222,7,'Cubará','15223','2024-06-21 01:05:20','2024-06-21 01:05:20',12761),(223,7,'Cucaita','15224','2024-06-21 01:05:20','2024-06-21 01:05:20',12762),(224,7,'Cuítiva','15226','2024-06-21 01:05:20','2024-06-21 01:05:20',12763),(225,7,'Chíquiza','15232','2024-06-21 01:05:20','2024-06-21 01:05:20',12750),(226,7,'Chivor','15236','2024-06-21 01:05:20','2024-06-21 01:05:20',12755),(227,7,'Duitama','15238','2024-06-21 01:05:20','2024-06-21 01:05:20',12764),(228,7,'El Cocuy ','15244','2024-06-21 01:05:20','2024-06-21 01:05:20',12765),(229,7,'El Espino ','15248','2024-06-21 01:05:20','2024-06-21 01:05:20',12766),(230,7,'Firavitoba','15272','2024-06-21 01:05:20','2024-06-21 01:05:20',12767),(231,7,'Floresta','15276','2024-06-21 01:05:20','2024-06-21 01:05:20',12768),(232,7,'Gachantivá','15293','2024-06-21 01:05:20','2024-06-21 01:05:20',12769),(233,7,'Gámeza','15296','2024-06-21 01:05:20','2024-06-21 01:05:20',12770),(234,7,'Garagoa','15299','2024-06-21 01:05:20','2024-06-21 01:05:20',12771),(235,7,'Guacamayas','15317','2024-06-21 01:05:20','2024-06-21 01:05:20',12772),(236,7,'Guateque','15322','2024-06-21 01:05:20','2024-06-21 01:05:20',12773),(237,7,'Guayatá','15325','2024-06-21 01:05:20','2024-06-21 01:05:20',12774),(238,7,'Güicán De La Sierra','15332','2024-06-21 01:05:20','2024-06-21 01:05:20',12775),(239,7,'Iza','15362','2024-06-21 01:05:20','2024-06-21 01:05:20',12776),(240,7,'Jenesano','15367','2024-06-21 01:05:20','2024-06-21 01:05:20',12777),(241,7,'Jericó','15368','2024-06-21 01:05:20','2024-06-21 01:05:20',12778),(242,7,'Labranzagrande','15377','2024-06-21 01:05:20','2024-06-21 01:05:20',12782),(243,7,'La Capilla ','15380','2024-06-21 01:05:20','2024-06-21 01:05:20',12779),(244,7,'La Victoria ','15401','2024-06-21 01:05:20','2024-06-21 01:05:20',12781),(245,7,'La Uvita ','15403','2024-06-21 01:05:20','2024-06-21 01:05:20',12780),(246,7,'Villa De Leyva','15407','2024-06-21 01:05:20','2024-06-21 01:05:20',12652),(247,7,'Macanal','15425','2024-06-21 01:05:20','2024-06-21 01:05:20',12784),(248,7,'Maripí','15442','2024-06-21 01:05:20','2024-06-21 01:05:20',12785),(249,7,'Miraflores','15455','2024-06-21 01:05:20','2024-06-21 01:05:20',13162),(250,7,'Mongua','15464','2024-06-21 01:05:20','2024-06-21 01:05:20',12787),(251,7,'Monguí','15466','2024-06-21 01:05:20','2024-06-21 01:05:20',12788),(252,7,'Moniquirá','15469','2024-06-21 01:05:20','2024-06-21 01:05:20',12789),(253,7,'Motavita','15476','2024-06-21 01:05:20','2024-06-21 01:05:20',12790),(254,7,'Muzo','15480','2024-06-21 01:05:20','2024-06-21 01:05:20',12791),(255,7,'Nobsa','15491','2024-06-21 01:05:20','2024-06-21 01:05:20',12792),(256,7,'Nuevo Colón ','15494','2024-06-21 01:05:20','2024-06-21 01:05:20',12793),(257,7,'Oicatá','15500','2024-06-21 01:05:20','2024-06-21 01:05:20',12794),(258,7,'Otanche','15507','2024-06-21 01:05:20','2024-06-21 01:05:20',12795),(259,7,'Pachavita','15511','2024-06-21 01:05:20','2024-06-21 01:05:20',12796),(260,7,'Páez','15514','2024-06-21 01:05:20','2024-06-21 01:05:20',12941),(261,7,'Paipa','15516','2024-06-21 01:05:20','2024-06-21 01:05:20',12798),(262,7,'Pajarito','15518','2024-06-21 01:05:20','2024-06-21 01:05:20',12799),(263,7,'Panqueba','15522','2024-06-21 01:05:20','2024-06-21 01:05:20',12800),(264,7,'Pauna','15531','2024-06-21 01:05:20','2024-06-21 01:05:20',12801),(265,7,'Paya','15533','2024-06-21 01:05:20','2024-06-21 01:05:20',12802),(266,7,'Paz De Río','15537','2024-06-21 01:05:20','2024-06-21 01:05:20',12908),(267,7,'Pesca','15542','2024-06-21 01:05:20','2024-06-21 01:05:20',12804),(268,7,'Pisba','15550','2024-06-21 01:05:20','2024-06-21 01:05:20',12805),(269,7,'Puerto Boyacá ','15572','2024-06-21 01:05:20','2024-06-21 01:05:20',12806),(270,7,'Quípama','15580','2024-06-21 01:05:20','2024-06-21 01:05:20',12807),(271,7,'Ramiriquí','15599','2024-06-21 01:05:20','2024-06-21 01:05:20',12808),(272,7,'Ráquira','15600','2024-06-21 01:05:20','2024-06-21 01:05:20',12809),(273,7,'Rondón','15621','2024-06-21 01:05:20','2024-06-21 01:05:20',12810),(274,7,'Saboyá','15632','2024-06-21 01:05:20','2024-06-21 01:05:20',12811),(275,7,'Sáchica','15638','2024-06-21 01:05:20','2024-06-21 01:05:20',12812),(276,7,'Samacá','15646','2024-06-21 01:05:20','2024-06-21 01:05:20',12813),(277,7,'San Eduardo ','15660','2024-06-21 01:05:20','2024-06-21 01:05:20',12814),(278,7,'San José De Pare','15664','2024-06-21 01:05:20','2024-06-21 01:05:20',12815),(279,7,'San Luis De Gaceno','15667','2024-06-21 01:05:20','2024-06-21 01:05:20',12816),(280,7,'San Mateo ','15673','2024-06-21 01:05:20','2024-06-21 01:05:20',12817),(281,7,'San Miguel De Sema','15676','2024-06-21 01:05:20','2024-06-21 01:05:20',12818),(282,7,'San Pablo De Borbur','15681','2024-06-21 01:05:20','2024-06-21 01:05:20',12819),(283,7,'Santana','15686','2024-06-21 01:05:20','2024-06-21 01:05:20',12823),(284,7,'Santa María ','15690','2024-06-21 01:05:20','2024-06-21 01:05:20',13192),(285,7,'Santa Rosa De Viterbo','15693','2024-06-21 01:05:20','2024-06-21 01:05:20',12821),(286,7,'Santa Sofía ','15696','2024-06-21 01:05:20','2024-06-21 01:05:20',12822),(287,7,'Sativanorte','15720','2024-06-21 01:05:20','2024-06-21 01:05:20',12824),(288,7,'Sativasur','15723','2024-06-21 01:05:20','2024-06-21 01:05:20',12825),(289,7,'Siachoque','15740','2024-06-21 01:05:20','2024-06-21 01:05:20',12826),(290,7,'Soatá','15753','2024-06-21 01:05:20','2024-06-21 01:05:20',12827),(291,7,'Socotá','15755','2024-06-21 01:05:20','2024-06-21 01:05:20',12829),(292,7,'Socha','15757','2024-06-21 01:05:20','2024-06-21 01:05:20',12828),(293,7,'Sogamoso','15759','2024-06-21 01:05:20','2024-06-21 01:05:20',12830),(294,7,'Somondoco','15761','2024-06-21 01:05:20','2024-06-21 01:05:20',12831),(295,7,'Sora','15762','2024-06-21 01:05:20','2024-06-21 01:05:20',12832),(296,7,'Sotaquirá','15763','2024-06-21 01:05:20','2024-06-21 01:05:20',12834),(297,7,'Soracá','15764','2024-06-21 01:05:20','2024-06-21 01:05:20',12833),(298,7,'Susacón','15774','2024-06-21 01:05:20','2024-06-21 01:05:20',12835),(299,7,'Sutamarchán','15776','2024-06-21 01:05:20','2024-06-21 01:05:20',12836),(300,7,'Sutatenza','15778','2024-06-21 01:05:20','2024-06-21 01:05:20',12837),(301,7,'Tasco','15790','2024-06-21 01:05:20','2024-06-21 01:05:20',12838),(302,7,'Tenza','15798','2024-06-21 01:05:20','2024-06-21 01:05:20',12839),(303,7,'Tibaná','15804','2024-06-21 01:05:20','2024-06-21 01:05:20',12840),(304,7,'Tibasosa','15806','2024-06-21 01:05:20','2024-06-21 01:05:20',12841),(305,7,'Tinjacá','15808','2024-06-21 01:05:20','2024-06-21 01:05:20',12842),(306,7,'Tipacoque','15810','2024-06-21 01:05:20','2024-06-21 01:05:20',12843),(307,7,'Toca','15814','2024-06-21 01:05:20','2024-06-21 01:05:20',12844),(308,7,'Togüí','15816','2024-06-21 01:05:20','2024-06-21 01:05:20',12845),(309,7,'Tópaga','15820','2024-06-21 01:05:20','2024-06-21 01:05:20',12846),(310,7,'Tota','15822','2024-06-21 01:05:20','2024-06-21 01:05:20',12847),(311,7,'Tununguá','15832','2024-06-21 01:05:20','2024-06-21 01:05:20',12849),(312,7,'Turmequé','15835','2024-06-21 01:05:20','2024-06-21 01:05:20',12850),(313,7,'Tuta','15837','2024-06-21 01:05:20','2024-06-21 01:05:20',12851),(314,7,'Tutazá','15839','2024-06-21 01:05:20','2024-06-21 01:05:20',12852),(315,7,'Úmbita','15842','2024-06-21 01:05:20','2024-06-21 01:05:20',12853),(316,7,'Ventaquemada','15861','2024-06-21 01:05:20','2024-06-21 01:05:20',12854),(317,7,'Viracachá','15879','2024-06-21 01:05:20','2024-06-21 01:05:20',12855),(318,7,'Zetaquira','15897','2024-06-21 01:05:20','2024-06-21 01:05:20',12856),(319,8,'Manizales','17001','2024-06-21 01:05:20','2024-06-21 01:05:20',12865),(320,8,'Aguadas','17013','2024-06-21 01:05:20','2024-06-21 01:05:20',12857),(321,8,'Anserma','17042','2024-06-21 01:05:20','2024-06-21 01:05:20',12858),(322,8,'Aranzazu','17050','2024-06-21 01:05:20','2024-06-21 01:05:20',12859),(323,8,'Belalcázar','17088','2024-06-21 01:05:20','2024-06-21 01:05:20',12860),(324,8,'Chinchiná','17174','2024-06-21 01:05:20','2024-06-21 01:05:20',12861),(325,8,'Filadelfia','17272','2024-06-21 01:05:20','2024-06-21 01:05:20',12862),(326,8,'La Dorada ','17380','2024-06-21 01:05:20','2024-06-21 01:05:20',12863),(327,8,'La Merced ','17388','2024-06-21 01:05:20','2024-06-21 01:05:20',12864),(328,8,'Manzanares','17433','2024-06-21 01:05:20','2024-06-21 01:05:20',12866),(329,8,'Marmato','17442','2024-06-21 01:05:20','2024-06-21 01:05:20',12867),(330,8,'Marquetalia','17444','2024-06-21 01:05:20','2024-06-21 01:05:20',12868),(331,8,'Marulanda','17446','2024-06-21 01:05:20','2024-06-21 01:05:20',12869),(332,8,'Neira','17486','2024-06-21 01:05:20','2024-06-21 01:05:20',12870),(333,8,'Norcasia','17495','2024-06-21 01:05:20','2024-06-21 01:05:20',12871),(334,8,'Pácora','17513','2024-06-21 01:05:20','2024-06-21 01:05:20',12872),(335,8,'Palestina','17524','2024-06-21 01:05:20','2024-06-21 01:05:20',12873),(336,8,'Pensilvania','17541','2024-06-21 01:05:20','2024-06-21 01:05:20',12874),(337,8,'Riosucio','17614','2024-06-21 01:05:20','2024-06-21 01:05:20',13009),(338,8,'Risaralda','17616','2024-06-21 01:05:20','2024-06-21 01:05:20',12876),(339,8,'Salamina','17653','2024-06-21 01:05:20','2024-06-21 01:05:20',12877),(340,8,'Samaná','17662','2024-06-21 01:05:20','2024-06-21 01:05:20',12878),(341,8,'San José ','17665','2024-06-21 01:05:20','2024-06-21 01:05:20',12879),(342,8,'Supía','17777','2024-06-21 01:05:20','2024-06-21 01:05:20',12880),(343,8,'Victoria','17867','2024-06-21 01:05:20','2024-06-21 01:05:20',12881),(344,8,'Villamaría','17873','2024-06-21 01:05:20','2024-06-21 01:05:20',12882),(345,8,'Viterbo','17877','2024-06-21 01:05:20','2024-06-21 01:05:20',12883),(346,9,'Florencia','18001','2024-06-21 01:05:20','2024-06-21 01:05:20',12890),(347,9,'Albania','18029','2024-06-21 01:05:20','2024-06-21 01:05:20',13364),(348,9,'Belén De Los Andaquíes','18094','2024-06-21 01:05:20','2024-06-21 01:05:20',12885),(349,9,'Cartagena Del Chairá','18150','2024-06-21 01:05:20','2024-06-21 01:05:20',12886),(350,9,'Curillo','18205','2024-06-21 01:05:20','2024-06-21 01:05:20',12887),(351,9,'El Doncello ','18247','2024-06-21 01:05:20','2024-06-21 01:05:20',12888),(352,9,'El Paujíl ','18256','2024-06-21 01:05:20','2024-06-21 01:05:20',12889),(353,9,'La Montañita ','18410','2024-06-21 01:05:20','2024-06-21 01:05:20',12891),(354,9,'Milán','18460','2024-06-21 01:05:20','2024-06-21 01:05:20',12892),(355,9,'Morelia','18479','2024-06-21 01:05:20','2024-06-21 01:05:20',12893),(356,9,'Puerto Rico ','18592','2024-06-21 01:05:20','2024-06-21 01:05:20',13252),(357,9,'San José Del Fragua','18610','2024-06-21 01:05:20','2024-06-21 01:05:20',12815),(358,9,'San Vicente Del Caguán','18753','2024-06-21 01:05:20','2024-06-21 01:05:20',12896),(359,9,'Solano','18756','2024-06-21 01:05:20','2024-06-21 01:05:20',12897),(360,9,'Solita','18785','2024-06-21 01:05:20','2024-06-21 01:05:20',12898),(361,9,'Valparaíso','18860','2024-06-21 01:05:20','2024-06-21 01:05:20',12899),(362,11,'Popayán','19001','2024-06-21 01:05:20','2024-06-21 01:05:20',12944),(363,11,'Almaguer','19022','2024-06-21 01:05:20','2024-06-21 01:05:20',12919),(364,11,'Argelia','19050','2024-06-21 01:05:20','2024-06-21 01:05:20',12920),(365,11,'Balboa','19075','2024-06-21 01:05:20','2024-06-21 01:05:20',13350),(366,11,'Bolívar','19100','2024-06-21 01:05:20','2024-06-21 01:05:20',13370),(367,11,'Buenos Aires ','19110','2024-06-21 01:05:20','2024-06-21 01:05:20',12923),(368,11,'Cajibío','19130','2024-06-21 01:05:20','2024-06-21 01:05:20',12924),(369,11,'Caldono','19137','2024-06-21 01:05:20','2024-06-21 01:05:20',12925),(370,11,'Caloto','19142','2024-06-21 01:05:20','2024-06-21 01:05:20',12926),(371,11,'Corinto','19212','2024-06-21 01:05:20','2024-06-21 01:05:20',12927),(372,11,'El Tambo ','19256','2024-06-21 01:05:20','2024-06-21 01:05:20',13279),(373,11,'Florencia','19290','2024-06-21 01:05:20','2024-06-21 01:05:20',12930),(374,11,'Guachené','19300','2024-06-21 01:05:20','2024-06-21 01:05:20',12772),(375,11,'Guapí','19318','2024-06-21 01:05:20','2024-06-21 01:05:20',12931),(376,11,'Inzá','19355','2024-06-21 01:05:20','2024-06-21 01:05:20',12932),(377,11,'Jambaló','19364','2024-06-21 01:05:20','2024-06-21 01:05:20',12933),(378,11,'La Sierra ','19392','2024-06-21 01:05:20','2024-06-21 01:05:20',12934),(379,11,'La Vega ','19397','2024-06-21 01:05:20','2024-06-21 01:05:20',13094),(380,11,'López De Micay','19418','2024-06-21 01:05:20','2024-06-21 01:05:20',12936),(381,11,'Mercaderes','19450','2024-06-21 01:05:20','2024-06-21 01:05:20',12937),(382,11,'Miranda','19455','2024-06-21 01:05:20','2024-06-21 01:05:20',12938),(383,11,'Morales','19473','2024-06-21 01:05:20','2024-06-21 01:05:20',12939),(384,11,'Padilla','19513','2024-06-21 01:05:20','2024-06-21 01:05:20',12940),(385,11,'Páez','19517','2024-06-21 01:05:20','2024-06-21 01:05:20',12941),(386,11,'Patía','19532','2024-06-21 01:05:20','2024-06-21 01:05:20',13301),(387,11,'Piamonte','19533','2024-06-21 01:05:20','2024-06-21 01:05:20',12942),(388,11,'Piendamó - Tunía','19548','2024-06-21 01:05:20','2024-06-21 01:05:20',12943),(389,11,'Puerto Tejada ','19573','2024-06-21 01:05:20','2024-06-21 01:05:20',12945),(390,11,'Puracé','19585','2024-06-21 01:05:20','2024-06-21 01:05:20',12946),(391,11,'Rosas','19622','2024-06-21 01:05:20','2024-06-21 01:05:20',12947),(392,11,'San Sebastián ','19693','2024-06-21 01:05:20','2024-06-21 01:05:20',13222),(393,11,'Santander De Quilichao','19698','2024-06-21 01:05:20','2024-06-21 01:05:20',12950),(394,11,'Santa Rosa ','19701','2024-06-21 01:05:20','2024-06-21 01:05:20',12949),(395,11,'Silvia','19743','2024-06-21 01:05:20','2024-06-21 01:05:20',12951),(396,11,'Sotara','19760','2024-06-21 01:05:20','2024-06-21 01:05:20',12952),(397,11,'Suárez','19780','2024-06-21 01:05:20','2024-06-21 01:05:20',13517),(398,11,'Sucre','19785','2024-06-21 01:05:20','2024-06-21 01:05:20',13472),(399,11,'Timbío','19807','2024-06-21 01:05:20','2024-06-21 01:05:20',12955),(400,11,'Timbiquí','19809','2024-06-21 01:05:20','2024-06-21 01:05:20',12956),(401,11,'Toribío','19821','2024-06-21 01:05:20','2024-06-21 01:05:20',12957),(402,11,'Totoró','19824','2024-06-21 01:05:20','2024-06-21 01:05:20',12958),(403,11,'Villa Rica ','19845','2024-06-21 01:05:20','2024-06-21 01:05:20',12959),(404,12,'Valledupar','20001','2024-06-21 01:05:20','2024-06-21 01:05:20',12984),(405,12,'Aguachica','20011','2024-06-21 01:05:20','2024-06-21 01:05:20',12960),(406,12,'Agustín Codazzi ','20013','2024-06-21 01:05:20','2024-06-21 01:05:20',12961),(407,12,'Astrea','20032','2024-06-21 01:05:20','2024-06-21 01:05:20',12962),(408,12,'Becerril','20045','2024-06-21 01:05:20','2024-06-21 01:05:20',12963),(409,12,'Bosconia','20060','2024-06-21 01:05:20','2024-06-21 01:05:20',12964),(410,12,'Chimichagua','20175','2024-06-21 01:05:20','2024-06-21 01:05:20',12965),(411,12,'Chiriguaná','20178','2024-06-21 01:05:20','2024-06-21 01:05:20',12966),(412,12,'Curumaní','20228','2024-06-21 01:05:20','2024-06-21 01:05:20',12967),(413,12,'El Copey ','20238','2024-06-21 01:05:20','2024-06-21 01:05:20',12968),(414,12,'El Paso ','20250','2024-06-21 01:05:20','2024-06-21 01:05:20',12969),(415,12,'Gamarra','20295','2024-06-21 01:05:20','2024-06-21 01:05:20',12970),(416,12,'González','20310','2024-06-21 01:05:20','2024-06-21 01:05:20',12971),(417,12,'La Gloria ','20383','2024-06-21 01:05:20','2024-06-21 01:05:20',12972),(418,12,'La Jagua De Ibirico','20400','2024-06-21 01:05:20','2024-06-21 01:05:20',12972),(419,12,'Manaure Balcón Del Cesar','20443','2024-06-21 01:05:20','2024-06-21 01:05:20',12974),(420,12,'Pailitas','20517','2024-06-21 01:05:20','2024-06-21 01:05:20',12975),(421,12,'Pelaya','20550','2024-06-21 01:05:20','2024-06-21 01:05:20',12976),(422,12,'Pueblo Bello ','20570','2024-06-21 01:05:20','2024-06-21 01:05:20',12977),(423,12,'Río De Oro','20614','2024-06-21 01:05:20','2024-06-21 01:05:20',12978),(424,12,'La Paz ','20621','2024-06-21 01:05:20','2024-06-21 01:05:20',13408),(425,12,'San Alberto ','20710','2024-06-21 01:05:20','2024-06-21 01:05:20',12980),(426,12,'San Diego ','20750','2024-06-21 01:05:20','2024-06-21 01:05:20',12981),(427,12,'San Martín ','20770','2024-06-21 01:05:20','2024-06-21 01:05:20',12982),(428,12,'Tamalameque','20787','2024-06-21 01:05:20','2024-06-21 01:05:20',12983),(429,14,'Montería','23001','2024-06-21 01:05:20','2024-06-21 01:05:20',13029),(430,14,'Ayapel','23068','2024-06-21 01:05:20','2024-06-21 01:05:20',13015),(431,14,'Buenavista','23079','2024-06-21 01:05:20','2024-06-21 01:05:20',13016),(432,14,'Canalete','23090','2024-06-21 01:05:20','2024-06-21 01:05:20',13017),(433,14,'Cereté','23162','2024-06-21 01:05:20','2024-06-21 01:05:20',13018),(434,14,'Chimá','23168','2024-06-21 01:05:20','2024-06-21 01:05:20',13380),(435,14,'Chinú','23182','2024-06-21 01:05:20','2024-06-21 01:05:20',13020),(436,14,'Ciénaga De Oro','23189','2024-06-21 01:05:20','2024-06-21 01:05:20',13021),(437,14,'Cotorra','23300','2024-06-21 01:05:20','2024-06-21 01:05:20',13022),(438,14,'La Apartada ','23350','2024-06-21 01:05:20','2024-06-21 01:05:20',13023),(439,14,'Lorica','23417','2024-06-21 01:05:20','2024-06-21 01:05:20',13024),(440,14,'Los Córdobas ','23419','2024-06-21 01:05:20','2024-06-21 01:05:20',13025),(441,14,'Momil','23464','2024-06-21 01:05:20','2024-06-21 01:05:20',13026),(442,14,'Montelíbano','23466','2024-06-21 01:05:20','2024-06-21 01:05:20',13028),(443,14,'Moñitos','23500','2024-06-21 01:05:20','2024-06-21 01:05:20',13027),(444,14,'Planeta Rica ','23555','2024-06-21 01:05:20','2024-06-21 01:05:20',13030),(445,14,'Pueblo Nuevo ','23570','2024-06-21 01:05:20','2024-06-21 01:05:20',13031),(446,14,'Puerto Escondido ','23574','2024-06-21 01:05:20','2024-06-21 01:05:20',13032),(447,14,'Puerto Libertador ','23580','2024-06-21 01:05:20','2024-06-21 01:05:20',13033),(448,14,'Purísima De La Concepción','23586','2024-06-21 01:05:20','2024-06-21 01:05:20',13034),(449,14,'Sahagún','23660','2024-06-21 01:05:20','2024-06-21 01:05:20',13035),(450,14,'San Andrés De Sotavento','23670','2024-06-21 01:05:20','2024-06-21 01:05:20',13430),(451,14,'San Antero ','23672','2024-06-21 01:05:20','2024-06-21 01:05:20',13037),(452,14,'San Bernardo Del Viento','23675','2024-06-21 01:05:20','2024-06-21 01:05:20',13311),(453,14,'San Carlos ','23678','2024-06-21 01:05:20','2024-06-21 01:05:20',13039),(454,14,'San José De Uré','23682','2024-06-21 01:05:20','2024-06-21 01:05:20',12815),(455,14,'San Pelayo ','23686','2024-06-21 01:05:20','2024-06-21 01:05:20',13040),(456,14,'Tierralta','23807','2024-06-21 01:05:20','2024-06-21 01:05:20',13041),(457,14,'Tuchín','23815','2024-06-21 01:05:20','2024-06-21 01:05:20',12686),(458,14,'Valencia','23855','2024-06-21 01:05:20','2024-06-21 01:05:20',13042),(459,15,'Agua De Dios','25001','2024-06-21 01:05:20','2024-06-21 01:05:20',13043),(460,15,'Albán','25019','2024-06-21 01:05:20','2024-06-21 01:05:20',13260),(461,15,'Anapoima','25035','2024-06-21 01:05:20','2024-06-21 01:05:20',13045),(462,15,'Anolaima','25040','2024-06-21 01:05:20','2024-06-21 01:05:20',13046),(463,15,'Arbeláez','25053','2024-06-21 01:05:20','2024-06-21 01:05:20',13047),(464,15,'Beltrán','25086','2024-06-21 01:05:20','2024-06-21 01:05:20',13048),(465,15,'Bituima','25095','2024-06-21 01:05:20','2024-06-21 01:05:20',13049),(466,15,'Bojacá','25099','2024-06-21 01:05:20','2024-06-21 01:05:20',13050),(467,15,'Cabrera','25120','2024-06-21 01:05:20','2024-06-21 01:05:20',13372),(468,15,'Cachipay','25123','2024-06-21 01:05:20','2024-06-21 01:05:20',13052),(469,15,'Cajicá','25126','2024-06-21 01:05:20','2024-06-21 01:05:20',13053),(470,15,'Caparrapí','25148','2024-06-21 01:05:20','2024-06-21 01:05:20',13054),(471,15,'Cáqueza','25151','2024-06-21 01:05:20','2024-06-21 01:05:20',13055),(472,15,'Carmen De Carupa','25154','2024-06-21 01:05:20','2024-06-21 01:05:20',13056),(473,15,'Chaguaní','25168','2024-06-21 01:05:20','2024-06-21 01:05:20',13057),(474,15,'Chía','25175','2024-06-21 01:05:20','2024-06-21 01:05:20',13058),(475,15,'Chipaque','25178','2024-06-21 01:05:20','2024-06-21 01:05:20',13059),(476,15,'Choachí','25181','2024-06-21 01:05:20','2024-06-21 01:05:20',13060),(477,15,'Chocontá','25183','2024-06-21 01:05:20','2024-06-21 01:05:20',13061),(478,15,'Cogua','25200','2024-06-21 01:05:20','2024-06-21 01:05:20',13062),(479,15,'Cota','25214','2024-06-21 01:05:20','2024-06-21 01:05:20',13063),(480,15,'Cucunubá','25224','2024-06-21 01:05:20','2024-06-21 01:05:20',13064),(481,15,'El Colegio ','25245','2024-06-21 01:05:20','2024-06-21 01:05:20',13065),(482,15,'El Peñón ','25258','2024-06-21 01:05:20','2024-06-21 01:05:20',13390),(483,15,'El Rosal ','25260','2024-06-21 01:05:20','2024-06-21 01:05:20',13067),(484,15,'Facatativá','25269','2024-06-21 01:05:20','2024-06-21 01:05:20',13068),(485,15,'Fómeque','25279','2024-06-21 01:05:20','2024-06-21 01:05:20',13069),(486,15,'Fosca','25281','2024-06-21 01:05:20','2024-06-21 01:05:20',13070),(487,15,'Funza','25286','2024-06-21 01:05:20','2024-06-21 01:05:20',13071),(488,15,'Fúquene','25288','2024-06-21 01:05:20','2024-06-21 01:05:20',13072),(489,15,'Fusagasugá','25290','2024-06-21 01:05:20','2024-06-21 01:05:20',13073),(490,15,'Gachalá','25293','2024-06-21 01:05:20','2024-06-21 01:05:20',13074),(491,15,'Gachancipá','25295','2024-06-21 01:05:20','2024-06-21 01:05:20',13075),(492,15,'Gachetá','25297','2024-06-21 01:05:20','2024-06-21 01:05:20',13076),(493,15,'Gama','25299','2024-06-21 01:05:20','2024-06-21 01:05:20',13077),(494,15,'Girardot','25307','2024-06-21 01:05:20','2024-06-21 01:05:20',13078),(495,15,'Granada','25312','2024-06-21 01:05:20','2024-06-21 01:05:20',13241),(496,15,'Guachetá','25317','2024-06-21 01:05:20','2024-06-21 01:05:20',13080),(497,15,'Guaduas','25320','2024-06-21 01:05:20','2024-06-21 01:05:20',13081),(498,15,'Guasca','25322','2024-06-21 01:05:20','2024-06-21 01:05:20',13082),(499,15,'Guataquí','25324','2024-06-21 01:05:20','2024-06-21 01:05:20',13083),(500,15,'Guatavita','25326','2024-06-21 01:05:20','2024-06-21 01:05:20',13084),(501,15,'Guayabal De Síquima','25328','2024-06-21 01:05:20','2024-06-21 01:05:20',13085),(502,15,'Guayabetal','25335','2024-06-21 01:05:20','2024-06-21 01:05:20',13086),(503,15,'Gutiérrez','25339','2024-06-21 01:05:20','2024-06-21 01:05:20',13087),(504,15,'Jerusalén','25368','2024-06-21 01:05:20','2024-06-21 01:05:20',13088),(505,15,'Junín','25372','2024-06-21 01:05:20','2024-06-21 01:05:20',13089),(506,15,'La Calera ','25377','2024-06-21 01:05:20','2024-06-21 01:05:20',13090),(507,15,'La Mesa ','25386','2024-06-21 01:05:20','2024-06-21 01:05:20',13091),(508,15,'La Palma ','25394','2024-06-21 01:05:20','2024-06-21 01:05:20',13092),(509,15,'La Peña ','25398','2024-06-21 01:05:20','2024-06-21 01:05:20',13093),(510,15,'La Vega ','25402','2024-06-21 01:05:20','2024-06-21 01:05:20',13094),(511,15,'Lenguazaque','25407','2024-06-21 01:05:20','2024-06-21 01:05:20',13095),(512,15,'Machetá','25426','2024-06-21 01:05:20','2024-06-21 01:05:20',13096),(513,15,'Madrid','25430','2024-06-21 01:05:20','2024-06-21 01:05:20',13097),(514,15,'Manta','25436','2024-06-21 01:05:20','2024-06-21 01:05:20',13098),(515,15,'Medina','25438','2024-06-21 01:05:20','2024-06-21 01:05:20',13099),(516,15,'Mosquera','25473','2024-06-21 01:05:20','2024-06-21 01:05:20',13100),(517,15,'Nariño','25483','2024-06-21 01:05:20','2024-06-21 01:05:20',13298),(518,15,'Nemocón','25486','2024-06-21 01:05:20','2024-06-21 01:05:20',13102),(519,15,'Nilo','25488','2024-06-21 01:05:20','2024-06-21 01:05:20',13103),(520,15,'Nimaima','25489','2024-06-21 01:05:20','2024-06-21 01:05:20',13104),(521,15,'Nocaima','25491','2024-06-21 01:05:20','2024-06-21 01:05:20',13105),(522,15,'Venecia','25506','2024-06-21 01:05:20','2024-06-21 01:05:20',12651),(523,15,'Pacho','25513','2024-06-21 01:05:20','2024-06-21 01:05:20',13107),(524,15,'Paime','25518','2024-06-21 01:05:20','2024-06-21 01:05:20',13108),(525,15,'Pandi','25524','2024-06-21 01:05:20','2024-06-21 01:05:20',13109),(526,15,'Paratebueno','25530','2024-06-21 01:05:20','2024-06-21 01:05:20',13110),(527,15,'Pasca','25535','2024-06-21 01:05:20','2024-06-21 01:05:20',13111),(528,15,'Puerto Salgar ','25572','2024-06-21 01:05:20','2024-06-21 01:05:20',13112),(529,15,'Pulí','25580','2024-06-21 01:05:20','2024-06-21 01:05:20',13113),(530,15,'Quebradanegra','25592','2024-06-21 01:05:20','2024-06-21 01:05:20',13114),(531,15,'Quetame','25594','2024-06-21 01:05:20','2024-06-21 01:05:20',13115),(532,15,'Quipile','25596','2024-06-21 01:05:20','2024-06-21 01:05:20',13116),(533,15,'Apulo','25599','2024-06-21 01:05:20','2024-06-21 01:05:20',13349),(534,15,'Ricaurte','25612','2024-06-21 01:05:20','2024-06-21 01:05:20',13118),(535,15,'San Antonio Del Tequendama','25645','2024-06-21 01:05:20','2024-06-21 01:05:20',13119),(536,15,'San Bernardo ','25649','2024-06-21 01:05:20','2024-06-21 01:05:20',13311),(537,15,'San Cayetano ','25653','2024-06-21 01:05:20','2024-06-21 01:05:20',13121),(538,15,'San Francisco ','25658','2024-06-21 01:05:20','2024-06-21 01:05:20',13331),(539,15,'San Juan De Rioseco','25662','2024-06-21 01:05:20','2024-06-21 01:05:20',13123),(540,15,'Sasaima','25718','2024-06-21 01:05:20','2024-06-21 01:05:20',13124),(541,15,'Sesquilé','25736','2024-06-21 01:05:20','2024-06-21 01:05:20',13125),(542,15,'Sibaté','25740','2024-06-21 01:05:20','2024-06-21 01:05:20',13126),(543,15,'Silvania','25743','2024-06-21 01:05:20','2024-06-21 01:05:20',13127),(544,15,'Simijaca','25745','2024-06-21 01:05:20','2024-06-21 01:05:20',13128),(545,15,'Soacha','25754','2024-06-21 01:05:20','2024-06-21 01:05:20',13129),(546,15,'Sopó','25758','2024-06-21 01:05:20','2024-06-21 01:05:20',13130),(547,15,'Subachoque','25769','2024-06-21 01:05:20','2024-06-21 01:05:20',13131),(548,15,'Suesca','25772','2024-06-21 01:05:20','2024-06-21 01:05:20',13132),(549,15,'Supatá','25777','2024-06-21 01:05:20','2024-06-21 01:05:20',13133),(550,15,'Susa','25779','2024-06-21 01:05:20','2024-06-21 01:05:20',13134),(551,15,'Sutatausa','25781','2024-06-21 01:05:20','2024-06-21 01:05:20',13135),(552,15,'Tabio','25785','2024-06-21 01:05:20','2024-06-21 01:05:20',13136),(553,15,'Tausa','25793','2024-06-21 01:05:20','2024-06-21 01:05:20',13137),(554,15,'Tena','25797','2024-06-21 01:05:20','2024-06-21 01:05:20',13138),(555,15,'Tenjo','25799','2024-06-21 01:05:20','2024-06-21 01:05:20',13139),(556,15,'Tibacuy','25805','2024-06-21 01:05:20','2024-06-21 01:05:20',13140),(557,15,'Tibirita','25807','2024-06-21 01:05:20','2024-06-21 01:05:20',13141),(558,15,'Tocaima','25815','2024-06-21 01:05:20','2024-06-21 01:05:20',13142),(559,15,'Tocancipá','25817','2024-06-21 01:05:20','2024-06-21 01:05:20',13143),(560,15,'Topaipí','25823','2024-06-21 01:05:20','2024-06-21 01:05:20',13144),(561,15,'Ubalá','25839','2024-06-21 01:05:20','2024-06-21 01:05:20',13145),(562,15,'Ubaque','25841','2024-06-21 01:05:20','2024-06-21 01:05:20',13146),(563,15,'Villa De San Diego De Ubaté','25843','2024-06-21 01:05:20','2024-06-21 01:05:20',12652),(564,15,'Une','25845','2024-06-21 01:05:20','2024-06-21 01:05:20',13148),(565,15,'Útica','25851','2024-06-21 01:05:20','2024-06-21 01:05:20',13149),(566,15,'Vergara','25862','2024-06-21 01:05:20','2024-06-21 01:05:20',13150),(567,15,'Vianí','25867','2024-06-21 01:05:20','2024-06-21 01:05:20',13151),(568,15,'Villagómez','25871','2024-06-21 01:05:20','2024-06-21 01:05:20',13152),(569,15,'Villapinzón','25873','2024-06-21 01:05:20','2024-06-21 01:05:20',13153),(570,15,'Villeta','25875','2024-06-21 01:05:20','2024-06-21 01:05:20',13154),(571,15,'Viotá','25878','2024-06-21 01:05:20','2024-06-21 01:05:20',13155),(572,15,'Yacopí','25885','2024-06-21 01:05:20','2024-06-21 01:05:20',13156),(573,15,'Zipacón','25898','2024-06-21 01:05:20','2024-06-21 01:05:20',13157),(574,15,'Zipaquirá','25899','2024-06-21 01:05:20','2024-06-21 01:05:20',13158),(575,13,'Quibdó','27001','2024-06-21 01:05:20','2024-06-21 01:05:20',13006),(576,13,'Acandí','27006','2024-06-21 01:05:20','2024-06-21 01:05:20',12985),(577,13,'Alto Baudó ','27025','2024-06-21 01:05:20','2024-06-21 01:05:20',12986),(578,13,'Atrato','27050','2024-06-21 01:05:20','2024-06-21 01:05:20',12987),(579,13,'Bagadó','27073','2024-06-21 01:05:20','2024-06-21 01:05:20',12988),(580,13,'Bahía Solano ','27075','2024-06-21 01:05:20','2024-06-21 01:05:20',12989),(581,13,'Bajo Baudó ','27077','2024-06-21 01:05:20','2024-06-21 01:05:20',12990),(582,13,'Bojayá','27099','2024-06-21 01:05:20','2024-06-21 01:05:20',12991),(583,13,'El Cantón Del San Pablo ','27135','2024-06-21 01:05:20','2024-06-21 01:05:20',13237),(584,13,'Carmen Del Darién','27150','2024-06-21 01:05:20','2024-06-21 01:05:20',12993),(585,13,'Cértegui','27160','2024-06-21 01:05:20','2024-06-21 01:05:20',12994),(586,13,'Condoto','27205','2024-06-21 01:05:20','2024-06-21 01:05:20',12995),(587,13,'El Carmen De Atrato','27245','2024-06-21 01:05:20','2024-06-21 01:05:20',13388),(588,13,'El Litoral Del San Juan ','27250','2024-06-21 01:05:20','2024-06-21 01:05:20',12702),(589,13,'Istmina','27361','2024-06-21 01:05:20','2024-06-21 01:05:20',12997),(590,13,'Juradó','27372','2024-06-21 01:05:20','2024-06-21 01:05:20',12998),(591,13,'Lloró','27413','2024-06-21 01:05:20','2024-06-21 01:05:20',13000),(592,13,'Medio Atrato ','27425','2024-06-21 01:05:20','2024-06-21 01:05:20',13001),(593,13,'Medio Baudó ','27430','2024-06-21 01:05:20','2024-06-21 01:05:20',13002),(594,13,'Medio San Juan','27450','2024-06-21 01:05:20','2024-06-21 01:05:20',13003),(595,13,'Nóvita','27491','2024-06-21 01:05:20','2024-06-21 01:05:20',13004),(596,13,'Nuquí','27495','2024-06-21 01:05:20','2024-06-21 01:05:20',13005),(597,13,'Río Iró ','27580','2024-06-21 01:05:20','2024-06-21 01:05:20',13007),(598,13,'Río Quito ','27600','2024-06-21 01:05:20','2024-06-21 01:05:20',13008),(599,13,'Riosucio','27615','2024-06-21 01:05:20','2024-06-21 01:05:20',13009),(600,13,'San José Del Palmar','27660','2024-06-21 01:05:20','2024-06-21 01:05:20',13010),(601,13,'Sipí','27745','2024-06-21 01:05:20','2024-06-21 01:05:20',13011),(602,13,'Tadó','27787','2024-06-21 01:05:20','2024-06-21 01:05:20',13012),(603,13,'Unguía','27800','2024-06-21 01:05:20','2024-06-21 01:05:20',13013),(604,13,'Unión Panamericana ','27810','2024-06-21 01:05:20','2024-06-21 01:05:20',13014),(605,18,'Neiva','41001','2024-06-21 01:05:20','2024-06-21 01:05:20',13182),(606,18,'Acevedo','41006','2024-06-21 01:05:20','2024-06-21 01:05:20',13164),(607,18,'Agrado','41013','2024-06-21 01:05:20','2024-06-21 01:05:20',13165),(608,18,'Aipe','41016','2024-06-21 01:05:20','2024-06-21 01:05:20',13166),(609,18,'Algeciras','41020','2024-06-21 01:05:20','2024-06-21 01:05:20',13167),(610,18,'Altamira','41026','2024-06-21 01:05:20','2024-06-21 01:05:20',13168),(611,18,'Baraya','41078','2024-06-21 01:05:20','2024-06-21 01:05:20',13169),(612,18,'Campoalegre','41132','2024-06-21 01:05:20','2024-06-21 01:05:20',13170),(613,18,'Colombia','41206','2024-06-21 01:05:20','2024-06-21 01:05:20',13171),(614,18,'Elías','41244','2024-06-21 01:05:20','2024-06-21 01:05:20',13172),(615,18,'Garzón','41298','2024-06-21 01:05:20','2024-06-21 01:05:20',13173),(616,18,'Gigante','41306','2024-06-21 01:05:20','2024-06-21 01:05:20',13174),(617,18,'Guadalupe','41319','2024-06-21 01:05:20','2024-06-21 01:05:20',13400),(618,18,'Hobo','41349','2024-06-21 01:05:20','2024-06-21 01:05:20',13176),(619,18,'Ãquira','41357','2024-06-21 01:05:20','2024-06-21 01:05:20',13177),(620,18,'Isnos','41359','2024-06-21 01:05:20','2024-06-21 01:05:20',13178),(621,18,'La Argentina ','41378','2024-06-21 01:05:20','2024-06-21 01:05:20',13179),(622,18,'La Plata ','41396','2024-06-21 01:05:20','2024-06-21 01:05:20',13180),(623,18,'Nátaga','41483','2024-06-21 01:05:20','2024-06-21 01:05:20',13181),(624,18,'Oporapa','41503','2024-06-21 01:05:20','2024-06-21 01:05:20',13183),(625,18,'Paicol','41518','2024-06-21 01:05:20','2024-06-21 01:05:20',13184),(626,18,'Palermo','41524','2024-06-21 01:05:20','2024-06-21 01:05:20',13185),(627,18,'Palestina','41530','2024-06-21 01:05:20','2024-06-21 01:05:20',13186),(628,18,'Pital','41548','2024-06-21 01:05:20','2024-06-21 01:05:20',13187),(629,18,'Pitalito','41551','2024-06-21 01:05:20','2024-06-21 01:05:20',13188),(630,18,'Rivera','41615','2024-06-21 01:05:20','2024-06-21 01:05:20',13189),(631,18,'Saladoblanco','41660','2024-06-21 01:05:20','2024-06-21 01:05:20',13190),(632,18,'San Agustín ','41668','2024-06-21 01:05:20','2024-06-21 01:05:20',13191),(633,18,'Santa María ','41676','2024-06-21 01:05:20','2024-06-21 01:05:20',13192),(634,18,'Suaza','41770','2024-06-21 01:05:20','2024-06-21 01:05:20',13193),(635,18,'Tarqui','41791','2024-06-21 01:05:20','2024-06-21 01:05:20',13194),(636,18,'Tesalia','41797','2024-06-21 01:05:20','2024-06-21 01:05:20',13197),(637,18,'Tello','41799','2024-06-21 01:05:20','2024-06-21 01:05:20',13195),(638,18,'Teruel','41801','2024-06-21 01:05:20','2024-06-21 01:05:20',13196),(639,18,'Timaná','41807','2024-06-21 01:05:20','2024-06-21 01:05:20',13198),(640,18,'Villavieja','41872','2024-06-21 01:05:20','2024-06-21 01:05:20',13199),(641,18,'Yaguará','41885','2024-06-21 01:05:20','2024-06-21 01:05:20',13200),(642,19,'Riohacha','44001','2024-06-21 01:05:20','2024-06-21 01:05:20',48428),(643,19,'Albania','44035','2024-06-21 01:05:20','2024-06-21 01:05:20',13364),(644,19,'Barrancas','44078','2024-06-21 01:05:20','2024-06-21 01:05:20',48419),(645,19,'Dibulla','44090','2024-06-21 01:05:20','2024-06-21 01:05:20',12573),(646,19,'Distracción','44098','2024-06-21 01:05:20','2024-06-21 01:05:20',12573),(647,19,'El Molino ','44110','2024-06-21 01:05:20','2024-06-21 01:05:20',12702),(648,19,'Fonseca','44279','2024-06-21 01:05:20','2024-06-21 01:05:20',13069),(649,19,'Hatonuevo','44378','2024-06-21 01:05:20','2024-06-21 01:05:20',12902),(650,19,'La Jagua Del Pilar','44420','2024-06-21 01:05:20','2024-06-21 01:05:20',12972),(651,19,'Maicao','44430','2024-06-21 01:05:20','2024-06-21 01:05:20',48426),(652,19,'Manaure','44560','2024-06-21 01:05:20','2024-06-21 01:05:20',12974),(653,19,'San Juan Del Cesar','44650','2024-06-21 01:05:20','2024-06-21 01:05:20',12626),(654,19,'Uribia','44847','2024-06-21 01:05:20','2024-06-21 01:05:20',48430),(655,19,'Urumita','44855','2024-06-21 01:05:20','2024-06-21 01:05:20',12647),(656,19,'Villanueva','44874','2024-06-21 01:05:20','2024-06-21 01:05:20',13448),(657,20,'Santa Marta ','47001','2024-06-21 01:05:20','2024-06-21 01:05:20',13226),(658,20,'Algarrobo','47030','2024-06-21 01:05:20','2024-06-21 01:05:20',13201),(659,20,'Aracataca','47053','2024-06-21 01:05:20','2024-06-21 01:05:20',13202),(660,20,'Ariguaní','47058','2024-06-21 01:05:20','2024-06-21 01:05:20',13203),(661,20,'Cerro De San Antonio','47161','2024-06-21 01:05:20','2024-06-21 01:05:20',13377),(662,20,'Chivolo','47170','2024-06-21 01:05:20','2024-06-21 01:05:20',13205),(663,20,'Ciénaga','47189','2024-06-21 01:05:20','2024-06-21 01:05:20',13206),(664,20,'Concordia','47205','2024-06-21 01:05:20','2024-06-21 01:05:20',13207),(665,20,'El Banco ','47245','2024-06-21 01:05:20','2024-06-21 01:05:20',13208),(666,20,'El Piñón ','47258','2024-06-21 01:05:20','2024-06-21 01:05:20',13209),(667,20,'El Retén ','47268','2024-06-21 01:05:20','2024-06-21 01:05:20',13210),(668,20,'Fundación','47288','2024-06-21 01:05:20','2024-06-21 01:05:20',13211),(669,20,'Guamal','47318','2024-06-21 01:05:20','2024-06-21 01:05:20',13212),(670,20,'Nueva Granada ','47460','2024-06-21 01:05:20','2024-06-21 01:05:20',13213),(671,20,'Pedraza','47541','2024-06-21 01:05:20','2024-06-21 01:05:20',13214),(672,20,'Pijiño Del Carmen','47545','2024-06-21 01:05:20','2024-06-21 01:05:20',13215),(673,20,'Pivijay','47551','2024-06-21 01:05:20','2024-06-21 01:05:20',13216),(674,20,'Plato','47555','2024-06-21 01:05:20','2024-06-21 01:05:20',13217),(675,20,'Puebloviejo','47570','2024-06-21 01:05:20','2024-06-21 01:05:20',13218),(676,20,'Remolino','47605','2024-06-21 01:05:20','2024-06-21 01:05:20',13219),(677,20,'Sabanas De San Ãngel','47660','2024-06-21 01:05:20','2024-06-21 01:05:20',13220),(678,20,'Salamina','47675','2024-06-21 01:05:20','2024-06-21 01:05:20',13221),(679,20,'San Sebastián De Buenavista','47692','2024-06-21 01:05:20','2024-06-21 01:05:20',13222),(680,20,'San Zenón ','47703','2024-06-21 01:05:20','2024-06-21 01:05:20',13223),(681,20,'Santa Ana ','47707','2024-06-21 01:05:20','2024-06-21 01:05:20',13224),(682,20,'Santa Bárbara De Pinto','47720','2024-06-21 01:05:20','2024-06-21 01:05:20',13225),(683,20,'Sitionuevo','47745','2024-06-21 01:05:20','2024-06-21 01:05:20',13227),(684,20,'Tenerife','47798','2024-06-21 01:05:20','2024-06-21 01:05:20',13228),(685,20,'Zapayán','47960','2024-06-21 01:05:20','2024-06-21 01:05:20',13229),(686,20,'Zona Bananera ','47980','2024-06-21 01:05:20','2024-06-21 01:05:20',13230),(687,21,'Villavicencio','50001','2024-06-21 01:05:20','2024-06-21 01:05:20',13258),(688,21,'Acacías','50006','2024-06-21 01:05:20','2024-06-21 01:05:20',13231),(689,21,'Barranca De Upía','50110','2024-06-21 01:05:20','2024-06-21 01:05:20',13232),(690,21,'Cabuyaro','50124','2024-06-21 01:05:20','2024-06-21 01:05:20',13233),(691,21,'Castilla La Nueva','50150','2024-06-21 01:05:20','2024-06-21 01:05:20',13234),(692,21,'Cubarral','50223','2024-06-21 01:05:20','2024-06-21 01:05:20',13235),(693,21,'Cumaral','50226','2024-06-21 01:05:20','2024-06-21 01:05:20',13236),(694,21,'El Calvario ','50245','2024-06-21 01:05:20','2024-06-21 01:05:20',13237),(695,21,'El Castillo ','50251','2024-06-21 01:05:20','2024-06-21 01:05:20',13238),(696,21,'El Dorado ','50270','2024-06-21 01:05:20','2024-06-21 01:05:20',13239),(697,21,'Fuente De Oro','50287','2024-06-21 01:05:20','2024-06-21 01:05:20',13240),(698,21,'Granada','50313','2024-06-21 01:05:20','2024-06-21 01:05:20',13241),(699,21,'Guamal','50318','2024-06-21 01:05:20','2024-06-21 01:05:20',13242),(700,21,'Mapiripán','50325','2024-06-21 01:05:20','2024-06-21 01:05:20',13246),(701,21,'Mesetas','50330','2024-06-21 01:05:20','2024-06-21 01:05:20',13247),(702,21,'La Macarena ','50350','2024-06-21 01:05:20','2024-06-21 01:05:20',13243),(703,21,'Uribe','50370','2024-06-21 01:05:20','2024-06-21 01:05:20',12646),(704,21,'Lejanías','50400','2024-06-21 01:05:20','2024-06-21 01:05:20',13245),(705,21,'Puerto Concordia ','50450','2024-06-21 01:05:20','2024-06-21 01:05:20',13248),(706,21,'Puerto Gaitán ','50568','2024-06-21 01:05:20','2024-06-21 01:05:20',13249),(707,21,'Puerto López ','50573','2024-06-21 01:05:20','2024-06-21 01:05:20',13251),(708,21,'Puerto Lleras ','50577','2024-06-21 01:05:20','2024-06-21 01:05:20',13250),(709,21,'Puerto Rico ','50590','2024-06-21 01:05:20','2024-06-21 01:05:20',13252),(710,21,'Restrepo','50606','2024-06-21 01:05:20','2024-06-21 01:05:20',13253),(711,21,'San Carlos De Guaroa','50680','2024-06-21 01:05:20','2024-06-21 01:05:20',13254),(712,21,'San Juan De Arama','50683','2024-06-21 01:05:20','2024-06-21 01:05:20',13255),(713,21,'San Juanito ','50686','2024-06-21 01:05:20','2024-06-21 01:05:20',13256),(714,21,'San Martín ','50689','2024-06-21 01:05:20','2024-06-21 01:05:20',13257),(715,21,'Vistahermosa','50711','2024-06-21 01:05:20','2024-06-21 01:05:20',13259),(716,22,'Pasto','52001','2024-06-21 01:05:20','2024-06-21 01:05:20',13301),(717,22,'Albán','52019','2024-06-21 01:05:20','2024-06-21 01:05:20',13260),(718,22,'Aldana','52022','2024-06-21 01:05:20','2024-06-21 01:05:20',13261),(719,22,'Ancuyá','52036','2024-06-21 01:05:20','2024-06-21 01:05:20',13262),(720,22,'Arboleda','52051','2024-06-21 01:05:20','2024-06-21 01:05:20',13263),(721,22,'Barbacoas','52079','2024-06-21 01:05:20','2024-06-21 01:05:20',13264),(722,22,'Belén','52083','2024-06-21 01:05:20','2024-06-21 01:05:20',13265),(723,22,'Buesaco','52110','2024-06-21 01:05:20','2024-06-21 01:05:20',13266),(724,22,'Colón','52203','2024-06-21 01:05:20','2024-06-21 01:05:20',13324),(725,22,'Consacá','52207','2024-06-21 01:05:20','2024-06-21 01:05:20',13269),(726,22,'Contadero','52210','2024-06-21 01:05:20','2024-06-21 01:05:20',13270),(727,22,'Córdoba','52215','2024-06-21 01:05:20','2024-06-21 01:05:20',13341),(728,22,'Cuaspúd','52224','2024-06-21 01:05:20','2024-06-21 01:05:20',13272),(729,22,'Cumbal','52227','2024-06-21 01:05:20','2024-06-21 01:05:20',13273),(730,22,'Cumbitara','52233','2024-06-21 01:05:20','2024-06-21 01:05:20',13274),(731,22,'Chachagüí','52240','2024-06-21 01:05:20','2024-06-21 01:05:20',13267),(732,22,'El Charco ','52250','2024-06-21 01:05:20','2024-06-21 01:05:20',13275),(733,22,'El Peñol ','52254','2024-06-21 01:05:20','2024-06-21 01:05:20',13390),(734,22,'El Rosario ','52256','2024-06-21 01:05:20','2024-06-21 01:05:20',13277),(735,22,'El Tablón De Gómez','52258','2024-06-21 01:05:20','2024-06-21 01:05:20',13278),(736,22,'El Tambo ','52260','2024-06-21 01:05:20','2024-06-21 01:05:20',13279),(737,22,'Funes','52287','2024-06-21 01:05:20','2024-06-21 01:05:20',13280),(738,22,'Guachucal','52317','2024-06-21 01:05:20','2024-06-21 01:05:20',13281),(739,22,'Guaitarilla','52320','2024-06-21 01:05:20','2024-06-21 01:05:20',13282),(740,22,'Gualmatán','52323','2024-06-21 01:05:20','2024-06-21 01:05:20',13283),(741,22,'Iles','52352','2024-06-21 01:05:20','2024-06-21 01:05:20',13284),(742,22,'Imués','52354','2024-06-21 01:05:20','2024-06-21 01:05:20',13285),(743,22,'Ipiales','52356','2024-06-21 01:05:20','2024-06-21 01:05:20',13286),(744,22,'La Cruz ','52378','2024-06-21 01:05:20','2024-06-21 01:05:20',13287),(745,22,'La Florida ','52381','2024-06-21 01:05:20','2024-06-21 01:05:20',13288),(746,22,'La Llanada ','52385','2024-06-21 01:05:20','2024-06-21 01:05:20',13289),(747,22,'La Tola ','52390','2024-06-21 01:05:20','2024-06-21 01:05:20',13290),(748,22,'La Unión ','52399','2024-06-21 01:05:20','2024-06-21 01:05:20',13458),(749,22,'Leiva','52405','2024-06-21 01:05:20','2024-06-21 01:05:20',13292),(750,22,'Linares','52411','2024-06-21 01:05:20','2024-06-21 01:05:20',13293),(751,22,'Los Andes ','52418','2024-06-21 01:05:20','2024-06-21 01:05:20',13294),(752,22,'Magüí','52427','2024-06-21 01:05:20','2024-06-21 01:05:20',13295),(753,22,'Mallama','52435','2024-06-21 01:05:20','2024-06-21 01:05:20',13296),(754,22,'Mosquera','52473','2024-06-21 01:05:20','2024-06-21 01:05:20',13297),(755,22,'Nariño','52480','2024-06-21 01:05:20','2024-06-21 01:05:20',13298),(756,22,'Olaya Herrera ','52490','2024-06-21 01:05:20','2024-06-21 01:05:20',13299),(757,22,'Ospina','52506','2024-06-21 01:05:20','2024-06-21 01:05:20',13300),(758,22,'Francisco Pizarro ','52520','2024-06-21 01:05:20','2024-06-21 01:05:20',13070),(759,22,'Policarpa','52540','2024-06-21 01:05:20','2024-06-21 01:05:20',13303),(760,22,'Potosí','52560','2024-06-21 01:05:20','2024-06-21 01:05:20',13304),(761,22,'Providencia','52565','2024-06-21 01:05:20','2024-06-21 01:05:20',13305),(762,22,'Puerres','52573','2024-06-21 01:05:20','2024-06-21 01:05:20',13306),(763,22,'Pupiales','52585','2024-06-21 01:05:20','2024-06-21 01:05:20',13307),(764,22,'Ricaurte','52612','2024-06-21 01:05:20','2024-06-21 01:05:20',13308),(765,22,'Roberto Payán ','52621','2024-06-21 01:05:20','2024-06-21 01:05:20',13309),(766,22,'Samaniego','52678','2024-06-21 01:05:20','2024-06-21 01:05:20',13310),(767,22,'Sandoná','52683','2024-06-21 01:05:20','2024-06-21 01:05:20',13315),(768,22,'San Bernardo ','52685','2024-06-21 01:05:20','2024-06-21 01:05:20',13311),(769,22,'San Lorenzo ','52687','2024-06-21 01:05:20','2024-06-21 01:05:20',13312),(770,22,'San Pablo ','52693','2024-06-21 01:05:20','2024-06-21 01:05:20',13313),(771,22,'San Pedro De Cartago','52694','2024-06-21 01:05:20','2024-06-21 01:05:20',13314),(772,22,'Santa Bárbara ','52696','2024-06-21 01:05:20','2024-06-21 01:05:20',13437),(773,22,'Santacruz','52699','2024-06-21 01:05:20','2024-06-21 01:05:20',13317),(774,22,'Sapuyes','52720','2024-06-21 01:05:20','2024-06-21 01:05:20',13318),(775,22,'Taminango','52786','2024-06-21 01:05:20','2024-06-21 01:05:20',13319),(776,22,'Tangua','52788','2024-06-21 01:05:20','2024-06-21 01:05:20',13320),(777,22,'San Andrés De Tumaco','52835','2024-06-21 01:05:20','2024-06-21 01:05:20',13430),(778,22,'Túquerres','52838','2024-06-21 01:05:20','2024-06-21 01:05:20',13322),(779,22,'Yacuanquer','52885','2024-06-21 01:05:20','2024-06-21 01:05:20',13323),(780,23,'San José De Cúcuta','54001','2024-06-21 01:05:20','2024-06-21 01:05:20',48390),(781,23,'Ãbrego','54003','2024-06-21 01:05:20','2024-06-21 01:05:20',48359),(782,23,'Arboledas','54051','2024-06-21 01:05:20','2024-06-21 01:05:20',13263),(783,23,'Bochalema','54099','2024-06-21 01:05:20','2024-06-21 01:05:20',12740),(784,23,'Bucarasica','54109','2024-06-21 01:05:20','2024-06-21 01:05:20',13371),(785,23,'Cácota','54125','2024-06-21 01:05:20','2024-06-21 01:05:20',13052),(786,23,'Cáchira','54128','2024-06-21 01:05:20','2024-06-21 01:05:20',13052),(787,23,'Chinácota','54172','2024-06-21 01:05:20','2024-06-21 01:05:20',12965),(788,23,'Chitagá','54174','2024-06-21 01:05:20','2024-06-21 01:05:20',12752),(789,23,'Convención','54206','2024-06-21 01:05:20','2024-06-21 01:05:20',13385),(790,23,'Cucutilla','54223','2024-06-21 01:05:20','2024-06-21 01:05:20',48368),(791,23,'Durania','54239','2024-06-21 01:05:20','2024-06-21 01:05:20',12764),(792,23,'El Carmen ','54245','2024-06-21 01:05:20','2024-06-21 01:05:20',13388),(793,23,'El Tarra ','54250','2024-06-21 01:05:20','2024-06-21 01:05:20',13279),(794,23,'El Zulia ','54261','2024-06-21 01:05:20','2024-06-21 01:05:20',13279),(795,23,'Gramalote','54313','2024-06-21 01:05:20','2024-06-21 01:05:20',12971),(796,23,'Hacarí','54344','2024-06-21 01:05:20','2024-06-21 01:05:20',13087),(797,23,'Herrán','54347','2024-06-21 01:05:20','2024-06-21 01:05:20',12588),(798,23,'Labateca','54377','2024-06-21 01:05:20','2024-06-21 01:05:20',13355),(799,23,'La Esperanza ','54385','2024-06-21 01:05:20','2024-06-21 01:05:20',12863),(800,23,'La Playa ','54398','2024-06-21 01:05:20','2024-06-21 01:05:20',13180),(801,23,'Los Patios ','54405','2024-06-21 01:05:20','2024-06-21 01:05:20',13459),(802,23,'Lourdes','54418','2024-06-21 01:05:20','2024-06-21 01:05:20',13411),(803,23,'Mutiscua','54480','2024-06-21 01:05:20','2024-06-21 01:05:20',12604),(804,23,'Ocaña','54498','2024-06-21 01:05:20','2024-06-21 01:05:20',48382),(805,23,'Pamplona','54518','2024-06-21 01:05:20','2024-06-21 01:05:20',13505),(806,23,'Pamplonita','54520','2024-06-21 01:05:20','2024-06-21 01:05:20',13505),(807,23,'Puerto Santander ','54553','2024-06-21 01:05:20','2024-06-21 01:05:20',13112),(808,23,'Ragonvalia','54599','2024-06-21 01:05:20','2024-06-21 01:05:20',13117),(809,23,'Salazar','54660','2024-06-21 01:05:20','2024-06-21 01:05:20',13221),(810,23,'San Calixto ','54670','2024-06-21 01:05:20','2024-06-21 01:05:20',13038),(811,23,'San Cayetano ','54673','2024-06-21 01:05:20','2024-06-21 01:05:20',13121),(812,23,'Santiago','54680','2024-06-21 01:05:20','2024-06-21 01:05:20',13333),(813,23,'Sardinata','54720','2024-06-21 01:05:20','2024-06-21 01:05:20',12663),(814,23,'Silos','54743','2024-06-21 01:05:20','2024-06-21 01:05:20',13334),(815,23,'Teorama','54800','2024-06-21 01:05:20','2024-06-21 01:05:20',12839),(816,23,'Tibú','54810','2024-06-21 01:05:20','2024-06-21 01:05:20',13141),(817,23,'Toledo','54820','2024-06-21 01:05:20','2024-06-21 01:05:20',12644),(818,23,'Villa Caro ','54871','2024-06-21 01:05:20','2024-06-21 01:05:20',12652),(819,23,'Villa Del Rosario','54874','2024-06-21 01:05:20','2024-06-21 01:05:20',12652),(820,25,'Armenia','63001','2024-06-21 01:05:20','2024-06-21 01:05:20',13337),(821,25,'Buenavista','63111','2024-06-21 01:05:20','2024-06-21 01:05:20',13450),(822,25,'Calarcá','63130','2024-06-21 01:05:20','2024-06-21 01:05:20',13339),(823,25,'Circasia','63190','2024-06-21 01:05:20','2024-06-21 01:05:20',13340),(824,25,'Córdoba','63212','2024-06-21 01:05:20','2024-06-21 01:05:20',13341),(825,25,'Filandia','63272','2024-06-21 01:05:20','2024-06-21 01:05:20',13342),(826,25,'Génova','63302','2024-06-21 01:05:20','2024-06-21 01:05:20',13343),(827,25,'La Tebaida ','63401','2024-06-21 01:05:20','2024-06-21 01:05:20',13344),(828,25,'Montenegro','63470','2024-06-21 01:05:20','2024-06-21 01:05:20',13345),(829,25,'Pijao','63548','2024-06-21 01:05:20','2024-06-21 01:05:20',13346),(830,25,'Quimbaya','63594','2024-06-21 01:05:20','2024-06-21 01:05:20',13347),(831,25,'Salento','63690','2024-06-21 01:05:20','2024-06-21 01:05:20',13348),(832,26,'Pereira','66001','2024-06-21 01:05:20','2024-06-21 01:05:20',13358),(833,26,'Apía','66045','2024-06-21 01:05:20','2024-06-21 01:05:20',13349),(834,26,'Balboa','66075','2024-06-21 01:05:20','2024-06-21 01:05:20',13350),(835,26,'Belén De Umbría','66088','2024-06-21 01:05:20','2024-06-21 01:05:20',13351),(836,26,'Dosquebradas','66170','2024-06-21 01:05:20','2024-06-21 01:05:20',13352),(837,26,'Guática','66318','2024-06-21 01:05:20','2024-06-21 01:05:20',13353),(838,26,'La Celia ','66383','2024-06-21 01:05:20','2024-06-21 01:05:20',13354),(839,26,'La Virginia ','66400','2024-06-21 01:05:20','2024-06-21 01:05:20',13355),(840,26,'Marsella','66440','2024-06-21 01:05:20','2024-06-21 01:05:20',13356),(841,26,'Mistrató','66456','2024-06-21 01:05:20','2024-06-21 01:05:20',13357),(842,26,'Pueblo Rico ','66572','2024-06-21 01:05:20','2024-06-21 01:05:20',13359),(843,26,'Quinchía','66594','2024-06-21 01:05:20','2024-06-21 01:05:20',13360),(844,26,'Santa Rosa De Cabal','66682','2024-06-21 01:05:20','2024-06-21 01:05:20',13361),(845,26,'Santuario','66687','2024-06-21 01:05:20','2024-06-21 01:05:20',13362),(846,28,'Bucaramanga','68001','2024-06-21 01:05:20','2024-06-21 01:05:20',13371),(847,28,'Aguada','68013','2024-06-21 01:05:20','2024-06-21 01:05:20',13363),(848,28,'Albania','68020','2024-06-21 01:05:20','2024-06-21 01:05:20',13364),(849,28,'Aratoca','68051','2024-06-21 01:05:20','2024-06-21 01:05:20',13365),(850,28,'Barbosa','68077','2024-06-21 01:05:20','2024-06-21 01:05:20',13366),(851,28,'Barichara','68079','2024-06-21 01:05:20','2024-06-21 01:05:20',13367),(852,28,'Barrancabermeja','68081','2024-06-21 01:05:20','2024-06-21 01:05:20',13368),(853,28,'Betulia','68092','2024-06-21 01:05:20','2024-06-21 01:05:20',13369),(854,28,'Bolívar','68101','2024-06-21 01:05:20','2024-06-21 01:05:20',13370),(855,28,'Cabrera','68121','2024-06-21 01:05:20','2024-06-21 01:05:20',13372),(856,28,'California','68132','2024-06-21 01:05:20','2024-06-21 01:05:20',13373),(857,28,'Capitanejo','68147','2024-06-21 01:05:20','2024-06-21 01:05:20',13374),(858,28,'Carcasí','68152','2024-06-21 01:05:20','2024-06-21 01:05:20',13375),(859,28,'Cepitá','68160','2024-06-21 01:05:20','2024-06-21 01:05:20',13376),(860,28,'Cerrito','68162','2024-06-21 01:05:20','2024-06-21 01:05:20',13377),(861,28,'Charalá','68167','2024-06-21 01:05:20','2024-06-21 01:05:20',13378),(862,28,'Charta','68169','2024-06-21 01:05:20','2024-06-21 01:05:20',13379),(863,28,'Chima','68176','2024-06-21 01:05:20','2024-06-21 01:05:20',13380),(864,28,'Chipatá','68179','2024-06-21 01:05:20','2024-06-21 01:05:20',13381),(865,28,'Cimitarra','68190','2024-06-21 01:05:20','2024-06-21 01:05:20',13382),(866,28,'Concepción','68207','2024-06-21 01:05:20','2024-06-21 01:05:20',13383),(867,28,'Confines','68209','2024-06-21 01:05:20','2024-06-21 01:05:20',13384),(868,28,'Contratación','68211','2024-06-21 01:05:20','2024-06-21 01:05:20',13385),(869,28,'Coromoro','68217','2024-06-21 01:05:20','2024-06-21 01:05:20',13386),(870,28,'Curití','68229','2024-06-21 01:05:20','2024-06-21 01:05:20',13387),(871,28,'El Carmen De Chucurí','68235','2024-06-21 01:05:20','2024-06-21 01:05:20',12701),(872,28,'El Guacamayo ','68245','2024-06-21 01:05:20','2024-06-21 01:05:20',13389),(873,28,'El Peñón ','68250','2024-06-21 01:05:20','2024-06-21 01:05:20',13390),(874,28,'El Playón ','68255','2024-06-21 01:05:20','2024-06-21 01:05:20',13391),(875,28,'Encino','68264','2024-06-21 01:05:20','2024-06-21 01:05:20',13392),(876,28,'Enciso','68266','2024-06-21 01:05:20','2024-06-21 01:05:20',13393),(877,28,'Florián','68271','2024-06-21 01:05:20','2024-06-21 01:05:20',13394),(878,28,'Floridablanca','68276','2024-06-21 01:05:20','2024-06-21 01:05:20',13395),(879,28,'Galán','68296','2024-06-21 01:05:20','2024-06-21 01:05:20',13396),(880,28,'Gámbita','68298','2024-06-21 01:05:20','2024-06-21 01:05:20',13397),(881,28,'Girón','68307','2024-06-21 01:05:20','2024-06-21 01:05:20',13398),(882,28,'Guaca','68318','2024-06-21 01:05:20','2024-06-21 01:05:20',13399),(883,28,'Guadalupe','68320','2024-06-21 01:05:20','2024-06-21 01:05:20',13400),(884,28,'Guapotá','68322','2024-06-21 01:05:20','2024-06-21 01:05:20',13401),(885,28,'Guavatá','68324','2024-06-21 01:05:20','2024-06-21 01:05:20',13402),(886,28,'Güepsa','68327','2024-06-21 01:05:20','2024-06-21 01:05:20',13403),(887,28,'Hato','68344','2024-06-21 01:05:20','2024-06-21 01:05:20',13404),(888,28,'Jesús María ','68368','2024-06-21 01:05:20','2024-06-21 01:05:20',13405),(889,28,'Jordán','68370','2024-06-21 01:05:20','2024-06-21 01:05:20',13406),(890,28,'La Belleza ','68377','2024-06-21 01:05:20','2024-06-21 01:05:20',13407),(891,28,'Landázuri','68385','2024-06-21 01:05:20','2024-06-21 01:05:20',13409),(892,28,'La Paz ','68397','2024-06-21 01:05:20','2024-06-21 01:05:20',13408),(893,28,'Lebrija','68406','2024-06-21 01:05:20','2024-06-21 01:05:20',13410),(894,28,'Los Santos ','68418','2024-06-21 01:05:20','2024-06-21 01:05:20',13411),(895,28,'Macaravita','68425','2024-06-21 01:05:20','2024-06-21 01:05:20',13412),(896,28,'Málaga','68432','2024-06-21 01:05:20','2024-06-21 01:05:20',13413),(897,28,'Matanza','68444','2024-06-21 01:05:20','2024-06-21 01:05:20',13414),(898,28,'Mogotes','68464','2024-06-21 01:05:20','2024-06-21 01:05:20',13415),(899,28,'Molagavita','68468','2024-06-21 01:05:20','2024-06-21 01:05:20',13416),(900,28,'Ocamonte','68498','2024-06-21 01:05:20','2024-06-21 01:05:20',13417),(901,28,'Oiba','68500','2024-06-21 01:05:20','2024-06-21 01:05:20',13418),(902,28,'Onzaga','68502','2024-06-21 01:05:20','2024-06-21 01:05:20',13419),(903,28,'Palmar','68522','2024-06-21 01:05:20','2024-06-21 01:05:20',13420),(904,28,'Palmas Del Socorro','68524','2024-06-21 01:05:20','2024-06-21 01:05:20',13421),(905,28,'Páramo','68533','2024-06-21 01:05:20','2024-06-21 01:05:20',13422),(906,28,'Piedecuesta','68547','2024-06-21 01:05:20','2024-06-21 01:05:20',13423),(907,28,'Pinchote','68549','2024-06-21 01:05:20','2024-06-21 01:05:20',13424),(908,28,'Puente Nacional ','68572','2024-06-21 01:05:20','2024-06-21 01:05:20',13425),(909,28,'Puerto Parra ','68573','2024-06-21 01:05:20','2024-06-21 01:05:20',13426),(910,28,'Puerto Wilches ','68575','2024-06-21 01:05:20','2024-06-21 01:05:20',13427),(911,28,'Rionegro','68615','2024-06-21 01:05:20','2024-06-21 01:05:20',13428),(912,28,'Sabana De Torres','68655','2024-06-21 01:05:20','2024-06-21 01:05:20',13429),(913,28,'San Andrés ','68669','2024-06-21 01:05:20','2024-06-21 01:05:20',13430),(914,28,'San Benito ','68673','2024-06-21 01:05:20','2024-06-21 01:05:20',13431),(915,28,'San Gil ','68679','2024-06-21 01:05:20','2024-06-21 01:05:20',13432),(916,28,'San Joaquín ','68682','2024-06-21 01:05:20','2024-06-21 01:05:20',13433),(917,28,'San José De Miranda','68684','2024-06-21 01:05:20','2024-06-21 01:05:20',13434),(918,28,'San Miguel ','68686','2024-06-21 01:05:20','2024-06-21 01:05:20',13435),(919,28,'San Vicente De Chucurí','68689','2024-06-21 01:05:20','2024-06-21 01:05:20',13436),(920,28,'Santa Bárbara ','68705','2024-06-21 01:05:20','2024-06-21 01:05:20',13437),(921,28,'Santa Helena Del Opón','68720','2024-06-21 01:05:20','2024-06-21 01:05:20',13438),(922,28,'Simacota','68745','2024-06-21 01:05:20','2024-06-21 01:05:20',13439),(923,28,'Socorro','68755','2024-06-21 01:05:20','2024-06-21 01:05:20',13440),(924,28,'Suaita','68770','2024-06-21 01:05:20','2024-06-21 01:05:20',13441),(925,28,'Sucre','68773','2024-06-21 01:05:20','2024-06-21 01:05:20',13472),(926,28,'Suratá','68780','2024-06-21 01:05:20','2024-06-21 01:05:20',13443),(927,28,'Tona','68820','2024-06-21 01:05:20','2024-06-21 01:05:20',13444),(928,28,'Valle De San José','68855','2024-06-21 01:05:20','2024-06-21 01:05:20',13042),(929,28,'Vélez','68861','2024-06-21 01:05:20','2024-06-21 01:05:20',13446),(930,28,'Vetas','68867','2024-06-21 01:05:20','2024-06-21 01:05:20',13447),(931,28,'Villanueva','68872','2024-06-21 01:05:20','2024-06-21 01:05:20',13448),(932,28,'Zapatoca','68895','2024-06-21 01:05:20','2024-06-21 01:05:20',13449),(933,29,'Sincelejo','70001','2024-06-21 01:05:20','2024-06-21 01:05:20',13471),(934,29,'Buenavista','70110','2024-06-21 01:05:20','2024-06-21 01:05:20',13450),(935,29,'Caimito','70124','2024-06-21 01:05:20','2024-06-21 01:05:20',13451),(936,29,'Colosó','70204','2024-06-21 01:05:20','2024-06-21 01:05:20',13453),(937,29,'Corozal','70215','2024-06-21 01:05:20','2024-06-21 01:05:20',13454),(938,29,'Coveñas','70221','2024-06-21 01:05:20','2024-06-21 01:05:20',48435),(939,29,'Chalán','70230','2024-06-21 01:05:20','2024-06-21 01:05:20',13452),(940,29,'El Roble ','70233','2024-06-21 01:05:20','2024-06-21 01:05:20',13455),(941,29,'Galeras','70235','2024-06-21 01:05:20','2024-06-21 01:05:20',13456),(942,29,'Guaranda','70265','2024-06-21 01:05:20','2024-06-21 01:05:20',13457),(943,29,'La Unión ','70400','2024-06-21 01:05:20','2024-06-21 01:05:20',13458),(944,29,'Los Palmitos ','70418','2024-06-21 01:05:20','2024-06-21 01:05:20',13459),(945,29,'Majagual','70429','2024-06-21 01:05:20','2024-06-21 01:05:20',13460),(946,29,'Morroa','70473','2024-06-21 01:05:20','2024-06-21 01:05:20',13461),(947,29,'Ovejas','70508','2024-06-21 01:05:20','2024-06-21 01:05:20',13462),(948,29,'Palmito','70523','2024-06-21 01:05:20','2024-06-21 01:05:20',13463),(949,29,'Sampués','70670','2024-06-21 01:05:20','2024-06-21 01:05:20',13464),(950,29,'San Benito Abad','70678','2024-06-21 01:05:20','2024-06-21 01:05:20',13465),(951,29,'San Juan De Betulia','70702','2024-06-21 01:05:20','2024-06-21 01:05:20',13466),(952,29,'San Marcos ','70708','2024-06-21 01:05:20','2024-06-21 01:05:20',13467),(953,29,'San Onofre ','70713','2024-06-21 01:05:20','2024-06-21 01:05:20',13468),(954,29,'San Pedro ','70717','2024-06-21 01:05:20','2024-06-21 01:05:20',13469),(955,29,'San Luis De Sincé','70742','2024-06-21 01:05:20','2024-06-21 01:05:20',48442),(956,29,'Sucre','70771','2024-06-21 01:05:20','2024-06-21 01:05:20',13472),(957,29,'Santiago De Tolú','70820','2024-06-21 01:05:20','2024-06-21 01:05:20',13333),(958,29,'Tolú Viejo ','70823','2024-06-21 01:05:20','2024-06-21 01:05:20',13473),(959,30,'Ibagué','73001','2024-06-21 01:05:20','2024-06-21 01:05:20',13496),(960,30,'Alpujarra','73024','2024-06-21 01:05:20','2024-06-21 01:05:20',13475),(961,30,'Alvarado','73026','2024-06-21 01:05:20','2024-06-21 01:05:20',13476),(962,30,'Ambalema','73030','2024-06-21 01:05:20','2024-06-21 01:05:20',13477),(963,30,'Anzoátegui','73043','2024-06-21 01:05:20','2024-06-21 01:05:20',13478),(964,30,'Armero','73055','2024-06-21 01:05:20','2024-06-21 01:05:20',13337),(965,30,'Ataco','73067','2024-06-21 01:05:20','2024-06-21 01:05:20',13479),(966,30,'Cajamarca','73124','2024-06-21 01:05:20','2024-06-21 01:05:20',13480),(967,30,'Carmen De Apicalá','73148','2024-06-21 01:05:20','2024-06-21 01:05:20',13481),(968,30,'Casabianca','73152','2024-06-21 01:05:20','2024-06-21 01:05:20',13482),(969,30,'Chaparral','73168','2024-06-21 01:05:20','2024-06-21 01:05:20',13483),(970,30,'Coello','73200','2024-06-21 01:05:20','2024-06-21 01:05:20',13484),(971,30,'Coyaima','73217','2024-06-21 01:05:20','2024-06-21 01:05:20',13485),(972,30,'Cunday','73226','2024-06-21 01:05:20','2024-06-21 01:05:20',13486),(973,30,'Dolores','73236','2024-06-21 01:05:20','2024-06-21 01:05:20',13487),(974,30,'Espinal','73268','2024-06-21 01:05:20','2024-06-21 01:05:20',13488),(975,30,'Falan','73270','2024-06-21 01:05:20','2024-06-21 01:05:20',13489),(976,30,'Flandes','73275','2024-06-21 01:05:20','2024-06-21 01:05:20',13490),(977,30,'Fresno','73283','2024-06-21 01:05:20','2024-06-21 01:05:20',13491),(978,30,'Guamo','73319','2024-06-21 01:05:20','2024-06-21 01:05:20',13492),(979,30,'Herveo','73347','2024-06-21 01:05:20','2024-06-21 01:05:20',13494),(980,30,'Honda','73349','2024-06-21 01:05:20','2024-06-21 01:05:20',13495),(981,30,'Icononzo','73352','2024-06-21 01:05:20','2024-06-21 01:05:20',13497),(982,30,'Lérida','73408','2024-06-21 01:05:20','2024-06-21 01:05:20',13498),(983,30,'Líbano','73411','2024-06-21 01:05:20','2024-06-21 01:05:20',13499),(984,30,'San Sebastián De Mariquita','73443','2024-06-21 01:05:20','2024-06-21 01:05:20',13222),(985,30,'Melgar','73449','2024-06-21 01:05:20','2024-06-21 01:05:20',13501),(986,30,'Murillo','73461','2024-06-21 01:05:20','2024-06-21 01:05:20',13502),(987,30,'Natagaima','73483','2024-06-21 01:05:20','2024-06-21 01:05:20',13503),(988,30,'Ortega','73504','2024-06-21 01:05:20','2024-06-21 01:05:20',13504),(989,30,'Palocabildo','73520','2024-06-21 01:05:20','2024-06-21 01:05:20',13505),(990,30,'Piedras','73547','2024-06-21 01:05:20','2024-06-21 01:05:20',13506),(991,30,'Planadas','73555','2024-06-21 01:05:20','2024-06-21 01:05:20',13507),(992,30,'Prado','73563','2024-06-21 01:05:20','2024-06-21 01:05:20',13508),(993,30,'Purificación','73585','2024-06-21 01:05:20','2024-06-21 01:05:20',13509),(994,30,'Rioblanco','73616','2024-06-21 01:05:20','2024-06-21 01:05:20',13510),(995,30,'Roncesvalles','73622','2024-06-21 01:05:20','2024-06-21 01:05:20',13511),(996,30,'Rovira','73624','2024-06-21 01:05:20','2024-06-21 01:05:20',13512),(997,30,'Saldaña','73671','2024-06-21 01:05:20','2024-06-21 01:05:20',13513),(998,30,'San Antonio ','73675','2024-06-21 01:05:20','2024-06-21 01:05:20',13514),(999,30,'San Luis ','73678','2024-06-21 01:05:20','2024-06-21 01:05:20',13515),(1000,30,'Santa Isabel ','73686','2024-06-21 01:05:20','2024-06-21 01:05:20',13516),(1001,30,'Suárez','73770','2024-06-21 01:05:20','2024-06-21 01:05:20',13517),(1002,30,'Valle De San Juan','73854','2024-06-21 01:05:20','2024-06-21 01:05:20',13518),(1003,30,'Venadillo','73861','2024-06-21 01:05:20','2024-06-21 01:05:20',13519),(1004,30,'Villahermosa','73870','2024-06-21 01:05:20','2024-06-21 01:05:20',13520),(1005,30,'Villarrica','73873','2024-06-21 01:05:20','2024-06-21 01:05:20',13521),(1006,31,'Cali','76001','2024-06-21 01:05:20','2024-06-21 01:05:20',48324),(1007,31,'Alcalá','76020','2024-06-21 01:05:20','2024-06-21 01:05:20',13364),(1008,31,'Andalucía','76036','2024-06-21 01:05:20','2024-06-21 01:05:20',13262),(1009,31,'Ansermanuevo','76041','2024-06-21 01:05:20','2024-06-21 01:05:20',12858),(1010,31,'Argelia','76054','2024-06-21 01:05:20','2024-06-21 01:05:20',12920),(1011,31,'Bolívar','76100','2024-06-21 01:05:20','2024-06-21 01:05:20',13370),(1012,31,'Buenaventura','76109','2024-06-21 01:05:20','2024-06-21 01:05:20',48320),(1013,31,'Guadalajara De Buga','76111','2024-06-21 01:05:20','2024-06-21 01:05:20',48321),(1014,31,'Bugalagrande','76113','2024-06-21 01:05:20','2024-06-21 01:05:20',48322),(1015,31,'Caicedonia','76122','2024-06-21 01:05:20','2024-06-21 01:05:20',48323),(1016,31,'Calima','76126','2024-06-21 01:05:20','2024-06-21 01:05:20',48325),(1017,31,'Candelaria','76130','2024-06-21 01:05:20','2024-06-21 01:05:20',12668),(1018,31,'Cartago','76147','2024-06-21 01:05:20','2024-06-21 01:05:20',12886),(1019,31,'Dagua','76233','2024-06-21 01:05:20','2024-06-21 01:05:20',12573),(1020,31,'El Ãguila ','76243','2024-06-21 01:05:20','2024-06-21 01:05:20',12575),(1021,31,'El Cairo ','76246','2024-06-21 01:05:20','2024-06-21 01:05:20',12928),(1022,31,'El Cerrito ','76248','2024-06-21 01:05:20','2024-06-21 01:05:20',48331),(1023,31,'El Dovio ','76250','2024-06-21 01:05:20','2024-06-21 01:05:20',13239),(1024,31,'Florida','76275','2024-06-21 01:05:20','2024-06-21 01:05:20',13394),(1025,31,'Ginebra','76306','2024-06-21 01:05:20','2024-06-21 01:05:20',13174),(1026,31,'Guacarí','76318','2024-06-21 01:05:20','2024-06-21 01:05:20',12772),(1027,31,'Jamundí','76364','2024-06-21 01:05:20','2024-06-21 01:05:20',48336),(1028,31,'La Cumbre ','76377','2024-06-21 01:05:20','2024-06-21 01:05:20',13287),(1029,31,'La Unión ','76400','2024-06-21 01:05:20','2024-06-21 01:05:20',13458),(1030,31,'La Victoria ','76403','2024-06-21 01:05:20','2024-06-21 01:05:20',12781),(1031,31,'Obando','76497','2024-06-21 01:05:20','2024-06-21 01:05:20',48340),(1032,31,'Palmira','76520','2024-06-21 01:05:20','2024-06-21 01:05:20',48341),(1033,31,'Pradera','76563','2024-06-21 01:05:20','2024-06-21 01:05:20',13304),(1034,31,'Restrepo','76606','2024-06-21 01:05:20','2024-06-21 01:05:20',13253),(1035,31,'Riofrío','76616','2024-06-21 01:05:20','2024-06-21 01:05:20',13510),(1036,31,'Roldanillo','76622','2024-06-21 01:05:20','2024-06-21 01:05:20',12979),(1037,31,'San Pedro ','76670','2024-06-21 01:05:20','2024-06-21 01:05:20',13469),(1038,31,'Sevilla','76736','2024-06-21 01:05:20','2024-06-21 01:05:20',13125),(1039,31,'Toro','76823','2024-06-21 01:05:20','2024-06-21 01:05:20',12957),(1040,31,'Trujillo','76828','2024-06-21 01:05:20','2024-06-21 01:05:20',12916),(1041,31,'Tuluá','76834','2024-06-21 01:05:20','2024-06-21 01:05:20',12686),(1042,31,'Ulloa','76845','2024-06-21 01:05:20','2024-06-21 01:05:20',13147),(1043,31,'Versalles','76863','2024-06-21 01:05:20','2024-06-21 01:05:20',13150),(1044,31,'Vijes','76869','2024-06-21 01:05:20','2024-06-21 01:05:20',12652),(1045,31,'Yotoco','76890','2024-06-21 01:05:20','2024-06-21 01:05:20',12918),(1046,31,'Yumbo','76892','2024-06-21 01:05:20','2024-06-21 01:05:20',48355),(1047,31,'Zarzal','76895','2024-06-21 01:05:20','2024-06-21 01:05:20',48356),(1048,3,'Arauca','81001','2024-06-21 01:05:20','2024-06-21 01:05:20',12658),(1049,3,'Arauquita','81065','2024-06-21 01:05:20','2024-06-21 01:05:20',12659),(1050,3,'Cravo Norte ','81220','2024-06-21 01:05:20','2024-06-21 01:05:20',12660),(1051,3,'Fortul','81300','2024-06-21 01:05:20','2024-06-21 01:05:20',12661),(1052,3,'Puerto Rondón ','81591','2024-06-21 01:05:20','2024-06-21 01:05:20',12662),(1053,3,'Saravena','81736','2024-06-21 01:05:20','2024-06-21 01:05:20',12663),(1054,3,'Tame','81794','2024-06-21 01:05:20','2024-06-21 01:05:20',12664),(1055,10,'Yopal','85001','2024-06-21 01:05:20','2024-06-21 01:05:20',12918),(1056,10,'Aguazul','85010','2024-06-21 01:05:20','2024-06-21 01:05:20',12900),(1057,10,'Chámeza','85015','2024-06-21 01:05:20','2024-06-21 01:05:20',12901),(1058,10,'Hato Corozal ','85125','2024-06-21 01:05:20','2024-06-21 01:05:20',12902),(1059,10,'La Salina ','85136','2024-06-21 01:05:20','2024-06-21 01:05:20',12903),(1060,10,'Maní','85139','2024-06-21 01:05:20','2024-06-21 01:05:20',12904),(1061,10,'Monterrey','85162','2024-06-21 01:05:20','2024-06-21 01:05:20',12905),(1062,10,'Nunchía','85225','2024-06-21 01:05:20','2024-06-21 01:05:20',12906),(1063,10,'Orocué','85230','2024-06-21 01:05:20','2024-06-21 01:05:20',12907),(1064,10,'Paz De Ariporo','85250','2024-06-21 01:05:20','2024-06-21 01:05:20',12908),(1065,10,'Pore','85263','2024-06-21 01:05:20','2024-06-21 01:05:20',12909),(1066,10,'Recetor','85279','2024-06-21 01:05:20','2024-06-21 01:05:20',12910),(1067,10,'Sabanalarga','85300','2024-06-21 01:05:20','2024-06-21 01:05:20',12911),(1068,10,'Sácama','85315','2024-06-21 01:05:20','2024-06-21 01:05:20',12912),(1069,10,'San Luis De Palenque','85325','2024-06-21 01:05:20','2024-06-21 01:05:20',12913),(1070,10,'Támara','85400','2024-06-21 01:05:20','2024-06-21 01:05:20',12914),(1071,10,'Tauramena','85410','2024-06-21 01:05:20','2024-06-21 01:05:20',12915),(1072,10,'Trinidad','85430','2024-06-21 01:05:20','2024-06-21 01:05:20',12916),(1073,10,'Villanueva','85440','2024-06-21 01:05:20','2024-06-21 01:05:20',13448),(1074,24,'Mocoa','86001','2024-06-21 01:05:20','2024-06-21 01:05:20',13325),(1075,24,'Colón','86219','2024-06-21 01:05:20','2024-06-21 01:05:20',13324),(1076,24,'Orito','86320','2024-06-21 01:05:20','2024-06-21 01:05:20',13326),(1077,24,'Puerto Asís ','86568','2024-06-21 01:05:20','2024-06-21 01:05:20',13327),(1078,24,'Puerto Caicedo ','86569','2024-06-21 01:05:20','2024-06-21 01:05:20',12806),(1079,24,'Puerto Guzmán ','86571','2024-06-21 01:05:20','2024-06-21 01:05:20',13329),(1080,24,'Puerto Leguízamo ','86573','2024-06-21 01:05:20','2024-06-21 01:05:20',13330),(1081,24,'Sibundoy','86749','2024-06-21 01:05:20','2024-06-21 01:05:20',13334),(1082,24,'San Francisco ','86755','2024-06-21 01:05:20','2024-06-21 01:05:20',13331),(1083,24,'San Miguel ','86757','2024-06-21 01:05:20','2024-06-21 01:05:20',13435),(1084,24,'Santiago','86760','2024-06-21 01:05:20','2024-06-21 01:05:20',13333),(1085,24,'Valle Del Guamuez','86865','2024-06-21 01:05:20','2024-06-21 01:05:20',13335),(1086,24,'Villagarzón','86885','2024-06-21 01:05:20','2024-06-21 01:05:20',13336),(1087,27,'San Andrés ','88001','2024-06-21 01:05:20','2024-06-21 01:05:20',48357),(1088,27,'Providencia','88564','2024-06-21 01:05:20','2024-06-21 01:05:20',48358),(1089,1,'Leticia','91001','2024-06-21 01:05:20','2024-06-21 01:05:20',12531),(1090,1,'El Encanto ','91263','2024-06-21 01:05:20','2024-06-21 01:05:20',13239),(1091,1,'La Chorrera ','91405','2024-06-21 01:05:20','2024-06-21 01:05:20',13354),(1092,1,'La Pedrera ','91407','2024-06-21 01:05:20','2024-06-21 01:05:20',13408),(1093,1,'La Victoria ','91430','2024-06-21 01:05:20','2024-06-21 01:05:20',12781),(1094,1,'Mirití - Paraná','91460','2024-06-21 01:05:20','2024-06-21 01:05:20',12938),(1095,1,'Puerto Alegría ','91530','2024-06-21 01:05:20','2024-06-21 01:05:20',13306),(1096,1,'Puerto Arica ','91536','2024-06-21 01:05:20','2024-06-21 01:05:20',13306),(1097,1,'Puerto Nariño ','91540','2024-06-21 01:05:20','2024-06-21 01:05:20',12532),(1098,1,'Puerto Santander ','91669','2024-06-21 01:05:20','2024-06-21 01:05:20',13112),(1099,1,'Tarapacá','91798','2024-06-21 01:05:20','2024-06-21 01:05:20',13525),(1100,16,'Inírida','94001','2024-06-21 01:05:20','2024-06-21 01:05:20',13159),(1101,16,'Barranco Minas ','94343','2024-06-21 01:05:20','2024-06-21 01:05:20',12694),(1102,16,'Mapiripana','94663','2024-06-21 01:05:20','2024-06-21 01:05:20',13246),(1103,16,'San Felipe ','94883','2024-06-21 01:05:20','2024-06-21 01:05:20',12716),(1104,16,'Puerto Colombia ','94884','2024-06-21 01:05:20','2024-06-21 01:05:20',12678),(1105,16,'La Guadalupe ','94885','2024-06-21 01:05:20','2024-06-21 01:05:20',12972),(1106,16,'Cacahual','94886','2024-06-21 01:05:20','2024-06-21 01:05:20',13233),(1107,16,'Pana Pana ','94887','2024-06-21 01:05:20','2024-06-21 01:05:20',13505),(1108,16,'Morichal','94888','2024-06-21 01:05:20','2024-06-21 01:05:20',12893),(1109,17,'San José Del Guaviare','95001','2024-06-21 01:05:20','2024-06-21 01:05:20',13163),(1110,17,'Calamar','95015','2024-06-21 01:05:20','2024-06-21 01:05:20',13160),(1111,17,'El Retorno ','95025','2024-06-21 01:05:20','2024-06-21 01:05:20',13161),(1112,17,'Miraflores','95200','2024-06-21 01:05:20','2024-06-21 01:05:20',13162),(1113,32,'Mitú','97001','2024-06-21 01:05:20','2024-06-21 01:05:20',13523),(1114,32,'Carurú','97161','2024-06-21 01:05:20','2024-06-21 01:05:20',12886),(1115,32,'Pacoa','97511','2024-06-21 01:05:20','2024-06-21 01:05:20',13107),(1116,32,'Taraira','97666','2024-06-21 01:05:20','2024-06-21 01:05:20',13525),(1117,32,'Papunahua','97777','2024-06-21 01:05:20','2024-06-21 01:05:20',12800),(1118,32,'Yavaraté','97889','2024-06-21 01:05:20','2024-06-21 01:05:20',13527),(1119,33,'Puerto Carreño ','99001','2024-06-21 01:05:20','2024-06-21 01:05:20',13530),(1120,33,'La Primavera ','99524','2024-06-21 01:05:20','2024-06-21 01:05:20',13529),(1121,33,'Santa Rosalía ','99624','2024-06-21 01:05:20','2024-06-21 01:05:20',13531),(1122,33,'Cumaribo','99773','2024-06-21 01:05:20','2024-06-21 01:05:20',13528);

--
-- Table structure for table `ncporredimir`
--

CREATE TABLE `ncporredimir` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `valor` double NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL,
  `idcliente` bigint unsigned NOT NULL,
  `idnc` bigint unsigned NOT NULL,
  `marcadoparausar` int NOT NULL DEFAULT '0',
  `cc` int NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idcliente` (`idcliente`),
  KEY `idnc` (`idnc`),
  CONSTRAINT `ncporredimir_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `ncporredimir_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ncporredimir`
--


--
-- Table structure for table `ncredimidos`
--

CREATE TABLE `ncredimidos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int DEFAULT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL,
  `cc` int NOT NULL DEFAULT '0',
  `idfactura` bigint unsigned NOT NULL,
  `valornc` int NOT NULL DEFAULT '0',
  `idnc` int NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idfactura` (`idfactura`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ncredimidos`
--


--
-- Table structure for table `notasauxiliar`
--

CREATE TABLE `notasauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cantidad` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `valorunitario` double NOT NULL DEFAULT '0',
  `idproveedor` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idmayor` bigint unsigned NOT NULL,
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` int NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `idunidaddemedida` bigint unsigned NOT NULL,
  `valorgramo` double NOT NULL DEFAULT '0',
  `factor` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `notasauxiliar`
--


--
-- Table structure for table `notascredito`
--

CREATE TABLE `notascredito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idabono` int DEFAULT '0',
  `idabonoseparados` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idfactura` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL,
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `cc` bigint unsigned NOT NULL DEFAULT '2',
  `valor` int unsigned NOT NULL DEFAULT '0',
  `observacion` text,
  `pv` varchar(25) DEFAULT 'distrito',
  `mediodepagonc` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idfactura` (`idfactura`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `notascredito_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
