(8727,0,'','CAJA',3492,3489,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-22 12:09:29','2024-05-22 12:13:11','2024-05-22 12:09:29',NULL,'2024-05-22 12:13:12',1565,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8728,0,'','COCINA',3492,3489,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-22 12:09:31','2024-05-22 12:13:11','2024-05-22 12:09:31',NULL,'2024-05-22 12:13:12',1565,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8730,0,'','CAJA',3493,3490,0,0,0,0,NULL,0,4607,'CURSO DE MAQUILLAJE ',0,NULL,1,NULL,'docente javier salcedo',670000,20,670000,0,0,0,670000,2,'C','MESAS','2024-05-23 09:02:05','2024-05-23 09:04:24','2024-05-23 09:02:05',NULL,'2024-05-23 09:04:24',1566,770,0,0,0,0,0,670000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8731,0,'','COCINA',3493,3490,0,0,0,0,NULL,0,4848,'javier salcedo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-23 09:02:07','2024-05-23 09:04:24','2024-05-23 09:02:07',NULL,'2024-05-23 09:04:24',1566,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8733,0,'','CAJA',3494,3491,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-23 09:18:36','2024-05-23 09:22:19','2024-05-23 09:18:36',NULL,'2024-05-23 09:22:19',1567,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8734,0,'','COCINA',3494,3491,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-23 09:18:38','2024-05-23 09:22:19','2024-05-23 09:18:38',NULL,'2024-05-23 09:22:19',1567,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8736,0,'','CAJA',3495,3492,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'docente marela diaz',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-23 11:27:16','2024-05-23 11:31:06','2024-05-23 11:27:16',NULL,'2024-05-23 11:31:06',1568,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8737,0,'','COCINA',3495,3492,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-23 11:27:18','2024-05-23 11:31:06','2024-05-23 11:27:18',NULL,'2024-05-23 11:31:06',1568,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8738,0,'','COCINA',3496,3493,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'DOCENTE VALERIA POLO',700000,20,700000,0,0,0,700000,2,'C','MESAS','2024-05-23 14:58:03','2024-05-23 15:02:16','2024-05-23 14:58:03',NULL,'2024-05-23 15:02:16',1569,770,0,0,0,0,0,700000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8739,0,'','COCINA',3496,3493,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-23 14:58:05','2024-05-23 15:02:16','2024-05-23 14:58:05',NULL,'2024-05-23 15:02:16',1569,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8741,0,'','CAJA',3497,3494,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'DERECHOS DE GRADO',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-05-23 15:37:48','2024-05-23 15:39:49','2024-05-23 15:37:48',NULL,'2024-05-23 15:39:50',970,770,0,0,0,0,0,150000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8742,0,'','CAJA',3498,3495,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE KEVIN ',710000,20,710000,0,0,0,710000,2,'C','MESAS','2024-05-23 15:41:24','2024-05-23 15:52:10','2024-05-23 15:41:24',NULL,'2024-05-23 15:52:10',1570,770,0,0,0,0,0,710000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8743,0,'','CAJA',3499,3496,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCEKA  DIAZ',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-23 18:10:39','2024-05-23 18:13:06','2024-05-23 18:10:39',NULL,'2024-05-23 18:13:06',1571,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8744,0,'','COCINA',3499,3496,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-23 18:10:43','2024-05-23 18:13:06','2024-05-23 18:10:43',NULL,'2024-05-23 18:13:06',1571,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8746,0,'','CAJA',3500,3497,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'docente marcela diaz',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-24 09:03:19','2024-05-24 09:06:43','2024-05-24 09:03:19',NULL,'2024-05-24 09:06:43',1572,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8747,0,'','COCINA',3500,3497,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-05-24 09:03:21','2024-05-24 09:06:43','2024-05-24 09:03:21',NULL,'2024-05-24 09:06:43',1572,770,0,0,0,0,0,1190000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8749,0,'','CAJA',3501,3498,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'docente marcela diaz',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-24 09:57:02','2024-05-24 10:10:32','2024-05-24 09:57:02',NULL,'2024-05-24 10:10:32',1540,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8750,0,'','COCINA',3501,3498,0,0,0,0,NULL,0,4838,'johana guillen ',0,NULL,1,NULL,NULL,1120000,20,1120000,0,0,0,1120000,2,'C','MESAS','2024-05-24 10:09:18','2024-05-24 10:10:32','2024-05-24 10:09:18',NULL,'2024-05-24 10:10:32',1540,770,0,0,0,0,0,1120000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8751,0,'','CAJA',3502,3499,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',870000,20,870000,0,0,0,870000,2,'C','MESAS','2024-05-24 15:51:42','2024-05-24 15:56:27','2024-05-24 15:51:42',NULL,'2024-05-24 15:56:27',1573,770,0,0,0,0,0,870000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8752,0,'','COCINA',3502,3499,0,0,0,0,NULL,0,4843,'alexa hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-24 15:51:44','2024-05-24 15:56:27','2024-05-24 15:51:44',NULL,'2024-05-24 15:56:27',1573,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8754,0,'','CAJA',3503,3500,0,0,0,0,NULL,0,4607,'CURSO DE MAQUILLAJE ',0,NULL,1,NULL,'DOCENTE JAVIER SALCEDO',670000,20,670000,0,0,0,670000,2,'C','MESAS','2024-05-24 16:01:09','2024-05-24 16:03:52','2024-05-24 16:01:09',NULL,'2024-05-24 16:03:52',1574,770,0,0,0,0,0,670000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8755,0,'','COCINA',3503,3500,0,0,0,0,NULL,0,4848,'javier salcedo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-24 16:01:11','2024-05-24 16:03:52','2024-05-24 16:01:11',NULL,'2024-05-24 16:03:52',1574,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8757,0,'','CAJA',3504,3501,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-24 16:16:45','2024-05-24 16:19:22','2024-05-24 16:16:45',NULL,'2024-05-24 16:19:22',1575,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8758,0,'','COCINA',3504,3501,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-24 16:16:50','2024-05-24 16:19:22','2024-05-24 16:16:50',NULL,'2024-05-24 16:19:22',1575,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8760,0,'','CAJA',3505,3502,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'DERECHOS DE GRADO EXTREMA BELLEZA',70000,20,70000,0,0,0,70000,2,'V','MESAS','2024-05-25 09:48:51','2024-05-25 09:51:55','2024-05-25 09:48:51',NULL,'2024-05-25 09:51:55',987,770,0,0,0,0,0,70000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8761,0,'','CAJA',3506,3503,0,0,0,0,NULL,0,4607,'CURSO DE MAQUILLAJE ',0,NULL,1,NULL,'DOCENTE JAVIER SALCEDO',670000,20,670000,0,0,0,670000,2,'C','MESAS','2024-05-25 13:45:26','2024-05-25 13:49:02','2024-05-25 13:45:26',NULL,'2024-05-25 13:49:03',1576,770,0,0,0,0,0,670000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8762,0,'','COCINA',3506,3503,0,0,0,0,NULL,0,4848,'javier salcedo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-25 13:45:30','2024-05-25 13:49:02','2024-05-25 13:45:30',NULL,'2024-05-25 13:49:03',1576,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8764,0,'','CAJA',3507,3504,0,0,0,0,NULL,0,4607,'CURSO DE MAQUILLAJE ',0,NULL,1,NULL,'DOCENTE JAVIER SALCESO',670000,20,670000,0,0,0,670000,2,'C','MESAS','2024-05-25 13:58:12','2024-05-25 14:05:19','2024-05-25 13:58:12',NULL,'2024-05-25 14:05:19',1577,770,0,0,0,0,0,670000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8765,0,'','COCINA',3507,3504,0,0,0,0,NULL,0,4848,'javier salcedo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-25 13:58:23','2024-05-25 14:05:19','2024-05-25 13:58:23',NULL,'2024-05-25 14:05:19',1577,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8767,0,'','CAJA',3508,3505,0,0,0,0,NULL,0,4607,'CURSO DE MAQUILLAJE ',0,NULL,1,NULL,'DOCENTE JAVIER  SALSEDO',670000,20,670000,0,0,0,670000,2,'C','MESAS','2024-05-25 14:12:31','2024-05-25 14:15:36','2024-05-25 14:12:31',NULL,'2024-05-25 14:15:36',1578,770,0,0,0,0,0,670000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8768,0,'','COCINA',3508,3505,0,0,0,0,NULL,0,4848,'javier salcedo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-25 14:12:33','2024-05-25 14:15:36','2024-05-25 14:12:33',NULL,'2024-05-25 14:15:36',1578,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8769,0,'','CAJA',3509,3506,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',1240000,20,1240000,0,0,0,1240000,2,'V','MESAS','2024-05-25 17:10:01','2024-05-25 17:14:35','2024-05-25 17:10:01',NULL,'2024-05-25 17:14:36',1579,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8770,0,'','COCINA',3509,3506,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-05-25 17:10:05','2024-05-25 17:14:35','2024-05-25 17:10:05',NULL,'2024-05-25 17:14:36',1579,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8771,0,'','CAJA',3510,3507,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',320000,19,320000,0,0,0,320000,2,'C','MESAS','2024-05-27 09:34:12','2024-05-27 09:36:03','2024-05-27 09:34:12',NULL,'2024-05-27 09:36:03',1227,770,0,0,0,0,0,320000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8772,0,'','CAJA',3511,3508,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA ',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-27 10:51:52','2024-05-27 10:56:05','2024-05-27 10:51:52',NULL,'2024-05-27 10:56:05',1498,770,0,0,0,0,0,40000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8773,0,'','CAJA',3512,3509,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-28 09:23:48','2024-05-28 09:28:08','2024-05-28 09:23:48',NULL,'2024-05-28 09:28:09',1581,770,0,0,0,0,0,1240000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8774,0,'','COCINA',3512,3509,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-28 09:23:49','2024-05-28 09:28:08','2024-05-28 09:23:49',NULL,'2024-05-28 09:28:09',1581,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8776,0,'','CAJA',3513,3510,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERNADEZ',710000,20,710000,0,0,0,710000,2,'C','MESAS','2024-05-28 09:51:00','2024-05-28 10:06:33','2024-05-28 09:51:00',NULL,'2024-05-28 10:06:33',1582,770,0,0,0,0,0,710000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8777,0,'','CAJA',3514,3511,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',710000,20,710000,0,0,0,710000,2,'C','MESAS','2024-05-28 14:40:01','2024-05-28 14:46:41','2024-05-28 14:40:01',NULL,'2024-05-28 14:46:42',1583,770,0,0,0,0,0,710000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8778,0,'','COCINA',3514,3511,0,0,0,0,NULL,0,4843,'alexa hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-28 14:40:08','2024-05-28 14:46:41','2024-05-28 14:40:08',NULL,'2024-05-28 14:46:42',1583,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8780,0,'','CAJA',3515,3512,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-05-28 16:46:33','2024-05-28 16:49:34','2024-05-28 16:46:33',NULL,'2024-05-28 16:49:34',1584,770,0,0,0,0,0,1190000,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'CURSOS',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1),(8781,0,'','COCINA',3515,3512,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-28 16:46:34','2024-05-28 16:49:34','2024-05-28 16:46:34',NULL,'2024-05-28 16:49:34',1584,770,0,0,0,0,0,0,0,0,770,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,0,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'extremabelleza',NULL,'DESCONOCIDO',NULL,1,0,1,0,NULL,NULL,0,0,NULL,1);

--
-- Table structure for table `ventas2018`
--

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

--
-- Dumping data for table `ventas2018`
--


--
-- Table structure for table `ventas2019`
--

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

--
-- Dumping data for table `ventas2019`
--


--
-- Table structure for table `ventas2020`
--

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

--
-- Dumping data for table `ventas2020`
--


--
-- Table structure for table `ventas2021`
--

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

--
-- Dumping data for table `ventas2021`
--


--
-- Table structure for table `ventas2022`
--

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

--
-- Dumping data for table `ventas2022`
--


--
-- Table structure for table `ventas2023`
--

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

--
-- Dumping data for table `ventas2023`
--


--
-- Table structure for table `ventas3`
--

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

--
-- Dumping data for table `ventas3`
--


--
-- Table structure for table `ventasauxiliar`
--

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

--
-- Dumping data for table `ventasauxiliar`
--


--
-- Table structure for table `ventasauxiliar2`
--

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

--
-- Dumping data for table `ventasauxiliar2`
--


--
-- Table structure for table `ventasporhoras`
--

CREATE TABLE `ventasporhoras` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `dato0` double NOT NULL DEFAULT 0,
  `dato1` double NOT NULL DEFAULT 0,
  `dato2` double NOT NULL DEFAULT 0,
  `dato3` double NOT NULL DEFAULT 0,
  `dato4` double NOT NULL DEFAULT 0,
  `dato5` double NOT NULL DEFAULT 0,
  `dato6` double NOT NULL DEFAULT 0,
  `cc` int(3) NOT NULL DEFAULT 0,
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `ventasporhoras`
--


--
-- Table structure for table `z`
--

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

--
-- Dumping data for table `z`
--

INSERT INTO `z` (`id`, `fecha`, `consecutivo`, `descuento`, `plataseparados`, `domicilios`, `ventaefectivo`, `abonosseparados`, `bruto`, `total`, `cantidaddearticulos`, `idusuario`, `devoluciones`, `cc`, `idcierre`, `abonos`, `bolsillos`, `compras`, `consumobolsillos`, `ventaacredito`, `pagofacturascredito`, `otrosgastos`, `gastossinafectarcaja`, `idcaja`, `otrosingresos`, `cortesia`, `cantidaddearticuloscortesia`, `servicios`, `fisico`, `prestamoaempleados`, `domicilio`, `abonosprestamos`, `base`, `ifood`, `rappi`, `efectivo`, `transferencias`, `datafono`, `observaciones`, `domicilioexterno`, `notasdebitoencompra`, `pv`, `abonosordenservicio`, `nequi`, `notascreditoenventas`, `otrosgastossinafectarcaja`, `devolucionesdedinero`, `sistecredito`, `prestamosalaempresa`, `abonosprestamosin`, `nomina`, `anticipos`) VALUES (1,'2020-12-24 19:28:24',1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(4,'2022-07-25 19:08:15',1,0,0,0,1248700,0,1248700,1248700,38,16,0,2,0,0,0,0,0,0,0,330200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1072200,48000,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(5,'2022-07-26 18:34:14',2,190000,0,0,1103600,0,1293600,1103600,20,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1088000,135000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(6,'2022-07-27 18:03:11',3,0,0,0,3259700,0,3259700,3259700,83,16,0,2,0,0,0,0,0,0,0,35900,0,0,0,0,0,0,0,0,0,0,200000,0,0,1619300,1804500,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(7,'2022-07-28 17:41:35',4,0,0,0,1277000,0,1277000,1277000,38,16,0,2,0,0,0,0,0,0,0,72000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1405000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(8,'2022-07-29 19:18:22',5,179830,0,0,1130170,0,1310000,1130170,131,57,0,2,0,0,0,0,0,0,0,52000,0,0,0,0,0,4000,0,0,0,0,200000,0,0,698000,310000,0,'',0,0,'distrito',0,70000,0,0,0,0,0,0,0,0),(9,'2022-07-30 18:11:58',6,135000,0,0,1835500,0,1970500,1835500,45,57,0,2,0,0,0,0,0,0,0,3200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1703900,284000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(10,'2022-08-01 18:05:41',7,0,0,0,696100,0,696100,696100,21,16,0,2,0,0,0,0,0,0,0,31000,0,0,0,0,0,0,0,0,0,0,200000,0,0,675000,0,0,'',0,0,'distrito',0,130000,0,0,0,0,0,0,0,0),(11,'2022-08-02 18:24:25',8,55000,0,0,1098300,0,1153300,1098300,37,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1245200,30000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(12,'2022-08-03 18:13:31',9,50000,0,0,1857000,0,1907000,1857000,33,16,0,2,0,0,0,0,0,0,0,202200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1532300,30000,0,'',0,0,'distrito',0,293000,0,0,0,0,0,0,0,0),(13,'2022-08-04 17:52:45',10,50000,0,0,761000,0,811000,761000,19,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,961000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(14,'2022-08-05 18:18:48',11,250000,0,0,1528000,0,1778000,1528000,37,57,0,2,0,0,0,0,0,0,0,79900,0,0,0,0,0,0,0,0,0,0,200000,0,0,1308100,150000,0,'',0,0,'distrito',0,190000,0,0,0,0,0,0,0,0),(15,'2022-08-06 18:56:24',12,105000,0,0,1679800,0,1784800,1679800,33,57,0,2,0,0,0,0,0,0,0,37100,0,0,0,0,0,0,0,0,0,0,200000,0,0,1147700,415000,135000,'',0,0,'distrito',0,145000,0,0,0,0,0,0,0,0),(16,'2022-08-08 18:12:03',13,50000,0,0,1057400,0,1107400,1057400,39,16,0,2,0,0,0,0,0,0,0,5600,0,0,0,0,0,0,0,0,0,0,200000,0,0,1244400,159500,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(17,'2022-08-09 18:57:23',14,50000,0,0,1283300,0,1333300,1283300,40,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1023300,260000,0,'',0,0,'distrito',0,200000,0,0,0,0,0,0,0,0),(18,'2022-08-10 18:18:30',15,0,0,0,639000,0,639000,639000,17,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,772000,0,0,'',0,0,'distrito',0,12000,0,0,0,0,0,0,0,0),(19,'2022-08-11 17:58:22',16,100000,0,0,1504500,0,1604500,1504500,21,16,0,2,0,0,0,0,0,0,0,4000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1181800,502500,0,'',0,0,'distrito',0,23000,0,0,0,0,0,0,0,0),(20,'2022-08-12 18:28:06',17,0,0,0,718400,0,718400,718400,33,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,920000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(21,'2022-08-13 18:24:43',18,249100,0,0,644300,0,893400,644300,45,57,0,2,0,0,0,0,0,0,0,50050,0,0,0,0,0,0,0,0,0,0,200000,0,0,354250,300000,140000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(22,'2022-08-15 13:17:07',19,0,0,0,483600,0,483600,483600,20,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,683600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(23,'2022-08-16 19:00:31',20,49999.99999999999,0,0,1466000,0,1516000,1466000,53,57,0,2,0,0,0,0,0,0,0,21300,0,0,0,0,0,0,0,0,0,0,200000,0,0,1375400,0,0,'',0,0,'distrito',0,320000,0,0,0,0,0,0,0,0),(24,'2022-08-17 17:50:05',21,0,0,0,1534900,0,1534900,1534900,29,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1710100,25000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(25,'2022-08-18 17:54:43',22,50100,0,0,1874000,0,2574100,2524000,58,16,0,2,0,650000,0,0,0,650000,0,43000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1320100,711000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(26,'2022-08-19 18:51:42',23,73700,0,0,722600,0,2656300,2582600,42,57,0,2,0,180000,0,0,0,1860000,0,18600,0,0,0,0,0,0,0,0,0,0,200000,0,0,951000,0,133000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(27,'2022-08-20 18:27:43',24,0,0,0,842500,0,842500,842500,39,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,667100,327000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(28,'2022-08-22 18:07:20',25,50000,0,0,988600,0,1038600,988600,29,16,0,2,0,0,0,0,0,0,0,14000,0,0,0,0,0,0,0,0,0,0,200000,0,0,859500,315100,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(29,'2022-08-23 18:15:54',26,0,0,0,457000,0,2317000,2317000,12,57,0,2,0,420000,0,0,0,1860000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,927000,150000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(30,'2022-08-24 18:02:53',27,0,0,0,681300,0,961300,961300,36,16,0,2,0,0,0,0,0,280000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,710300,150000,0,'',0,0,'distrito',0,23000,0,0,0,0,0,0,0,0),(31,'2022-08-25 17:56:12',28,0,0,0,489200,0,5569200,5569200,43,16,0,2,0,880000,0,0,0,5080000,0,376600,0,0,0,0,0,0,0,0,0,0,200000,0,0,1193000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(32,'2022-08-27 10:38:10',29,329500,0,0,1176400,0,3205900,2876400,53,18,30000,2,0,390000,0,0,0,1700000,0,38600,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'extremabelleza',0,0,0,0,0,0,0,0,0,0),(33,'2022-08-27 18:20:23',30,130000,0,0,78000,0,1138000,1008000,11,57,0,2,0,230000,0,0,0,930000,0,3000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1236000,150000,520000,'',0,0,'distrito',0,310000,0,0,0,0,0,0,0,0),(34,'2022-08-29 19:44:11',31,0,0,0,470100,0,470100,470100,37,16,0,2,0,0,0,0,0,0,0,31500,0,0,0,0,0,0,0,0,0,0,200000,0,0,626200,12000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(35,'2022-08-30 18:32:48',32,330000,0,0,1451000,0,4691000,4361000,43,57,0,2,0,550000,0,0,0,2910000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1810000,0,200000,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(36,'2022-08-31 18:04:10',33,200000,0,0,1470000,0,1670000,1470000,32,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1389700,280000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(37,'2022-09-01 17:48:49',34,0,0,0,896000,0,896000,896000,24,16,0,2,0,230000,0,0,0,0,0,70000,0,0,0,0,0,0,0,0,0,0,200000,0,0,905400,300000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(38,'2022-09-02 18:36:14',35,155500,0,0,2222300,0,2377800,2222300,50,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,199750,0,0,1072250,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(39,'2022-09-03 17:47:02',36,2000,0,0,1804400,0,1806400,1804400,57,57,0,2,0,0,0,0,0,0,0,79900,0,0,0,0,0,0,0,0,0,0,200000,0,0,1856100,0,67900,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(40,'2022-09-05 18:36:30',37,0,0,0,1876700,0,1876700,1876700,48,16,0,2,0,0,0,0,0,0,0,51200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1300700,725000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(41,'2022-09-06 18:42:41',38,211000,0,0,1314900,0,1525900,1314900,52,57,0,2,0,0,0,0,0,0,0,24000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2171000,0,30000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(42,'2022-09-07 18:05:36',39,105000,0,0,815250,0,920250,815250,37,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,849300,166000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(43,'2022-09-08 17:38:41',40,0,0,0,45650,0,45650,45650,8,16,0,2,0,0,0,0,0,0,0,19000,0,0,0,0,0,0,0,0,0,0,200000,0,0,225650,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(44,'2022-09-09 18:53:42',41,0,0,0,576000,0,576000,576000,12,57,0,2,0,0,0,0,0,0,0,41100,0,0,0,0,0,0,0,0,0,0,200000,0,0,450400,240000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(45,'2022-09-10 17:46:44',42,0,0,0,903000,0,903000,903000,12,57,0,2,0,0,0,0,0,0,0,8000,0,0,0,0,0,0,0,0,0,0,200000,0,0,682000,410000,0,'',0,0,'distrito',0,11000,0,0,0,0,0,0,0,0),(46,'2022-09-12 17:57:31',43,0,0,0,1183300,0,1183300,1183300,27,16,0,2,0,0,0,0,0,0,0,2500,0,0,0,0,0,0,0,0,0,0,200000,0,0,1105800,275000,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(47,'2022-09-13 18:15:30',44,153000,0,0,753500,0,1836500,1683500,30,57,0,2,0,230000,0,0,0,930000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1111600,0,0,'0',0,0,'distrito',0,10000,0,0,0,0,0,0,0,0),(48,'2022-09-14 18:03:29',45,50000,0,0,728900,0,778900,728900,34,16,0,2,0,0,0,0,0,0,0,4450,0,0,0,0,0,0,0,0,0,0,200000,0,0,924450,0,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(49,'2022-09-15 17:56:47',46,0,0,0,312000,0,312000,312000,4,16,0,2,0,140000,0,0,0,0,0,55600,0,0,0,0,0,0,0,0,0,0,200000,0,0,556400,40000,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(50,'2022-09-16 18:10:47',47,50000,0,0,543500,0,593500,543500,29,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,711500,0,0,'0',0,0,'distrito',0,32000,0,0,0,0,0,0,0,0),(51,'2022-09-17 18:38:18',48,250000,0,0,1008000,0,2188000,1938000,34,57,0,2,0,230000,0,0,0,930000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1438000,0,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(52,'2022-09-19 18:16:31',49,0,0,0,1619000,0,1619000,1619000,55,16,0,2,0,0,0,0,0,0,0,27000,0,0,0,0,0,0,0,0,0,0,200000,0,0,619000,1172000,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(53,'2022-09-20 18:29:40',50,100000,0,0,610100,0,710100,610100,28,57,0,2,0,0,0,0,0,0,0,27600,0,0,0,0,0,0,0,0,0,0,200000,0,0,684100,75000,0,'0',0,0,'distrito',0,23000,0,0,0,0,0,0,0,0),(54,'2022-09-21 18:07:29',51,100000,0,0,327000,0,1217000,1117000,22,15,0,2,0,90000,0,0,0,790000,0,10000,0,0,0,0,0,0,0,0,0,0,200000,0,0,448000,155000,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(55,'2022-09-22 18:04:38',52,50000,0,0,909000,0,959000,909000,26,16,0,2,0,980000,0,0,0,0,0,209100,0,0,0,0,0,0,0,0,0,0,200000,0,0,1739900,140000,0,'0',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(56,'2022-09-23 18:41:36',53,100000,0,0,663100,0,2623100,2523100,29,57,0,2,0,460000,0,0,0,1860000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1323100,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(57,'2022-09-24 17:56:42',54,10000,0,0,1264500,0,5924500,5914500,49,15,0,2,0,970000,0,0,0,4650000,0,9600,0,0,0,0,0,0,0,0,0,0,200000,0,0,1794400,624500,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(58,'2022-09-26 18:07:00',55,0,0,0,1020400,0,1020400,1020400,15,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,496400,725000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(59,'2022-09-27 17:50:52',56,100000,0,0,407000,0,1557000,1457000,12,57,0,2,0,250000,0,0,0,1050000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,827000,30000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(60,'2022-09-27 18:19:57',57,0,0,0,165900,0,165900,165900,16,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,260900,0,0,'',0,0,'distrito',0,105000,0,0,0,0,0,0,0,0),(61,'2022-09-28 18:02:46',58,50000,0,0,389700,0,1369700,1319700,18,16,0,2,0,230000,0,0,0,930000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,819700,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(62,'2022-09-29 17:57:55',59,200000,0,0,1115200,0,3295200,3095200,36,16,0,2,0,320000,0,0,0,1980000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1232500,403000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(63,'2022-09-30 18:25:24',60,200000,0,0,1038000,0,4008000,3808000,41,57,0,2,0,550000,0,0,0,2770000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1291000,130000,367000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(64,'2022-10-01 18:36:48',61,50000,0,0,1221200,0,2321200,2271200,36,57,0,2,0,90000,0,0,0,1050000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1071500,435000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(65,'2022-10-03 18:03:10',62,0,0,0,1504400,0,3604400,3604400,51,16,0,2,0,500000,0,0,0,2100000,0,14200,0,0,0,0,0,0,0,0,0,0,200000,0,0,2004500,135600,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(66,'2022-10-04 18:28:45',63,50000,0,0,450300,0,4700300,4650300,27,57,0,2,0,1400000,0,0,0,4200000,0,39900,0,0,0,0,0,0,0,0,0,0,200000,0,0,1660400,350000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(67,'2022-10-05 18:23:19',64,0,0,0,1135000,0,1135000,1135000,29,16,0,2,0,0,0,0,0,0,0,20400,0,0,0,0,0,0,0,0,0,0,200000,0,0,994600,320000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(68,'2022-10-06 17:51:06',65,0,0,0,507000,0,507000,507000,29,16,0,2,0,0,0,0,0,0,0,90000,0,0,0,0,0,0,0,0,0,0,200000,0,0,617000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(69,'2022-10-07 18:12:35',66,0,0,0,1891000,0,1891000,1891000,27,57,0,2,0,0,0,0,0,0,0,25000,0,0,0,0,0,0,0,0,0,0,150000,0,0,1931000,135000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(70,'2022-10-08 18:30:09',67,100000,0,0,660000,0,760000,660000,29,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,770000,63000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(71,'2022-10-10 18:26:05',68,0,0,0,1691700,0,1691700,1691700,51,57,0,2,0,0,0,0,0,0,0,72350,29000,0,0,0,0,0,0,0,0,0,200000,0,0,1785300,60000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(72,'2022-10-11 18:20:06',69,0,0,0,418900,0,418900,418900,34,57,0,2,0,280000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,655100,205000,0,'',0,0,'distrito',0,40000,0,0,0,0,0,0,0,0),(73,'2022-10-12 15:15:52',70,0,0,0,574000,0,574000,574000,9,16,0,2,0,0,0,0,0,0,0,4000,0,0,0,0,0,0,0,0,0,0,0,0,0,307000,463000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(74,'2022-10-12 17:48:47',71,0,0,0,81000,0,81000,81000,9,30,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,281000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(75,'2022-10-13 17:51:47',72,0,0,0,778600,0,778600,778600,26,16,0,2,0,140000,0,0,0,0,0,4000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1114600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(76,'2022-10-14 18:28:26',73,0,0,0,765600,0,1605600,1605600,32,16,0,2,0,140000,0,0,0,840000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,893600,22000,190000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(77,'2022-10-15 18:11:14',74,30000,0,0,323600,0,1193600,1163600,21,57,0,2,0,980000,0,0,0,840000,0,75000,0,0,0,0,0,0,0,0,0,0,200000,0,0,728600,140000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(78,'2022-10-17 12:33:13',75,0,0,0,2000,0,2000,2000,2,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,202000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(79,'2022-10-18 18:09:40',76,30000,0,0,791100,0,2621100,2591100,44,57,0,2,0,300000,0,0,0,1800000,0,165900,0,0,0,0,0,0,0,0,0,0,200000,0,0,965300,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(80,'2022-10-19 18:31:14',77,90000,0,0,683300,0,773300,683300,32,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,682400,0,200900,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(81,'2022-10-20 18:13:29',78,30000,0,0,1241200,0,1271200,1241200,48,57,0,2,0,140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1581200,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(82,'2022-10-21 18:45:57',79,0,0,0,2334600,0,2334600,2334600,63,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,693600,1673000,0,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(83,'2022-10-22 18:20:31',80,230000,0,0,851700,0,1921700,1691700,46,16,0,2,0,980000,0,0,0,840000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2018700,0,0,'',0,0,'distrito',0,13000,0,0,0,0,0,0,0,0),(84,'2022-10-24 18:27:31',81,30000,0,0,660000,0,1530000,1500000,30,16,0,2,0,140000,0,0,0,840000,0,263500,0,0,0,0,0,0,0,0,0,0,200000,0,0,757700,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(85,'2022-10-25 18:21:54',82,60000,0,0,546600,0,606600,546600,21,57,0,2,0,0,0,0,0,0,0,55100,0,0,0,0,0,0,0,0,0,0,200000,0,0,466500,225000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(86,'2022-10-26 18:14:53',83,90000,0,0,436000,0,5566000,5476000,40,16,0,2,0,910000,0,0,0,5040000,0,59500,0,0,0,0,0,0,0,0,0,0,200000,0,0,1216700,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(87,'2022-10-27 18:28:11',84,60000,0,0,829900,0,889900,829900,25,57,0,2,0,1260000,0,0,0,0,0,18800,0,0,0,0,0,0,0,0,0,0,200000,0,0,1981100,230000,0,'',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(88,'2022-10-28 18:48:44',85,30000,0,0,1362000,0,1392000,1362000,36,57,0,2,0,0,0,0,0,0,0,5000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1001000,400000,35000,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(89,'2022-10-29 18:31:48',86,30000,0,0,2225500,0,2255500,2225500,45,16,0,2,0,140000,0,0,0,0,0,19000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2507000,15000,0,'',0,0,'distrito',0,25000,0,0,0,0,0,0,0,0),(90,'2022-10-31 18:10:43',87,0,0,0,1577000,0,2417000,2417000,44,16,0,2,0,420000,0,0,0,840000,0,21300,0,0,0,0,0,0,0,0,0,0,200000,0,0,2175700,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(91,'2022-11-01 18:22:56',88,90000,0,0,713400,0,803400,713400,23,57,0,2,0,1420000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2013400,160000,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(92,'2022-11-02 18:18:32',89,0,0,0,292000,0,292000,292000,27,16,0,2,0,0,0,0,0,0,0,43200,0,0,0,0,0,0,0,0,0,0,200000,0,0,448800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(93,'2022-11-03 17:57:25',90,60000,0,0,472300,0,532300,472300,17,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,676300,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(94,'2022-11-04 18:18:00',91,0,0,0,552500,0,792500,792500,21,57,0,2,0,0,0,0,0,240000,0,39500,0,0,0,0,0,0,0,0,0,0,200000,0,0,554000,150000,0,'',0,0,'distrito',0,10000,0,0,0,0,0,0,0,0),(95,'2022-11-05 18:28:31',92,90000,0,0,2143100,0,2566100,2476100,260,57,0,2,0,0,0,0,0,333000,0,37550,0,0,0,0,0,0,0,0,0,0,200000,0,0,2117600,133500,0,'',0,0,'distrito',0,90000,0,0,0,0,0,0,0,0),(96,'2022-11-08 18:15:10',93,30000,0,0,993000,0,1023000,993000,13,57,0,2,0,320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,699500,650000,0,'No había Internet ',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(97,'2022-11-09 18:03:16',94,0,0,0,225000,0,225000,225000,5,16,0,2,0,140000,0,0,0,0,0,13500,0,0,0,0,0,0,0,0,0,0,200000,0,0,551500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(98,'2022-11-10 17:58:00',95,0,0,0,442800,0,442800,442800,39,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,642800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(99,'2022-11-11 18:27:05',96,0,0,0,979400,0,979400,979400,33,57,0,2,0,0,0,0,0,0,0,23000,0,0,0,0,0,0,0,0,0,0,200000,0,0,953400,360000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(100,'2022-11-14 13:05:15',97,30000,0,0,891500,0,2781500,2751500,42,57,0,2,0,320000,0,0,0,1860000,0,20000,0,0,0,0,0,0,0,0,0,0,200000,0,0,579000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(101,'2022-11-15 17:09:59',98,0,0,0,150100,0,150100,150100,10,57,0,2,0,0,0,0,0,0,0,79900,0,0,0,0,0,0,0,0,0,0,200000,0,0,235200,35000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(102,'2022-11-16 18:12:50',99,30000,0,0,402000,0,432000,402000,12,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,546000,0,0,'',0,0,'distrito',0,50000,0,0,0,0,0,0,0,0),(103,'2022-11-17 17:57:13',100,0,0,0,1349100,0,1349100,1349100,37,16,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1549100,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(104,'2022-11-18 18:28:37',101,0,0,0,1664100,0,1664100,1664100,42,16,0,2,0,0,0,0,0,0,0,8500,0,0,0,0,0,0,0,0,0,0,200000,0,0,1055100,400000,0,'',0,0,'distrito',0,400000,0,0,0,0,0,0,0,0),(105,'2022-11-19 17:52:58',102,0,0,0,1550000,0,1550000,1550000,34,16,0,2,0,140000,0,0,0,0,0,100600,0,0,0,0,0,0,0,0,0,0,200000,0,0,1629000,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(106,'2022-11-21 18:15:08',103,0,0,0,865500,0,1655500,1655500,18,16,0,2,0,90000,0,0,0,790000,0,139500,0,0,0,0,0,0,0,0,0,0,200000,0,0,711000,265000,400000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(107,'2022-11-22 18:31:37',104,0,0,0,168500,0,338500,338500,9,57,0,2,0,140000,0,0,0,170000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,418500,90000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(108,'2022-11-23 18:52:37',105,60000,0,0,1063000,0,1123000,1063000,10,57,0,2,0,1180000,0,0,0,0,0,32700,0,0,0,0,0,0,0,0,0,0,200000,0,0,2109300,0,280000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(109,'2022-11-24 17:45:43',106,0,0,0,65000,0,65000,65000,3,16,0,2,0,660000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,925000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(110,'2022-11-25 18:17:53',107,0,0,0,1477000,0,1477000,1477000,24,16,0,2,0,0,0,0,0,0,0,6000,0,0,0,0,0,0,0,0,0,0,200000,140000,0,1503000,28000,0,'SISTE CREDITO',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(111,'2022-11-26 18:10:34',108,0,0,0,1104200,0,1104200,1104200,32,16,0,2,0,560000,0,0,0,0,0,195200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1484000,105000,0,'LA TRANSACCION ES DE SISTECREDITO',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(112,'2022-11-28 18:12:32',109,30000,0,0,632200,0,704200,674200,18,57,0,2,0,0,0,0,0,42000,0,58000,0,0,0,0,0,0,0,0,0,0,200000,0,0,632200,140000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(113,'2022-11-29 18:32:52',110,30000,0,0,987500,0,1017500,987500,21,57,0,2,0,320000,0,0,0,0,0,4000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1083500,280000,140000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(114,'2022-11-30 18:12:31',111,9999.999999999998,0,0,1201600,0,1216600,1206600,23,57,0,2,0,390000,0,0,0,5000,0,160000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1311600,180000,0,'',0,0,'distrito',0,140000,0,0,0,0,0,0,0,0),(115,'2022-12-01 18:19:47',112,0,0,0,150300,0,150300,150300,18,16,0,2,0,820000,0,0,0,0,0,4500,0,0,0,0,0,0,0,0,0,0,200000,0,0,1125800,140000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(116,'2022-12-02 18:02:35',113,0,0,0,752000,0,752000,752000,18,16,0,2,0,0,0,0,0,0,0,57450,0,0,0,0,0,0,0,0,0,0,200000,0,0,894850,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(117,'2022-12-03 18:15:15',114,0,0,0,857000,0,2577000,2577000,73,16,0,2,0,880000,0,0,0,1720000,0,22800,0,0,0,0,0,0,0,0,0,0,200000,0,0,1456200,318000,0,'140000 SISTECREDITO\n20000 DAVIPLATA \n158000 BANCOLOMBIA \n140000 NEQUI',0,0,'distrito',0,140000,0,0,0,0,0,0,0,0),(118,'2022-12-05 18:20:27',115,60000,0,0,417600,0,3509600,3449600,43,57,0,2,0,650000,0,0,0,3032000,0,20000,0,0,0,0,0,0,0,0,0,0,200000,0,0,892600,125000,140000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(119,'2022-12-06 18:10:22',116,0,0,0,514400,0,546200,546200,33,57,0,2,0,640000,0,0,0,31800,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1354400,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(120,'2022-12-07 18:10:50',117,80000,0,0,488800,0,568800,488800,14,57,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,655300,34000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(121,'2022-12-09 18:34:22',118,0,0,0,386300,0,386300,386300,39,16,0,2,0,160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,558300,187000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(122,'2022-12-10 18:39:48',119,30000,0,0,991350,0,1811350,1781350,81,16,0,2,0,340000,0,0,0,790000,0,101700,0,0,0,0,0,0,0,0,0,0,200000,0,0,1076400,0,353500,'SISTE CREDITOS',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(123,'2022-12-12 18:22:15',120,31000,0,0,383000,0,414000,383000,16,57,0,2,0,140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,458000,0,140000,'',0,0,'distrito',0,140000,0,0,0,0,0,0,0,0),(124,'2022-12-13 18:43:17',121,30000,0,0,941000,0,971000,941000,19,57,0,2,0,0,0,0,0,0,0,11300,0,0,0,0,0,0,0,0,0,0,200000,0,0,740700,370000,19000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(125,'2022-12-14 18:13:49',122,53000,0,0,1307500,0,1360500,1307500,38,57,0,2,0,170000,0,0,0,0,0,9000,0,0,0,0,0,0,0,0,0,0,20000,0,0,876500,0,0,'',0,0,'distrito',0,652000,0,0,0,0,0,0,0,0),(126,'2022-12-15 17:49:15',123,5000,0,0,497000,0,502000,497000,11,27,0,2,0,280000,0,0,0,0,0,41800,0,0,0,0,0,0,0,0,0,0,200000,0,0,725200,215000,0,'Daviplata 215000',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(127,'2022-12-16 18:43:57',124,0,0,0,1045000,0,1045000,1045000,13,27,0,2,0,0,0,0,0,0,0,11000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1165000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(128,'2022-12-17 18:29:14',125,0,0,0,1175200,0,1470200,1470200,44,27,0,2,0,160000,0,0,0,295000,0,76000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1252200,147000,0,'147000 POR DAVIPLATA',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(129,'2022-12-19 19:09:09',126,10100,0,0,346500,0,356600,346500,28,57,0,2,0,0,0,0,0,0,0,9900,0,0,0,0,0,0,0,0,0,0,200000,0,0,536600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(130,'2022-12-20 17:57:18',127,270000,0,0,710450,0,980450,710450,42,57,0,2,0,160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,690600,160000,0,'',0,0,'distrito',0,220000,0,0,0,0,0,0,0,0),(131,'2022-12-21 20:00:11',128,0,0,0,661200,0,661200,661200,13,27,0,2,0,350000,0,0,0,0,0,70444,0,0,0,0,0,0,0,0,0,0,200000,0,0,1071000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(132,'2022-12-22 18:03:49',129,0,0,0,423000,0,423000,423000,9,27,0,2,0,240000,0,0,0,0,0,163300,0,0,0,0,0,0,0,0,0,0,200000,0,0,599750,100000,0,'100000 transferencia de bancolombia',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(133,'2022-12-23 18:25:08',130,0,0,0,832000,0,862000,862000,26,27,0,2,0,300000,0,0,0,30000,0,32700,0,0,0,0,0,0,0,0,0,0,200000,0,0,1299300,0,0,'NOTA: LA FACTURA NUMERO 1600 POR VALOR DE 23000 PESOS FUE ELIMINADA POR DEVOLUCION DEL PRODUCTO',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(134,'2022-12-24 17:51:00',131,30000,0,0,320500,0,350500,320500,13,27,0,2,0,700000,0,0,0,0,0,19700,0,0,0,0,0,0,0,0,0,0,200000,0,0,920800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(135,'2022-12-26 18:30:42',132,60000,0,0,165700,0,2615700,2555700,28,57,0,2,0,320000,0,0,0,2390000,0,32700,0,0,0,0,0,0,0,0,0,0,200000,0,0,677000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(136,'2022-12-27 19:34:09',133,160000,0,0,483000,0,1633000,1473000,33,57,0,2,0,180000,0,0,0,990000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,357000,506000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(137,'2022-12-28 18:11:08',134,80000,0,0,435000,0,515000,435000,6,57,0,2,0,630000,0,0,0,0,0,100000,0,0,0,0,0,0,0,0,0,0,200000,0,0,445000,0,0,'630.000 fueron de mensualidades que pagaron en el local 2 aya esta la plata',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(138,'2022-12-29 17:43:39',135,0,0,0,53000,0,1103000,1103000,7,27,0,2,0,1070000,0,0,0,1050000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1323000,0,0,'1323000 en efectivo, menos 200000 de base ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(139,'2022-12-30 18:01:20',136,0,0,0,240000,0,1350000,1350000,7,27,0,2,0,90000,0,0,0,1110000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,530000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(140,'2022-12-31 19:03:08',137,0,0,0,179500,0,229500,229500,16,27,0,2,0,0,0,0,0,50000,0,154700,0,0,0,0,0,0,0,0,0,0,200000,0,0,224000,0,0,'224000 en efectivo menos base quedan 24000',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(141,'2023-01-03 18:53:45',138,0,0,0,388000,0,388000,388000,13,15,0,2,0,140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,733000,155000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(142,'2023-01-04 18:31:27',139,0,0,0,222000,0,252000,252000,11,15,0,2,0,0,0,0,0,30000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,412000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(143,'2023-01-05 18:34:41',140,0,0,0,295000,0,295000,295000,19,15,0,2,0,290000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,645000,187000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(144,'2023-01-06 18:27:38',141,0,0,0,576900,0,576900,576900,11,15,0,2,0,0,0,0,0,0,0,5000,0,0,0,0,0,0,0,0,0,0,200000,0,0,772000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(145,'2023-01-07 16:53:41',142,0,0,0,754000,0,815000,815000,21,15,0,2,0,680000,0,0,0,61000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1244000,190000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(146,'2023-01-10 18:15:34',143,0,0,0,498100,0,1038100,1038100,23,15,0,2,0,990000,0,0,0,540000,0,98100,0,0,0,0,0,0,0,0,0,0,200000,0,0,838000,740000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(147,'2023-01-11 18:52:51',144,20000,0,0,1305750,0,1865750,1845750,30,15,0,2,0,390000,0,0,0,540000,0,110400,0,0,0,0,0,0,0,0,0,0,200000,0,0,1168000,600000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(148,'2023-01-12 18:03:02',145,0,0,0,435000,0,3585000,3585000,14,15,0,2,0,1160000,0,0,0,3150000,0,20000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1397000,380000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(149,'2023-01-13 17:44:02',146,0,0,0,406400,0,2512400,2512400,19,15,0,2,0,500000,0,0,0,2106000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1017600,250000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(150,'2023-01-14 18:14:49',147,0,0,0,1039200,0,7879200,7879200,53,15,0,2,0,1965000,0,0,0,6840000,0,69000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2911000,240000,0,'10000 que sobran en el sistema, pero no en la plata que esta en efectivo \n140000 que faltan de una mensualidad que esta en el local 2 ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(151,'2023-01-16 18:09:41',148,10000,0,0,497200,0,1017200,1007200,11,57,0,2,0,565000,0,0,0,510000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,592200,320000,0,'150000 PAGARON POR TRANSFERENCIA Y SE COLOCO EN EFECTIVO POR ESO EL FALTANTE',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(152,'2023-01-17 18:02:59',149,4999.999999999999,0,0,2172000,0,3227000,3222000,32,15,0,2,0,250000,0,0,0,1050000,0,60000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1227000,1335000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(153,'2023-01-18 17:59:54',150,0,0,0,1193000,0,1193000,1193000,14,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,973000,420000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(154,'2023-01-19 18:07:19',151,0,0,0,919800,0,969800,969800,28,15,0,2,0,0,0,0,0,50000,0,6500,0,0,0,0,0,0,0,0,0,0,200000,0,0,753300,360000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(155,'2023-01-20 18:08:20',152,0,0,0,150000,0,150000,150000,1,15,0,2,0,0,0,0,0,0,0,32700,0,0,0,0,0,0,0,0,0,0,200000,0,0,167300,150000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(156,'2023-01-21 17:56:14',153,0,0,0,1473500,0,1473500,1473500,34,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,753500,920000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(157,'2023-01-23 18:29:14',154,0,0,0,889600,0,1429600,1429600,36,15,0,2,0,240000,0,0,0,540000,0,108400,0,0,0,0,0,0,0,0,0,0,200000,0,0,1223800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(158,'2023-01-24 20:15:01',155,0,0,0,1170000,0,1170000,1170000,35,15,0,2,0,310000,0,0,0,0,0,5000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1204000,360000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(159,'2023-01-25 18:04:12',156,45000,0,0,503000,0,553000,508000,22,15,0,2,0,160000,0,0,0,5000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,588000,115000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(160,'2023-01-26 18:04:20',157,0,0,0,242600,0,352600,352600,18,15,0,2,0,230000,0,0,0,110000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,572600,0,0,'',0,0,'distrito',0,0,0,0,990000,0,0,0,0,0),(161,'2023-01-27 18:59:03',158,0,0,0,608200,0,608200,608200,29,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,808200,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(162,'2023-01-28 18:23:23',159,0,0,0,614000,0,614000,614000,15,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,594000,220000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(163,'2023-01-30 17:54:03',160,0,0,0,1150000,0,1150000,1150000,18,15,0,2,0,1,0,0,0,0,0,32000,0,0,0,0,0,0,0,0,0,0,200000,0,0,608000,715000,0,'20000 que tiene Yefferson ',0,0,'distrito',0,0,0,0,60000,0,0,0,0,0),(164,'2023-01-31 17:31:13',161,20000,0,0,124700,0,1754700,1734700,31,57,0,2,0,550000,0,0,0,1610000,0,4000,0,0,0,0,0,0,0,0,0,0,200000,0,0,624700,250000,0,'',0,0,'distrito',0,0,0,0,999999.99,0,0,0,0,0),(165,'2023-02-01 17:19:40',162,60000,0,0,370000,0,430000,370000,8,29,0,2,0,140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,690000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(166,'2023-02-02 18:51:18',163,63000,0,0,897000,0,960000,897000,19,30,0,2,0,0,0,0,0,0,0,20400,0,0,0,0,0,0,0,0,0,0,200000,0,0,571900,510000,60000,'EL SOBRANTE ES DE FOTOCOPIAS CAFE Y DEMAS',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(167,'2023-02-03 19:51:51',164,0,0,0,1161500,0,1161500,1161500,29,248,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1301500,60000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(168,'2023-02-04 18:05:24',165,0,0,0,1212950,0,1212950,1212950,25,15,0,2,0,140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1552950,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(169,'2023-02-06 18:30:33',166,0,0,0,861000,0,861000,861000,25,15,0,2,0,0,0,0,0,0,0,7000,0,0,0,0,0,0,0,0,0,0,200000,0,0,844000,210000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(170,'2023-02-07 18:01:52',167,0,0,0,776800,0,776800,776800,9,15,0,2,0,320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1296800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(171,'2023-02-08 17:52:46',168,0,0,0,795600,0,795600,795600,23,15,0,2,0,0,0,0,0,0,0,23800,0,0,0,0,0,0,0,0,0,0,200000,0,0,881800,90000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(172,'2023-02-09 14:11:15',169,0,0,0,230000,0,1220000,1220000,6,30,0,2,0,240000,0,0,0,990000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'extremabelleza',0,0,0,0,0,0,0,0,0,0),(173,'2023-02-09 19:18:39',170,0,0,0,136000,0,136000,136000,10,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,807000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(174,'2023-02-10 18:39:32',171,0,0,0,260000,0,260000,260000,12,15,0,2,0,0,0,0,0,0,0,46300,0,0,0,0,0,0,0,0,0,0,200000,0,0,413000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(175,'2023-02-11 17:49:26',172,0,0,0,746000,0,746000,746000,30,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,676000,250000,0,'40000, que tiene Yefferson ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(176,'2023-02-13 18:24:18',173,0,0,0,991000,0,1000000,1000000,30,15,0,2,0,520000,0,0,0,9000,0,1200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1431800,280000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(177,'2023-02-14 17:55:53',174,0,0,0,271500,0,274500,274500,32,15,0,2,0,480000,0,0,0,3000,0,51500,0,0,0,0,0,0,0,0,0,0,200000,0,0,946900,0,0,'48500 QUE ESTAN EN EFECTO SOLO QUE SE INGRESO MAL (SE LE INFORMO A YEFERSON) ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(178,'2023-02-15 18:27:21',175,0,0,0,343600,0,343600,343600,11,15,0,2,0,0,0,0,0,0,0,36200,0,0,0,0,0,0,0,0,0,0,0,0,0,437000,70000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(179,'2023-02-16 18:09:19',176,0,0,0,185400,0,185400,185400,5,15,0,2,0,9000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,411000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(180,'2023-02-17 17:56:52',177,0,0,0,271000,0,271000,271000,11,15,0,2,0,0,0,0,0,0,0,71900,0,0,0,0,0,0,0,0,0,0,200000,0,0,280100,150000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(181,'2023-02-18 17:31:01',178,0,0,0,96000,0,96000,96000,6,15,0,2,0,1480000,0,0,0,0,0,20400,0,0,0,0,0,0,0,0,0,0,200000,0,0,373600,1430000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(182,'2023-02-20 18:16:49',179,0,0,0,1715500,0,1715500,1715500,23,15,0,2,0,890000,0,0,0,0,0,25000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2203500,580000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(183,'2023-02-21 17:59:31',180,20000,0,0,373000,0,393000,373000,9,15,0,2,0,160000,0,0,0,0,0,40000,0,0,0,0,0,0,0,0,0,0,200000,0,0,623000,70000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(184,'2023-02-22 16:39:03',181,0,0,0,1500,0,1500,1500,1,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(185,'2023-02-23 17:59:58',182,0,0,0,797800,0,797800,797800,21,15,0,2,0,0,0,0,0,0,0,15000,0,0,0,0,0,0,0,0,0,0,200000,0,0,867000,210000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(186,'2023-02-24 18:02:48',183,0,0,0,533100,0,583100,583100,29,15,0,2,0,0,0,0,0,50000,0,19000,0,0,0,0,0,0,0,0,0,0,0,0,0,1044500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(187,'2023-02-25 16:24:28',184,0,0,0,175000,0,175000,175000,2,15,0,2,0,160000,0,0,0,0,0,39000,0,0,0,0,0,0,0,0,0,0,0,0,0,354500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(188,'2023-02-26 12:36:52',185,0,0,0,8000,0,8000,8000,4,412,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,206000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(189,'2023-02-27 18:37:40',186,80000,0,0,307700,0,387700,307700,15,412,0,2,0,150000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,196100,0,0,742900,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(190,'2023-02-28 18:06:46',187,0,0,0,398700,0,1448700,1448700,17,15,0,2,0,1590000,0,0,0,1050000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2028800,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(191,'2023-03-01 19:06:17',188,210000,0,0,429200,0,639200,429200,16,15,0,2,0,100000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,729700,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(192,'2023-03-02 18:04:01',189,70000,0,0,510000,0,580000,510000,10,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,725000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(193,'2023-03-03 19:04:06',190,70000,0,0,115000,0,185000,115000,8,15,0,2,0,60000,0,0,0,0,0,5000,0,0,0,0,0,0,0,0,0,0,200000,0,0,310000,60000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(194,'2023-03-04 17:52:24',191,0,0,0,345800,0,1395800,1395800,17,15,0,2,0,0,0,0,0,1050000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,545800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(195,'2023-03-06 18:24:45',192,0,0,0,237000,0,2337000,2337000,18,15,0,2,0,1060000,0,0,0,2100000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,926300,435000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(196,'2023-03-07 18:56:09',193,0,0,0,391200,0,391200,391200,10,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,602400,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(197,'2023-03-08 18:09:06',194,0,0,0,102800,0,1152800,1152800,8,15,0,2,0,300000,0,0,0,1050000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,679000,300000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(198,'2023-03-09 13:49:27',195,14000,0,0,201000,0,215000,201000,11,29,0,2,0,34000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,564000,191000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(199,'2023-03-10 18:46:13',196,0,0,0,236000,0,2336000,2336000,14,15,0,2,0,320000,0,0,0,2100000,0,5000,0,0,0,0,0,0,0,0,0,0,200000,0,0,661000,90000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(200,'2023-03-11 17:51:02',197,0,0,0,220000,0,3370000,3370000,9,15,0,2,0,590000,0,0,0,3150000,0,5000,0,0,0,0,0,0,0,0,0,0,200000,0,0,915000,90000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(201,'2023-03-13 17:57:06',198,225200,0,0,865000,0,1090200,865000,25,15,0,2,0,700000,0,0,0,0,0,28000,0,0,0,0,0,0,0,0,0,0,200000,0,0,702000,455000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(202,'2023-03-14 18:04:54',199,0,0,0,231800,0,231800,231800,16,412,0,2,0,140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,463400,0,0,'',0,0,'distrito',0,140000,0,0,0,0,0,0,0,0),(203,'2023-03-15 18:32:34',200,130000,0,0,4185000,0,6475000,6345000,21,15,0,2,0,2420000,0,0,0,2160000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2595000,4910000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(204,'2023-03-16 17:55:05',201,0,0,0,0,0,1080000,1080000,1,15,0,2,0,480000,0,0,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,400000,280000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(205,'2023-03-17 13:21:53',202,10000,0,0,1178000,0,3348000,3338000,9,15,0,2,0,560000,0,0,0,2160000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,228000,1710000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(206,'2023-03-17 18:13:33',203,0,0,0,381600,0,3621600,3621600,13,412,0,2,0,560000,0,0,0,3240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,489600,120000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(207,'2023-03-18 17:50:58',204,210000,0,0,240200,0,3550200,3340200,16,15,0,2,0,1950000,0,0,0,3100000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1182000,910000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(208,'2023-03-21 19:49:49',205,0,0,0,909000,0,3069000,3069000,18,15,0,2,0,700000,0,0,0,2160000,0,55100,0,0,0,0,0,0,0,0,0,0,200000,0,0,1371900,1270000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(209,'2023-03-22 18:30:12',206,0,0,0,543000,0,4803000,4803000,13,15,0,2,0,1010000,0,0,0,4260000,0,6000,0,0,0,0,0,0,0,0,0,0,200000,0,0,672000,1075000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(210,'2023-03-23 17:58:36',207,30000,0,0,284500,0,1410500,1380500,10,15,0,2,0,540000,0,0,0,1096000,0,25500,0,0,0,0,0,0,0,0,0,0,0,0,0,518000,680000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(211,'2023-03-24 18:17:30',208,9999.999999999998,0,0,678000,0,691000,681000,9,15,0,2,0,0,0,0,0,3000,0,53000,0,0,0,0,0,0,0,0,0,0,0,0,0,822000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(212,'2023-03-25 18:41:21',209,0,0,0,266200,0,9606200,9606200,25,15,0,2,0,3420000,0,0,0,9340000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,885800,3000000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(213,'2023-03-27 18:01:52',210,20000,0,0,449400,0,469400,449400,20,15,0,2,0,200000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,813000,2262000,190000,'190000 LOCAL 2 ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(214,'2023-03-28 13:05:02',211,0,0,0,18200,0,18200,18200,3,15,0,2,0,160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,218200,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(215,'2023-03-28 18:03:42',212,0,0,0,1200,0,2161200,2161200,6,412,0,2,0,280000,0,0,0,2160000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,222200,280000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(216,'2023-03-29 18:39:57',213,0,0,0,1013000,0,2093000,2093000,7,15,0,2,0,630000,0,0,0,1080000,0,53000,0,0,0,0,0,0,0,0,0,0,200000,0,0,210000,1630000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(217,'2023-03-30 19:07:00',214,0,0,0,205000,0,3235000,3235000,13,15,0,2,0,410000,0,0,0,3030000,0,0,0,0,0,0,0,0,0,0,0,0,170000,0,0,821000,310000,0,'350000 DEL LOCAL 3 ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(218,'2023-03-31 18:04:23',215,0,0,0,275000,0,1335000,1335000,11,15,0,2,0,260000,0,0,0,1060000,0,23400,0,0,0,0,0,0,0,0,0,0,170000,0,0,351100,380000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(219,'2023-04-01 17:37:45',216,0,0,0,23000,0,23000,23000,4,15,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185000,0,0,209000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(220,'2023-04-03 19:42:00',217,0,0,0,300000,0,2880000,2880000,12,15,0,2,0,1170000,0,0,0,2580000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1210000,690000,0,'320000 - LOCAL 2',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(221,'2023-04-05 17:03:29',218,0,0,0,563600,0,12983600,12983600,26,29,0,2,0,3150000,0,0,0,12420000,0,0,0,0,0,0,0,0,0,0,0,0,185000,0,0,1599000,2180000,0,'PAGO SISTECREDITO ARMENIA	119,600 DEL DIA CINCO (5) DE ABRIL - ERROR EN MAKDA Y SALIO CUADRE DEL DIA ANTERIOR!',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(222,'2023-04-08 13:25:49',219,0,0,0,195000,0,1185000,1185000,3,15,0,2,0,1030000,0,0,0,990000,0,0,0,0,0,0,0,0,0,0,0,0,185000,0,0,185000,1125000,0,'se saco 100000 para pagar el producto ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(223,'2023-04-10 18:30:12',220,0,0,0,26000,0,4446000,4446000,9,15,0,2,0,1070000,0,0,0,4420000,0,15000,0,0,0,0,0,0,0,0,0,0,185000,0,0,196000,1070000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(224,'2023-04-11 18:46:51',221,0,0,0,1105000,0,3365000,3365000,12,15,0,2,0,360000,0,0,0,2260000,0,0,0,0,0,0,0,0,0,0,0,0,185000,0,0,1404000,360000,0,'3 GORROS DE ESTETICA + UN ABONO A UN GORRO POR 15000: 90000 TOTAL',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(225,'2023-04-12 13:52:35',222,0,0,0,155000,0,1215000,1215000,7,15,0,2,0,420000,0,0,0,1060000,0,0,0,0,0,0,0,0,0,0,0,0,185000,0,0,425000,230000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(226,'2023-04-12 18:19:49',223,0,0,0,0,0,1240000,1240000,1,15,0,2,0,140000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,375000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(227,'2023-04-13 18:04:51',224,800,0,0,1649200,0,1650000,1649200,13,15,0,2,0,480000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185000,0,0,475000,1604000,0,'155200 de productos ya se saco ',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(228,'2023-04-14 17:47:53',225,0,0,0,203000,0,203000,203000,4,15,0,2,0,0,0,0,0,0,0,43500,0,0,0,0,0,0,0,0,0,0,0,0,0,140500,203000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(229,'2023-04-15 12:56:40',226,0,0,0,0,0,0,0,2,430,0,2,0,1980000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,142500,0,0,162600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(230,'2023-04-17 18:17:09',227,0,0,0,317000,0,3177000,3177000,10,430,0,2,0,1307000,0,0,0,2860000,0,3000,0,0,0,0,0,0,0,0,0,0,142500,0,0,914500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(231,'2023-04-18 17:20:20',228,0,0,0,77000,0,3457000,3457000,15,15,0,2,0,1370000,0,0,0,3380000,0,0,0,0,0,0,0,0,0,0,0,0,142500,0,0,561500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(232,'2023-04-19 13:08:11',229,0,0,0,200000,0,200000,200000,6,18,0,2,0,160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,162000,0,0,362500,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(233,'2023-04-20 18:30:41',230,0,0,0,300700,0,5020700,5020700,14,430,0,2,0,1040000,0,0,0,4720000,0,0,0,0,0,0,0,0,0,0,0,0,162000,0,0,1361000,0,0,'',0,0,'distrito',0,20000,0,0,0,0,0,0,0,0),(234,'2023-04-21 18:07:24',231,0,0,0,100000,0,2360000,2360000,4,430,0,2,0,700000,0,0,0,2260000,0,0,0,0,0,0,0,0,0,0,0,0,162000,0,0,300,0,140000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(235,'2023-04-22 12:42:41',232,0,0,0,0,0,0,0,0,430,0,2,0,240000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,162000,0,0,200000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(236,'2023-04-29 09:34:05',233,0,0,0,70000,0,2750000,2750000,11,18,0,2,0,1480000,0,0,0,2680000,0,0,0,0,0,0,0,0,0,0,0,0,162000,0,160000,70000,1180000,0,'LOS 160 ESTAN EL  EL LOCAL 2 ',0,0,'distrito',0,140000,0,0,0,0,0,0,0,0),(237,'2023-05-01 12:47:34',234,0,0,0,0,0,0,0,0,18,0,2,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,160000,920000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(238,'2023-05-06 16:12:30',235,0,0,0,330000,0,3510000,3510000,7,564,0,2,0,1860000,0,0,0,3180000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,154000,0,0,'',0,0,'distrito',0,90000,0,0,0,0,0,0,0,0),(239,'2023-05-08 17:18:59',236,0,0,0,0,0,2320000,2320000,2,564,0,2,0,1070000,0,0,0,2320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,954000,160000,0,'',0,0,'distrito',0,270000,0,0,0,0,0,0,0,0),(240,'2023-05-09 17:52:55',237,0,0,0,0,0,1080000,1080000,1,564,0,2,0,760000,0,0,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1222000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(241,'2023-05-10 18:10:44',238,0,0,0,0,0,920000,920000,1,564,0,2,0,600000,0,0,0,920000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1312750,0,0,'',0,0,'distrito',0,160000,0,0,999999.99,0,0,0,0,0),(242,'2023-05-11 17:55:17',239,0,0,0,0,0,2140000,2140000,4,564,0,2,0,740000,0,0,0,2140000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,970000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(243,'2023-05-12 14:24:16',240,0,0,0,0,0,1240000,1240000,2,564,0,2,0,50000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17200,0,0,'CON EL DINERO DE LA BASE SE CANCELO DOCUMENTO DE CAMARA Y COMERCIO ',0,0,'distrito',0,50000,0,0,0,0,0,0,0,0),(244,'2023-05-13 14:20:29',241,0,0,0,0,0,900000,900000,2,564,0,2,0,630000,0,0,0,900000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,487200,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(245,'2023-05-15 18:09:06',242,0,0,0,0,0,3560000,3560000,5,564,0,2,0,990000,0,0,0,3560000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,790000,0,0,'',0,0,'distrito',0,240000,0,0,0,0,0,0,0,0),(246,'2023-05-16 18:06:05',243,0,0,0,0,0,0,0,0,564,0,2,0,710000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,360000,0,0,'se ingresa $50000 de transferencia del día 15 de mayo 2023',0,0,'distrito',0,330000,0,0,0,0,0,0,0,0),(247,'2023-05-17 17:22:29',244,0,0,0,0,0,1240000,1240000,2,564,0,2,0,1080000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,960000,0,0,'SE LE CANCELO LA NOMINA AL DOCENTE RICHARD MORENO ',0,0,'distrito',0,320000,0,0,0,0,0,0,0,0),(248,'2023-05-18 18:04:52',245,0,0,0,0,0,1080000,1080000,1,564,0,2,0,760000,0,0,0,1080000,0,30800,0,0,0,0,0,0,0,0,0,0,0,0,0,649200,280000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(249,'2023-05-19 17:52:07',246,0,0,0,0,0,0,0,0,564,0,2,0,420000,0,0,0,0,0,16495,0,0,0,0,0,0,0,0,0,0,0,0,0,573505,0,0,'',0,0,'distrito',0,30000,0,0,0,0,0,0,0,0),(250,'2023-05-20 18:10:54',247,0,0,0,0,0,0,0,0,412,0,2,0,950000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2364000,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(251,'2023-05-23 18:08:51',248,0,0,0,0,0,0,0,0,564,0,2,0,310000,0,0,0,0,0,3250,0,0,0,0,0,0,0,0,0,0,0,0,0,196750,150000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(252,'2023-05-24 18:08:33',249,0,0,0,0,0,1080000,1080000,1,564,0,2,0,440000,0,0,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,199680,0,0,'LA ESTUDIANTE SULDERY  CANCELO EL DIA 16 DE MAYO ,NO SE REGISTRO EN LA MAXDA POR MOTIVOS DE NO TENER EL PORTATIL A LA MANO ',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(253,'2023-05-25 18:04:48',250,0,0,0,0,0,0,0,0,564,0,2,0,960000,0,0,0,0,0,34000,0,0,0,0,0,0,0,0,0,0,0,0,0,742700,160000,0,'EL DIA DE HOY MAYO 25/2023 SE INGRESO A LA MAXDA UN PAGO DE UNA ESTUDIANTE ATRASADO,HABIA CANCELADO EL DIA 23 DE ABRIL POR TRANSFERENCIA $150000 Y $10000 EN EFECTIVO ',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(254,'2023-05-26 18:06:12',251,0,0,0,0,0,2320000,2320000,3,564,0,2,0,1310000,0,0,0,2320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1140000,0,0,'',0,0,'distrito',0,370000,0,0,0,0,0,0,0,0),(255,'2023-05-27 15:52:51',252,0,0,0,0,0,0,0,0,564,0,2,0,990000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,500000,0,0,'',0,0,'distrito',0,210000,0,0,0,0,0,0,0,0),(256,'2023-05-29 17:52:28',253,0,0,0,0,0,0,0,0,564,0,2,0,450000,0,0,0,0,0,5500,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,'',0,0,'distrito',0,300000,0,0,0,0,0,0,0,0),(257,'2023-05-30 17:53:10',254,0,0,0,0,0,1240000,1240000,2,564,0,2,0,480000,0,0,0,1240000,0,44900,0,0,0,0,0,0,0,0,0,0,0,0,0,325100,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(258,'2023-06-01 17:47:05',255,0,0,0,0,0,1390000,1390000,2,564,0,2,0,290000,0,0,0,1390000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,490000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(259,'2023-06-03 16:45:19',256,0,0,0,60000,0,60000,60000,1,564,0,2,0,620000,0,0,0,0,0,13400,0,0,0,0,0,0,0,0,0,0,0,0,0,186600,300000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(260,'2023-06-05 15:02:14',257,0,0,0,0,0,1080000,1080000,1,564,0,2,0,150000,0,0,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,336600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(261,'2023-06-06 18:23:53',258,0,0,0,0,0,7860000,7860000,9,564,0,2,0,3120000,0,0,0,7860000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006600,0,0,'',0,0,'distrito',0,440000,0,0,0,1080000,0,0,0,0),(262,'2023-06-07 17:57:40',259,0,0,0,0,0,1080000,1080000,1,564,0,2,0,280000,0,0,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(263,'2023-06-08 17:57:38',260,0,0,0,0,0,3560000,3560000,5,564,0,2,0,940000,0,0,0,3560000,0,84000,0,0,0,0,0,0,0,0,0,0,0,0,0,396000,0,0,'',0,0,'distrito',0,240000,0,0,0,0,0,0,0,0),(264,'2023-06-09 17:59:22',261,0,0,0,0,0,3400000,3400000,4,564,0,2,0,300000,0,0,0,3400000,0,19400,0,0,0,0,0,0,0,0,0,0,0,0,0,376600,0,0,'',0,0,'distrito',0,300000,0,0,0,0,0,0,0,0),(265,'2023-06-10 16:05:23',262,0,0,0,0,0,1080000,1080000,1,564,0,2,0,970000,0,0,0,1080000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1020000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(266,'2023-06-13 17:44:38',263,0,0,0,0,0,5400000,5400000,9,564,0,2,0,1650000,0,0,0,5400000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1185000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(267,'2023-06-14 18:09:28',264,0,0,0,0,0,0,0,0,564,0,2,0,470000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240000,0,0,'',0,0,'distrito',0,230000,0,0,0,0,0,0,0,0),(268,'2023-06-15 16:26:08',265,0,0,0,0,0,2000000,2000000,3,564,0,2,0,560000,0,0,0,2000000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,480000,0,0,'',0,0,'distrito',0,280000,0,0,0,0,0,0,0,0),(269,'2023-06-16 17:40:36',266,0,0,0,0,0,4710000,4710000,8,564,0,2,0,1920000,0,0,0,4710000,0,230700,0,0,0,0,0,0,0,0,0,0,0,0,0,1489300,150000,0,'',0,0,'distrito',0,250000,0,0,0,0,0,0,0,0),(270,'2023-06-17 16:58:53',267,0,0,0,0,0,2320000,2320000,3,564,0,2,0,2470000,0,0,0,2320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1110000,0,0,'',0,0,'distrito',0,1400000,0,0,0,0,0,0,0,0),(271,'2023-06-20 17:18:39',268,0,0,0,0,0,7120000,7120000,12,564,0,2,0,3680000,0,0,0,7120000,0,320000,0,0,0,0,0,0,0,0,0,0,0,0,0,2400000,560000,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(272,'2023-06-21 17:48:45',269,0,0,0,0,0,0,0,0,564,0,2,0,690000,0,0,0,0,0,38250,0,0,0,0,0,0,0,0,0,0,0,0,0,321750,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(273,'2023-06-22 17:12:48',270,0,0,0,0,0,0,0,0,564,0,2,0,640000,0,0,0,0,0,133600,0,0,0,0,0,0,0,0,0,0,0,0,0,546400,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(274,'2023-06-23 17:08:29',271,0,0,0,0,0,550000,550000,1,564,0,2,0,593000,0,0,0,550000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,670000,123000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(275,'2023-06-24 15:19:36',272,0,0,0,0,0,1080000,1080000,1,564,0,2,0,1260000,0,0,0,1080000,0,24000,0,0,0,0,0,0,0,0,0,0,0,0,0,606000,150000,0,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(276,'2023-06-26 17:17:44',273,0,0,0,0,0,320000,320000,1,564,0,2,0,860000,0,0,0,320000,0,13000,0,0,0,0,0,0,0,0,0,0,0,0,0,1047000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(277,'2023-06-27 16:40:37',274,0,0,0,0,0,0,0,0,564,0,2,0,1330000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,280000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(278,'2023-06-28 17:47:12',275,0,0,0,0,0,0,0,0,564,0,2,0,640000,0,0,0,0,0,42800,0,0,0,0,0,0,0,0,0,0,0,0,0,315600,0,0,'',0,0,'distrito',0,480000,0,0,0,0,0,0,0,0),(279,'2023-06-29 17:23:59',276,0,0,0,0,0,0,0,0,564,0,2,0,420000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,460000,160000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(280,'2023-06-30 17:05:44',277,0,0,0,0,0,550000,550000,1,564,0,2,0,410000,0,0,0,550000,0,74500,0,0,0,0,0,0,0,0,0,0,0,0,0,285500,0,0,'',0,0,'distrito',0,250000,0,0,0,0,0,0,0,0),(281,'2023-07-01 16:37:01',278,0,0,0,0,0,0,0,0,564,0,2,0,900000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,500000,0,0,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(282,'2023-07-04 17:08:26',279,0,0,0,0,0,0,0,0,564,0,2,0,1410000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,360000,0,0,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(283,'2023-07-05 17:07:18',280,0,0,0,0,0,4300000,4300000,8,564,0,2,0,890000,0,0,0,4300000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,480000,440000,0,'',0,0,'distrito',0,170000,0,0,0,0,0,0,0,0),(284,'2023-07-06 17:50:02',281,0,0,0,0,0,5160000,5160000,7,564,0,2,0,920000,0,0,0,5160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,320000,60000,320000,'',0,0,'distrito',0,420000,0,0,0,0,0,0,0,0),(285,'2023-07-08 14:50:44',282,0,0,0,0,0,1844000,1844000,4,564,0,2,0,784000,0,0,0,1844000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,520000,0,0,'',0,0,'distrito',0,244000,0,0,0,0,0,0,0,0),(286,'2023-07-10 17:28:19',283,0,0,0,0,0,2100000,2100000,3,564,0,2,0,1440000,0,0,0,2100000,0,34600,0,0,0,0,0,0,0,0,0,0,0,0,0,752000,0,0,'',0,0,'distrito',0,98000,0,0,0,0,0,0,0,0),(287,'2023-07-11 17:56:55',284,0,0,0,0,0,2284000,2284000,4,564,0,2,0,728000,0,0,0,2284000,0,33500,0,0,0,0,0,0,0,0,0,0,0,0,0,666500,0,0,'',0,0,'distrito',0,144000,0,0,0,0,0,0,0,0),(288,'2023-07-12 17:31:11',285,0,0,0,0,0,1044000,1044000,1,564,0,2,0,388000,0,0,0,1044000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,360000,0,0,'',0,0,'distrito',0,144000,0,0,0,0,0,0,0,0),(289,'2023-07-13 18:09:33',286,0,0,0,0,0,8264000,8264000,8,564,0,2,0,1384000,0,0,0,8264000,0,63500,0,0,0,0,0,0,0,0,0,0,0,0,0,980000,120000,0,'',0,0,'distrito',0,484000,0,0,0,0,0,0,0,0),(290,'2023-07-14 17:29:35',287,0,0,0,0,0,2260000,2260000,3,564,0,2,0,340000,0,0,0,2260000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,360000,0,0,'',0,0,'distrito',0,180000,0,0,0,0,0,0,0,0),(291,'2023-07-15 18:02:27',288,0,0,0,0,0,9538000,9538000,14,564,0,2,0,3268000,0,0,0,9538000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2380000,560000,0,'',0,0,'distrito',0,508000,0,0,0,0,0,0,0,0),(292,'2023-07-17 17:46:12',289,0,0,0,0,0,1020000,1020000,1,564,0,2,0,760000,0,0,0,1020000,0,121800,0,0,0,0,0,0,0,0,0,0,0,0,0,827200,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(293,'2023-07-18 20:03:52',290,0,0,0,0,0,4200000,4200000,5,564,0,2,0,1640000,0,0,0,4200000,0,36500,0,0,0,0,0,0,0,0,0,0,0,0,0,323500,560000,0,'',0,0,'distrito',0,560000,0,0,0,0,0,0,0,0),(294,'2023-07-19 19:16:30',291,0,0,0,0,0,1240000,1240000,2,564,0,2,0,2000000,0,0,0,1240000,0,36500,0,0,0,0,0,0,0,0,0,0,0,0,0,1373500,280000,0,'',0,0,'distrito',0,470000,0,0,0,0,0,0,0,0),(295,'2023-07-21 19:00:53',292,0,0,0,0,0,2200000,2200000,2,564,0,2,0,1370000,0,0,0,2200000,0,71250,0,0,0,0,0,0,0,0,0,0,0,0,0,1138750,150000,0,'',0,0,'distrito',0,50000,0,0,0,160000,0,0,0,0),(296,'2023-07-22 17:25:07',293,0,0,0,0,0,0,0,0,564,0,2,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,650000,160000,0,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(297,'2023-07-24 15:28:07',294,0,0,0,0,0,2260000,2260000,2,564,0,2,0,490000,0,0,0,2260000,0,10550,0,0,0,0,0,0,0,0,0,0,0,0,0,519450,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(298,'2023-07-25 18:38:24',295,0,0,0,0,0,1080000,1080000,1,564,0,2,0,2270000,0,0,0,1080000,0,7900,0,0,0,0,0,0,0,0,0,0,0,0,0,1522100,160000,0,'',0,0,'distrito',0,460000,0,0,0,0,0,0,0,0),(299,'2023-07-26 20:43:35',296,225000,0,0,225000,0,4470000,4245000,9,564,0,2,0,1865000,0,0,0,4020000,0,25650,0,0,0,0,0,0,0,0,0,0,0,0,0,1693650,160000,0,'',0,0,'distrito',0,530000,0,0,0,0,0,0,0,0),(300,'2023-07-27 17:24:37',297,90000,0,0,90000,0,3500000,3410000,5,564,0,2,0,1170000,0,0,0,3320000,0,19400,0,0,0,0,0,0,0,0,0,0,0,0,0,1130600,310000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(301,'2023-07-28 18:08:38',298,50000,0,0,50000,0,1120000,1070000,2,564,0,2,0,410000,0,0,0,1020000,0,50000,0,0,0,0,0,0,0,0,0,0,0,0,0,460000,150000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(302,'2023-07-29 17:32:55',299,0,0,0,0,0,1830000,1830000,2,564,0,2,0,1020000,0,0,0,1830000,0,4950,0,0,0,0,0,0,0,0,0,0,0,0,0,495050,280000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(303,'2023-07-31 17:42:42',300,0,0,0,0,0,590000,590000,1,564,0,2,0,1280000,0,0,0,590000,0,92000,0,0,0,0,0,0,0,0,0,0,0,0,0,1178000,60000,0,'',0,0,'distrito',0,150000,0,0,0,0,0,0,0,0),(304,'2023-08-01 18:51:35',301,0,0,0,0,0,4990000,4990000,5,564,0,2,0,2210000,0,0,0,4990000,0,59550,0,0,0,0,0,0,0,0,0,0,0,0,0,1490450,0,0,'',0,0,'distrito',0,380000,0,0,0,0,0,0,0,0),(305,'2023-08-02 18:07:15',302,0,0,0,0,0,4930000,4930000,5,564,0,2,0,1020000,0,0,0,4930000,0,96300,0,0,0,0,0,0,0,0,0,0,0,0,0,783700,0,0,'',0,0,'distrito',0,340000,0,0,0,0,0,0,0,0),(306,'2023-08-03 17:46:25',303,0,0,0,0,0,3060000,3060000,3,564,0,2,0,880000,0,0,0,3060000,0,17000,0,0,0,0,0,0,0,0,0,0,0,0,0,633000,0,0,'',0,0,'distrito',0,370000,0,0,0,0,0,0,0,0),(307,'2023-08-04 17:23:56',304,0,0,0,0,0,2200000,2200000,2,30,0,2,0,550000,0,0,0,2200000,0,77900,0,0,0,0,0,0,0,0,0,0,0,0,0,332100,0,0,'',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(308,'2023-08-08 18:02:02',305,0,0,0,0,0,6868000,6868000,8,30,0,2,0,3648000,0,0,0,6868000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2264000,280000,0,'',0,0,'distrito',0,834000,0,0,0,0,0,0,0,0),(309,'2023-08-09 17:31:10',306,0,0,0,0,0,2160000,2160000,2,30,0,2,0,635000,0,0,0,2160000,0,76700,0,0,0,0,0,0,0,0,0,0,0,0,0,488300,0,0,'',0,0,'distrito',0,120000,0,0,0,0,0,0,0,0),(310,'2023-08-10 17:23:13',307,0,0,0,0,0,1020000,1020000,1,30,0,2,0,500000,0,0,0,1020000,0,19200,0,0,0,0,0,0,0,0,0,0,0,0,0,560800,0,0,'',0,0,'distrito',0,120000,0,0,0,0,0,0,0,0),(311,'2023-08-11 17:35:19',308,0,0,0,0,0,0,0,0,30,0,2,0,300000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350000,150000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(312,'2023-08-12 17:19:25',309,0,0,0,0,0,0,0,0,30,0,2,0,1440000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1220000,260000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(313,'2023-08-14 17:31:12',310,0,0,0,0,0,1760000,1760000,2,30,0,2,0,1010000,0,0,0,1760000,0,52550,0,0,0,0,0,0,0,0,0,0,0,0,0,877450,0,294000,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(314,'2023-08-15 17:46:24',311,0,0,0,0,0,1370000,1370000,2,30,0,2,0,1500000,0,0,0,1370000,0,90000,0,0,0,0,0,0,0,0,0,0,0,0,0,680000,320000,0,'',0,0,'distrito',0,290000,0,0,0,0,0,0,0,0),(315,'2023-08-16 17:42:09',312,0,0,0,0,0,1240000,1240000,2,30,0,2,0,2120000,0,0,0,1240000,0,65000,0,0,0,0,0,0,0,0,0,0,0,0,0,1355000,220000,0,'',0,0,'distrito',0,670000,0,0,0,0,0,0,0,0),(316,'2023-08-17 17:30:58',313,0,0,0,0,0,3160000,3160000,4,30,0,2,0,1320000,0,0,0,3160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,820000,0,0,'',0,0,'distrito',0,540000,0,0,0,0,0,0,0,0),(317,'2023-08-18 17:34:43',314,0,0,0,0,0,620000,620000,1,30,0,2,0,670000,0,0,0,620000,0,9720,0,0,0,0,0,0,0,0,0,0,0,0,0,750250,50000,0,'',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(318,'2023-08-19 17:43:09',315,0,0,0,0,0,620000,620000,1,30,0,2,0,1750000,0,0,0,620000,0,90000,0,0,0,0,0,0,0,0,0,0,0,0,0,1480000,0,0,'',0,0,'distrito',0,380000,0,0,0,0,0,0,0,0),(319,'2023-08-22 18:42:27',316,0,0,0,0,0,644000,644000,1,770,0,2,0,2034000,0,0,0,644000,0,50000,0,0,0,0,0,0,0,0,0,0,0,0,0,1454000,310000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(320,'2023-08-23 17:39:04',317,0,0,0,0,0,0,0,0,770,0,2,0,890000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,610000,320000,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(321,'2023-08-24 17:29:48',318,0,0,0,110000,0,2694000,2694000,4,770,0,2,0,1064000,0,0,0,2584000,0,17150,0,0,0,0,0,0,0,0,0,0,0,0,0,602850,560000,0,'',0,0,'distrito',0,194000,0,0,0,0,0,0,0,0),(322,'2023-08-25 18:00:09',319,0,0,0,220000,0,2610000,2610000,5,770,0,2,0,720000,0,0,0,2390000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,710000,0,0,'',0,0,'distrito',0,430000,0,0,0,0,0,0,0,0),(323,'2023-08-26 17:20:04',320,0,0,0,0,0,3290000,3290000,4,770,0,2,0,2154000,0,0,0,3290000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1534000,320000,0,'',0,0,'distrito',0,500000,0,0,0,0,0,0,0,0),(324,'2023-08-28 18:39:18',321,0,0,0,0,0,7690000,7690000,8,770,0,2,0,1810000,0,0,0,7690000,0,50243,0,0,0,0,0,0,0,0,0,0,0,0,0,1079757,220000,0,'',0,0,'distrito',0,660000,0,0,0,0,0,0,0,0),(325,'2023-08-29 17:56:08',322,0,0,0,0,0,3690000,3690000,3,770,0,2,0,1310000,0,0,0,3690000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1040000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(326,'2023-08-30 19:02:44',323,0,0,0,130000,0,5294000,5294000,9,770,0,2,0,1734000,0,0,0,5164000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1924000,0,0,'',0,0,'distrito',0,140000,0,0,0,0,0,0,0,0),(327,'2023-08-31 18:09:03',324,0,0,0,0,0,7562000,7562000,12,770,0,2,0,1712000,0,0,0,7562000,0,32000,0,0,0,0,0,0,0,0,0,0,0,0,0,826000,244000,0,'',0,0,'distrito',0,810000,0,0,0,0,0,0,0,0),(328,'2023-09-01 18:49:48',325,0,0,0,0,0,2408000,2408000,4,770,0,2,0,488000,0,0,0,2408000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,404000,0,'',0,0,'distrito',0,84000,0,0,0,0,0,0,0,0),(329,'2023-09-02 19:36:09',326,0,0,0,80000,0,3772000,3772000,4,770,0,2,0,872000,0,0,0,3692000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,668000,160000,0,'',0,0,'distrito',0,164000,0,0,0,0,0,0,0,0),(330,'2023-09-04 17:39:16',327,0,0,0,0,0,2604000,2604000,2,770,0,2,0,1311000,0,0,0,2604000,0,28700,0,0,0,0,0,0,0,0,0,0,0,0,0,1092300,0,0,'',0,0,'distrito',0,390000,0,0,0,0,0,0,0,0),(331,'2023-09-05 18:20:27',328,0,0,0,0,0,1124000,1124000,2,770,0,2,0,1204000,0,0,0,1124000,0,186700,0,0,0,0,0,0,0,0,0,0,0,0,0,653300,0,0,'',0,0,'distrito',0,404000,0,0,0,0,0,0,0,0),(332,'2023-09-06 17:53:09',329,0,0,0,0,0,1284000,1284000,2,770,0,2,0,524000,0,0,0,1284000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,664000,60000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(333,'2023-09-07 18:32:50',330,0,0,0,120000,0,120000,120000,2,770,0,2,0,2870000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2530000,150000,0,'',0,0,'distrito',0,310000,0,0,0,0,0,0,0,0),(334,'2023-09-09 17:01:28',331,0,0,0,0,0,0,0,0,770,0,2,0,600000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,640000,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(335,'2023-09-11 17:54:50',332,0,0,0,0,0,1450000,1450000,2,770,0,2,0,710000,0,0,0,1450000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,600000,0,0,'',0,0,'distrito',0,320000,0,0,0,0,0,0,0,0),(336,'2023-09-12 17:19:52',333,0,0,0,0,0,0,0,0,770,0,2,0,1050000,0,0,0,0,0,4000,0,0,0,0,0,0,0,0,0,0,0,0,0,876000,0,150000,'',0,0,'distrito',0,220000,0,0,0,0,0,0,0,0),(337,'2023-09-13 18:23:38',334,0,0,0,0,0,1330000,1330000,1,770,0,2,0,1070000,0,0,0,1330000,0,37200,0,0,0,0,0,0,0,0,0,0,0,0,0,632800,0,160000,'',0,0,'distrito',0,220000,0,0,0,0,0,0,0,0),(338,'2023-09-14 18:39:05',335,0,0,0,0,0,10410000,10410000,16,770,0,2,0,2110000,0,0,0,10410000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1560000,460000,0,'',0,0,'distrito',0,290000,0,0,0,0,0,0,0,0),(339,'2023-09-15 18:20:05',336,0,0,0,0,0,2400000,2400000,3,770,0,2,0,1020000,0,0,0,2400000,0,10000,0,0,0,0,0,0,0,0,0,0,0,0,0,830000,0,0,'',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(340,'2023-09-16 17:18:35',337,0,0,0,0,0,1124000,1124000,1,770,0,2,0,904000,0,0,0,1124000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,944000,0,0,'',0,0,'distrito',0,160000,0,0,0,0,0,0,0,0),(341,'2023-09-18 17:54:15',338,0,0,0,0,0,1820000,1820000,3,770,0,2,0,1500000,0,0,0,1820000,0,20300,0,0,0,0,0,0,0,0,0,0,0,0,0,929700,50000,160000,'',0,0,'distrito',0,480000,0,0,0,0,0,0,0,0),(342,'2023-09-19 17:46:58',339,0,0,0,0,0,1184000,1184000,2,770,0,2,0,1160000,0,0,0,1184000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1160000,0,0,'',0,0,'distrito',0,200000,0,0,0,0,0,0,0,0),(343,'2023-09-20 17:28:05',340,0,0,0,0,0,3224000,3224000,4,770,0,2,0,1734000,0,0,0,3224000,0,23500,0,0,0,0,0,0,0,0,0,0,0,0,0,1310500,0,0,'',0,0,'distrito',0,600000,0,0,0,0,0,0,0,0),(344,'2023-09-21 17:34:54',341,0,0,0,0,0,3210000,3210000,4,770,0,2,0,340000,0,0,0,3210000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,480000,60000,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(345,'2023-09-22 18:27:36',342,0,0,0,0,0,3270000,3270000,5,770,0,2,0,470000,0,0,0,3270000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,420000,0,'',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(346,'2023-09-23 18:13:01',343,0,0,0,0,0,2465000,2465000,2,770,0,2,0,2945000,0,0,0,2465000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2012000,520000,0,'',0,0,'distrito',0,476000,0,0,0,0,0,0,0,0),(347,'2023-09-25 18:06:43',344,0,0,0,0,0,4860000,4860000,8,770,0,2,0,1420000,0,0,0,4860000,0,18400,0,0,0,0,0,0,0,0,0,0,0,0,0,1061600,230000,250000,'',0,0,'distrito',0,60000,0,0,0,0,0,0,0,0),(348,'2023-09-26 18:07:10',345,0,0,0,0,0,5400000,5400000,8,770,0,2,0,1040000,0,0,0,5400000,0,53250,0,0,0,0,0,0,0,0,0,0,0,0,0,706750,260000,0,'',0,0,'distrito',0,220000,0,0,0,0,0,0,0,0),(349,'2023-09-27 19:29:45',346,0,0,0,0,0,9630000,9630000,14,770,0,2,0,3710000,0,0,0,9630000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2620000,260000,220000,'',0,0,'distrito',0,810000,0,0,0,0,0,0,0,0),(350,'2023-09-28 21:14:55',347,0,0,0,0,0,7170000,7170000,10,770,0,2,0,3240000,0,0,0,7170000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3140000,230000,0,'',0,0,'distrito',0,70000,0,0,0,0,0,0,0,0),(351,'2023-09-29 20:31:31',348,0,0,0,0,0,2660000,2660000,3,770,0,2,0,660000,0,0,0,2660000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,588000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(352,'2023-09-30 17:27:28',349,0,0,0,0,0,1260000,1260000,1,770,0,2,0,660000,0,0,0,1260000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,398000,160000,0,'',0,0,'distrito',0,302000,0,0,0,0,0,0,0,0),(353,'2023-10-02 18:03:16',350,0,0,0,0,0,6210000,6210000,5,770,0,2,0,1480000,0,0,0,6210000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11020000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(354,'2023-10-03 18:03:00',351,0,0,0,0,0,5760000,5760000,7,770,0,2,0,2260000,0,0,0,5760000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1750000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(355,'2023-10-04 17:36:42',352,0,0,0,0,0,3910000,3910000,3,770,0,2,0,1570000,0,0,0,3910000,0,12750,0,0,0,0,0,0,0,0,0,0,0,0,0,947750,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(356,'2023-10-05 21:15:14',353,0,0,0,0,0,3400000,3400000,3,770,0,2,0,3610000,0,0,0,3400000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3310000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(357,'2023-10-06 17:48:28',354,0,0,0,0,0,5620000,5620000,6,770,0,2,0,2260000,0,0,0,5620000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2080000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(358,'2023-10-07 17:46:28',355,0,0,0,0,0,0,0,0,770,0,2,0,570000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,520000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(359,'2023-10-09 17:55:09',356,0,0,0,0,0,3010000,3010000,3,770,0,2,0,970000,0,0,0,3010000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,730000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(360,'2023-10-10 17:55:22',357,0,0,0,0,0,2090000,2090000,3,770,0,2,0,2150000,0,0,0,2090000,0,20350,0,0,0,0,0,0,0,0,0,0,0,0,0,1849650,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(361,'2023-10-11 17:44:45',358,0,0,0,0,0,990000,990000,1,770,0,2,0,794000,0,0,0,990000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,890000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(362,'2023-10-12 21:46:02',359,0,0,0,0,0,0,0,0,770,0,2,0,760000,0,0,0,0,0,13730,0,0,0,0,0,0,0,0,0,0,0,0,0,751250,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(363,'2023-10-13 18:41:54',360,0,0,0,0,0,0,0,0,770,0,2,0,800000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,680000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(364,'2023-10-14 17:46:55',361,0,0,0,0,0,2040000,2040000,2,770,0,2,0,1370000,0,0,0,2040000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,910000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(365,'2023-10-17 18:04:33',362,0,0,0,80000,0,4800000,4800000,8,770,0,2,0,1365000,0,0,0,4720000,0,20000,0,0,0,0,0,0,0,0,0,0,0,0,0,560000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(366,'2023-10-18 17:39:02',363,0,0,0,0,0,3550000,3550000,5,770,0,2,0,1490000,0,0,0,3550000,0,17750,0,0,0,0,0,0,0,0,0,0,0,0,0,1052250,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(367,'2023-10-19 21:06:43',364,0,0,0,0,0,3320000,3320000,5,770,0,2,0,1856000,0,0,0,3320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1466000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(368,'2023-10-20 20:37:37',365,0,0,0,280000,0,3780000,3780000,9,770,0,2,0,2378000,0,0,0,3500000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1808000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(369,'2023-10-21 17:36:42',366,0,0,0,200000,0,3540000,3540000,4,770,0,2,0,1520000,0,0,0,3340000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1400000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(370,'2023-10-23 18:02:27',367,0,0,0,610000,0,610000,610000,5,770,0,2,0,470000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,590000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(371,'2023-10-24 18:06:12',368,0,0,0,120000,0,6440000,6440000,11,770,0,2,0,3400000,0,0,0,6320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2100000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(372,'2023-10-25 18:39:40',369,0,0,0,0,0,3360000,3360000,5,770,0,2,0,2570000,0,0,0,3360000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1720000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(373,'2023-10-26 21:23:09',370,0,0,0,340000,0,3550000,3550000,6,770,0,2,0,3379000,0,0,0,3210000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3064000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(374,'2023-10-27 21:09:30',371,0,0,0,40000,0,5430000,5430000,10,770,0,2,0,1580000,0,0,0,5390000,0,40540,0,0,0,0,0,0,0,0,0,0,0,0,0,986600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(375,'2023-10-28 17:20:29',372,0,0,0,0,0,5160000,5160000,4,770,0,2,0,4520000,0,0,0,5160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4440000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(376,'2023-10-30 18:11:06',373,0,0,0,0,0,0,0,0,770,0,2,0,640000,0,0,0,0,0,15000,0,0,0,0,0,0,0,0,0,0,0,0,0,665000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(377,'2023-10-31 17:44:45',374,0,0,0,240000,0,1360000,1360000,5,770,0,2,0,880000,0,0,0,1120000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,750000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(378,'2023-11-01 18:05:54',375,0,0,0,360000,0,360000,360000,3,770,0,2,0,1320000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1140000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(379,'2023-11-03 20:56:32',376,0,0,0,160000,0,5800000,5800000,10,770,0,2,0,3930000,0,0,0,5640000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2350000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(380,'2023-11-04 17:25:36',377,0,0,0,40000,0,40000,40000,1,770,0,2,0,940000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,940000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(381,'2023-11-07 21:43:03',378,0,0,0,200000,0,1340000,1340000,3,770,0,2,0,3240000,0,0,0,1140000,0,74250,0,0,0,0,0,0,0,0,0,0,0,0,0,2525000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(382,'2023-11-08 17:24:47',379,0,0,0,0,0,2120000,2120000,3,770,0,2,0,840000,0,0,0,2120000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,470000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(383,'2023-11-09 21:41:10',380,0,0,0,600000,0,600000,600000,8,770,0,2,0,3880000,0,0,0,0,0,9300,0,0,0,0,0,0,0,0,0,0,0,0,0,2871850,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(384,'2023-11-10 20:34:36',381,0,0,0,350000,0,350100,350100,4,770,0,2,0,2220100,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2120000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(385,'2023-11-11 16:04:56',382,0,0,0,0,0,720000,720000,1,1016,0,2,0,770000,0,0,0,720000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,360000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(386,'2023-11-14 19:12:44',383,0,0,0,0,0,2960000,2960000,3,1016,0,2,0,1190000,0,0,0,2960000,0,5150,0,0,0,0,0,0,0,0,0,0,0,0,0,1130000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(387,'2023-11-15 17:44:58',384,0,0,0,0,0,1100000,1100000,2,770,0,2,0,940000,0,0,0,1100000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(388,'2023-11-16 21:03:55',385,0,0,0,0,0,0,0,0,770,0,2,0,950000,0,0,0,0,0,17050,0,0,0,0,0,0,0,0,0,0,200000,0,0,437500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(389,'2023-11-17 20:47:30',386,0,0,0,0,0,0,0,0,770,0,2,0,840000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,670000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(390,'2023-11-18 17:17:56',387,0,0,0,430000,0,430000,430000,1,1016,0,2,0,950000,0,0,0,0,0,1650,0,0,0,0,0,0,0,0,0,0,200000,0,0,310000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(391,'2023-11-21 17:13:16',388,0,0,0,0,0,0,0,0,770,0,2,0,1465000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,845000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(392,'2023-11-22 18:38:26',389,0,0,0,0,0,0,0,0,770,0,2,0,1100000,0,0,0,0,0,9000,0,0,0,0,0,0,0,0,0,0,200000,0,0,771000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(393,'2023-11-23 20:32:20',390,0,0,0,0,0,0,0,0,770,0,2,0,640000,0,0,0,0,0,22000,0,0,0,0,0,0,0,0,0,0,200000,0,0,380000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(394,'2023-11-24 21:21:29',391,0,0,0,0,0,0,0,0,770,0,2,0,740000,0,0,0,0,0,3350,0,0,0,0,0,0,0,0,0,0,200000,0,0,256650,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(395,'2023-11-25 17:34:46',392,0,0,0,0,0,1440000,1440000,2,1016,0,2,0,1875000,0,0,0,1440000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1555000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(396,'2023-11-27 17:28:57',393,0,0,0,0,0,4590000,4590000,8,770,0,2,0,1270000,0,0,0,4590000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(397,'2023-11-28 17:20:13',394,0,0,0,200000,0,3450000,3450000,6,770,0,2,0,1590000,0,0,0,3250000,0,28250,0,0,0,0,0,0,0,0,0,0,0,0,0,1083750,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(398,'2023-11-29 17:16:07',395,0,0,0,0,0,2380000,2380000,4,770,0,2,0,1900000,0,0,0,2380000,0,26400,0,0,0,0,0,0,0,0,0,0,0,0,0,1243400,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(399,'2023-11-30 21:30:03',396,0,0,0,0,0,3560000,3560000,8,770,0,2,0,2180000,0,0,0,3560000,0,30550,0,0,0,0,0,0,0,0,0,0,200000,0,0,1930000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(400,'2023-12-01 20:52:51',397,0,0,0,0,0,1090000,1090000,2,770,0,2,0,950000,0,0,0,1090000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,710000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(401,'2023-12-02 17:58:28',398,0,0,0,0,0,0,0,0,770,0,2,0,1110000,0,0,0,0,0,21100,0,0,0,0,0,0,0,0,0,0,200000,0,0,608900,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(402,'2023-12-04 17:38:40',399,0,0,0,0,0,1190000,1190000,2,770,0,2,0,1040000,0,0,0,1190000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,260000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(403,'2023-12-05 17:34:24',400,0,0,0,0,0,870000,870000,2,770,0,2,0,2100000,0,0,0,870000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1460000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(404,'2023-12-06 17:15:29',401,0,0,0,0,0,1487500,1487500,2,770,0,2,0,1010000,0,0,0,1487500,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,540000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(405,'2023-12-07 18:09:16',402,0,0,0,0,0,0,0,0,770,0,2,0,1515000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1515000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(406,'2023-12-09 15:40:42',403,0,0,0,0,0,0,0,0,770,0,2,0,920000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,640000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(407,'2023-12-11 17:34:44',404,0,0,0,0,0,1040000,1040000,2,770,0,2,0,400000,0,0,0,1040000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,240000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(408,'2023-12-12 18:04:49',405,0,0,0,0,0,1750000,1750000,2,770,0,2,0,960000,0,0,0,1750000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,630000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(409,'2023-12-13 17:41:59',406,0,0,0,0,0,0,0,0,770,0,2,0,680000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(410,'2023-12-14 20:58:43',407,0,0,0,0,0,2480000,2480000,5,770,0,2,0,2826000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2001000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(411,'2023-12-15 20:59:57',408,0,0,0,0,0,1200000,1200000,2,770,0,2,0,980000,0,0,0,1200000,0,33500,0,0,0,0,0,0,0,0,0,0,200000,0,0,776500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(412,'2023-12-16 17:42:21',409,0,0,0,0,0,3840000,3840000,7,1016,0,2,0,1516000,0,0,0,3840000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,640000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(413,'2023-12-18 17:26:12',410,0,0,0,0,0,2640000,2640000,5,770,0,2,0,980000,0,0,0,2640000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,740000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(414,'2023-12-19 17:29:04',411,0,0,0,0,0,2960000,2960000,6,770,0,2,0,1040000,0,0,0,2960000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,600000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(415,'2023-12-20 17:43:09',412,0,0,0,40000,0,4520000,4520000,9,770,0,2,0,1750000,0,0,0,4480000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,450000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(416,'2023-12-21 21:07:10',413,0,0,0,0,0,1200000,1200000,2,770,0,2,0,1045000,0,0,0,1200000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,795000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(417,'2023-12-22 20:36:04',414,0,0,0,0,0,7920000,7920000,14,770,0,2,0,1450000,0,0,0,7920000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1290000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(418,'2023-12-23 13:11:38',415,0,0,0,0,0,1200000,1200000,1,770,0,2,0,990000,0,0,0,1200000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(419,'2023-12-31 16:36:47',416,0,0,0,120000,0,14360000,14360000,27,770,0,2,0,1650000,0,0,0,14240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(420,'2024-01-04 20:37:23',417,0,0,0,150000,0,4310000,4310000,9,770,0,2,0,820000,0,0,0,4160000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(421,'2024-01-05 17:14:56',418,0,0,0,900000,0,7140000,7140000,17,770,0,2,0,850000,0,0,0,6240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(422,'2024-01-08 17:17:53',419,0,0,0,1665000,0,5505000,5505000,16,770,0,2,0,560000,0,0,0,3840000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(423,'2024-01-09 21:00:54',420,0,0,0,3500000,0,31740000,31740000,64,770,0,2,0,8016000,0,0,0,28240000,0,16500,0,0,0,0,0,0,0,0,0,0,200000,0,0,9131000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(424,'2024-01-10 17:56:53',421,0,0,0,1260000,0,12900000,12900000,25,770,0,2,0,3670000,0,0,0,11640000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,3350000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(425,'2024-01-11 21:20:20',422,0,0,0,1160000,0,12500000,12500000,31,770,0,2,0,5810000,0,0,0,11340000,0,28000,0,0,0,0,0,0,0,0,0,0,200000,0,0,3562000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(426,'2024-01-13 18:18:23',423,0,0,0,1455000,0,12095000,12095000,30,770,0,2,0,8640000,0,0,0,10640000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,4440000,0,0,'',0,0,'distrito',0,0,0,0,999999.99,0,0,0,0,0),(427,'2024-01-15 18:02:29',424,0,0,0,912000,0,8632000,8632000,18,770,0,2,0,930000,0,0,0,7720000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,320000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(428,'2024-01-16 17:42:41',425,0,0,0,1200000,0,6800000,6800000,23,770,0,2,0,3790000,0,0,0,5600000,0,9550,0,0,0,0,0,0,0,0,0,0,200000,0,0,2685000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(429,'2024-01-17 18:03:24',426,0,0,0,240000,0,2880000,2880000,7,770,0,2,0,2360000,0,0,0,2640000,0,21909,0,0,0,0,0,0,0,0,0,0,200000,0,0,1490000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(430,'2024-01-18 21:24:57',427,0,0,0,0,0,7280000,7280000,13,770,0,2,0,3220000,0,0,0,7280000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2740000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(431,'2024-01-19 22:23:47',428,0,0,0,1200000,0,9680000,9680000,14,770,0,2,0,2320000,0,0,0,8480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1270000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(432,'2024-01-22 18:13:20',429,0,0,0,2440000,0,14960000,14960000,29,770,0,2,0,2500000,0,0,0,12520000,0,16800,0,0,0,0,0,0,0,0,0,0,200000,0,0,1386550,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(433,'2024-01-23 18:07:12',430,0,0,0,0,0,3680000,3680000,6,770,0,2,0,1910000,0,0,0,3680000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1100000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(434,'2024-01-24 18:18:50',431,0,0,0,0,0,3560000,3560000,6,770,0,2,0,680000,0,0,0,3560000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,400000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(435,'2024-01-25 21:09:27',432,0,0,0,0,0,11150000,11150000,18,770,0,2,0,3340000,0,0,0,11150000,0,41750,0,0,0,0,0,0,0,0,0,0,200000,0,0,1648250,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(436,'2024-01-26 20:40:51',433,0,0,0,0,0,4280000,4280000,9,770,0,2,0,2464000,0,0,0,4280000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1294000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(437,'2024-01-27 17:33:25',434,0,0,0,0,0,4120000,4120000,7,770,0,2,0,2056000,0,0,0,4120000,0,55100,0,0,0,0,0,0,0,0,0,0,200000,0,0,865900,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(438,'2024-01-29 17:55:59',435,0,0,0,1240000,0,10670000,10670000,19,770,0,2,0,3760000,0,0,0,9430000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2330000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(439,'2024-01-30 17:54:01',436,0,0,0,1240000,0,3720000,3720000,6,770,0,2,0,318000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,10000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(440,'2024-01-31 17:04:36',437,0,0,0,100000,0,1820000,1820000,6,770,0,2,0,2160000,0,0,0,1720000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1100000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(441,'2024-02-01 20:56:40',438,0,0,0,250000,0,6930000,6930000,16,770,0,2,0,3480000,0,0,0,6680000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1560000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(442,'2024-02-02 21:32:20',439,0,0,0,820000,0,820000,820000,12,770,0,2,0,2000000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,380000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(443,'2024-02-03 18:10:52',440,0,0,0,0,0,3560000,3560000,6,770,0,2,0,2014000,0,0,0,3560000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1854000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(444,'2024-02-05 17:19:43',441,0,0,0,1240000,0,5240000,5240000,10,770,0,2,0,3010000,0,0,0,4000000,0,9100,0,0,0,0,0,0,0,0,0,0,200000,0,0,2380000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(445,'2024-02-06 17:28:37',442,0,0,0,1240000,0,2480000,2480000,4,770,0,2,0,1720000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2160000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(446,'2024-02-07 17:31:39',443,0,0,0,0,0,2480000,2480000,4,770,0,2,0,1048000,0,0,0,2480000,0,9500,0,0,0,0,0,0,0,0,0,0,200000,0,0,410500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(447,'2024-02-08 20:53:58',444,0,0,0,100000,0,2580000,2580000,5,770,0,2,0,1920000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1360000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(448,'2024-02-09 21:08:59',445,0,0,0,1240000,0,1660000,1660000,8,770,0,2,0,1454000,0,0,0,420000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2394000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(449,'2024-02-10 17:44:02',446,0,0,0,0,0,1240000,1240000,2,770,0,2,0,5810000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,4060000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(450,'2024-02-12 17:15:06',447,0,0,0,0,0,1240000,1240000,2,770,0,2,0,440000,0,0,0,1240000,0,31950,0,0,0,0,0,0,0,0,0,0,200000,0,0,248050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(451,'2024-02-13 17:37:12',448,0,0,0,0,0,1240000,1240000,2,770,0,2,0,2800000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2640000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(452,'2024-02-14 17:28:05',449,0,0,0,0,0,2320000,2320000,4,770,0,2,0,3640000,0,0,0,2320000,0,18000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2472000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(453,'2024-02-15 21:10:39',450,0,0,0,0,0,2320000,2320000,4,770,0,2,0,2010000,0,0,0,2320000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1570000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(454,'2024-02-16 21:07:14',451,0,0,0,0,0,2480000,2480000,4,770,0,2,0,2292000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1240000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(455,'2024-02-17 17:28:14',452,0,0,0,0,0,0,0,0,770,0,2,0,2270000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1100000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(456,'2024-02-19 17:26:07',453,0,0,0,0,0,1240000,1240000,2,770,0,2,0,1080000,0,0,0,1240000,0,9800,0,0,0,0,0,0,0,0,0,0,200000,0,0,920000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(457,'2024-02-20 17:17:39',454,0,0,0,20000,0,2340000,2340000,5,770,0,2,0,2050000,0,0,0,2320000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1180000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(458,'2024-02-21 17:24:13',455,0,0,0,0,0,2320000,2320000,4,770,0,2,0,2050000,0,0,0,2320000,0,23166,0,0,0,0,0,0,0,0,0,0,200000,0,0,1246834,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(459,'2024-02-22 20:45:40',456,0,0,0,0,0,2000000,2000000,3,770,0,2,0,2080000,0,0,0,2000000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,970000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(460,'2024-02-23 21:06:42',457,0,0,0,0,0,3720000,3720000,6,770,0,2,0,2890000,0,0,0,3720000,0,9450,0,0,0,0,0,0,0,0,0,0,200000,0,0,2150550,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(461,'2024-02-24 17:24:09',458,0,0,0,0,0,1240000,1240000,2,770,0,2,0,830000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,500000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(462,'2024-02-26 17:23:29',459,0,0,0,0,0,2900000,2900000,6,770,0,2,0,1660000,0,0,0,2900000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,873000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(463,'2024-02-27 17:20:05',460,0,0,0,1180000,0,5300000,5300000,9,770,0,2,0,1240000,0,0,0,4120000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,660000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(464,'2024-02-28 17:32:09',461,0,0,0,0,0,4120000,4120000,8,770,0,2,0,2070000,0,0,0,4120000,0,20750,0,0,0,0,0,0,0,0,0,0,200000,0,0,1040000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(465,'2024-02-29 21:20:10',462,0,0,0,150000,0,14550000,14550000,28,770,0,2,0,2770000,0,0,0,14400000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1730000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(466,'2024-03-01 21:06:34',463,0,0,0,150000,0,8450000,8450000,18,770,0,2,0,3180000,0,0,0,8300000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2030000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(467,'2024-03-02 17:25:02',464,0,0,0,0,0,2280000,2280000,6,770,0,2,0,3260000,0,0,0,2280000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2560000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(468,'2024-03-04 17:53:06',465,0,0,0,760000,0,9875000,9875000,16,770,0,2,0,1940000,0,0,0,9115000,0,4950,0,0,0,0,0,0,0,0,0,0,200000,0,0,2445050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(469,'2024-03-05 17:59:53',466,0,0,0,0,0,12055000,12055000,23,770,0,2,0,3000000,0,0,0,12055000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2180000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(470,'2024-03-06 17:39:38',467,0,0,0,0,0,6260000,6260000,13,770,0,2,0,2210000,0,0,0,6260000,0,57000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1203000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(471,'2024-03-07 21:25:14',468,0,0,0,1040000,0,1040000,1040000,2,770,0,2,0,5160000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,5260000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(472,'2024-03-08 21:04:45',469,0,0,0,80000,0,3520000,3520000,9,770,0,2,0,3180000,0,0,0,3440000,0,50000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1630000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(473,'2024-03-09 17:19:33',470,0,0,0,0,0,4600000,4600000,9,770,0,2,0,3990000,0,0,0,4600000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2320000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(474,'2024-03-11 17:46:19',471,0,0,0,0,0,2480000,2480000,4,770,0,2,0,1140000,0,0,0,2480000,0,5600,0,0,0,0,0,0,0,0,0,0,200000,0,0,554400,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(475,'2024-03-12 17:40:24',472,0,0,0,0,0,2360000,2360000,4,770,0,2,0,4050000,0,0,0,2360000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2770000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(476,'2024-03-13 17:51:20',473,0,0,0,0,0,2320000,2320000,4,770,0,2,0,3250000,0,0,0,2320000,0,40190,0,0,0,0,0,0,0,0,0,0,200000,0,0,2249810,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(477,'2024-03-14 21:06:01',474,0,0,0,0,0,0,0,0,770,0,2,0,1360000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,800000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(478,'2024-03-15 21:33:59',475,0,0,0,0,0,760000,760000,1,770,0,2,0,1370000,0,0,0,760000,0,47873,0,0,0,0,0,0,0,0,0,0,200000,0,0,832127,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(479,'2024-03-16 17:30:34',476,0,0,0,0,0,1240000,1240000,2,770,0,2,0,1180000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1180000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(480,'2024-03-18 17:28:36',477,0,0,0,20000,0,3420000,3420000,7,770,0,2,0,680000,0,0,0,3400000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,680000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(481,'2024-03-19 17:08:39',478,0,0,0,40000,0,2520000,2520000,5,770,0,2,0,1948000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,840000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(482,'2024-03-20 17:40:42',479,0,0,0,200000,0,3920000,3920000,8,770,0,2,0,3430000,0,0,0,3720000,0,5150,0,0,0,0,0,0,0,0,0,0,200000,0,0,2154850,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(483,'2024-03-21 21:18:10',480,0,0,0,0,0,0,0,0,770,0,2,0,876000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,606000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(484,'2024-03-22 21:12:03',481,0,0,0,40000,0,3880000,3880000,9,770,0,2,0,3485000,0,0,0,3840000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1995000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(485,'2024-03-23 17:20:08',482,0,0,0,40000,0,7080000,7080000,14,770,0,2,0,1880000,0,0,0,7040000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1360000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(486,'2024-03-27 17:35:14',483,0,0,0,0,0,5680000,5680000,9,770,0,2,0,1360000,0,0,0,5680000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(487,'2024-03-30 19:21:42',484,0,0,0,0,0,2480000,2480000,4,770,0,2,0,460000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(488,'2024-04-01 17:40:13',485,0,0,0,0,0,5320000,5320000,10,770,0,2,0,1800000,0,0,0,5320000,0,31250,0,0,0,0,0,0,0,0,0,0,200000,0,0,1328750,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(489,'2024-04-02 17:21:08',486,0,0,0,0,0,4760000,4760000,8,770,0,2,0,2970000,0,0,0,4760000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2530000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(490,'2024-04-03 17:39:37',487,0,0,0,0,0,7080000,7080000,11,770,0,2,0,3630000,0,0,0,7080000,0,19140,0,0,0,0,0,0,0,0,0,0,200000,0,0,2540860,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(491,'2024-04-04 22:18:57',488,0,0,0,70000,0,10670000,10670000,15,770,0,2,0,9080000,0,0,0,10600000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,5740000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(492,'2024-04-05 21:15:05',489,0,0,0,140000,0,5780000,5780000,12,770,0,2,0,4957000,0,0,0,5640000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,4082000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(493,'2024-04-06 17:42:05',490,0,0,0,0,0,720000,720000,2,770,0,2,0,2650000,0,0,0,720000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1520000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(494,'2024-04-08 17:41:58',491,0,0,0,0,0,2320000,2320000,4,770,0,2,0,2120000,0,0,0,2320000,0,19050,0,0,0,0,0,0,0,0,0,0,200000,0,0,1460950,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(495,'2024-04-09 17:10:59',492,0,0,0,680000,0,2630000,2630000,6,770,0,2,0,1090000,0,0,0,1950000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,700000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(496,'2024-04-10 17:27:52',493,0,0,0,20000,0,20000,20000,1,770,0,2,0,480000,0,0,0,0,0,6950,0,0,0,0,0,0,0,0,0,0,200000,0,0,473050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(497,'2024-04-11 21:15:33',494,0,0,0,0,0,6540000,6540000,12,770,0,2,0,5557000,0,0,0,6540000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,4340000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(498,'2024-04-12 21:19:21',495,0,0,0,265000,0,2535000,2535000,6,770,0,2,0,2890000,0,0,0,2270000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2015000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(499,'2024-04-13 17:33:28',496,0,0,0,0,0,3080000,3080000,6,770,0,2,0,2060000,0,0,0,3080000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2000000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(500,'2024-04-15 17:28:16',497,0,0,0,240000,0,2300000,2300000,5,770,0,2,0,940000,0,0,0,2060000,0,9950,0,0,0,0,0,0,0,0,0,0,200000,0,0,850050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(501,'2024-04-16 18:42:09',498,0,0,0,975000,0,1935000,1935000,8,770,0,2,0,2800000,0,0,0,960000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2375000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(502,'2024-04-17 17:59:00',499,0,0,0,1156000,0,6616000,6616000,21,770,0,2,0,4009000,0,0,0,5460000,0,14900,0,0,0,0,0,0,0,0,0,0,200000,0,0,2940100,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(503,'2024-04-18 21:18:34',500,0,0,0,3595000,0,6075000,6075000,23,770,0,2,0,2625000,0,0,0,2480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,5235000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(504,'2024-04-19 21:06:03',501,0,0,0,370000,0,3670000,3670000,9,770,0,2,0,2190000,0,0,0,3300000,0,14100,0,0,0,0,0,0,0,0,0,0,200000,0,0,1315900,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(505,'2024-04-20 17:49:10',502,0,0,0,0,0,4560000,4560000,8,770,0,2,0,3510000,0,0,0,4560000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2480000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(506,'2024-04-22 17:10:46',503,0,0,0,470000,0,6610000,6610000,20,770,0,2,0,1680000,0,0,0,6140000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1360000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(507,'2024-04-23 17:35:31',504,0,0,0,555000,0,5845000,5845000,20,770,0,2,0,3610000,0,0,0,5290000,0,16000,0,0,0,0,0,0,0,0,0,0,200000,0,0,3095000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(508,'2024-04-24 17:23:20',505,0,0,0,135000,0,6845000,6845000,14,770,0,2,0,3280000,0,0,0,6710000,0,16500,0,0,0,0,0,0,0,0,0,0,200000,0,0,1683500,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(509,'2024-04-25 21:14:22',506,0,0,0,40000,0,750000,750000,2,770,0,2,0,1030000,0,0,0,710000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,330000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(510,'2024-04-26 21:55:36',507,0,0,0,1279000,0,2859000,2859000,7,770,0,2,0,1958000,0,0,0,1580000,0,5950,0,0,0,0,0,0,0,0,0,0,200000,0,0,2497050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(511,'2024-04-27 17:25:25',508,0,0,0,330000,0,1360000,1360000,3,770,0,2,0,1080000,0,0,0,1030000,0,21000,0,0,0,0,0,0,0,0,0,0,200000,0,0,689000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(512,'2024-04-29 17:32:16',509,0,0,0,12000,0,1202100,1202100,4,770,0,2,0,1810000,0,0,0,1190100,0,9050,0,0,0,0,0,0,0,0,0,0,200000,0,0,1172950,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(513,'2024-04-30 17:43:12',510,0,0,0,150000,0,1180000,1180000,3,770,0,2,0,2720000,0,0,0,1030000,0,6760,0,0,0,0,0,0,0,0,0,0,200000,0,0,1633240,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(514,'2024-05-02 21:14:12',511,0,0,0,0,0,2860000,2860000,6,770,0,2,0,3667000,0,0,0,2860000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2397000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(515,'2024-05-03 20:54:08',512,0,0,0,40000,0,1600000,1600000,5,770,0,2,0,2610000,0,0,0,1560000,0,29060,0,0,0,0,0,0,0,0,0,0,200000,0,0,1670940,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(516,'2024-05-04 17:18:03',513,0,0,0,0,0,0,0,0,770,0,2,0,1740000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,490000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(517,'2024-05-06 17:51:34',514,0,0,0,0,0,6150000,6150000,11,770,0,2,0,2640000,0,0,0,6150000,0,6200,0,0,0,0,0,0,0,0,0,0,200000,0,0,1503800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(518,'2024-05-07 17:29:15',515,0,0,0,0,0,2270000,2270000,5,770,0,2,0,2010000,0,0,0,2270000,0,64890,0,0,0,0,0,0,0,0,0,0,200000,0,0,1395110,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(519,'2024-05-08 17:36:05',516,0,0,0,0,0,320000,320000,1,770,0,2,0,1870000,0,0,0,320000,0,13650,0,0,0,0,0,0,0,0,0,0,200000,0,0,1106350,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(520,'2024-05-09 21:21:23',517,0,0,0,0,0,1240000,1240000,2,770,0,2,0,2410000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1330000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(521,'2024-05-10 21:01:18',518,0,0,0,0,0,6280000,6280000,12,770,0,2,0,3540000,0,0,0,6280000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2070000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(522,'2024-05-11 17:51:41',519,0,0,0,0,0,1950000,1950000,3,770,0,2,0,1890000,0,0,0,1950000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1115000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(523,'2024-05-14 17:33:32',520,0,0,0,0,0,6890000,6890000,13,770,0,2,0,2170000,0,0,0,6890000,0,18550,0,0,0,0,0,0,0,0,0,0,200000,0,0,1991450,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(524,'2024-05-15 17:29:18',521,0,0,0,40000,0,3640000,3640000,9,770,0,2,0,1920000,0,0,0,3600000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,830000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(525,'2024-05-16 21:09:55',522,0,0,0,0,0,6850000,6850000,14,770,0,2,0,3940000,0,0,0,6850000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2610000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(526,'2024-05-17 21:11:01',523,0,0,0,120000,0,6360000,6360000,17,770,0,2,0,3330000,0,0,0,6240000,0,46000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2244000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(527,'2024-05-18 17:03:20',524,0,0,0,40000,0,2970000,2970000,8,770,0,2,0,2150000,0,0,0,2930000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1610000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(528,'2024-05-20 17:45:59',525,0,0,0,0,0,2270000,2270000,3,770,0,2,0,1410000,0,0,0,2270000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1410000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(529,'2024-05-21 18:02:01',526,0,0,0,0,0,4390000,4390000,8,770,0,2,0,4300000,0,0,0,4390000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2921000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(530,'2024-05-22 17:35:43',527,0,0,0,40000,0,3710000,3710000,8,770,0,2,0,1640000,0,0,0,3670000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1280000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(531,'2024-05-23 21:22:16',528,0,0,0,150000,0,5950000,5950000,12,770,0,2,0,2220000,0,0,0,5800000,0,29800,0,0,0,0,0,0,0,0,0,0,200000,0,0,1660200,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(532,'2024-05-24 21:17:19',529,0,0,0,0,0,5090000,5090000,10,770,0,2,0,3360000,0,0,0,5090000,0,44350,0,0,0,0,0,0,0,0,0,0,200000,0,0,3015650,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(533,'2024-05-25 17:41:08',530,0,0,0,1310000,0,3320000,3320000,9,770,0,2,0,2510000,0,0,0,2010000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2640000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(534,'2024-05-27 17:25:23',531,0,0,0,40000,0,360000,360000,2,770,0,2,0,1220000,0,0,0,320000,0,15920,0,0,0,0,0,0,0,0,0,0,200000,0,0,744050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(535,'2024-05-28 17:33:40',532,0,0,0,0,0,3850000,3850000,7,770,0,2,0,1930000,0,0,0,3850000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1280000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(536,'2024-05-29 17:07:38',533,0,0,0,70000,0,3480000,3480000,7,770,0,2,0,2500000,0,0,0,3410000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1700000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(537,'2024-05-30 21:14:50',534,0,0,0,0,0,6760000,6760000,12,770,0,2,0,4882000,0,0,0,6760000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2350000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(538,'2024-05-31 21:14:02',535,0,0,0,0,0,5980000,5980000,12,770,0,2,0,3100000,0,0,0,5980000,0,21700,0,0,0,0,0,0,0,0,0,0,200000,0,0,1388300,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(539,'2024-06-01 17:23:02',536,0,0,0,0,0,3090000,3090000,5,770,0,2,0,1880000,0,0,0,3090000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,920000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(540,'2024-06-04 17:41:11',537,0,0,0,0,0,8090000,8090000,16,770,0,2,0,3829000,0,0,0,8090000,0,4950,0,0,0,0,0,0,0,0,0,0,200000,0,0,3079000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(541,'2024-06-05 17:31:52',538,0,0,0,0,0,9440000,9440000,18,770,0,2,0,5660000,0,0,0,9440000,0,14950,0,0,0,0,0,0,0,0,0,0,200000,0,0,3685050,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(542,'2024-06-06 21:31:41',539,0,0,0,150000,0,3630000,3630000,6,770,0,2,0,4470000,0,0,0,3480000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,3194000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(543,'2024-06-07 21:19:23',540,0,0,0,0,0,6610000,6610000,13,770,0,2,0,4740000,0,0,0,6610000,0,32256,0,0,0,0,0,0,0,0,0,0,200000,0,0,2447750,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(544,'2024-06-08 17:42:12',541,0,0,0,0,0,3600000,3600000,7,770,0,2,0,3900000,0,0,0,3600000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2780000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(545,'2024-06-11 17:42:35',542,0,0,0,0,0,5080000,5080000,11,770,0,2,0,2430000,0,0,0,5080000,0,9750,0,0,0,0,0,0,0,0,0,0,200000,0,0,2120250,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(546,'2024-06-12 17:36:23',543,0,0,0,0,0,5010000,5010000,10,770,0,2,0,2800000,0,0,0,5010000,0,6000,0,0,0,0,0,0,0,0,0,0,200000,0,0,1494000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(547,'2024-06-13 21:14:09',544,0,0,0,0,0,1630000,1630000,4,770,0,2,0,2759000,0,0,0,1630000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1089000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(548,'2024-06-14 20:59:41',545,0,0,0,0,0,1930000,1930000,4,770,0,2,0,2420000,0,0,0,1930000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1380000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(549,'2024-06-15 17:28:50',546,0,0,0,0,0,1580000,1580000,4,770,0,2,0,2640000,0,0,0,1580000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1710000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(550,'2024-06-17 17:41:27',547,0,0,0,150000,0,1430000,1430000,5,770,0,2,0,2130000,0,0,0,1280000,0,120200,0,0,0,0,0,0,0,0,0,0,200000,0,0,579800,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(551,'2024-06-18 17:48:27',548,0,0,0,0,0,3830000,3830000,9,770,0,2,0,2940000,0,0,0,3830000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1810000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(552,'2024-06-19 17:11:08',549,0,0,0,150000,0,4120000,4120000,9,770,0,2,0,2550000,0,0,0,3970000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1914000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(553,'2024-06-20 21:05:00',550,0,0,0,0,0,11350000,11350000,20,770,0,2,0,4820000,0,0,0,11350000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2790000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(554,'2024-06-21 21:10:37',551,0,0,0,0,0,9330000,9330000,18,770,0,2,0,4590000,0,0,0,9330000,0,27000,0,0,0,0,0,0,0,0,0,0,200000,0,0,2503000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(555,'2024-06-22 17:46:01',552,0,0,0,0,0,4870000,4870000,9,770,0,2,0,1510000,0,0,0,4870000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1090000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(556,'2024-06-24 17:21:46',553,0,0,0,0,0,3900000,3900000,8,770,0,2,0,2720000,0,0,0,3900000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1780000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(557,'2024-06-25 17:21:32',554,0,0,0,0,0,7740000,7740000,18,770,0,2,0,2670000,0,0,0,7740000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1697000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(558,'2024-06-26 17:22:34',555,0,0,0,0,0,1420000,1420000,4,770,0,2,0,2650000,0,0,0,1420000,0,16400,0,0,0,0,0,0,0,0,0,0,200000,0,0,2063600,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(559,'2024-06-27 21:06:51',556,0,0,0,760000,0,5040000,5040000,10,770,0,2,0,4578000,0,0,0,4280000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,3568000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(560,'2024-06-28 21:20:42',557,0,0,0,380000,0,1050000,1050000,6,770,0,2,0,3210000,0,0,0,670000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2230000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(561,'2024-06-29 17:27:22',558,0,0,0,0,0,0,0,0,770,0,2,0,2910000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1340000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(562,'2024-07-02 17:32:44',559,0,0,0,0,0,1240000,1240000,2,770,0,2,0,4110000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,3190000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(563,'2024-07-03 17:40:26',560,0,0,0,150000,0,150000,150000,1,770,0,2,0,4607000,0,0,0,0,0,43450,0,0,0,0,0,0,0,0,0,0,200000,0,0,2196550,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(564,'2024-07-04 20:43:20',561,0,0,0,190000,0,5200000,5200000,15,770,0,2,0,4070000,0,0,0,5010000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,2360000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(565,'2024-07-05 21:14:59',562,0,0,0,340000,0,2040000,2040000,6,770,0,2,0,3010000,0,0,0,1700000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,1790000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(566,'2024-07-06 17:33:56',563,0,0,0,190000,0,1430000,1430000,3,770,0,2,0,5060000,0,0,0,1240000,0,0,0,0,0,0,0,0,0,0,0,0,200000,0,0,3170000,0,0,'',0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(567,'2024-07-08 17:33:46',564,0,0,0,150000,0,1180000,1180000,3,770,31500,2,0,1885000,0,0,0,1030000,0,6400,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(568,'2024-07-09 17:38:33',565,0,0,0,330000,0,3630000,3630000,7,770,0,2,0,2420000,0,0,0,3300000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(569,'2024-07-10 17:45:17',566,0,0,0,0,0,5410000,5410000,11,770,0,2,0,5780000,0,0,0,5410000,0,14000,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(570,'2024-07-10 17:45:18',567,0,0,0,0,0,0,0,0,770,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(571,'2024-07-11 21:04:24',568,0,0,0,2630000,0,8780000,8780000,16,770,0,2,0,5005000,0,0,0,6150000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(572,'2024-07-12 21:10:27',569,0,0,0,491000,0,5081000,5081000,36,770,190000,2,0,1040000,0,0,0,4590000,0,21900,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(573,'2024-07-13 16:50:55',570,0,0,0,542400,0,4062400,4062400,35,770,20000,2,0,1960000,0,0,0,3520000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(574,'2024-07-15 17:55:20',571,0,0,0,684800,0,3294800,3294800,48,770,0,2,0,1510000,0,0,0,2610000,0,23850,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(575,'2024-07-16 18:33:32',572,0,0,0,1361500,0,6641500,6641500,29,770,0,2,0,3730000,0,0,0,5280000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(576,'2024-07-17 19:14:38',573,0,0,0,6717800,0,10867800,10867800,67,770,1715500,2,0,2330000,0,0,0,4150000,0,10800,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(577,'2024-07-18 21:36:14',574,0,0,0,1693700,0,2427700,2427700,62,770,0,2,0,2954000,0,0,0,734000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(578,'2024-07-19 21:30:08',575,0,0,0,2243500,0,5513500,5513500,70,770,0,2,0,3300000,0,0,0,3270000,0,6950,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(579,'2024-07-20 17:26:56',576,0,0,0,1113700,0,2503700,2503700,31,770,35000,2,0,1840000,0,0,0,1390000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(580,'2024-07-22 18:09:00',577,0,0,0,2936700,0,6646700,6646700,73,770,0,2,0,2550000,0,0,0,3710000,0,10000,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(581,'2024-07-23 18:18:28',578,0,0,0,3318400,0,6838400,6838400,88,770,0,2,0,3210000,0,0,0,3520000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(582,'2024-07-24 17:35:09',579,0,0,0,808400,0,6513400,6513400,43,770,0,2,0,2100000,0,0,0,5705000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(583,'2024-07-25 21:16:24',580,0,0,0,498700,0,8298700,8298700,52,770,0,2,0,4764800,0,0,0,7800000,0,62750,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(584,'2024-07-26 21:34:32',581,0,0,0,705700,0,4275700,4275700,36,770,57500,2,0,3080000,0,0,0,3570000,0,16400,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(585,'2024-07-27 17:46:16',582,0,0,0,200600,0,200600,200600,30,770,0,2,0,1790000,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(586,'2024-07-29 17:29:05',583,0,0,0,942200,0,1982200,1982200,26,770,0,2,0,1660000,0,0,0,1040000,0,6950,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(587,'2024-07-30 17:15:22',584,0,0,0,478800,0,2438800,2438800,39,770,0,2,0,2540000,0,0,0,1960000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(588,'2024-07-31 17:39:40',585,0,0,0,370700,0,5220700,5220700,47,770,0,2,0,2745000,0,0,0,4850000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(589,'2024-08-01 21:02:09',586,0,0,0,244200,0,3404200,3404200,24,770,50000,2,0,4150200,0,0,0,3160000,0,31000,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(590,'2024-08-02 21:11:59',587,0,0,0,145800,0,4714800,4714800,33,770,0,2,0,4320000,0,0,0,4569000,0,25250,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(591,'2024-08-03 17:20:14',588,0,0,0,142300,0,782300,782300,22,770,0,2,0,1760000,0,0,0,640000,0,0,0,1,0,0,0,0,1902300,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(592,'2024-08-05 17:13:34',589,0,0,0,230600,0,2710600,2710600,30,770,0,2,0,1860000,0,0,0,2480000,0,24250,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(593,'2024-08-06 17:52:44',590,0,0,0,570500,0,2191500,2191500,28,770,0,2,0,3881000,0,0,0,1621000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(594,'2024-08-08 21:07:17',591,0,0,0,408600,0,8568600,8568600,45,770,0,2,0,3630000,0,0,0,8160000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(595,'2024-08-09 20:55:37',592,0,0,0,452100,0,2642100,2642100,28,770,0,2,0,3730000,0,0,0,2190000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(596,'2024-08-10 17:13:10',593,0,0,0,53700,0,2173700,2173700,19,770,0,2,0,3580000,0,0,0,2120000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(597,'2024-08-12 17:19:16',594,0,0,0,1007800,0,4687800,4687800,44,770,6000,2,0,2290000,0,0,0,3680000,0,9000,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(598,'2024-08-13 17:43:27',595,0,0,0,358200,0,9548200,9548200,50,770,0,2,0,3400000,0,0,0,9190000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(599,'2024-08-14 17:25:47',596,0,0,0,636200,0,7208200,7208200,23,770,1240000,2,0,3090000,0,0,0,6572000,0,164018,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(600,'2024-08-15 21:14:04',597,0,0,0,107100,0,3656800,3656800,42,770,0,2,0,2589700,0,0,0,3549700,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(601,'2024-08-16 21:14:55',598,0,0,0,196000,0,7556000,7556000,24,770,0,2,0,3243000,0,0,0,7360000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(602,'2024-08-17 17:16:42',599,0,0,0,161000,0,5241000,5241000,46,770,0,2,0,1888000,0,0,0,5080000,0,0,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(603,'2024-08-20 17:58:24',600,0,0,0,1392900,0,12772900,12772900,67,770,160000,2,0,5170000,0,0,0,11380000,0,18700,0,1,0,0,0,0,0,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(604,'2024-08-21 17:23:48',601,0,0,0,59400,0,3476400,3476400,31,770,0,2,0,5390000,0,0,0,3417000,0,0,0,1,0,0,0,0,5449400,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(605,'2024-08-22 21:16:15',602,0,0,0,159100,0,3719100,3719100,51,770,0,2,0,3950000,0,0,0,3560000,0,80000,0,1,0,0,0,0,4029100,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(606,'2024-08-23 20:52:25',603,0,0,0,513500,0,513500,513500,30,770,0,2,0,4320000,0,0,0,0,0,18950,0,1,0,0,0,0,4814550,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(607,'2024-08-24 17:27:47',604,0,0,0,61900,0,61900,61900,23,770,0,2,0,1650000,0,0,0,0,0,0,0,1,0,0,0,0,1711900,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(608,'2024-08-26 17:16:58',605,0,0,0,339800,0,3219800,3219800,55,770,0,2,0,2720000,0,0,0,2880000,0,1247850,0,1,0,0,0,0,1811950,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(609,'2024-08-27 17:39:35',606,0,0,0,138500,0,3138500,3138500,37,770,0,2,0,1780000,0,0,0,3000000,0,76800,0,1,0,0,0,0,1841700,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(610,'2024-08-28 18:18:14',607,0,0,0,1608900,0,4525900,4525900,52,770,227000,2,0,1937000,0,0,0,2917000,0,12000,0,1,0,0,0,0,3306900,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(611,'2024-08-29 21:32:12',608,0,0,0,60100,0,5880100,5880100,27,770,1200000,2,0,4700000,0,0,0,5820000,0,31200,0,1,0,0,0,0,3528900,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(612,'2024-08-30 21:07:45',609,0,0,0,544800,0,5224800,5224800,81,770,0,2,0,5350000,0,0,0,4680000,0,97000,0,1,0,0,0,0,5797800,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(613,'2024-08-31 17:36:18',610,0,0,0,37900,0,6917900,6917900,25,770,0,2,0,4070000,0,0,0,6880000,0,0,0,1,0,0,0,0,4107900,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(614,'2024-09-02 17:47:29',611,0,0,0,56200,0,3896200,3896200,16,770,0,2,0,3200000,0,0,0,3840000,0,0,0,1,0,0,0,0,3256200,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(615,'2024-09-03 17:40:07',612,0,0,0,294000,0,2714000,2714000,28,1964,0,2,0,2990000,0,0,0,2420000,0,40000,0,1,0,0,0,0,3244000,0,0,0,200000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(616,'2024-09-04 18:57:21',613,0,0,0,182200,0,5482200,5482200,55,1964,0,2,0,2120000,0,0,0,5300000,0,18850,0,1,0,0,0,0,2283350,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(617,'2024-09-05 21:07:58',614,0,0,0,54700,0,5924700,5924700,19,1964,0,2,0,3530000,0,0,0,5870000,0,0,0,1,0,0,0,0,3584700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(618,'2024-09-06 21:30:23',615,0,0,0,447400,0,9987400,9987400,66,1964,0,2,0,4920000,0,0,0,9540000,0,36050,0,1,0,0,0,0,5331350,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(619,'2024-09-07 17:51:41',616,0,0,0,68500,0,3768500,3768500,38,1964,0,2,0,2100000,0,0,0,3700000,0,0,0,1,0,0,0,0,2168500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(620,'2024-09-09 17:36:26',617,0,0,0,249300,0,5519300,5519300,42,1964,320000,2,0,2840000,0,0,0,5270000,0,4450,0,1,0,0,0,0,2764850,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(621,'2024-09-10 17:20:43',618,0,0,0,185000,0,6705000,6705000,63,1964,0,2,0,3140000,0,0,0,6520000,0,20000,0,1,0,0,0,0,3305000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(622,'2024-09-11 17:26:24',619,0,0,0,129600,0,8399600,8399600,42,1964,0,2,0,3017000,0,0,0,8270000,0,0,0,1,0,0,0,0,3146600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(623,'2024-09-12 21:33:53',620,0,0,0,89600,0,4449600,4449600,23,1964,0,2,0,3840000,0,0,0,4360000,0,0,0,1,0,0,0,0,3929600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(624,'2024-09-13 21:12:41',621,0,0,0,76400,0,3368400,3368400,38,1964,0,2,0,2043000,0,0,0,3292000,0,18950,0,1,0,0,0,0,2100450,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(625,'2024-09-14 17:50:05',622,0,0,0,269800,0,269800,269800,16,1964,0,2,0,2330000,0,0,0,0,0,0,0,1,0,0,0,0,2599800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(626,'2024-09-16 17:11:37',623,0,0,0,64300,0,3344300,3344300,16,1964,0,2,0,1390000,0,0,0,3280000,0,16900,0,1,0,0,0,0,1437400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(627,'2024-09-17 17:30:04',624,0,0,0,107300,0,2847300,2847300,30,1964,0,2,0,3610000,0,0,0,2740000,0,0,0,1,0,0,0,0,3717300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(628,'2024-09-18 17:34:25',625,0,0,0,229300,0,1099300,1099300,38,1964,0,2,0,2695000,0,0,0,870000,0,0,0,1,0,0,0,0,2924300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(629,'2024-09-19 21:34:30',626,0,0,0,44400,0,2264400,2264400,16,770,0,2,0,2891000,0,0,0,2220000,0,0,0,1,0,0,0,0,2935400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(630,'2024-09-20 21:24:46',627,0,0,0,89800,0,1186800,1186800,40,1964,0,2,0,5369000,0,0,0,1097000,0,0,0,1,0,0,0,0,5458800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(631,'2024-09-21 17:46:36',628,0,0,0,522200,0,2072200,2072200,64,1964,0,2,0,2300000,0,0,0,1550000,0,0,0,1,0,0,0,0,2822200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(632,'2024-09-23 17:54:33',629,0,0,0,61500,0,5671500,5671500,22,1964,0,2,0,2060000,0,0,0,5610000,0,7450,0,1,0,0,0,0,2114050,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(633,'2024-09-24 17:37:56',630,0,0,0,450200,0,5650200,5650200,56,1964,0,2,0,1560000,0,0,0,5200000,0,36650,0,1,0,0,0,0,1973550,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(634,'2024-09-25 17:30:46',631,0,0,0,619800,0,5602800,5602800,50,1964,0,2,0,2913000,0,0,0,4983000,0,0,0,1,0,0,0,0,3532800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(635,'2024-09-26 21:21:46',632,0,0,0,439100,0,4391100,4391100,36,1964,0,2,0,2652000,0,0,0,3952000,0,0,0,1,0,0,0,0,3091100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(636,'2024-09-27 21:24:46',633,0,0,0,300300,0,8355300,8355300,39,1964,1020000,2,0,4772000,0,0,0,8055000,0,28650,0,1,0,0,0,0,4023650,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(637,'2024-09-28 17:47:09',634,0,0,0,352900,0,1222900,1222900,34,1964,0,2,0,2420000,0,0,0,870000,0,0,0,1,0,0,0,0,2772900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(638,'2024-09-30 17:21:05',635,0,0,0,744200,0,4774200,4774200,43,1964,0,2,0,3310000,0,0,0,4030000,0,0,0,1,0,0,0,0,4054200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(639,'2024-10-01 17:58:40',636,0,0,0,974700,0,10224700,10224700,52,1964,0,2,0,3420000,0,0,0,9250000,0,66150,0,1,0,0,0,0,4328550,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(640,'2024-10-02 17:55:27',637,0,0,0,295000,0,9095000,9095000,38,1964,0,2,0,3692000,0,0,0,8800000,0,46500,0,1,0,0,0,0,3940500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(641,'2024-10-03 21:43:54',638,0,0,0,276200,0,8293200,8293200,42,1964,0,2,0,6940000,0,0,0,8017000,0,31200,0,1,0,0,0,0,7185000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(642,'2024-10-04 21:09:45',639,0,0,0,720300,0,4970300,4970300,43,1964,1220000,2,0,3870000,0,0,0,4250000,0,17300,0,1,0,0,0,0,3353000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(643,'2024-10-05 17:46:02',640,0,0,0,308900,0,1168900,1168900,45,1964,0,2,0,3300000,0,0,0,860000,0,0,0,1,0,0,0,0,3608900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(644,'2024-10-07 17:39:41',641,0,0,0,881600,0,2531600,2531600,60,1964,0,2,0,1610000,0,0,0,1650000,0,12400,0,1,0,0,0,0,2479200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(645,'2024-10-08 17:34:10',642,0,0,0,208500,0,4135500,4135500,19,1964,320000,2,0,1120000,0,0,0,3927000,0,0,0,1,0,0,0,0,1008500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(646,'2024-10-09 17:11:53',643,0,0,0,39000,0,3022000,3022000,27,1964,0,2,0,2300000,0,0,0,2983000,0,3400,0,1,0,0,0,0,2335600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(647,'2024-10-10 21:07:48',644,0,0,0,471700,0,3355300,3355300,30,770,0,2,0,3118600,0,0,0,2883600,0,150000,0,1,0,0,0,0,3440300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(648,'2024-10-11 21:19:26',645,0,0,0,399800,0,6286800,6286800,44,1964,6000,2,0,2707000,0,0,0,5887000,0,100328,0,1,0,0,0,0,3000472,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(649,'2024-10-12 17:57:30',646,0,0,0,236500,0,7121500,7121500,44,1964,0,2,0,3140000,0,0,0,6885000,0,0,0,1,0,0,0,0,3376500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(650,'2024-10-15 17:30:59',647,0,0,0,211900,0,6591900,6591900,37,1964,0,2,0,3070000,0,0,0,6380000,0,25800,0,1,0,0,0,0,3256100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(651,'2024-10-16 17:40:46',648,0,0,0,35000,0,3135000,3135000,22,1964,0,2,0,1880000,0,0,0,3100000,0,0,0,1,0,0,0,0,1915000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(652,'2024-10-17 21:15:17',649,0,0,0,530000,0,757000,757000,24,1964,22500,2,0,2200000,0,0,0,227000,0,5450,0,1,0,0,0,0,2702050,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(653,'2024-10-18 21:40:58',650,0,0,0,1071900,0,6491900,6491900,53,1964,0,2,0,3675000,0,0,0,5420000,0,0,0,1,0,0,0,0,4746900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(654,'2024-10-19 17:53:04',651,0,0,0,837000,0,5807000,5807000,59,1964,0,2,0,3742000,0,0,0,4970000,0,0,0,1,0,0,0,0,4579000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(655,'2024-10-21 17:14:48',652,0,0,0,569000,0,6339000,6339000,35,1964,0,2,0,2990000,0,0,0,5770000,0,0,0,1,0,0,0,0,3559000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(656,'2024-10-22 17:52:16',653,0,0,0,1281100,0,4831100,4831100,38,1964,0,2,0,2985000,0,0,0,3550000,0,5250,0,1,0,0,0,0,4260850,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(657,'2024-10-23 17:26:03',654,0,0,0,1031600,0,5550600,5550600,39,770,0,2,0,3691000,0,0,0,4519000,0,0,0,1,0,0,0,0,4722600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(658,'2024-10-24 21:12:15',655,0,0,0,1133000,0,6503000,6503000,28,1964,150000,2,0,4412000,0,0,0,5370000,0,0,0,1,0,0,0,0,5395000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(659,'2024-10-25 21:25:45',656,0,0,0,2119200,0,5129200,5129200,46,770,720000,2,0,3070000,0,0,0,3010000,0,43820,0,1,0,0,0,0,4425380,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(660,'2024-10-26 17:54:51',657,0,0,0,2071500,0,2151500,2151500,61,770,0,2,0,2987000,0,0,0,80000,0,0,0,1,0,0,0,0,5058500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(661,'2024-10-28 21:47:03',658,0,0,0,6659800,0,10169800,10169800,60,770,0,2,0,3950000,0,0,0,3510000,0,10500,0,1,0,0,0,0,10599300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(662,'2024-10-29 18:15:35',659,0,0,0,1842400,0,6002400,6002400,53,770,1239200,2,0,3765000,0,0,0,4160000,0,0,0,1,0,0,0,0,4368200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,720000,0,0,0,0,0),(663,'2024-10-30 17:58:34',660,0,0,0,266700,0,4486700,4486700,52,1964,0,2,0,2010000,0,0,0,4220000,0,0,0,1,0,0,0,0,2276700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(664,'2024-10-31 21:18:38',661,0,0,0,755200,0,4695200,4695200,67,1964,0,2,0,3150000,0,0,0,3940000,0,74300,0,1,0,0,0,0,3830900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(665,'2024-11-01 21:03:22',662,0,0,0,1509600,0,1509600,1509600,33,1964,49900,2,0,4010000,0,0,0,0,0,23950,0,1,0,0,0,0,5445750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(666,'2024-11-02 17:13:20',663,0,0,0,251500,0,251500,251500,43,770,0,2,0,1420000,0,0,0,0,0,0,0,1,0,0,0,0,1671500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(667,'2024-11-05 17:10:49',664,0,0,0,74500,0,1094500,1094500,18,1964,0,2,0,2040000,0,0,0,1020000,0,66140,0,1,0,0,0,0,2048360,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(668,'2024-11-06 17:26:37',665,0,0,0,914700,0,5294700,5294700,23,1964,0,2,0,740000,0,0,0,4380000,0,0,0,1,0,0,0,0,1654700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(669,'2024-11-07 21:04:42',666,0,0,0,909200,0,4439200,4439200,94,770,52300,2,0,3110000,0,0,0,3530000,0,36400,0,1,0,0,0,0,3930500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(670,'2024-11-08 21:03:43',667,0,0,0,330800,0,1190800,1190800,35,1964,0,2,0,1770000,0,0,0,860000,0,0,0,1,0,0,0,0,2100800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(671,'2024-11-09 17:44:21',668,0,0,0,98700,0,7978700,7978700,47,1964,0,2,0,3380000,0,0,0,7880000,0,0,0,1,0,0,0,0,3478700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(672,'2024-11-12 17:31:07',669,0,0,0,817400,0,1767400,1767400,50,1964,0,2,0,1860000,0,0,0,950000,0,23000,0,1,0,0,0,0,2654400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(673,'2024-11-13 17:35:53',670,0,0,0,584100,0,7664100,7664100,37,1964,0,2,0,3478000,0,0,0,7080000,0,0,0,1,0,0,0,0,4062100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(674,'2024-11-14 21:16:30',671,0,0,0,278200,0,5638200,5638200,67,1964,0,2,0,3290000,0,0,0,5360000,0,61150,0,1,0,0,0,0,3507050,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(675,'2024-11-15 21:22:20',672,0,0,0,44000,0,2554000,2554000,28,1964,0,2,0,1180000,0,0,0,2510000,0,51850,0,1,0,0,0,0,1172150,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(676,'2024-11-16 17:44:20',673,0,0,0,670100,0,1530100,1530100,44,1964,0,2,0,2905000,0,0,0,860000,0,0,0,1,0,0,0,0,3575100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(677,'2024-11-18 17:29:47',674,0,0,0,210100,0,5400100,5400100,70025,1964,1180000,2,0,3840000,0,0,0,5190000,0,28100,0,1,0,0,0,0,2842000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(678,'2024-11-19 17:21:07',675,0,0,0,1415900,0,3459600,3459600,46,1964,0,2,0,3913700,0,0,0,2043700,0,0,0,1,0,0,0,0,5329600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(679,'2024-11-20 17:28:10',676,0,0,0,868100,0,1728100,1728100,22,1964,0,2,0,2990000,0,0,0,860000,0,3450,0,1,0,0,0,0,3854650,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(680,'2024-11-21 20:42:23',677,0,0,0,1329700,0,2669700,2669700,95,770,40000,2,0,3640000,0,0,0,1340000,0,11600,0,1,0,0,0,0,4918100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(681,'2024-11-22 20:15:59',678,0,0,0,355300,0,588300,588300,29,1964,0,2,0,2841000,0,0,0,233000,0,4000,0,1,0,0,0,0,3192300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(682,'2024-11-23 17:43:55',679,0,0,0,87300,0,87300,87300,29,1964,0,2,0,1740000,0,0,0,0,0,15100,0,1,0,0,0,0,1812200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(683,'2024-11-25 17:23:24',680,0,0,0,488300,0,1508300,1508300,29,1964,0,2,0,2110000,0,0,0,1020000,0,81350,0,1,0,0,0,0,2516950,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(684,'2024-11-26 17:32:54',681,0,0,0,914100,0,2094100,2094100,92,1964,0,2,0,2720000,0,0,0,1180000,0,10300,0,1,0,0,0,0,3623800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(685,'2024-11-27 17:51:55',682,0,0,0,810400,0,2510400,2510400,43,1964,0,2,0,3210000,0,0,0,1700000,0,0,0,1,0,0,0,0,4020400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(686,'2024-11-28 21:09:00',683,0,0,0,676800,0,879400,879400,78,1964,0,2,0,1697600,0,0,0,202600,0,4600,0,1,0,0,0,0,2369800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(687,'2024-11-29 20:58:33',684,0,0,0,1153000,0,1233000,1233000,37,1964,0,2,0,3540000,0,0,0,80000,0,0,0,1,0,0,0,0,4693000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(688,'2024-11-30 17:13:59',685,0,0,0,922500,0,922500,922500,18,770,0,2,0,1910000,0,0,0,0,0,0,0,1,0,0,0,0,2832500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(689,'2024-12-02 17:51:47',686,0,0,0,2736500,0,3166500,3166500,21,1964,0,2,0,2230000,0,0,0,430000,0,39500,0,1,0,0,0,0,4927000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(690,'2024-12-03 19:25:51',687,0,0,0,9207300,0,9207300,9207300,82,1964,340000,2,0,630000,0,0,0,0,0,337550,0,1,0,0,0,0,9159750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(691,'2024-12-04 17:30:14',688,0,0,0,1444500,0,1444500,1444500,26,1964,0,2,0,1010000,0,0,0,0,0,1950,0,1,0,0,0,0,2452550,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(692,'2024-12-05 17:57:07',689,0,0,0,323700,0,1273700,1273700,84,1964,0,2,0,1780000,0,0,0,950000,0,6000,0,1,0,0,0,0,2097700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(693,'2024-12-06 21:06:43',690,0,0,0,356300,0,1776300,1776300,41,770,0,2,0,1470000,0,0,0,1420000,0,0,0,1,0,0,0,0,1826300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,150000,0,0,0,0,0),(694,'2024-12-07 16:48:06',691,0,0,0,48100,0,48100,48100,13,1964,0,2,0,2050000,0,0,0,0,0,0,0,1,0,0,0,0,2098100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(695,'2024-12-09 17:41:46',692,0,0,0,288600,0,438600,438600,50,1964,0,2,0,850000,0,0,0,150000,0,65000,0,1,0,0,0,0,1073600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(696,'2024-12-10 18:09:35',693,0,0,0,451000,0,796000,796000,13,1964,0,2,0,2710000,0,0,0,345000,0,0,0,1,0,0,0,0,3161000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(697,'2024-12-11 16:57:59',694,0,0,0,481700,0,5201700,5201700,25,1964,0,2,0,3720000,0,0,0,4720000,0,5850,0,1,0,0,0,0,4195850,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(698,'2024-12-12 19:49:22',695,0,0,0,123100,0,1353100,1353100,37,770,7800,2,0,1980000,0,0,0,1230000,0,17600,0,1,0,0,0,0,2077700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(699,'2024-12-13 17:06:23',696,0,0,0,22800,0,22800,22800,14,1964,0,2,0,770000,0,0,0,0,0,0,0,1,0,0,0,0,792800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(700,'2024-12-14 17:40:52',697,0,0,0,37300,0,1901300,1901300,17,770,345000,2,0,1360000,0,0,0,1864000,0,0,0,1,0,0,0,0,1052300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(701,'2024-12-16 19:28:45',698,0,0,0,0,0,0,0,0,770,0,2,0,480000,0,0,0,0,0,0,0,1,0,0,0,NULL,480000,0,NULL,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(702,'2024-12-19 19:35:43',699,0,0,0,1080000,0,4600000,4600000,11,770,0,2,0,450000,0,0,0,3520000,0,0,0,1,0,0,0,0,1530000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(703,'2024-12-31 18:25:55',700,0,0,0,160000,0,5120000,5120000,11,770,0,2,0,480000,0,0,0,4960000,0,0,0,1,0,0,0,0,640000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(704,'2025-01-03 19:28:39',701,0,0,0,0,0,7720000,7720000,16,770,0,2,0,1155000,0,0,0,7720000,0,0,0,1,0,0,0,0,1155000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(705,'2025-01-07 17:56:30',702,0,0,0,25500,0,32735500,32735500,66,1964,0,2,0,6210000,0,0,0,32710000,0,0,0,1,0,0,0,0,6235500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(706,'2025-01-08 18:00:15',703,0,0,0,409400,0,12329400,12329400,35,1964,0,2,0,5770000,0,0,0,11920000,0,40250,0,1,0,0,0,0,6139150,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(707,'2025-01-09 21:12:18',704,0,0,0,542400,0,13382400,13382400,83,1964,16000,2,0,4317000,0,0,0,12840000,0,50000,0,1,0,0,0,0,4793400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(708,'2025-01-10 21:19:25',705,0,0,0,1383500,0,9423500,9423500,42,1964,0,2,0,4630000,0,0,0,8040000,0,16500,0,1,0,0,0,0,5997000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(709,'2025-01-11 18:01:29',706,0,0,0,39800,0,4559800,4559800,17,770,0,2,0,4220000,0,0,0,4520000,0,0,0,1,0,0,0,0,4259800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(710,'2025-01-13 17:52:26',707,0,0,0,1054800,0,7041800,7041800,27,1964,420000,2,0,3577000,0,0,0,5987000,0,0,0,1,0,0,0,0,4211800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(711,'2025-01-14 18:05:05',708,0,0,0,1692500,0,15637500,15637500,54,1964,7500,2,0,4320000,0,0,0,13945000,0,18600,0,1,0,0,0,0,5986400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(712,'2025-01-15 17:50:45',709,0,0,0,78100,0,3318100,3318100,41,1964,0,2,0,1850000,0,0,0,3240000,0,0,0,1,0,0,0,0,1928100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(713,'2025-01-16 20:09:04',710,0,0,0,129800,0,8629800,8629800,55,770,0,2,0,3910000,0,0,0,8500000,0,20340,0,1,0,0,0,0,4019460,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(714,'2025-01-17 20:39:34',711,0,0,0,42900,0,4942900,4942900,36,1964,0,2,0,3520000,0,0,0,4900000,0,0,0,1,0,0,0,0,3562900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(715,'2025-01-18 17:47:44',712,0,0,0,102600,0,4182600,4182600,34,1964,0,2,0,2000000,0,0,0,4080000,0,111213,0,1,0,0,0,0,1991387,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(716,'2025-01-20 18:14:36',713,0,0,0,40800,0,6370800,6370800,24,2115,0,2,0,3000000,0,0,0,6330000,0,157700,0,1,0,0,0,0,2883100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(717,'2025-01-21 18:34:23',714,0,0,0,649200,0,15734200,15734200,57,1964,1467000,2,0,4705000,0,0,0,15085000,0,0,0,1,0,0,0,0,3887200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(718,'2025-01-22 18:01:42',715,0,0,0,1629500,0,9019500,9019500,113,2115,32500,2,0,1960000,0,0,0,7390000,0,0,0,1,0,0,0,0,3557000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(719,'2025-01-23 21:17:36',716,0,0,0,463700,0,10710700,10710700,129,1964,0,2,0,3557000,0,0,0,10247000,0,0,0,1,0,0,0,0,4020700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(720,'2025-01-24 21:18:34',717,0,0,0,1740400,0,13965400,13965400,37,1964,1290000,2,0,3025000,0,0,0,12225000,0,0,0,1,0,0,0,0,3475400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(721,'2025-01-25 17:43:45',718,0,0,0,179500,0,7384500,7384500,66,2115,0,2,0,6820000,0,0,0,7205000,0,0,0,1,0,0,0,0,6999500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,2360000,0,0,0,0,0),(722,'2025-01-27 18:00:49',719,0,0,0,60800,0,6900800,6900800,26,1964,0,2,0,1860000,0,0,0,6840000,0,80750,0,1,0,0,0,0,1840050,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(723,'2025-01-28 17:49:55',720,0,0,0,86400,0,5706400,5706400,47,2115,32100,2,0,3430000,0,0,0,5620000,0,59400,0,1,0,0,0,0,3424900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(724,'2025-01-29 17:37:58',721,0,0,0,251200,0,8271200,8271200,47,1964,0,2,0,1700000,0,0,0,8020000,0,10100,0,1,0,0,0,0,1941100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(725,'2025-01-30 19:44:44',722,0,0,0,197900,0,2457900,2457900,45,1964,8000,2,0,4260000,0,0,0,2260000,0,14800,0,1,0,0,0,0,4435100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(726,'2025-01-31 20:06:04',723,0,0,0,193100,0,5343100,5343100,47,2115,23000,2,0,3150000,0,0,0,5150000,0,0,0,1,0,0,0,0,3320100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(727,'2025-02-01 17:54:38',724,0,0,0,821500,0,7891500,7891500,46,1964,0,2,0,2070000,0,0,0,7070000,0,0,0,1,0,0,0,0,2891500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(728,'2025-02-03 17:41:29',725,0,0,0,223900,0,9923900,9923900,33,2115,2560000,2,0,1510000,0,0,0,10020000,0,0,0,1,0,0,0,0,-1146100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,1050000,0,0,0,0,0),(729,'2025-02-04 17:52:46',726,0,0,0,643700,0,9893700,9893700,65,2115,0,2,0,1810000,0,0,0,9250000,0,0,0,1,0,0,0,0,2453700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(730,'2025-02-05 17:48:25',727,0,0,0,900000,0,9130000,9130000,44,1964,27000,2,0,3460000,0,0,0,8230000,0,0,0,1,0,0,0,0,4333000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(731,'2025-02-06 21:40:11',728,0,0,0,568200,0,9618200,9618200,72,1964,0,2,0,3960000,0,0,0,9050000,0,0,0,1,0,0,0,0,4528200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(732,'2025-02-07 21:33:54',729,0,0,0,398500,0,13848500,13848500,108,1964,0,2,0,2940000,0,0,0,13450000,0,56300,0,1,0,0,0,0,3282200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(733,'2025-02-08 18:18:16',730,0,0,0,1126000,0,5956000,5956000,76,770,1381000,2,0,2860000,0,0,0,4830000,0,0,0,1,0,0,0,0,2605000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(734,'2025-02-10 17:54:42',731,0,0,0,40800,0,8350800,8350800,28,1964,0,2,0,2140000,0,0,0,8310000,0,0,0,1,0,0,0,0,2180800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,320000,0,0,0,0,0),(735,'2025-02-11 18:34:52',732,0,0,0,172300,0,10492300,10492300,47,2115,0,2,0,4287000,0,0,0,10320000,0,266235,0,1,0,0,0,0,4193065,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(736,'2025-02-12 17:40:43',733,0,0,0,1623900,0,6573900,6573900,42,1964,0,2,0,4494000,0,0,0,4950000,0,0,0,1,0,0,0,0,6117900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(737,'2025-02-13 21:01:31',734,0,0,0,349500,0,2899500,2899500,40,2115,0,2,0,2910000,0,0,0,2550000,0,31200,0,1,0,0,0,0,3228300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(738,'2025-02-14 21:18:23',735,0,0,0,530700,0,7310700,7310700,77,2115,0,2,0,5970000,0,0,0,6780000,0,18950,0,1,0,0,0,0,6481750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(739,'2025-02-15 17:28:53',736,0,0,0,689300,0,6829300,6829300,51,1964,0,2,0,2720000,0,0,0,6140000,0,0,0,1,0,0,0,0,3409300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(740,'2025-02-17 17:48:54',737,0,0,0,21000,0,1941000,1941000,20,1964,0,2,0,2310000,0,0,0,1920000,0,0,0,1,0,0,0,0,2331000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(741,'2025-02-18 17:35:26',738,0,0,0,716500,0,4626500,4626500,52,2115,493000,2,0,2770000,0,0,0,3910000,0,0,0,1,0,0,0,0,2993500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(742,'2025-02-19 17:33:22',739,0,0,0,919300,0,8035300,8035300,68,1964,0,2,0,4904000,0,0,0,7116000,0,0,0,1,0,0,0,0,5823300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(743,'2025-02-20 21:19:41',740,0,0,0,768600,0,8278600,8278600,65,1964,1280000,2,0,4085000,0,0,0,7510000,0,0,0,1,0,0,0,0,3573600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(744,'2025-02-21 21:08:19',741,0,0,0,449900,0,2839900,2839900,33,1964,0,2,0,3672000,0,0,0,2390000,0,0,0,1,0,0,0,0,4121900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(745,'2025-02-22 17:40:28',742,0,0,0,343200,0,2563200,2563200,28,2115,0,2,0,4550000,0,0,0,2220000,0,0,0,1,0,0,0,0,4893200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(746,'2025-02-24 17:37:30',743,0,0,0,248800,0,6568800,6568800,30,2115,0,2,0,4090000,0,0,0,6320000,0,92650,0,1,0,0,0,0,4246150,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(747,'2025-02-25 18:19:22',744,0,0,0,2274500,0,6538500,6538500,41,2115,0,2,0,3344000,0,0,0,4264000,0,39000,0,1,0,0,0,0,5579500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(748,'2025-02-26 17:55:22',745,0,0,0,646100,0,7516100,7516100,56,1964,0,2,0,3010000,0,0,0,6870000,0,0,0,1,0,0,0,0,3656100,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(749,'2025-02-27 21:12:06',746,0,0,0,715900,0,4465900,4465900,77,2115,0,2,0,4590000,0,0,0,3750000,0,20990,0,1,0,0,0,0,5284910,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(750,'2025-02-28 20:53:46',747,0,0,0,1848800,0,6392800,6392800,64,2115,0,2,0,5421000,0,0,0,4544000,0,0,0,1,0,0,0,0,7269800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(751,'2025-03-01 18:14:56',748,0,0,0,830500,0,7710500,7710500,72,1964,0,2,0,4380000,0,0,0,6880000,0,0,0,1,0,0,0,0,5210500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(752,'2025-03-03 22:09:10',749,0,0,0,6292500,0,20122500,20122500,69,770,150000,2,0,3850000,0,0,0,13830000,0,0,0,1,0,0,0,0,9992500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,800000,0,0,0,0,0),(753,'2025-03-04 18:34:19',750,0,0,0,1285500,0,7125500,7125500,49,1964,0,2,0,4020000,0,0,0,5840000,0,0,0,1,0,0,0,0,5305500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(754,'2025-03-05 17:50:48',751,0,0,0,490000,0,6440000,6440000,40,1964,470000,2,0,3860000,0,0,0,5950000,0,0,0,1,0,0,0,0,3880000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(755,'2025-03-06 22:12:35',752,0,0,0,326900,0,8120900,8120900,68,1964,0,2,0,7490000,0,0,0,7794000,0,18950,0,1,0,0,0,0,7797950,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,2560000,0,0,0,0,0),(756,'2025-03-07 21:14:36',753,0,0,0,167300,0,6381300,6381300,63,1964,1200000,2,0,2790000,0,0,0,6214000,0,46700,0,1,0,0,0,0,1710600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(757,'2025-03-08 17:48:32',754,0,0,0,145500,0,559500,559500,18,2115,414000,2,0,2254000,0,0,0,414000,0,140500,0,1,0,0,0,0,1845000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(758,'2025-03-10 17:56:48',755,0,0,0,363500,0,5913500,5913500,53,1964,0,2,0,1622000,0,0,0,5550000,0,11750,0,1,0,0,0,0,1973750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(759,'2025-03-11 17:35:18',756,0,0,0,129400,0,4899400,4899400,28,1964,0,2,0,2060000,0,0,0,4770000,0,0,0,1,0,0,0,0,2189400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(760,'2025-03-12 18:17:47',757,0,0,0,125300,0,3009300,3009300,47,2115,0,2,0,4530000,0,0,0,2884000,0,18950,0,1,0,0,0,0,4636350,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(761,'2025-03-13 20:40:29',758,0,0,0,537000,0,3067000,3067000,26,2115,0,2,0,3471000,0,0,0,2530000,0,129000,0,1,0,0,0,0,3879000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(762,'2025-03-14 21:31:24',759,0,0,0,621300,0,6343300,6343300,77,2115,0,2,0,5082000,0,0,0,5722000,0,91500,0,1,0,0,0,0,5611800,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(763,'2025-03-15 17:54:57',760,0,0,0,328800,0,5410800,5410800,49,1964,0,2,0,3334000,0,0,0,5082000,0,75890,0,1,0,0,0,0,3586910,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(764,'2025-03-17 18:19:24',761,0,0,0,232500,0,4114500,4114500,26,1964,0,2,0,3090000,0,0,0,3882000,0,0,0,1,0,0,0,0,3322500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(765,'2025-03-18 17:41:44',762,0,0,0,360000,0,7020000,7020000,32,2115,0,2,0,3400000,0,0,0,6660000,0,15000,0,1,0,0,0,0,3745000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(766,'2025-03-19 18:15:20',763,0,0,0,243500,0,12225500,12225500,54,2115,0,2,0,3474000,0,0,0,11982000,0,36800,0,1,0,0,0,0,3680700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(767,'2025-03-20 21:36:06',764,0,0,0,1291800,0,10599800,10599800,88,1964,6000,2,0,3398000,0,0,0,9308000,0,138140,0,1,0,0,0,0,4545660,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(768,'2025-03-21 21:12:21',765,0,0,0,106700,0,13676700,13676700,68,1964,0,2,0,3210000,0,0,0,13570000,0,2000,0,1,0,0,0,0,3314700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(769,'2025-03-22 18:44:34',766,0,0,0,208000,0,5118000,5118000,48,2115,0,2,0,6280000,0,0,0,4910000,0,13300,0,1,0,0,0,0,6474700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(770,'2025-03-25 18:14:58',767,0,0,0,568400,0,13470400,13470400,55,2115,0,2,0,3618000,0,0,0,12902000,0,0,0,1,0,0,0,0,4186400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(771,'2025-03-26 17:29:38',768,0,0,0,667500,0,8837500,8837500,44,2115,40000,2,0,3825000,0,0,0,8170000,0,171741,0,1,0,0,0,0,4280759,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(772,'2025-03-27 21:11:25',769,0,0,0,390500,0,4909500,4909500,56,2115,0,2,0,4966000,0,0,0,4519000,0,0,0,1,0,0,0,0,5356500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(773,'2025-03-28 21:15:34',770,0,0,0,100700,0,7794700,7794700,59,2115,0,2,0,7125000,0,0,0,7694000,0,398000,0,1,0,0,0,0,6827700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(774,'2025-03-29 18:27:34',771,0,0,0,220900,0,6322900,6322900,66,1964,0,2,0,4408000,0,0,0,6102000,0,62400,0,1,0,0,0,0,4566500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(775,'2025-03-31 17:45:11',772,0,0,0,508000,0,9918000,9918000,38,1964,15000,2,0,5410000,0,0,0,9410000,0,10800,0,1,0,0,0,0,5892200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,1454000,0,0,0,0,0),(776,'2025-04-01 17:45:01',773,0,0,0,558500,0,5388500,5388500,21,2115,0,2,0,2690000,0,0,0,4830000,0,71950,0,1,0,0,0,0,3176550,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(777,'2025-04-02 18:01:49',774,0,0,0,641200,0,9959200,9959200,63,1964,0,2,0,3918000,0,0,0,9318000,0,0,0,1,0,0,0,0,4559200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(778,'2025-04-03 21:26:21',775,0,0,0,1354500,0,3918500,3918500,48,1964,548000,2,0,5104000,0,0,0,2564000,0,0,0,1,0,0,0,0,5910500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(779,'2025-04-04 21:29:54',776,0,0,0,822000,0,10902000,10902000,59,1964,0,2,0,4330000,0,0,0,10080000,0,0,0,1,0,0,0,0,5152000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(780,'2025-04-05 18:28:16',777,0,0,0,580300,0,1850300,1850300,37,769,0,2,0,1940000,0,0,0,1270000,0,0,0,1,0,0,0,0,2520300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(781,'2025-04-07 18:12:32',778,0,0,0,742800,0,9642800,9642800,32,1964,0,2,0,2723000,0,0,0,8900000,0,146036,0,1,0,0,0,0,3319764,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(782,'2025-04-08 17:44:08',779,0,0,0,191000,0,5401000,5401000,20,2115,0,2,0,2502000,0,0,0,5210000,0,0,0,1,0,0,0,0,2693000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(783,'2025-04-09 17:34:55',780,0,0,0,319500,0,6799500,6799500,37,1964,0,2,0,5980000,0,0,0,6480000,0,0,0,1,0,0,0,0,6299500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(784,'2025-04-10 21:42:28',781,0,0,0,118300,0,2838300,2838300,35,1964,1270000,2,0,2774000,0,0,0,2720000,0,0,0,1,0,0,0,0,1622300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(785,'2025-04-11 20:50:13',782,0,0,0,463000,0,2147000,2147000,47,2115,0,2,0,3175000,0,0,0,1684000,0,30000,0,1,0,0,0,0,3608000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(786,'2025-04-12 17:39:03',783,0,0,0,94900,0,94900,94900,21,1964,0,2,0,1210000,0,0,0,0,0,0,0,1,0,0,0,0,1304900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(787,'2025-04-14 17:39:59',784,0,0,0,509700,0,2193700,2193700,66,1964,0,2,0,1000000,0,0,0,1684000,0,0,0,1,0,0,0,0,1509700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(788,'2025-04-15 17:52:09',785,0,0,0,202900,0,1816900,1816900,63,1964,0,2,0,1640000,0,0,0,1614000,0,0,0,1,0,0,0,0,1842900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(789,'2025-04-16 17:47:36',786,0,0,0,554200,0,4134200,4134200,94,2115,0,2,0,3655000,0,0,0,3580000,0,85450,0,1,0,0,0,0,4123750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(790,'2025-04-21 17:58:54',787,0,0,0,402600,0,7712600,7712600,51,2115,0,2,0,3730000,0,0,0,7310000,0,40000,0,1,0,0,0,0,4092600,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(791,'2025-04-22 17:57:38',788,0,0,0,930500,0,4548500,4548500,66,2115,0,2,0,2860000,0,0,0,3618000,0,25000,0,1,0,0,0,0,3765500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(792,'2025-04-23 18:13:27',789,0,0,0,1126400,0,4236400,4236400,118,2115,0,2,0,3275000,0,0,0,3110000,0,21730,0,1,0,0,0,0,4379670,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(793,'2025-04-24 21:31:13',790,0,0,0,331000,0,11931000,11931000,54,2115,0,2,0,5084000,0,0,0,11600000,0,0,0,1,0,0,0,0,5415000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(794,'2025-04-25 21:27:30',791,0,0,0,672300,0,5342300,5342300,70,2115,0,2,0,7192000,0,0,0,4670000,0,0,0,1,0,0,0,0,7864300,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(795,'2025-04-26 18:00:53',792,0,0,0,516200,0,2530200,2530200,122,1964,0,2,0,4690000,0,0,0,2014000,0,26000,0,1,0,0,0,0,5180200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(796,'2025-04-28 18:15:53',793,0,0,0,16100,0,5886100,5886100,29,2115,0,2,0,5910000,0,0,0,5870000,0,18950,0,1,0,0,0,0,5907150,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(797,'2025-04-29 18:08:23',794,0,0,0,589000,0,2991000,2991000,52,2115,0,2,0,5102000,0,0,0,2402000,0,14250,0,1,0,0,0,0,5676750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(798,'2025-04-30 17:40:51',795,0,0,0,314400,0,2318400,2318400,123,1964,31000,2,0,2966000,0,0,0,2004000,0,0,0,1,0,0,0,0,3249400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(799,'2025-05-02 21:13:24',796,0,0,0,180000,0,900000,900000,4,1964,0,2,0,5930000,0,0,0,720000,0,0,0,1,0,0,0,0,6110000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(800,'2025-05-03 17:55:19',797,0,0,0,400000,0,2390000,2390000,8,2115,0,2,0,1130000,0,0,0,1990000,0,0,0,1,0,0,0,0,1530000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(801,'2025-05-05 18:03:49',798,0,0,0,720000,0,2710000,2710000,9,2115,0,2,0,2370000,0,0,0,1990000,0,0,0,1,0,0,0,0,3090000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(802,'2025-05-06 18:16:22',799,0,0,0,0,0,5630000,5630000,11,2115,0,2,0,2690000,0,0,0,5630000,0,11000,0,1,0,0,0,0,2679000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(803,'2025-05-07 18:50:10',800,0,0,0,49500,0,3689500,3689500,129,2115,0,2,0,6576000,0,0,0,3640000,0,0,0,1,0,0,0,0,6625500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(804,'2025-05-08 21:16:39',801,0,0,0,5300,0,8665300,8665300,28,1964,0,2,0,4070000,0,0,0,8660000,0,28550,0,1,0,0,0,0,4046750,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(805,'2025-05-09 21:35:14',802,0,0,0,62000,0,3702000,3702000,13,2115,0,2,0,2986000,0,0,0,3640000,0,55750,0,1,0,0,0,0,2992250,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(806,'2025-05-10 17:40:54',803,0,0,0,92900,0,2212900,2212900,37,1964,0,2,0,1550000,0,0,0,2120000,0,129850,0,1,0,0,0,0,1513050,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(807,'2025-05-12 17:38:17',804,0,0,0,377500,0,4867500,4867500,28,1964,0,2,0,1130000,0,0,0,4490000,0,0,0,1,0,0,0,0,1507500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(808,'2025-05-13 17:54:25',805,0,0,0,436000,0,7336000,7336000,67,1964,0,2,0,1390000,0,0,0,6900000,0,0,0,1,0,0,0,0,1826000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(809,'2025-05-15 21:09:18',806,0,0,0,802900,0,14872900,14872900,65,1964,0,2,0,6955000,0,0,0,14070000,0,50000,0,1,0,0,0,0,7707900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(810,'2025-05-16 20:51:40',807,0,0,0,120000,0,2430000,2430000,10,1964,0,2,0,3670000,0,0,0,2310000,0,0,0,1,0,0,0,0,3790000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(811,'2025-05-17 18:07:37',808,0,0,0,8400,0,4778400,4778400,27,2115,0,2,0,3940000,0,0,0,4770000,0,0,0,1,0,0,0,0,3948400,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(812,'2025-05-19 18:16:56',809,0,0,0,272000,0,2472000,2472000,10,1964,0,2,0,2750000,0,0,0,2200000,0,116904,0,1,0,0,0,0,2905096,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(813,'2025-05-20 18:18:03',810,0,0,0,651000,0,6661000,6661000,33,1964,0,2,0,3440000,0,0,0,6010000,0,0,0,1,0,0,0,0,4091000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(814,'2025-05-21 18:26:19',811,0,0,0,6500,0,6500,6500,13,1964,0,2,0,2990000,0,0,0,0,0,0,0,1,0,0,0,0,2996500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(815,'2025-05-22 22:02:42',812,0,0,0,530800,0,1800800,1800800,30,2115,190000,2,0,6094000,0,0,0,1270000,0,41750,0,1,0,0,0,0,6393050,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(816,'2025-05-23 20:58:44',813,0,0,0,315200,0,2145200,2145200,21,2115,0,2,0,4965000,0,0,0,1830000,0,21500,0,1,0,0,0,0,5258700,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(817,'2025-05-24 17:35:44',814,0,0,0,412200,0,412200,412200,6,1964,0,2,0,4365000,0,0,0,0,0,0,0,1,0,0,0,0,4777200,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(818,'2025-05-26 17:42:47',815,0,0,0,750000,0,2020000,2020000,5,2115,0,2,0,4569000,0,0,0,1270000,0,0,0,1,0,0,0,0,5319000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(819,'2025-05-27 18:12:31',816,0,0,0,983000,0,3353000,3353000,39,1964,1490000,2,0,2840000,0,0,0,2370000,0,0,0,1,0,0,0,0,2333000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(820,'2025-05-28 17:58:35',817,0,0,0,335900,0,335900,335900,12,1964,0,2,0,2050000,0,0,0,0,0,0,0,1,0,0,0,0,2385900,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(821,'2025-05-29 21:24:03',818,0,0,0,454200,0,3924200,3924200,40,1964,0,2,0,4726000,0,0,0,3470000,0,22200,0,1,0,0,0,0,5158000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(822,'2025-05-30 21:16:52',819,0,0,0,1203500,0,2943500,2943500,41,1964,0,2,0,3430000,0,0,0,1740000,0,16500,0,1,0,0,0,0,4617000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(823,'2025-05-31 18:22:50',820,0,0,0,1559900,0,2829900,2829900,26,2115,0,2,0,3485000,0,0,0,1270000,0,67400,0,1,0,0,0,0,4977500,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(824,'2025-06-03 21:34:24',821,0,0,0,370000,0,1640000,1640000,3,2115,0,2,0,1044000,0,0,0,1270000,0,0,0,1,0,0,0,0,1414000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0);

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

CREATE TABLE `zonas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `zona` varchar(25) DEFAULT NULL,
  `cc` bigint(20) unsigned NOT NULL,
  `orden` int(1) DEFAULT 0,
  `oculto` int(1) DEFAULT 0,
  `COD_SATELITEZ` varchar(25) DEFAULT 'SELECCIONE',
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `idusuario` int(11) DEFAULT 0,
  `eshotel` int(1) DEFAULT 0,
  `activo` tinyint(3) unsigned DEFAULT 1,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

INSERT INTO `zonas` (`id`, `zona`, `cc`, `orden`, `oculto`, `COD_SATELITEZ`, `pv`, `idusuario`, `eshotel`, `activo`) VALUES (1,'ZONA MANICURA Y PEDICURA',2,1,0,'SELECCIONE','extremabelleza',0,0,1),(2,'ZONA MANICURE',2,2,0,'SELECCIONE','extremabelleza',0,0,1),(3,'ZONA PELUQUERIA',2,3,0,'SELECCIONE','extremabelleza',0,0,1),(4,'CURSOS Y CARRERAS',2,4,0,'SELECCIONE','extremabelleza',0,0,1),(5,'EXTREMA BELLEZA 2',2,5,1,'SELECCIONE','extremabelleza',0,0,1);

--
-- Table structure for table `zonasclientes`
--

CREATE TABLE `zonasclientes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `codigozona` varchar(10) DEFAULT NULL,
  `nombrezona` varchar(25) DEFAULT NULL,
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `zonasclientes`
--


--
-- Table structure for table `zonashabitaciones`
--

CREATE TABLE `zonashabitaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `zona` varchar(25) DEFAULT NULL,
  `cc` bigint(20) unsigned NOT NULL,
  `orden` int(1) DEFAULT 0,
  `oculto` int(1) DEFAULT 0,
  `COD_SATELITEZ` varchar(25) DEFAULT 'SELECCIONE',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `zonashabitaciones`
--


--
-- Dumping routines for database 'control2_extremabelleza'
--
/*!50003 DROP FUNCTION IF EXISTS `biscaridfactura` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `biscaridfactura`(`consecutivoin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select id from facturas where consecutivo=consecutivoin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `biscarnombrecc` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `biscarnombrecc`(`ccin` INT(11)) RETURNS varchar(110) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P VARCHAR(110);
SET P=(select centrodecostos from centrosdecostos where id=ccin);
RETURN ifnull(P,'DESCONOCIDO');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `bucarnombredeltercero` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `bucarnombredeltercero`(`idin` INT(11)) RETURNS varchar(110) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN DECLARE P varchar(110); SET P=(select if(tipodepersona=2,concat(ifnull(primernombre,''),' ',ifnull(segundonombre,''),' ',ifnull(primerapellido,''),' ',ifnull(segundoapellido,'')),concat(ifnull(razonsocial,''),' ',ifnull(nombrecomercial,''))) from clientes where id=idin); RETURN ifnull(P,'DESCONOCIDO'); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscadescripcionporrefcruzada` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_lapoderosa1`@`%.%.%.%` FUNCTION `buscadescripcionporrefcruzada`(`refin` INT(11)) RETURNS varchar(50) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN declare a varchar(50); set a=(select descripcion from articulos where referenciacruzada=refin); return ifnull(a,'ERROR EN REFERENCIA CRUZADA'); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarabonos` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_nissi`@`%.%.%.%` FUNCTION `buscarabonos`(`idfacturain` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P INT(11); DECLARE Q INT(11);
SET P=(select sum(valor) from abonos where idfactura=idfacturain and nc=0);
SET Q=(select sum(valor) from abonosexternos where idfactura=idfacturain and nc=0);
set P= ifnull(P,0);set Q= ifnull(Q,0);
RETURN ifnull(P+Q,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarabonosencompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarabonosencompras`(`idfacturain` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P double; SET P=(select sum(valor) from abonoscompras where idmayorcompras=idfacturain); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarabonosenseparados` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_distrito`@`%.%.%.%` FUNCTION `buscarabonosenseparados`(`idfacturain` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P double; SET P=(select sum(valor) from abonosseparados where idmayorseparados=idfacturain and nc=0 and idgasto=0); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarajustesproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarajustesproducto`(`idin` INT(11), `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from ajustesdeinventario where idarticulo=idin and cast(fechacreacion as date) BETWEEN fecha1 and fecha2);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarbajasproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarbajasproducto`(`idin` INT(11), `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from bajas where idarticulo=idin and cast(fecha as date)  BETWEEN fecha1 and fecha2);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarbarriotercero` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarbarriotercero`(`idin` INT(11)) RETURNS varchar(110) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P varchar(110);
SET P=(select barrio from clientes where id=idin);
RETURN ifnull(P,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcajaenfactura` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcajaenfactura`(`consecutivoin` INT(11), `ccin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P INT(11); SET P=(select idcaja from facturas where consecutivo=consecutivoin and cc=ccin limit 1); RETURN ifnull(P,1); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcantidaddeldia` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcantidaddeldia`(`idarticuloin` INT(11), `fechain` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P DOUBLE;
SET P=(select AVG(cantidad) from inventarioinicial where idarticulo=idarticuloin and cast(fechacracion as date)=fechain);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcantidadennotasdebito` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcantidadennotasdebito`(`idarticuloin` INT(11), `idmayorin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(11);
set P=(select sum(cantidad) from lineasnotasdebito where idmayor=idmayorin and idarticulo=idarticuloin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarccdelarticulo` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarccdelarticulo`(`idin` INT(4)) RETURNS int(4)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(4);
SET P=(select cc from articulos where id=idin);
RETURN ifnull(P,-1);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarceduladeltercero` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarceduladeltercero`(`idin` INT(11)) RETURNS varchar(110) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P varchar(20);
SET P=(select ifnull(cedula,'') from clientes where id=idin);
RETURN ifnull(P,'DESCONOCIDO');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarclientedelamesa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarclientedelamesa`(`idmesain` INT(11)) RETURNS varchar(50) CHARSET latin1 COLLATE latin1_swedish_ci
BEGIN declare rs varchar(50); set rs=(select idcliente from ventasauxiliar where idmesa=idmesain limit 1); set rs=ifnull(rs,1); if rs>1 THEN set rs=bucarnombredeltercero(rs); ELSE set rs=''; end if; if rs='CLIENTES VARIOS' then set rs='';end if; return rs; end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcodigoformapago` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcodigoformapago`(`forma` VARCHAR(100)) RETURNS int(11)
    SQL SECURITY INVOKER
begin 
declare rs int(11);
set rs=(select orden from mediosdepago where mediodepago=forma);
return ifnull(rs,-1);
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcodsituacion` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcodsituacion`(`idarticuloin` INT(11)) RETURNS varchar(100) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
declare rs varchar(150);
set rs=(select situacioncocina from articulos where id=idarticuloin);
return ifnull(rs,'Situacion indefinida');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcomprasporproductomesyano` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcomprasporproductomesyano`(`idin` INT(11), `mesin` INT(2), `anoin` INT(4)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from compras where idarticulo=idin and
       month(fecha)=mesin and year(fecha)=anoin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcomprasproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcomprasproducto`(`idin` INT(11), `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad*factor) from compras where idarticulo=idin and cast(fecha as date)  BETWEEN fecha1 and fecha2);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarconsumosproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarconsumosproducto`(`idin` INT(11), `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(SELECT sum(movimientosdeinventario.cantidad)  from movimientosdeinventario where 
        idarticulo=idin and  cast(fechacreacion as date) between '' and '' 
         and (ventana='VENTAS' or ventana='CORTESIAS' OR ventana='DEVOLUCIONES'));
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarconteoproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarconteoproducto`(`idin` INT(11), `fecha1` DATE) RETURNS varchar(11) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P VARCHAR(11);
SET P=(select cantidad from inventarioinicial,mayoresinventarioinicial where idarticulo=idin and fecha=fecha1 and idmayor=mayoresinventarioinicial.id);
RETURN ifnull(P,'NA');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcostomedio` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcostomedio`(`idarticulo` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P double; SET P=(select costomedio from articulos where id=idarticulo); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcreditosdeldia` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcreditosdeldia`(`ccin` INT(4), `fechain` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(
    select sum(facturas.total) from facturas 
       where cc=ccin and cast(fecha as date)=fechain and documento='C');
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcuentacompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcuentacompras`(`idin` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    NO SQL
    SQL SECURITY INVOKER
BEGIN
declare a varchar(25);
set a=(select articulos.cuentacompras from articulos where id=idin);
return ifnull(a,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcuentacosto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcuentacosto`(`idin` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    NO SQL
    SQL SECURITY INVOKER
BEGIN
declare a varchar(25);
set a=(select articulos.cuentacosto from articulos where id=idin);
return ifnull(a,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarcuentaventa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarcuentaventa`(`idin` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    NO SQL
    SQL SECURITY INVOKER
BEGIN
declare a varchar(25);
set a=(select articulos.cuentaventa from articulos where id=idin);
return ifnull(a,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscardescripcion` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_nissi`@`%.%.%.%` FUNCTION `buscardescripcion`(`idin` INT(11)) RETURNS varchar(150) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P varchar(150);
SET P=(select ifnull(descripcion,'') from articulos where id=idin );
RETURN ifnull(P,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscardescuendoespecial` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscardescuendoespecial`(`lineain` VARCHAR(50), `idgrupoin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN declare r double; set r=(select porcentaje from descuentosporgrupo where linea=lineain and idgrupo=idgrupoin); return ifnull(r,0); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscardescuentoporfecha` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscardescuentoporfecha`(`idarticuloin` INT(11), `horain` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
declare rs int(11);
set rs=(select porcentaje from porcentajesdescuentoarticulos,fechasdescuentos where fechasdescuentos.id=porcentajesdescuentoarticulos.idfecha and idarticulo=idarticuloin and fechasdescuentos.fecha=horain limit 1);
return ifnull(rs,0);
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscardiadelasemana` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscardiadelasemana`(`fechain` DATETIME) RETURNS varchar(25) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN
declare a varchar(25);declare b int(1);
set a='';

set b=(select DAYOFWEEK(fechain));
if b=2 then set a='Lunes'; 
elseif b=3 then set a='Martes' ;
elseif b=4 then set a='Miércoles'; 
elseif b=5 then set a='Jueves' ;
elseif b=6 then set a='Viernes';
elseif b=7 then set a='Sábado';
elseif b=1 then set a='Domingo'; 
end if;
return a;
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscardirecciontercero` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscardirecciontercero`(`idin` INT(11)) RETURNS varchar(110) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P varchar(110);
SET P=(select direccion from clientes where id=idin);
RETURN ifnull(P,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarfactor` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `buscarfactor`(`idin` INT(11)) RETURNS int(5)
    SQL SECURITY INVOKER
BEGIN declare rs int(5); set rs=(select factor from unidadesdemedida where id=idin); return ifnull(rs,1); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarfechadefactura` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarfechadefactura`(`consecutivoin` INT(11)) RETURNS date
    SQL SECURITY INVOKER
BEGIN
DECLARE P DATE;
SET P=(select cast(fecha as date) from ventas where consecutivo=consecutivoin LIMIT 1);
RETURN ifnull(P,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarfisicoproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarfisicoproducto`(`idin` INT(11), `fecha1` DATE) RETURNS varchar(11) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P VARCHAR(11);
SET P=(select fisico from inventarioinicial,mayoresinventarioinicial where idarticulo=idin and fecha=fecha1 and idmayor=mayoresinventarioinicial.id);
RETURN ifnull(P,'NA');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscaridclientedelamesa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscaridclientedelamesa`(`idmesain` INT(11), `id99` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE rs int(1); set rs=(select idcliente from ventasauxiliar where idmesa=idmesain limit 1);
return ifnull(rs,id99); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscaridmeseroactual` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscaridmeseroactual`(`idmesain` INT(11), `id99` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE rs int(11); set rs=(select idvendedor  from ventasauxiliar where idmesa=idmesain limit 1); return ifnull(rs,id99); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscaridporrefcruzada` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_lapoderosa1`@`%.%.%.%` FUNCTION `buscaridporrefcruzada`(`refin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN declare a int(11); set a=(select id from articulos where referenciacruzada=refin); return ifnull(a,0); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscaridseccion` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscaridseccion`(`seccionin` VARCHAR(50)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P int(11); SET P=(select ifnull(id,0) from secciones where seccion=seccionin); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscaridunicodecliente` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscaridunicodecliente`(`nombrein` VARCHAR(100)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select id from clientes where primernombre=nombrein);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscaridunidad` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscaridunidad`(`unidadin` VARCHAR(50), `ccin` INT(1)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P int(11); SET P=(select ifnull(id,1) from unidadesdemedida where unidaddemedida=unidadin and cc=ccin); RETURN ifnull(P,1); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarimpresora` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarimpresora`(`situacionin` VARCHAR(100)) RETURNS varchar(105) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
declare rs varchar(150);
set rs=(select nombreimpresora from situacionesdecocina where situacioncocina=situacionin);
return ifnull(rs,'Situacion indefinida');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarinventariodeinsumos` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarinventariodeinsumos`(`idarticuloin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE q int(11);
SET q=(select tienecomposicion from articulos where id=idarticuloin);
if(q=0) THEN  
set q=(select cantidad from articulos where id=idarticuloin);
ELSE 
SET q=(select min(cantidad) from articulos where id in(select idinsumo from componentesarticulos where idarticulo=idarticuloin));
END IF;
RETURN ifnull(q,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarlineadelarticulo` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarlineadelarticulo`(`idarticuloin` INT(11)) RETURNS varchar(100) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN DECLARE rs varchar(100); 
set rs=(select linea  from articulos where id=idarticuloin ); return ifnull(rs,''); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarmediodepago` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarmediodepago`(`idin` INT) RETURNS varchar(15) CHARSET latin1 COLLATE latin1_swedish_ci
    NO SQL
BEGIN
declare a varchar(15);
declare b int(1);
set b=(select count(id) from registrosmediosdepago where idfactura=idin);
       if b>1 then 
       set a='VARIOS';
       ELSE
       set a=(select mediodepago from registrosmediosdepago where idfactura=idin);
       end if;
       return a;
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnombrecc` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnombrecc`(`ccin` INT(11)) RETURNS varchar(110) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P VARCHAR(110);
SET P=(select centrodecostos from centrosdecostos where id=ccin);
RETURN ifnull(P,'DESCONOCIDO');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnombreclientedelamesa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnombreclientedelamesa`(`idmesain` INT(11)) RETURNS varchar(100) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE rs varchar(100);
set rs=(select bucarnombredeltercero(idcliente) from ventasauxiliar where idmesa=idmesain limit 1);
return ifnull(rs,'');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnombredelamesa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnombredelamesa`(`idin` INT(5)) RETURNS varchar(50) CHARSET latin1 COLLATE latin1_swedish_ci
    NO SQL
BEGIN
declare a varchar(50);
set a=(select nombre from mesas where id=idin);
return ifnull(a,' '); 
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnombredelamesadividida` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnombredelamesadividida`(`idmesain` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
declare a varchar(25);
set a=(select mesas.nombre from mesas, ventasauxiliar where ventasauxiliar.idmesarelacionada=mesas.id and ventasauxiliar.idmesa=idmesain limit 1);
RETURN ifnull(a,'');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnombredelarticulo` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnombredelarticulo`(`idin` INT(11)) RETURNS varchar(400) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
    SQL SECURITY INVOKER
BEGIN DECLARE P varchar(400); SET P=(select descripcion from articulos where id=idin); RETURN ifnull(P,''); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnotassencompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnotassencompras`(`idmayorin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P int(11); SET P=(select sum(valortotal) from notasdebito where idmayorescompras=idmayorin); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnumlinea` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnumlinea`(`identif` VARCHAR(50), `esmodifin` INT(1)) RETURNS int(2)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(2);
if  esmodifin=0 then 
SET P=(select 1+max(numlinea) from ventasauxiliar where idmesa=identif and esmodif=0);
else 
SET P=(select max(numlinea) from ventasauxiliar where idmesa=identif and esmodif=0);
end if;
RETURN ifnull(P,1);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnumlineaporcliente` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnumlineaporcliente`(`idclientein` VARCHAR(50), `esmodifin` INT(1)) RETURNS int(2)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(2);
if  esmodifin=0 then 
SET P=(select 1+max(numlinea) from ventasauxiliar where idcliente=idclientein);
else 
SET P=(select max(numlinea) from ventasauxiliar where idcliente=idclientein and esmodif=0);
end if;
RETURN ifnull(P,1);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarnumlineatomapedidos` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarnumlineatomapedidos`(`identif` VARCHAR(50), `esmodifin` INT(1)) RETURNS int(2)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(2);
if  esmodifin=0 then 
SET P=(select 1+max(numlinea) from ventasauxiliar where identificador=identif and esmodif=0);
else 
SET P=(select max(numlinea) from ventasauxiliar where identificador=identif and esmodif=0);
end if;
RETURN ifnull(P,1);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarordendia` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarordendia`(`a` VARCHAR(10)) RETURNS int(1)
    SQL SECURITY INVOKER
BEGIN
declare b int(1);
set b=0;


if a='Lunes' then set b=1; 
elseif  a='Martes'  then set b=2;
elseif  a='Miércoles' then set b=3;
elseif   a='Jueves'  then set b=4;
elseif  a='Viernes' then set b=5;
elseif  a='Sábado' then set b=6;
elseif   a='Domingo' then set b=7;
end if;
return b;
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarporcentaje` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarporcentaje`(`ccin` INT(11), `idarticuloin` INT(11), `idclientein` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
if ccin=9 then return 15; end if;
SET P=(select preciosespeciales.porcentaje from preciosespeciales,articulos where idcliente=idclientein and articulos.id=idarticuloin and articulos.linea=preciosespeciales.linea);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarporcentajeporgrupo` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarporcentajeporgrupo`(`ccin` INT(4), `idclientein` INT(11), `idarticuloin` INT(11)) RETURNS int(3)
    SQL SECURITY INVOKER
BEGIN DECLARE P INT(11); SET P=(select descuentosporgrupo.porcentaje from descuentosporgrupo,articulos,clientes,gruposdepersonas where clientes.id=idclientein and articulos.id=idarticuloin and articulos.linea=descuentosporgrupo.linea and clientes.idgrupo=gruposdepersonas.id and descuentosporgrupo.idgrupo=gruposdepersonas.id); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarpreciodeventa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarpreciodeventa`(`idin` INT) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select preciodeventa from paraventas where id=idin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarprecioiva` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarprecioiva`(`numlineain` INT(11), `idfacturain` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
declare rs double;
set rs=(select sum(valortotal) from ventas where idfactura=idfacturain and numlinea=numlineain );
return ifnull(rs,0);
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarpreciomaximo` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarpreciomaximo`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P DOUBLE;
SET P=(select MAX(valorgramo) from compras where idarticulo=idin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarpreciominimo` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarpreciominimo`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P DOUBLE;
    SET P=(select MIN(valorgramo) from compras where idarticulo=idin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarpreciopromedio` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarpreciopromedio`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select AVG(valorgramo) from compras where idarticulo=idin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarrecibe` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarrecibe`(`idin` INT(11)) RETURNS varchar(200) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P VARCHAR(200);
SET P=(select recibe from paraventas where id=idin);
RETURN ifnull(P,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarreferencia` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarreferencia`(`idarticuloin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P INT(11); SET P=(select referencia from articulos where id=idarticuloin ); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelafactura` */;
DELIMITER ;;
CREATE DEFINER=`control2_extremabelleza`@`vmi1374297.contaboserver.net` FUNCTION `buscarsaldodelafactura`(`idfacturain` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P INT(11); DECLARE aabonado INT(11); declare doc varchar(1); set doc=(select documento from facturas where id=idfacturain); if(doc='V') then RETURN 0; ELSE set aabonado=(select abonado from facturas where id=idfacturain); if aabonado>0 then set P= 0; else SET P=(select total  -retencion+servicio -buscarabonos(idfacturain) -valornc from facturas where id=idfacturain); end if; RETURN ifnull(P,0); END IF; END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelamayor` */;
DELIMITER ;;
CREATE DEFINER=`control2_extremabelleza`@`vmi1374297.contaboserver.net` FUNCTION `buscarsaldodelamayor`(`idmayorin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P double; declare notas int(11); DECLARE aabonado double; declare doc varchar(7); set notas=buscarnotassencompras(idmayorin); set doc=(select documento from mayorescompras where id=idmayorin); if(doc='CONTADO') then RETURN 0; ELSE SET P=(select base+iva-descuento - otrosdescuentos -buscarabonosencompras(idmayorin) - descuentocomercial from mayorescompras where id=idmayorin); SET P=P-notas; RETURN ifnull(P,0); END IF; END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelamayorseparados` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_nissi`@`%.%.%.%` FUNCTION `buscarsaldodelamayorseparados`(`idmayorin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P double; DECLARE aabonado double; SET P=(select total -buscarabonosenseparados(idmayorin) from mayoresseparados where id=idmayorin); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelcliente` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarsaldodelcliente`(`idclientein` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE P FLOAT(11); DECLARE Q FLOAT(11); DECLARE S FLOAT(11); SET P=(select sum(saldo) from facturas where idcliente=idclientein and documento='C' and abonado=0); set P=ifnull(P,0); set Q=(select sum(saldo) from mayoresseparados where idcliente=idclientein and abonado=0); set Q=ifnull(Q,0); set S=(select sum(saldo) from prestamos where idcliente=idclientein); set S=ifnull(S,0); RETURN ROUND(p+q+S,2); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelprestamo` */;
DELIMITER ;;
CREATE DEFINER=`control2_extremabelleza`@`%.%.%.%` FUNCTION `buscarsaldodelprestamo`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
    declare a double;
    set a=(select sum(valor) from abonosprestamos  where idprestamo=idin);
    set a=ifnull(a,0);
    return (select plazo*valorcuota+valorcuotainicial-a from prestamos where id=idin);
    end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelprestamoin` */;
DELIMITER ;;
CREATE DEFINER=`control2_extremabelleza`@`vmi1374297.contaboserver.net` FUNCTION `buscarsaldodelprestamoin`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
     declare a double;
     set a=(select sum(valor) from abonosprestamosin  where idprestamo=idin);
     set a=ifnull(a,0);
     return (select valor-a from prestamosalaempresa where id=idin);
     end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarsaldodelproveedor` */;
DELIMITER ;;
CREATE DEFINER=`control2_extremabelleza`@`%.%.%.%` FUNCTION `buscarsaldodelproveedor`(`idclientein` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
begin DECLARE P INT(11); DECLARE Q INT(11);  DECLARE prestamos INT(11); 
SET prestamos=(select sum(saldo) from prestamosalaempresa where idcliente=idclientein);
SET P=(select sum(valor-descuento) from mayorescompras where idproveedor=idclientein and documento='CREDITO');
SET Q=(select sum(abonoscompras.valor) from abonoscompras,mayorescompras where mayorescompras.idproveedor=idclientein and abonoscompras.idmayorcompras=mayorescompras.id);
set prestamos=ifnull(prestamos,0); set P=ifnull(P,0); 
set Q=ifnull(Q,0); 
RETURN P+prestamos-Q; END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarseccion` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `buscarseccion`(`idin` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE a varchar(25);
set a=(select ifnull(secciones.seccion,'DESCONOCIDO') from articulos,secciones where articulos.id=idin and idseccion=secciones.id);
return ifnull(a,'DESCONOCIDO');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscartelefonotercero` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscartelefonotercero`(`idin` INT(11)) RETURNS varchar(110) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE P varchar(110);
SET P=(select concat(ifnull(telefono,''),' ',ifnull(celular,'')) from clientes where id=idin);
RETURN ifnull(P,'');
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscartrasladosabodega` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscartrasladosabodega`(`idin` INT(11), `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from traslados where idarticulo=idin and cast(fechacreacion as date) BETWEEN fecha1 and fecha2 and origen<>'MESAS');
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscartrasladosproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscartrasladosproducto`(`idin` INT(11), `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from traslados where idarticulo=idin and cast(fechacreacion as date) BETWEEN fecha1 and fecha2);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarultimaventa` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `buscarultimaventa`(`idin` INT(11)) RETURNS date
    SQL SECURITY INVOKER
BEGIN
        DECLARE P DATE;
        SET P=(select cast(fechacreacion as date) from ventas where idarticulo=idin order by id desc limit 1); 
        return ifnull(P,'');
        END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarultimoabonodecompras` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_planchaarepa`@`%.%.%.%` FUNCTION `buscarultimoabonodecompras`(`idclientein` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
declare rs varchar(25);
set rs=(select max(abonoscompras.fechacreacion) from abonoscompras,mayorescompras where idmayorcompras=mayorescompras.id and mayorescompras.idproveedor=idclientein  );
return ifnull(rs,'SIN ABONOS');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarunidaddemedida` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarunidaddemedida`(`idin` INT(11)) RETURNS varchar(50) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN declare rs varchar(50); set rs=(select unidaddemedida from unidadesdemedida where id=idin); return ifnull(rs,'DESCONOCIDO'); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarvalordelamesa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarvalordelamesa`(`idmesain` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN DECLARE rs double; set rs=(select sum(valortotal) from ventasauxiliar where idmesa=idmesain); return ifnull(rs,0); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarvalordelanotadebito` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarvalordelanotadebito`(`idndin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN DECLARE P int(11); SET P=(select valortotal from notasdebito where id=idndin); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarventasdelusuario` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarventasdelusuario`(`idin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(11);
SET P=(select ifnull(sum(total),0) from facturas where idvendedor =idin and cast(fechacreacion as date)=cast(now()as date) and abonado=0 );
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarventasporproductoyvendedor` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarventasporproductoyvendedor`(`idvendedorin` INT(11), `idarticuloin` INT(11), `mesin` INT(2)) RETURNS int(11)
    SQL SECURITY INVOKER
begin
declare a int(11);
set a=(select sum(cantidad) from ventas where nc=0 and abonado=0 and idvendedor=idvendedorin and idarticulo=idarticuloin and year(fechacreacion)=year(now()) and month(fechacreacion)=mesin);
return ifnull(a,0);
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarventasproducto` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarventasproducto`(`idin` INT, `fecha1` DATE, `fecha2` DATE) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from ventas where idarticulo=idin and fechacreacion BETWEEN fecha1 and fecha2);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarventasproductoanoymes` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `buscarventasproductoanoymes`(`idin` INT(11), `mesin` INT(2), `anoin` INT(4)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(cantidad) from ventas where idarticulo=idin and month(fechacreacion)=mesin and year(fechacreacion)=anoin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `buscarzona` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_distrito`@`%.%.%.%` FUNCTION `buscarzona`(`idin` INT(11)) RETURNS varchar(25) CHARSET latin1 COLLATE latin1_swedish_ci
    SQL SECURITY INVOKER
BEGIN
DECLARE a varchar(25);
set a=(select ifnull(zona,'DESCONOCIDO') from zonas,mesas where zonas.id=mesas.idzona and mesas.id=idin);
return ifnull(a,'DESCONOCIDO');
end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `calcularcostodelafactura` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `calcularcostodelafactura`(`idfacturain` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P DOUBLE;
SET P=(select sum(cantidad*costomedio)  from ventas where idfactura=idfacturain);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `calcularcostopomedio` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `calcularcostopomedio`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
begin
declare a double;
declare b double;
declare c double;
declare d double;
declare e double;
declare f double;
set d=(select valorgramo from compras where idarticulo=idin order by id desc limit 1);
set e=(select costomedio from articulos where id=idin);
set f=(select ultimocoste from articulos where id=idin);
set d=ifnull(d,0);
set a=(SELECT sum(cantidad*factor) from compras where  
idarticulo=idin and month(fecha)=month(now()) and year(fecha)=year(now()));
       set b=(SELECT sum(valortotal) from compras where  
idarticulo=idin and month(fecha)=month(now()) and year(fecha)=year(now()));
       set a=ifnull(a,1);
       set b=ifnull(b,0);
set c=  (b*1.0/a*1.0);
if c= 0 then set c=d; end if;
if c= 0 and e>0 then set c=e; end if;
if c= 0 and f>0 then set c=f; end if;
return c;
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `calcularcostoseguningredientes` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `calcularcostoseguningredientes`(`idarticuloin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P double;
SET P=(select sum(articulos.costomedio*componentesarticulos.cantidad) 
from articulos,componentesarticulos where articulos.id=idinsumo and idarticulo=idarticuloin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `calcular_disponibilidad` */;
DELIMITER ;;
CREATE DEFINER=`control2_extremabelleza`@`vmi1374297.contaboserver.net` FUNCTION `calcular_disponibilidad`(idarticuloin INT) RETURNS double
BEGIN
    DECLARE vtienecomposicion INT;
    DECLARE compromiso INT;
    DECLARE cantidadactual DOUBLE;

    -- Obtener si el artículo tiene composición
    SELECT tienecomposicion INTO vtienecomposicion
    FROM articulos
    WHERE id = idarticuloin;

    -- Calcular el compromiso
    SELECT IFNULL(SUM(factor * cantidad), 0) INTO compromiso
    FROM ventasauxiliar
    WHERE idarticulo = idarticuloin;

    -- Calcular la cantidad actual
    IF vtienecomposicion < 1 THEN
        SELECT cantidad INTO cantidadactual
        FROM articulos
        WHERE id = idarticuloin;
    ELSE
        SELECT  MIN(a2.cantidad / c.cantidad) INTO cantidadactual FROM articulos a1 LEFT JOIN componentesarticulos c ON a1.id = c.idarticulo LEFT JOIN articulos a2 ON c.idinsumo = a2.id WHERE c.cantidad>0 and a1.id = idarticuloin;
    END IF;

    -- Calcular el compromiso actual
   
        RETURN  cantidadactual- compromiso;
    
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `cantidaddecompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `cantidaddecompras`(`idin` INT(11)) RETURNS int(4)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(4);
SET P=(select count(id) from compras where idarticulo=idin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `comisionporclientes` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `comisionporclientes`(`idarticulo` INT(11), `idclientein` INT(11)) RETURNS int(6)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(6);
DECLARE q varchar(50);
SET q=(select grupo from clientes  where id=idclientein);
if(q='ENTRENADORES') THEN  
SET P=(select comision from articulos where id=idarticulo);
ELSE 
SET P=(select (-valordistribuidor+valordeventa)/2 from articulos where id=idarticulo);
END IF;
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `comisionpreciopublico` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `comisionpreciopublico`(`idarticulo` INT(11)) RETURNS int(6)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(6);
SET P=(select (-valordistribuidor+valordeventa)/2 from articulos where id=idarticulo);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `contararticulosenlamesa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `contararticulosenlamesa`(`idarticuloin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(4);
SET P=(select sum(cantidad) from ventasauxiliar where idarticulo=idarticuloin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `contarlineasdelamesa` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `contarlineasdelamesa`(`idin` INT(11)) RETURNS int(3)
    SQL SECURITY INVOKER
BEGIN DECLARE P int(11); declare notas int(11); set notas=(select count(id) from ventasauxiliar where idmesa=idin);RETURN ifnull(notas,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `contarlineasdemayorescompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `contarlineasdemayorescompras`(`idmayorin` INT(11)) RETURNS int(3)
    SQL SECURITY INVOKER
BEGIN DECLARE P double; SET P=(select count(id) from compras where idmayor=idmayorin); RETURN ifnull(P,0); END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `contarlineasenventa` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `contarlineasenventa`(`idin` INT(11)) RETURNS int(3)
    NO SQL
    SQL SECURITY INVOKER
begin declare a int(3); set a=(select count(id) from ventas where idfactura=idin and abonado=0 and nc=0 and esmodif=0); return ifnull(a,0); end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `contarventasanuladas` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `contarventasanuladas`(`idarticuloin` INT(11), `idzin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(11);
set P=(select sum(cantidad) from ventas where idz=idzin and idarticulo=idarticuloin and abonado=1);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `contarventasbrutas` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `contarventasbrutas`(`idarticuloin` INT(11), `idzin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(11);
set P=(select sum(cantidad) from ventas where idz=idzin and idarticulo=idarticuloin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `desvestcompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `desvestcompras`(`idin` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P double;
DECLARE q double;
SET q=(select buscarpreciopromedio(idin));
SET P=(select sum((valorgramo-q)*(valorgramo-q)) from compras where idarticulo=idin);
RETURN ifnull(SQRT(P),0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `esfestivo` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_extremabelleza`@`%.%.%.%` FUNCTION `esfestivo`(`fechain` DATE) RETURNS int(1)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select id from festivos where fecha=fechain);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `espadre` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `espadre`(`idarticuloin` INT(11), `idinsumoin` INT(11), `idusuarioin` INT(11)) RETURNS int(1)
    SQL SECURITY INVOKER
BEGIN
declare idarticuloactual int(11);
delete from auxiliarbuscarpadre where idusuario=idusuarioin;
if idarticuloin=idinsumoin then 
return 1;
end if;
insert into auxiliarbuscarpadre(idusuario,a)
select idusuarioin,idarticulo  from componentesarticulos where idinsumo=idarticuloin;
while (select count(a) from auxiliarbuscarpadre where idusuario=idusuarioin)>0 do 
set idarticuloactual=(select a from auxiliarbuscarpadre where idusuario=idusuarioin limit 1);

if(idarticuloactual=idinsumoin)then return 1;end if;
insert into auxiliarbuscarpadre(idusuario,a)
select idusuarioin,idarticulo from componentesarticulos where idinsumo=idarticuloactual;
delete from auxiliarbuscarpadre  where a=idarticuloactual;
end while;
RETURN 0;
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `facturatienemodificadores` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_vitanatural`@`%.%.%.%` FUNCTION `facturatienemodificadores`(`idin` INT(11)) RETURNS int(1)
    SQL SECURITY INVOKER
begin declare a int(3);declare b int(1); 
set b=0;
set a=(select count(id) from ventas where idfactura=idin and esmodif=1); 
if(a>0) then set b=1;end if;
return b; end ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `mirarsienventatienecomposicion` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `mirarsienventatienecomposicion`(`idarticuloin` INT(11)) RETURNS int(1)
    SQL SECURITY INVOKER
BEGIN
declare a int(2);
set a=(select count(componentesarticulos.id) from componentesarticulos,articulos where idarticulo=articulos.id and articulos.referencia=idarticuloin);
RETURN ifnull(a,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `mirarsitienecomposicion` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `mirarsitienecomposicion`(`idarticuloin` INT(11)) RETURNS int(1)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(1);
SET P=(select count(id) from componentesarticulos where idarticulo=idarticuloin);
IF p<1 THEN return '0';
else return 1;
END IF;
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `sepuedeborrarfamiliademodificadores` */;
DELIMITER ;;
CREATE DEFINER=`nairobi_vitanatural`@`%.%.%.%` FUNCTION `sepuedeborrarfamiliademodificadores`(`idin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(2);
DECLARE Q INT(2);
SET P=(select count(id) from asignacionarticulosfamiliasmodificadores where idfamilia=idin);
SET Q=(select count(id) from modificadores where idfamilia=idin);
RETURN if(P+Q>0,0,1);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `sumarventasanuladas` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `sumarventasanuladas`(`idarticuloin` INT(11), `idzin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(11);
set P=(select sum(valortotal-cantidad*descuento) from ventas where idz=idzin and idarticulo=idarticuloin and abonado=1);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `sumarventasbrutas` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `sumarventasbrutas`(`idarticuloin` INT(11), `idzin` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P int(11);
set P=(select sum(valortotal-cantidad*descuento) from ventas where idz=idzin and idarticulo=idarticuloin);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `totalcompradeestecliente` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `totalcompradeestecliente`(`idclientein` INT(11)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select SUM(total) from facturas where idcliente=idclientein);
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `totalizarventaauxiliar` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `totalizarventaauxiliar`(`idmesain` INT(11)) RETURNS double
    SQL SECURITY INVOKER
BEGIN
DECLARE P DOUBLE;
SET P=(SELECT ifnull(SUM(valortotal),0)/10 FROM ventasauxiliar where idmesa=idmesain);
RETURN P;
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `ventasentrehoras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `ventasentrehoras`(`ccin` INT(3), `fecha1` DATE, `hora1` VARCHAR(9), `hora2` VARCHAR(9)) RETURNS int(11)
    SQL SECURITY INVOKER
BEGIN
DECLARE P INT(11);
SET P=(select sum(valortotal) from ventas where cc=ccin and fecha between concat(fecha1,hora1) and concat(fecha1,hora2) ) ;
RETURN ifnull(P,0);
END ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `cambiarcostoencascada` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `cambiarcostoencascada`(IN `idarticuloin` BIGINT(20), IN `ccin` BIGINT(20))
    SQL SECURITY INVOKER
BEGIN
declare idtablaactual int(11);
declare idarticuloactual int(11);
delete from auxiliarcambiodeprecios where cc=ccin;
insert into auxiliarcambiodeprecios(idarticulo,idinsumo,cantidad,cc)
select idarticulo,idinsumo,cantidad,ccin from componentesarticulos where idinsumo=idarticuloin;
while (select count(id) from auxiliarcambiodeprecios  where cc=ccin)>0 do 
set idtablaactual=(select id from auxiliarcambiodeprecios where cc=ccin limit 1);
set idarticuloactual=(select idarticulo from auxiliarcambiodeprecios where id=idtablaactual);
update articulos set subido=0,costomedio=calcularcostoseguningredientes(idarticuloactual) where id=idarticuloactual;
insert into auxiliarcambiodeprecios(idarticulo,idinsumo,cantidad,cc)
select idarticulo,idinsumo,cantidad,ccin from componentesarticulos where idinsumo=idarticuloactual;
delete from auxiliarcambiodeprecios  where id=idtablaactual;
end while;

END ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `cotizarreceta` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `cotizarreceta`(IN `idusuarioin` INT(11), IN `tipodecotizacion` INT(1))
    SQL SECURITY INVOKER
BEGIN
declare idtablaactual int(11);
declare idcotizacionactual int(11);
declare cantidadactual double;
declare cantidadcotizacionactual double;
declare idarticuloactual int(11);
declare idarticuloparacotizar int(11);
if(select count(id) from auxiliarcotizarreceta)=0 THEN
truncate table auxiliarcotizarreceta;
else
delete from auxiliarcotizarreceta where idusuario=idusuarioin;
end if;
if(select count(id) from respuestacotizacionreceta)=0 THEN
truncate table respuestacotizacionreceta;
else
delete from respuestacotizacionreceta where idusuario=idusuarioin;
end if;




insert into respuestacotizacionreceta(idarticulo,idinsumo,cantidad,idusuario)
select 0,idarticulo,cantidad,idusuarioin from cotizaciondereceta where mirarsitienecomposicion(idarticulo)=0;









while(select count(id) from cotizaciondereceta where idusuario=idusuarioin and revisado=0)>0 DO
set idcotizacionactual=(select id from cotizaciondereceta  where idusuario=idusuarioin and revisado=0 limit 1);
set cantidadcotizacionactual=(select cantidad from cotizaciondereceta  where id=idcotizacionactual);
set idarticuloparacotizar=(select idarticulo from cotizaciondereceta  where id=idcotizacionactual);
insert into auxiliarcotizarreceta(idarticulo,idinsumo,cantidad,idusuario)
select idarticulo,idinsumo,cantidad*cantidadcotizacionactual,idusuarioin from componentesarticulos where idarticulo=idarticuloparacotizar;
while (select count(id) from auxiliarcotizarreceta  where idusuario=idusuarioin)>0 do 
set idtablaactual=(select id from auxiliarcotizarreceta  where idusuario=idusuarioin limit 1);
set idarticuloactual=(select idinsumo from auxiliarcotizarreceta where id=idtablaactual);
set cantidadactual=(select cantidad from auxiliarcotizarreceta where id=idtablaactual);
if(mirarsitienecomposicion(idarticuloactual)=0) THEN
insert into respuestacotizacionreceta(idarticulo,idinsumo,cantidad,idusuario)
values(0,idarticuloactual,cantidadactual,idusuarioin);
ELSE
insert into auxiliarcotizarreceta(idarticulo,idinsumo,cantidad,idusuario)
select idarticuloactual,idinsumo,cantidad*cantidadactual,idusuarioin from componentesarticulos where idarticulo=idarticuloactual;
end IF;
delete from auxiliarcotizarreceta  where id=idtablaactual;
end while;
update cotizaciondereceta set revisado=1 where id=idcotizacionactual;
end while;
if(tipodecotizacion=0) then 
select sum(respuestacotizacionreceta.cantidad) as cantidad,articulos.descripcion,articulos.costomedio as costo,unidaddemedida from respuestacotizacionreceta,articulos,unidadesdemedida where idinsumo=articulos.id and idunidaddemedida=unidadesdemedida.id GROUP by descripcion;
else 
select sum(respuestacotizacionreceta.cantidad) as cantidad,articulos.descripcion,articulos.ultimocoste as costo,unidaddemedida from respuestacotizacionreceta,articulos,unidadesdemedida where idinsumo=articulos.id and idunidaddemedida=unidadesdemedida.id GROUP by descripcion;
end if;
END ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `detallarsurecetaagrupada` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `detallarsurecetaagrupada`(IN `idarticuloin` INT(11), IN `idusuarioin` INT(11))
    SQL SECURITY INVOKER
BEGIN
declare idtablaactual int(11);
declare cantidadactual double;
declare idarticuloactual int(11);
if(select count(id) from auxiliarcostoagrupado)=0 THEN
truncate table auxiliarcostoagrupado;
else
delete from auxiliarcostoagrupado where idusuario=idusuarioin;
end if;

if(select count(id) from respuestacostoagrupado)=0 THEN
truncate table respuestacostoagrupado;
else
delete from respuestacostoagrupado where idusuario=idusuarioin;
end if;



insert into auxiliarcostoagrupado(idarticulo,idinsumo,cantidad,idusuario)
select idarticulo,idinsumo,cantidad,idusuarioin from componentesarticulos where idarticulo=idarticuloin;
while (select count(id) from auxiliarcostoagrupado  where idusuario=idusuarioin)>0 do 
set idtablaactual=(select id from auxiliarcostoagrupado  where idusuario=idusuarioin limit 1);
set idarticuloactual=(select idinsumo from auxiliarcostoagrupado where id=idtablaactual);
set cantidadactual=(select cantidad from auxiliarcostoagrupado where id=idtablaactual);
if(mirarsitienecomposicion(idarticuloactual)=0) THEN
insert into respuestacostoagrupado(idarticulo,idinsumo,cantidad,idusuario)
values(0,idarticuloactual,cantidadactual,idusuarioin);
ELSE
insert into auxiliarcostoagrupado(idarticulo,idinsumo,cantidad,idusuario)
select idarticuloactual,idinsumo,cantidad*cantidadactual,idusuarioin from componentesarticulos where idarticulo=idarticuloactual;
end IF;
delete from auxiliarcostoagrupado  where id=idtablaactual;
end while;
select sum(respuestacostoagrupado.cantidad) as cantidad,articulos.descripcion,articulos.costomedio,unidaddemedida from respuestacostoagrupado,articulos,unidadesdemedida where idinsumo=articulos.id and idunidaddemedida=unidadesdemedida.id GROUP by descripcion;
END ;;
DELIMITER ;
/*!50003 DROP PROCEDURE IF EXISTS `truncarventasauxiliar` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `truncarventasauxiliar`()
    SQL SECURITY INVOKER
BEGIN
declare n int(11);
set n =(select count(id) from ventasauxiliar);
if n=0 then 
truncate table ventasauxiliar;
end if;
END ;;
DELIMITER ;


