(8427,0,'','CAJA',3361,3358,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-04-19 09:08:23','2024-04-19 09:14:38','2024-04-19 09:08:23',NULL,'2024-04-19 09:14:38',933,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),(8428,0,'','CAJA',3362,3359,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE VALERIA POLO',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-04-19 12:41:20','2024-04-19 12:45:40','2024-04-19 12:41:20',NULL,'2024-04-19 12:45:40',1468,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),(8429,0,'','COCINA',3362,3359,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-19 12:41:22','2024-04-19 12:45:40','2024-04-19 12:41:22',NULL,'2024-04-19 12:45:40',1468,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),(8431,0,'','CAJA',3363,3360,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-04-19 15:25:23','2024-04-19 15:29:34','2024-04-19 15:25:23',NULL,'2024-04-19 15:29:34',1469,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),(8432,0,'','COCINA',3363,3360,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-04-19 15:25:25','2024-04-19 15:29:34','2024-04-19 15:25:25',NULL,'2024-04-19 15:29:34',1469,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),(8434,0,'','CAJA',3364,3361,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DOCENTE KEVIN',870000,20,870000,0,0,0,870000,2,'C','MESAS','2024-04-19 16:03:52','2024-04-19 16:07:06','2024-04-19 16:03:52',NULL,'2024-04-19 16:07:06',1470,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),(8435,0,'','COCINA',3364,3361,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-04-19 16:03:55','2024-04-19 16:07:06','2024-04-19 16:03:55',NULL,'2024-04-19 16:07:06',1470,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),(8437,0,'','CAJA',3365,3362,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'DERECHO DE GRADO EXTREMA BELLEZA ',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-04-19 17:23:00','2024-04-19 17:25:20','2024-04-19 17:23:00',NULL,'2024-04-19 17:25:20',806,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),(8438,0,'','CAJA',3366,3363,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'DERECHOS DE GRADO EXTREMA BELLEZA',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-04-19 20:29:32','2024-04-19 20:31:17','2024-04-19 20:29:32',NULL,'2024-04-19 20:31:17',916,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),(8439,0,'','CAJA',3367,3364,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-04-20 09:42:04','2024-04-20 09:46:21','2024-04-20 09:42:04',NULL,'2024-04-20 09:46:21',1471,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),(8440,0,'','CAJA',3368,3365,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-20 10:46:33','2024-04-20 10:50:24','2024-04-20 10:46:33',NULL,'2024-04-20 10:50:24',1472,770,0,0,0,0,0,1030000,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),(8441,0,'','COCINA',3368,3365,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-20 10:46:35','2024-04-20 10:50:24','2024-04-20 10:46:35',NULL,'2024-04-20 10:50:24',1472,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),(8443,0,'','CAJA',3369,3366,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-20 11:04:33','2024-04-20 11:07:45','2024-04-20 11:04:33',NULL,'2024-04-20 11:07:45',1473,770,0,0,0,0,0,1030000,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),(8444,0,'','COCINA',3369,3366,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-20 11:04:35','2024-04-20 11:07:45','2024-04-20 11:04:35',NULL,'2024-04-20 11:07:45',1473,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),(8446,0,'','CAJA',3370,3367,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE VALERIA POLO',1120000,20,1120000,0,0,0,1120000,2,'C','MESAS','2024-04-20 11:11:12','2024-04-20 11:13:12','2024-04-20 11:11:12',NULL,'2024-04-20 11:13:12',1473,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,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),(8447,0,'','COCINA',3370,3367,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-20 11:11:17','2024-04-20 11:13:12','2024-04-20 11:11:17',NULL,'2024-04-20 11:13:12',1473,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),(8449,0,'','CAJA',3371,3368,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-04-20 15:50:21','2024-04-20 15:55:58','2024-04-20 15:50:21',NULL,'2024-04-20 15:55:58',1474,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),(8450,0,'','CAJA',3372,3369,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',320000,20,320000,0,0,0,320000,2,'C','MESAS','2024-04-22 09:46:11','2024-04-22 09:49:02','2024-04-22 09:46:11',NULL,'2024-04-22 09:49:03',1231,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),(8451,0,'','CAJA',3373,3370,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE PEÑA',1350000,20,1350000,0,0,0,1350000,2,'C','MESAS','2024-04-22 10:40:00','2024-04-22 10:51:19','2024-04-22 10:40:00',NULL,'2024-04-22 10:51:19',1475,770,0,0,0,0,0,1350000,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),(8452,0,'','COCINA',3373,3370,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-22 10:40:03','2024-04-22 10:51:19','2024-04-22 10:40:03',NULL,'2024-04-22 10:51:19',1475,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),(8454,0,'','CAJA',3374,3371,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCDNTE VALERIA POLO',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-04-22 11:11:32','2024-04-22 11:15:26','2024-04-22 11:11:32',NULL,'2024-04-22 11:15:26',1476,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),(8455,0,'','COCINA',3374,3371,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-22 11:11:40','2024-04-22 11:15:26','2024-04-22 11:11:40',NULL,'2024-04-22 11:15:26',1476,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),(8457,0,'','CAJA',3375,3372,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago restante de derecho de grado ',70000,20,70000,0,0,0,70000,2,'V','MESAS','2024-04-22 11:15:50','2024-04-22 11:16:28','2024-04-22 11:15:50',NULL,'2024-04-22 11:16:28',850,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),(8458,0,'','CAJA',3376,3373,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE PEÑA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-22 12:17:25','2024-04-22 12:28:29','2024-04-22 12:17:25',NULL,'2024-04-22 12:28:29',1477,770,0,0,0,0,0,1030000,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),(8459,0,'','COCINA',3376,3373,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-22 12:17:26','2024-04-22 12:28:29','2024-04-22 12:17:26',NULL,'2024-04-22 12:28:29',1477,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),(8461,0,'','CAJA',3377,3374,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'derecho de grado extrema belleza',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-04-22 12:50:31','2024-04-22 12:52:03','2024-04-22 12:50:31',NULL,'2024-04-22 12:52:04',992,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),(8462,0,'','CAJA',3378,3375,0,0,0,0,NULL,0,4826,'matricula cursos',0,NULL,1,NULL,'PAGO DE UNA CLASE DE MASAJES LUNES PM',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-22 14:16:58','2024-04-22 14:17:50','2024-04-22 14:16:58',NULL,'2024-04-22 14:17:51',1239,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),(8463,0,'','CAJA',3379,3376,0,0,0,0,NULL,0,4826,'matricula cursos',0,NULL,1,NULL,'PAGO DE UNA CLASE MASAJES LUNES PM',40000,19,40000,0,0,0,40000,2,'V','MESAS','2024-04-22 14:18:35','2024-04-22 14:20:35','2024-04-22 14:18:35',NULL,'2024-04-22 14:20:35',1264,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),(8464,0,'','CAJA',3380,3377,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'PAGO DE UNA CLASE MASAJES LUNES PM ',40000,20,40000,0,0,0,40000,2,'C','MESAS','2024-04-22 14:21:15','2024-04-22 14:22:17','2024-04-22 14:21:15',NULL,'2024-04-22 14:22:17',1262,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),(8465,0,'','CAJA',3381,3378,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'PAGO DE UNA CLASE DE MASAJES LUNES PM',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-22 14:23:22','2024-04-22 14:23:50','2024-04-22 14:23:22',NULL,'2024-04-22 14:23:50',1202,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),(8466,0,'','CAJA',3382,3379,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'RECUPWRACION DE 1 CLASE',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-22 15:20:31','2024-04-22 15:22:06','2024-04-22 15:20:31',NULL,'2024-04-22 15:22:06',1243,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),(8467,0,'','COCINA',3382,3379,0,0,0,0,NULL,0,4843,'alexa hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-04-22 15:20:33','2024-04-22 15:22:06','2024-04-22 15:20:33',NULL,'2024-04-22 15:22:06',1243,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),(8469,0,'','CAJA',3383,3380,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago de un acompañante',45000,20,45000,0,0,0,45000,2,'V','MESAS','2024-04-22 15:34:17','2024-04-22 15:35:14','2024-04-22 15:34:17',NULL,'2024-04-22 15:35:15',787,770,0,0,0,0,0,45000,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),(8470,0,'','CAJA',3384,3381,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago de un acompañante',45000,20,45000,0,0,0,45000,2,'V','MESAS','2024-04-22 16:16:16','2024-04-22 16:21:23','2024-04-22 16:16:16',NULL,'2024-04-22 16:21:23',1023,770,0,0,0,0,0,45000,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),(8471,0,'','CAJA',3385,3382,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-04-22 16:32:12','2024-04-22 16:35:53','2024-04-22 16:32:12',NULL,'2024-04-22 16:35:53',1478,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),(8472,0,'','COCINA',3385,3382,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-04-22 16:32:43','2024-04-22 16:35:53','2024-04-22 16:32:43',NULL,'2024-04-22 16:35:53',1478,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),(8474,0,'','CAJA',3386,3383,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-04-22 16:44:34','2024-04-22 16:47:41','2024-04-22 16:44:34',NULL,'2024-04-22 16:47:41',1479,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),(8475,0,'','COCINA',3386,3383,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-04-22 16:44:36','2024-04-22 16:47:41','2024-04-22 16:44:36',NULL,'2024-04-22 16:47:41',1479,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),(8477,0,'','CAJA',3387,3384,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'PAGO DE 2 MESES CUIDO FACIAL',400000,20,400000,0,0,0,400000,2,'C','MESAS','2024-04-23 08:52:45','2024-04-23 08:55:03','2024-04-23 08:52:45',NULL,'2024-04-23 08:55:04',1230,770,0,0,0,0,0,400000,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),(8478,0,'','CAJA',3388,3385,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE KATHERINE PEÑA',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-23 09:26:02','2024-04-23 09:27:25','2024-04-23 09:26:02',NULL,'2024-04-23 09:27:25',796,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),(8479,0,'','COCINA',3388,3385,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-04-23 09:26:16','2024-04-23 09:27:25','2024-04-23 09:26:16',NULL,'2024-04-23 09:27:25',796,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),(8481,0,'','CAJA',3389,3386,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE PAÑA',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-23 09:28:43','2024-04-23 09:30:52','2024-04-23 09:28:43',NULL,'2024-04-23 09:30:52',1480,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),(8482,0,'','COCINA',3389,3386,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-04-23 09:28:45','2024-04-23 09:30:52','2024-04-23 09:28:45',NULL,'2024-04-23 09:30:52',1480,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),(8484,0,'','CAJA',3390,3387,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'pago de un mes acelerado cuidado facial lunes am doc alexa',400000,20,400000,0,0,0,400000,2,'C','MESAS','2024-04-23 09:33:03','2024-04-23 09:34:11','2024-04-23 09:33:03',NULL,'2024-04-23 09:34:11',1231,770,0,0,0,0,0,400000,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),(8485,0,'','CAJA',3391,3388,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KHATERINE PEÑA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-23 09:34:24','2024-04-23 09:35:59','2024-04-23 09:34:24',NULL,'2024-04-23 09:35:59',1480,770,0,0,0,0,0,1030000,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),(8486,0,'','COCINA',3391,3388,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-23 09:34:27','2024-04-23 09:35:59','2024-04-23 09:34:27',NULL,'2024-04-23 09:35:59',1480,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),(8488,0,'','CAJA',3392,3389,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'pago de una clase adicional cuidado facial martes am doc alexa',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-23 09:40:06','2024-04-23 09:41:14','2024-04-23 09:40:06',NULL,'2024-04-23 09:41:14',573,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),(8489,0,'','CAJA',3393,3390,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE PEÑA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-23 11:26:43','2024-04-23 11:29:21','2024-04-23 11:26:43',NULL,'2024-04-23 11:29:21',1482,770,0,0,0,0,0,1030000,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),(8490,0,'','COCINA',3393,3390,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-23 11:26:45','2024-04-23 11:29:21','2024-04-23 11:26:45',NULL,'2024-04-23 11:29:21',1482,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),(8492,0,'','CAJA',3394,3391,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago derecho de grado extrema belleza',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-04-23 13:35:04','2024-04-23 13:37:17','2024-04-23 13:35:04',NULL,'2024-04-23 13:37:17',743,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),(8493,0,'','CAJA',3395,3392,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago de un acompañante',45000,20,45000,0,0,0,45000,2,'V','MESAS','2024-04-23 13:37:37','2024-04-23 13:38:36','2024-04-23 13:37:37',NULL,'2024-04-23 13:38:36',743,770,0,0,0,0,0,45000,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),(8494,0,'','CAJA',3396,3393,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago de un acompañante ',45000,20,45000,0,0,0,45000,2,'V','MESAS','2024-04-23 15:20:50','2024-04-23 15:21:35','2024-04-23 15:20:50',NULL,'2024-04-23 15:21:35',988,770,0,0,0,0,0,45000,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),(8495,0,'','CAJA',3397,3394,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE RICHARD MORENO',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-04-23 15:28:31','2024-04-23 15:31:32','2024-04-23 15:28:31',NULL,'2024-04-23 15:31:32',1484,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),(8496,0,'','COCINA',3397,3394,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-23 15:28:32','2024-04-23 15:31:32','2024-04-23 15:28:32',NULL,'2024-04-23 15:31:32',1484,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),(8498,0,'','CAJA',3398,3395,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCLA DIAZ',0,20,0,0,0,0,0,2,'C','MESAS','2024-04-23 15:31:39','2024-04-23 15:33:29','2024-04-23 15:31:39',NULL,'2024-04-23 15:33:29',1485,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),(8499,0,'','COCINA',3398,3395,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-04-23 15:31:42','2024-04-23 15:33:29','2024-04-23 15:31:42',NULL,'2024-04-23 15:33:29',1485,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),(8501,0,'','CAJA',3399,3396,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago derecho de grado extrema belleza',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-04-23 15:59:43','2024-04-23 16:01:14','2024-04-23 15:59:43',NULL,'2024-04-23 16:01:14',1155,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),(8502,0,'','CAJA',3400,3397,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago de un acompañante ',45000,19,45000,0,0,0,45000,2,'V','MESAS','2024-04-23 16:01:28','2024-04-23 16:02:40','2024-04-23 16:01:28',NULL,'2024-04-23 16:02:40',1155,770,0,0,0,0,0,45000,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),(8503,0,'','CAJA',3401,3398,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE VALERIA POLO',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-04-24 10:01:09','2024-04-24 10:05:33','2024-04-24 10:01:09',NULL,'2024-04-24 10:05:33',1489,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),(8504,0,'','COCINA',3401,3398,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-24 10:01:26','2024-04-24 10:05:33','2024-04-24 10:01:26',NULL,'2024-04-24 10:05:33',1489,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),(8506,0,'','CAJA',3402,3399,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-04-24 10:27:12','2024-04-24 10:33:18','2024-04-24 10:27:12',NULL,'2024-04-24 10:33:18',1490,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),(8507,0,'','COCINA',3402,3399,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-04-24 10:27:15','2024-04-24 10:33:18','2024-04-24 10:27:15',NULL,'2024-04-24 10:33:18',1490,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),(8509,0,'','CAJA',3403,3400,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago de tres acompañantes',135000,20,135000,0,0,0,135000,2,'V','MESAS','2024-04-24 11:30:24','2024-04-24 11:31:38','2024-04-24 11:30:24',NULL,'2024-04-24 11:31:38',884,770,0,0,0,0,0,135000,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),(8510,0,'','CAJA',3404,3401,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERNADEZ',320000,20,320000,0,0,0,320000,2,'C','MESAS','2024-04-24 12:01:38','2024-04-24 12:05:42','2024-04-24 12:01:38',NULL,'2024-04-24 12:05:42',1491,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),(8511,0,'','CAJA',3405,3402,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-04-24 15:46:55','2024-04-24 15:50:41','2024-04-24 15:46:55',NULL,'2024-04-24 15:50:41',1492,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),(8512,0,'','COCINA',3405,3402,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-04-24 15:46:58','2024-04-24 15:50:41','2024-04-24 15:46:58',NULL,'2024-04-24 15:50:41',1492,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),(8514,0,'','CAJA',3406,3403,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE VALERIA POLO',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-04-24 16:08:47','2024-04-24 16:11:58','2024-04-24 16:08:47',NULL,'2024-04-24 16:11:58',1493,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),(8515,0,'','COCINA',3406,3403,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-24 16:08:58','2024-04-24 16:11:58','2024-04-24 16:08:58',NULL,'2024-04-24 16:11:58',1493,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),(8517,0,'','CAJA',3407,3404,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-04-24 16:16:39','2024-04-24 16:20:29','2024-04-24 16:16:39',NULL,'2024-04-24 16:20:29',1494,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),(8518,0,'','COCINA',3407,3404,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-04-24 16:16:41','2024-04-24 16:20:29','2024-04-24 16:16:41',NULL,'2024-04-24 16:20:29',1494,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),(8520,0,'','CAJA',3408,3405,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE PEÑA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-24 16:29:21','2024-04-24 16:32:19','2024-04-24 16:29:21',NULL,'2024-04-24 16:32:19',1495,770,0,0,0,0,0,1030000,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),(8521,0,'','COCINA',3408,3405,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-24 16:29:28','2024-04-24 16:32:19','2024-04-24 16:29:28',NULL,'2024-04-24 16:32:19',1495,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),(8523,0,'','CAJA',3409,3406,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'´pago de una clase adicional doc alexa',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-04-25 08:38:17','2024-04-25 08:42:10','2024-04-25 08:38:17',NULL,'2024-04-25 08:42:10',1236,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),(8524,0,'','CAJA',3410,3407,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-04-25 13:31:58','2024-04-25 13:34:20','2024-04-25 13:31:58',NULL,'2024-04-25 13:34:20',1496,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),(8525,0,'','CAJA',3411,3408,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'docente alexa hernandez',0,20,0,0,0,0,0,2,'C','MESAS','2024-04-26 09:40:12','2024-04-26 09:42:18','2024-04-26 09:40:12',NULL,'2024-04-26 09:42:18',1497,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),(8526,0,'','COCINA',3411,3408,0,0,0,0,NULL,0,4843,'alexa hernandez',0,NULL,1,NULL,NULL,870000,20,870000,0,0,0,870000,2,'C','MESAS','2024-04-26 09:40:13','2024-04-26 09:42:18','2024-04-26 09:40:13',NULL,'2024-04-26 09:42:18',1497,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,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),(8528,0,'','CAJA',3412,3409,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'docente jhoana guillen',0,20,0,0,0,0,0,2,'V','MESAS','2024-04-26 11:53:09','2024-04-26 11:56:49','2024-04-26 11:53:09',NULL,'2024-04-26 11:56:49',1498,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),(8529,0,'','COCINA',3412,3409,0,0,0,0,NULL,0,4847,'marcela diaz',0,NULL,1,NULL,NULL,1240000,20,1240000,0,0,0,1240000,2,'V','MESAS','2024-04-26 11:53:11','2024-04-26 11:56:49','2024-04-26 11:53:11',NULL,'2024-04-26 11:56:49',1498,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),(8531,0,'','CAJA',3413,3410,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE KEVIN ZAPATA',710000,19,710000,0,0,0,710000,2,'C','MESAS','2024-04-26 18:07:31','2024-04-26 18:09:25','2024-04-26 18:07:31',NULL,'2024-04-26 18:09:25',1500,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),(8532,0,'','CAJA',3414,3411,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'RECUPERACION DE UNA CLASE',39000,20,39000,0,0,0,39000,2,'V','MESAS','2024-04-26 20:36:34','2024-04-26 20:42:00','2024-04-26 20:36:34',NULL,'2024-04-26 20:42:00',1245,770,0,0,0,0,0,39000,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),(8533,0,'','COCINA',3414,3411,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-04-26 20:36:36','2024-04-26 20:42:00','2024-04-26 20:36:36',NULL,'2024-04-26 20:42:00',1245,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),(8535,0,'','CAJA',3415,3412,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'UNA CLASE ADICIONAL',39000,20,39000,0,0,0,39000,2,'V','MESAS','2024-04-26 21:52:34','2024-04-26 21:53:46','2024-04-26 21:52:34',NULL,'2024-04-26 21:53:46',1245,770,0,0,0,0,0,39000,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),(8536,0,'','COCINA',3415,3412,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-04-26 21:52:36','2024-04-26 21:53:46','2024-04-26 21:52:36',NULL,'2024-04-26 21:53:46',1245,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),(8538,0,'','CAJA',3416,3413,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'DERECHOS DE GRADO ESTREMABELLEZA ',330000,20,330000,0,0,0,330000,2,'V','MESAS','2024-04-27 10:46:01','2024-04-27 10:48:59','2024-04-27 10:46:01',NULL,'2024-04-27 10:48:59',746,770,0,0,0,0,0,330000,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),(8539,0,'','CAJA',3417,3414,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-27 11:33:13','2024-04-27 11:37:38','2024-04-27 11:33:13',NULL,'2024-04-27 11:37:38',1501,770,0,0,0,0,0,1030000,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),(8540,0,'','COCINA',3417,3414,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-27 11:33:19','2024-04-27 11:37:38','2024-04-27 11:33:19',NULL,'2024-04-27 11:37:38',1501,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),(8542,0,'','CAJA',3418,3415,0,0,0,0,NULL,0,4600,'BARBERIA',0,NULL,1,NULL,NULL,100,1,100,0,0,0,100,2,'C','MESAS','2024-04-29 06:29:53','2024-04-29 06:30:36','2024-04-29 06:29:53',NULL,'2024-04-29 06:30:36',399,1,0,0,0,0,0,100,0,0,4,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),(8543,0,'','CAJA',3419,3416,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'pago del restante de cuota de sistecredito',12000,20,12000,0,0,0,12000,2,'V','MESAS','2024-04-29 12:37:01','2024-04-29 12:38:30','2024-04-29 12:37:01',NULL,'2024-04-29 12:38:30',1208,770,0,0,0,0,0,12000,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),(8544,0,'','CAJA',3420,3417,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE RICHARD MORENO',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-04-29 15:49:01','2024-04-29 15:52:28','2024-04-29 15:49:01',NULL,'2024-04-29 15:52:28',1503,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),(8545,0,'','COCINA',3420,3417,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-29 15:49:02','2024-04-29 15:52:28','2024-04-29 15:49:02',NULL,'2024-04-29 15:52:28',1503,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),(8547,0,'','CAJA',3421,3418,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-04-30 14:43:48','2024-04-30 14:47:16','2024-04-30 14:43:48',NULL,'2024-04-30 14:47:16',1504,770,0,0,0,0,0,1030000,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),(8548,0,'','COCINA',3421,3418,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-04-30 14:43:50','2024-04-30 14:47:16','2024-04-30 14:43:50',NULL,'2024-04-30 14:47:16',1504,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),(8550,0,'','CAJA',3422,3419,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'derecho de grado extrema belleza',150000,20,150000,0,0,0,150000,2,'V','MESAS','2024-04-30 17:36:38','2024-04-30 17:41:17','2024-04-30 17:36:38',NULL,'2024-04-30 17:41:17',696,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),(8551,0,'','CAJA',3423,3420,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente paola peralta',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-02 09:47:17','2024-05-02 09:49:31','2024-05-02 09:47:17',NULL,'2024-05-02 09:49:31',1508,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),(8552,0,'','COCINA',3423,3420,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-02 09:47:20','2024-05-02 09:49:31','2024-05-02 09:47:20',NULL,'2024-05-02 09:49:31',1508,770,0,0,0,0,0,1030000,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),(8554,0,'','CAJA',3424,3421,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente paola peralta',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-02 10:14:17','2024-05-02 10:17:27','2024-05-02 10:14:17',NULL,'2024-05-02 10:17:27',1509,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),(8555,0,'','COCINA',3424,3421,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-02 10:14:18','2024-05-02 10:17:27','2024-05-02 10:14:18',NULL,'2024-05-02 10:17:27',1509,770,0,0,0,0,0,1030000,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),(8557,0,'','CAJA',3425,3422,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,NULL,800000,20,800000,0,0,0,800000,2,'C','MESAS','2024-05-02 19:06:35','2024-05-02 19:08:46','2024-05-02 19:06:35',NULL,'2024-05-02 19:08:46',1426,770,0,0,0,0,0,800000,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),(8558,0,'','COCINA',3425,3422,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-02 19:06:38','2024-05-02 19:08:46','2024-05-02 19:06:38',NULL,'2024-05-02 19:08:46',1426,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),(8560,0,'','CAJA',3426,3423,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'docente alexa hernandez',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-03 10:06:34','2024-05-03 10:08:54','2024-05-03 10:06:34',NULL,'2024-05-03 10:08:54',1510,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),(8561,0,'','COCINA',3426,3423,0,0,0,0,NULL,0,4843,'alexa hernandez',0,NULL,1,NULL,NULL,920000,20,920000,0,0,0,920000,2,'C','MESAS','2024-05-03 10:06:36','2024-05-03 10:08:54','2024-05-03 10:06:36',NULL,'2024-05-03 10:08:54',1510,770,0,0,0,0,0,920000,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),(8563,0,'','CAJA',3427,3424,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'docente kevin',640000,20,640000,0,0,0,640000,2,'C','MESAS','2024-05-03 13:37:38','2024-05-03 13:38:59','2024-05-03 13:37:38',NULL,'2024-05-03 13:38:59',927,770,0,0,0,0,0,640000,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),(8564,0,'','COCINA',3428,3425,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'UNA CLASE  ADICIONAL',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-03 14:52:06','2024-05-03 14:54:32','2024-05-03 14:52:06',NULL,'2024-05-03 14:54:32',1106,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),(8565,0,'','COCINA',3428,3425,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-05-03 14:52:09','2024-05-03 14:54:32','2024-05-03 14:52:09',NULL,'2024-05-03 14:54:32',1106,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),(8567,0,'','CAJA',3429,3426,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERMANDEZ',320000,20,320000,0,0,0,320000,2,'C','MESAS','2024-05-06 09:15:14','2024-05-06 09:17:09','2024-05-06 09:15:14',NULL,'2024-05-06 09:17:09',1204,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),(8568,0,'','CAJA',3430,3427,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-06 12:02:15','2024-05-06 12:05:24','2024-05-06 12:02:15',NULL,'2024-05-06 12:05:24',1511,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),(8569,0,'','COCINA',3430,3427,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-06 12:02:43','2024-05-06 12:05:24','2024-05-06 12:02:43',NULL,'2024-05-06 12:05:24',1511,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),(8571,0,'','CAJA',3431,3428,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-06 14:19:01','2024-05-06 14:23:03','2024-05-06 14:19:01',NULL,'2024-05-06 14:23:03',1512,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),(8572,0,'','COCINA',3431,3428,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-06 14:19:04','2024-05-06 14:23:03','2024-05-06 14:19:04',NULL,'2024-05-06 14:23:03',1512,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),(8574,0,'','CAJA',3432,3429,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE VALERIA POLO',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-06 14:54:09','2024-05-06 15:02:22','2024-05-06 14:54:09',NULL,'2024-05-06 15:02:22',1513,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),(8575,0,'','COCINA',3432,3429,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-06 14:54:13','2024-05-06 15:02:22','2024-05-06 14:54:13',NULL,'2024-05-06 15:02:22',1513,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),(8577,0,'','CAJA',3433,3430,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-06 16:49:22','2024-05-06 16:54:06','2024-05-06 16:49:22',NULL,'2024-05-06 16:54:06',1514,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),(8578,0,'','COCINA',3433,3430,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-06 16:49:26','2024-05-06 16:54:06','2024-05-06 16:49:26',NULL,'2024-05-06 16:54:06',1514,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),(8580,0,'','CAJA',3434,3431,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-06 17:30:25','2024-05-06 17:33:11','2024-05-06 17:30:25',NULL,'2024-05-06 17:33:11',1515,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),(8581,0,'','COCINA',3434,3431,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-06 17:30:27','2024-05-06 17:33:11','2024-05-06 17:30:27',NULL,'2024-05-06 17:33:11',1515,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),(8582,0,'','CAJA',3435,3432,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',880000,20,880000,0,0,0,880000,2,'C','MESAS','2024-05-07 10:31:14','2024-05-07 10:34:15','2024-05-07 10:31:14',NULL,'2024-05-07 10:34:15',1517,770,0,0,0,0,0,880000,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),(8583,0,'','COCINA',3435,3432,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-07 10:31:16','2024-05-07 10:34:15','2024-05-07 10:31:16',NULL,'2024-05-07 10:34:15',1517,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),(8585,0,'','CAJA',3436,3433,0,0,0,0,NULL,0,4812,'DERECHO DE GRADO',0,NULL,1,NULL,'derecho de grado extrema belleza',150000,20,150000,0,0,0,150000,2,'C','MESAS','2024-05-07 14:44:06','2024-05-07 14:44:56','2024-05-07 14:44:06',NULL,'2024-05-07 14:44:56',1149,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),(8586,0,'','CAJA',3437,3434,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-07 16:41:43','2024-05-07 16:46:41','2024-05-07 16:41:43',NULL,'2024-05-07 16:46:41',1518,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),(8587,0,'','COCINA',3437,3434,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-07 16:41:46','2024-05-07 16:46:41','2024-05-07 16:41:46',NULL,'2024-05-07 16:46:41',1518,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),(8588,0,'','CAJA',3438,3435,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',320000,20,320000,0,0,0,320000,2,'C','MESAS','2024-05-08 15:42:30','2024-05-08 15:44:45','2024-05-08 15:42:30',NULL,'2024-05-08 15:44:45',1136,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),(8589,0,'','CAJA',3439,3436,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-09 17:00:06','2024-05-09 17:04:07','2024-05-09 17:00:06',NULL,'2024-05-09 17:04:07',1519,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),(8590,0,'','COCINA',3439,3436,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-09 17:00:08','2024-05-09 17:04:07','2024-05-09 17:00:08',NULL,'2024-05-09 17:04:07',1519,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),(8592,0,'','CAJA',3440,3437,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente paolaperalta',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-10 09:35:07','2024-05-10 09:37:37','2024-05-10 09:35:07',NULL,'2024-05-10 09:37:37',1520,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),(8593,0,'','COCINA',3440,3437,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-10 09:35:10','2024-05-10 09:37:37','2024-05-10 09:35:10',NULL,'2024-05-10 09:37:37',1520,770,0,0,0,0,0,1030000,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),(8595,0,'','CAJA',3441,3438,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOENTE PAOLA PERALTA',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-10 09:48:34','2024-05-10 09:50:31','2024-05-10 09:48:34',NULL,'2024-05-10 09:50:31',1521,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),(8596,0,'','COCINA',3441,3438,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-10 09:48:35','2024-05-10 09:50:31','2024-05-10 09:48:35',NULL,'2024-05-10 09:50:31',1521,770,0,0,0,0,0,1030000,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),(8598,0,'','CAJA',3442,3439,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1080000,20,1080000,0,0,0,1080000,2,'C','MESAS','2024-05-10 16:29:58','2024-05-10 16:34:35','2024-05-10 16:29:58',NULL,'2024-05-10 16:34:35',1522,770,0,0,0,0,0,1080000,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),(8599,0,'','COCINA',3442,3439,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-10 16:30:01','2024-05-10 16:34:35','2024-05-10 16:30:01',NULL,'2024-05-10 16:34:35',1522,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),(8601,0,'','CAJA',3443,3440,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-10 16:49:21','2024-05-10 16:52:42','2024-05-10 16:49:21',NULL,'2024-05-10 16:52:42',1523,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),(8602,0,'','COCINA',3443,3440,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-10 16:49:24','2024-05-10 16:52:42','2024-05-10 16:49:24',NULL,'2024-05-10 16:52:42',1523,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),(8604,0,'','CAJA',3444,3441,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DCENTE ALEXA HERNANDEZ',870000,20,870000,0,0,0,870000,2,'C','MESAS','2024-05-10 17:39:53','2024-05-10 17:43:27','2024-05-10 17:39:53',NULL,'2024-05-10 17:43:27',1524,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),(8605,0,'','COCINA',3444,3441,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-10 17:39:55','2024-05-10 17:43:27','2024-05-10 17:39:55',NULL,'2024-05-10 17:43:27',1524,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),(8607,0,'','CAJA',3445,3442,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE  PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-10 18:28:05','2024-05-10 18:31:18','2024-05-10 18:28:05',NULL,'2024-05-10 18:31:18',1525,770,0,0,0,0,0,1030000,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),(8608,0,'','COCINA',3445,3442,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-10 18:28:08','2024-05-10 18:31:18','2024-05-10 18:28:08',NULL,'2024-05-10 18:31:18',1525,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),(8610,0,'','CAJA',3446,3443,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE KEVIN ',760000,20,760000,0,0,0,760000,2,'C','MESAS','2024-05-11 16:02:15','2024-05-11 16:06:02','2024-05-11 16:02:15',NULL,'2024-05-11 16:06:02',1526,770,0,0,0,0,0,760000,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),(8611,0,'','CAJA',3447,3444,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE RICHARD HERNANDEZ',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-05-11 16:14:13','2024-05-11 16:19:48','2024-05-11 16:14:13',NULL,'2024-05-11 16:19:48',1527,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),(8612,0,'','COCINA',3447,3444,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-11 16:14:15','2024-05-11 16:19:48','2024-05-11 16:14:15',NULL,'2024-05-11 16:19:48',1527,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),(8613,0,'','CAJA',3448,3445,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DOCENTE ALEXA HERNABDEZ',870000,20,870000,0,0,0,870000,2,'C','MESAS','2024-05-14 08:46:18','2024-05-14 08:50:13','2024-05-14 08:46:18',NULL,'2024-05-14 08:50:13',1528,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),(8614,0,'','COCINA',3448,3445,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-14 08:46:21','2024-05-14 08:50:13','2024-05-14 08:46:21',NULL,'2024-05-14 08:50:13',1528,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),(8616,0,'','CAJA',3449,3446,0,0,0,0,NULL,0,4603,'MASAJES ',0,NULL,1,NULL,'DOCENYE ALEXA HERNANDEZ',800000,20,800000,0,0,0,800000,2,'C','MESAS','2024-05-14 08:58:55','2024-05-14 09:03:31','2024-05-14 08:58:55',NULL,'2024-05-14 09:03:31',1018,770,0,0,0,0,0,800000,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),(8617,0,'','COCINA',3449,3446,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-14 08:58:57','2024-05-14 09:03:31','2024-05-14 08:58:57',NULL,'2024-05-14 09:03:31',1018,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),(8619,0,'','CAJA',3450,3447,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTYE MARCELA DIAZ',1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-14 12:14:55','2024-05-14 12:17:44','2024-05-14 12:14:55',NULL,'2024-05-14 12:17:44',1529,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),(8620,0,'','COCINA',3450,3447,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-14 12:14:57','2024-05-14 12:17:44','2024-05-14 12:14:57',NULL,'2024-05-14 12:17:44',1529,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),(8622,0,'','CAJA',3451,3448,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE KEVIN',640000,20,640000,0,0,0,640000,2,'C','MESAS','2024-05-14 12:20:59','2024-05-14 12:22:32','2024-05-14 12:20:59',NULL,'2024-05-14 12:22:32',1529,770,0,0,0,0,0,640000,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),(8623,0,'','CAJA',3452,3449,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,'C','MESAS','2024-05-14 14:40:46','2024-05-14 14:47:38','2024-05-14 14:40:46',NULL,'2024-05-14 14:47:38',1032,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),(8624,0,'','CAJA',3453,3450,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-14 14:51:07','2024-05-14 14:54:52','2024-05-14 14:51:07',NULL,'2024-05-14 14:54:52',1530,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),(8625,0,'','CAJA',3454,3451,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'docente richard moreno',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-14 14:59:53','2024-05-14 15:01:58','2024-05-14 14:59:53',NULL,'2024-05-14 15:01:58',1531,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),(8626,0,'','COCINA',3454,3451,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,1240000,20,1240000,0,0,0,1240000,2,'C','MESAS','2024-05-14 14:59:54','2024-05-14 15:01:58','2024-05-14 14:59:54',NULL,'2024-05-14 15:01:58',1531,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),(8628,0,'','CAJA',3455,3452,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-14 16:06:14','2024-05-14 16:09:06','2024-05-14 16:06:14',NULL,'2024-05-14 16:09:06',1532,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),(8629,0,'','COCINA',3455,3452,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-14 16:06:17','2024-05-14 16:09:06','2024-05-14 16:06:17',NULL,'2024-05-14 16:09:06',1532,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),(8631,0,'','COCINA',3456,3453,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'docente valeria polo',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-15 09:33:23','2024-05-15 09:34:37','2024-05-15 09:33:23',NULL,'2024-05-15 09:34:38',1144,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),(8632,0,'','COCINA',3456,3453,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-05-15 09:33:24','2024-05-15 09:34:37','2024-05-15 09:33:24',NULL,'2024-05-15 09:34:38',1144,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),(8634,0,'','CAJA',3457,3454,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-15 09:48:49','2024-05-15 10:00:54','2024-05-15 09:48:49',NULL,'2024-05-15 10:00:55',1533,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),(8635,0,'','CAJA',3458,3455,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-15 12:19:51','2024-05-15 12:23:29','2024-05-15 12:19:51',NULL,'2024-05-15 12:23:29',1534,770,0,0,0,0,0,1030000,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),(8636,0,'','COCINA',3458,3455,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-15 12:19:54','2024-05-15 12:23:29','2024-05-15 12:19:54',NULL,'2024-05-15 12:23:29',1534,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),(8638,0,'','CAJA',3459,3456,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE ALEXA HERNANDEZ',480000,20,480000,0,0,0,480000,2,'C','MESAS','2024-05-15 14:48:52','2024-05-15 14:51:14','2024-05-15 14:48:52',NULL,'2024-05-15 14:51:14',1085,770,0,0,0,0,0,480000,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),(8639,0,'','CAJA',3460,3457,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-15 15:05:22','2024-05-15 15:09:50','2024-05-15 15:05:22',NULL,'2024-05-15 15:09:50',1535,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),(8640,0,'','COCINA',3460,3457,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-15 15:05:25','2024-05-15 15:09:50','2024-05-15 15:05:25',NULL,'2024-05-15 15:09:50',1535,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),(8642,0,'','CAJA',3461,3458,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENYTE KEVIN ',710000,20,710000,0,0,0,710000,2,'C','MESAS','2024-05-15 15:34:51','2024-05-15 15:37:43','2024-05-15 15:34:51',NULL,'2024-05-15 15:37:43',1536,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),(8643,0,'','CAJA',3462,3459,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente kathe ppeña',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-16 08:44:58','2024-05-16 08:52:04','2024-05-16 08:44:58',NULL,'2024-05-16 08:52:04',1539,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),(8644,0,'','COCINA',3462,3459,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-16 08:46:00','2024-05-16 08:52:04','2024-05-16 08:46:00',NULL,'2024-05-16 08:52:04',1539,770,0,0,0,0,0,1030000,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),(8646,0,'','CAJA',3463,3460,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente katherine peña',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-16 09:00:46','2024-05-16 09:17:16','2024-05-16 09:00:46',NULL,'2024-05-16 09:17:16',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),(8647,0,'','COCINA',3463,3460,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-16 09:00:48','2024-05-16 09:17:16','2024-05-16 09:00:48',NULL,'2024-05-16 09:17:16',1540,770,0,0,0,0,0,1030000,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),(8649,0,'','CAJA',3464,3461,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente kathe peña',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-16 09:22:12','2024-05-16 09:23:59','2024-05-16 09:22:12',NULL,'2024-05-16 09:23:59',1541,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),(8650,0,'','COCINA',3464,3461,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-16 09:22:14','2024-05-16 09:23:59','2024-05-16 09:22:14',NULL,'2024-05-16 09:23:59',1541,770,0,0,0,0,0,1030000,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),(8652,0,'','CAJA',3465,3462,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente katherine peña',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-16 09:32:44','2024-05-16 09:35:22','2024-05-16 09:32:44',NULL,'2024-05-16 09:35:22',1542,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),(8653,0,'','COCINA',3465,3462,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-16 09:32:46','2024-05-16 09:35:22','2024-05-16 09:32:46',NULL,'2024-05-16 09:35:22',1542,770,0,0,0,0,0,1030000,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),(8655,0,'','CAJA',3466,3463,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente katherine peña',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-16 09:50:00','2024-05-16 09:52:01','2024-05-16 09:50:00',NULL,'2024-05-16 09:52:01',1543,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),(8656,0,'','COCINA',3466,3463,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-16 09:50:02','2024-05-16 09:52:01','2024-05-16 09:50:02',NULL,'2024-05-16 09:52:01',1543,770,0,0,0,0,0,1030000,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),(8658,0,'','CAJA',3467,3464,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE KATHERINE PEÑA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-16 16:59:21','2024-05-16 17:04:08','2024-05-16 16:59:21',NULL,'2024-05-16 17:04:08',1545,770,0,0,0,0,0,1030000,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),(8659,0,'','COCINA',3467,3464,0,0,0,0,NULL,0,4842,'katherine peña',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-16 16:59:23','2024-05-16 17:04:08','2024-05-16 16:59:23',NULL,'2024-05-16 17:04:08',1545,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),(8661,0,'','CAJA',3468,3465,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-16 19:59:20','2024-05-16 20:02:41','2024-05-16 19:59:20',NULL,'2024-05-16 20:02:41',1546,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),(8662,0,'','COCINA',3468,3465,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-16 19:59:22','2024-05-16 20:02:41','2024-05-16 19:59:22',NULL,'2024-05-16 20:02:41',1546,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),(8664,0,'','CAJA',3469,3466,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA ',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-17 11:05:07','2024-05-17 11:09:31','2024-05-17 11:05:07',NULL,'2024-05-17 11:09:31',1547,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),(8665,0,'','COCINA',3469,3466,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-17 11:05:09','2024-05-17 11:09:31','2024-05-17 11:05:09',NULL,'2024-05-17 11:09:31',1547,770,0,0,0,0,0,1030000,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),(8667,0,'','CAJA',3470,3467,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-17 13:50:26','2024-05-17 13:54:54','2024-05-17 13:50:26',NULL,'2024-05-17 13:54:54',1548,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),(8668,0,'','CAJA',3471,3468,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'docente paola peralta',0,20,0,0,0,0,0,2,'C','MESAS','2024-05-17 13:59:16','2024-05-17 14:01:27','2024-05-17 13:59:16',NULL,'2024-05-17 14:01:27',1549,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),(8669,0,'','COCINA',3471,3468,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-17 13:59:18','2024-05-17 14:01:27','2024-05-17 13:59:18',NULL,'2024-05-17 14:01:27',1549,770,0,0,0,0,0,1030000,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),(8671,0,'','CAJA',3472,3469,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-17 15:17:21','2024-05-17 15:20:31','2024-05-17 15:17:21',NULL,'2024-05-17 15:20:31',1550,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),(8672,0,'','COCINA',3472,3469,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-17 15:17:23','2024-05-17 15:20:31','2024-05-17 15:17:23',NULL,'2024-05-17 15:20:31',1550,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),(8674,0,'','COCINA',3473,3470,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'DOCENTE VALERIA POLO',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-17 18:04:56','2024-05-17 18:06:19','2024-05-17 18:04:56',NULL,'2024-05-17 18:06:19',1091,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),(8675,0,'','COCINA',3473,3470,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-05-17 18:04:59','2024-05-17 18:06:19','2024-05-17 18:04:59',NULL,'2024-05-17 18:06:19',1091,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),(8677,0,'','COCINA',3474,3471,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'DOCENTE VALERIA POLO ',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-17 18:06:39','2024-05-17 18:07:51','2024-05-17 18:06:39',NULL,'2024-05-17 18:07:51',1106,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),(8678,0,'','COCINA',3474,3471,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-05-17 18:06:40','2024-05-17 18:07:51','2024-05-17 18:06:40',NULL,'2024-05-17 18:07:51',1106,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),(8680,0,'','CAJA',3475,3472,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-17 18:33:53','2024-05-17 18:36:19','2024-05-17 18:33:53',NULL,'2024-05-17 18:36:19',1214,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),(8681,0,'','COCINA',3475,3472,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-17 18:33:59','2024-05-17 18:36:19','2024-05-17 18:33:59',NULL,'2024-05-17 18:36:19',1214,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),(8683,0,'','CAJA',3476,3473,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-17 19:47:09','2024-05-17 19:49:34','2024-05-17 19:47:09',NULL,'2024-05-17 19:49:35',1551,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),(8684,0,'','COCINA',3476,3473,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-17 19:47:11','2024-05-17 19:49:34','2024-05-17 19:47:11',NULL,'2024-05-17 19:49:35',1551,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),(8686,0,'','CAJA',3477,3474,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-17 20:07:15','2024-05-17 20:12:23','2024-05-17 20:07:15',NULL,'2024-05-17 20:12:23',1552,770,0,0,0,0,0,1030000,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),(8687,0,'','COCINA',3477,3474,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-17 20:07:17','2024-05-17 20:12:23','2024-05-17 20:07:17',NULL,'2024-05-17 20:12:23',1552,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),(8689,0,'','CAJA',3478,3475,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-18 09:09:35','2024-05-18 09:13:34','2024-05-18 09:09:35',NULL,'2024-05-18 09:13:34',1553,770,0,0,0,0,0,1030000,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),(8690,0,'','COCINA',3478,3475,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-18 09:09:38','2024-05-18 09:13:34','2024-05-18 09:09:38',NULL,'2024-05-18 09:13:34',1553,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),(8692,0,'','CAJA',3479,3476,0,0,0,0,NULL,0,4605,'ESTETICA FACIAL ',0,NULL,1,NULL,'DOCENTE MARCELA DIAZ',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-18 09:33:58','2024-05-18 09:39:53','2024-05-18 09:33:58',NULL,'2024-05-18 09:39:54',1175,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),(8693,0,'','COCINA',3479,3476,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-18 09:34:09','2024-05-18 09:39:53','2024-05-18 09:34:09',NULL,'2024-05-18 09:39:54',1175,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),(8695,0,'','CAJA',3480,3477,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-18 13:59:16','2024-05-18 14:03:04','2024-05-18 13:59:16',NULL,'2024-05-18 14:03:04',1554,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),(8696,0,'','COCINA',3480,3477,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-18 13:59:18','2024-05-18 14:03:04','2024-05-18 13:59:18',NULL,'2024-05-18 14:03:04',1554,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),(8698,0,'','CAJA',3481,3478,0,0,0,0,NULL,0,4614,'CUIDADO ESTETICO DE MANOS Y PIES ',0,NULL,1,NULL,'DOCENTE PAOLA PERALTA',1030000,20,1030000,0,0,0,1030000,2,'C','MESAS','2024-05-18 15:49:08','2024-05-18 15:52:07','2024-05-18 15:49:08',NULL,'2024-05-18 15:52:08',1555,770,0,0,0,0,0,1030000,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),(8699,0,'','COCINA',3481,3478,0,0,0,0,NULL,0,4846,'paola peralta',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-18 15:49:10','2024-05-18 15:52:07','2024-05-18 15:49:10',NULL,'2024-05-18 15:52:08',1555,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),(8701,0,'','CAJA',3482,3479,0,0,0,0,NULL,0,4715,'ESTETICA Y CUIDADO FACIAL',0,NULL,1,NULL,'DOCENTE  ALEXA HERNANDEZ',320000,20,320000,0,0,0,320000,2,'C','MESAS','2024-05-20 09:12:16','2024-05-20 09:14:04','2024-05-20 09:12:16',NULL,'2024-05-20 09:14:04',1129,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),(8702,0,'','CAJA',3483,3480,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-20 09:19:55','2024-05-20 09:23:55','2024-05-20 09:19:55',NULL,'2024-05-20 09:23:55',1556,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),(8703,0,'','COCINA',3484,3481,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'DOCENTE VALERIA POLO',710000,20,710000,0,0,0,710000,2,'C','MESAS','2024-05-20 17:30:23','2024-05-20 17:32:58','2024-05-20 17:30:23',NULL,'2024-05-20 17:32:59',1557,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),(8704,0,'','COCINA',3484,3481,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,0,NULL,NULL,680000,20,0,0,0,0,0,2,'C','MESAS','2024-05-20 17:30:25','2024-05-20 17:32:58','2024-05-20 17:30:25',NULL,'2024-05-20 17:32:59',1557,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),(8706,0,'','CAJA',3485,3482,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-21 09:01:30','2024-05-21 09:06:41','2024-05-21 09:01:30',NULL,'2024-05-21 09:06:42',1558,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),(8707,0,'','COCINA',3485,3482,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-21 09:01:43','2024-05-21 09:06:41','2024-05-21 09:01:43',NULL,'2024-05-21 09:06:42',1558,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),(8709,0,'','CAJA',3486,3483,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-21 13:45:17','2024-05-21 13:48:34','2024-05-21 13:45:17',NULL,'2024-05-21 13:48:34',1559,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),(8710,0,'','COCINA',3486,3483,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-21 13:45:19','2024-05-21 13:48:34','2024-05-21 13:45:19',NULL,'2024-05-21 13:48:34',1559,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),(8712,0,'','CAJA',3487,3484,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-21 14:29:06','2024-05-21 14:40:58','2024-05-21 14:29:06',NULL,'2024-05-21 14:40:58',1560,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),(8713,0,'','COCINA',3487,3484,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-21 14:29:08','2024-05-21 14:40:58','2024-05-21 14:29:08',NULL,'2024-05-21 14:40:58',1560,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),(8715,0,'','CAJA',3488,3485,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-21 15:48:38','2024-05-21 15:51:16','2024-05-21 15:48:38',NULL,'2024-05-21 15:51:16',1561,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),(8716,0,'','COCINA',3488,3485,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-21 15:48:41','2024-05-21 15:51:16','2024-05-21 15:48:41',NULL,'2024-05-21 15:51:16',1561,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),(8718,0,'','CAJA',3489,3486,0,0,0,0,NULL,0,4606,'PELUQUERIA',0,NULL,1,NULL,'DOCENTE RICHART MORENO',1190000,20,1190000,0,0,0,1190000,2,'C','MESAS','2024-05-22 09:23:24','2024-05-22 09:26:24','2024-05-22 09:23:24',NULL,'2024-05-22 09:26:24',1562,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),(8719,0,'','COCINA',3489,3486,0,0,0,0,NULL,0,4844,'richard hernandez',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'C','MESAS','2024-05-22 09:23:26','2024-05-22 09:26:24','2024-05-22 09:23:26',NULL,'2024-05-22 09:26:24',1562,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),(8721,0,'','CAJA',3490,3487,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 09:50:07','2024-05-22 09:52:35','2024-05-22 09:50:07',NULL,'2024-05-22 09:52:35',1563,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),(8722,0,'','COCINA',3490,3487,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 09:50:10','2024-05-22 09:52:35','2024-05-22 09:50:10',NULL,'2024-05-22 09:52:35',1563,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),(8724,0,'','COCINA',3491,3488,0,0,0,0,NULL,0,4849,'PÉINADOS',0,NULL,1,NULL,'DOCENTE VALERIA POLO',40000,20,40000,0,0,0,40000,2,'V','MESAS','2024-05-22 11:45:45','2024-05-22 11:49:21','2024-05-22 11:45:45',NULL,'2024-05-22 11:49:21',1564,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),(8725,0,'','COCINA',3491,3488,0,0,0,0,NULL,0,4845,'valeria polo',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2024-05-22 11:45:47','2024-05-22 11:49:21','2024-05-22 11:45:47',NULL,'2024-05-22 11:49:21',1564,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),(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 unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `INCREMENTO` int NOT NULL,
  `codarticulo` int NOT NULL,
  `codsituacion` int NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` int DEFAULT '2',
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `idnc` bigint unsigned NOT NULL DEFAULT '1',
  `nc` int DEFAULT '0',
  `idusuarionc` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int NOT NULL DEFAULT '0',
  `devolucionrevisada` int DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int NOT NULL DEFAULT '0',
  `marcadoparanc` int NOT NULL DEFAULT '0',
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODMODIF` int DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int NOT NULL DEFAULT '0',
  `NUMMODIF` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `aliasespera` int NOT NULL DEFAULT '1',
  `impresiones` int NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'extremabelleza',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `bodega` varchar(25) DEFAULT NULL,
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int DEFAULT '1',
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `impazucaradas` int DEFAULT '0',
  `idmayornomina` int 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;

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

CREATE TABLE `ventasauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmesarelacionada` int DEFAULT '0',
  `estadoimpresion` int DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idmesa` int DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int DEFAULT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` int DEFAULT '2',
  `origen` varchar(15) DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double DEFAULT '0',
  `cantidad` int 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 unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int NOT NULL DEFAULT '0',
  `porcentajedescuento` double DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `CODMODIF` int NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `PrecuentaCallcenter` int 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 DEFAULT '0',
  `baseunitario` decimal(11,2) DEFAULT '0.00',
  `impuestounitario` decimal(11,2) DEFAULT '0.00',
  `iddomiciliario` int 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 DEFAULT '1',
  `sefactura` bit(1) DEFAULT b'1',
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int DEFAULT '0',
  `comanda` varchar(10) DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `impazucaradas` int DEFAULT '0',
  `comocalculardescuento` varchar(10) DEFAULT 'porcentaje',
  `recibidoencallcenter` int DEFAULT '0',
  `tipodescuento` varchar(15) DEFAULT NULL,
  `porcentajesobrecargoeventos` double DEFAULT '0',
  `sobrecargoeventos` double DEFAULT '0',
  `sgroupname` int DEFAULT '0',
  `campovalor` varchar(25) DEFAULT 'valordeventa',
  `proximocosto` double DEFAULT '0',
  `sesiones` int 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=146 DEFAULT CHARSET=utf8mb3;

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


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

CREATE TABLE `ventasauxiliar2` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmesarelacionada` int DEFAULT '0',
  `estadoimpresion` int DEFAULT '0',
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idmesa` int DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int DEFAULT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` int DEFAULT '2',
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int NOT NULL DEFAULT '0',
  `porcentajedescuento` double NOT NULL DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `CODMODIF` int NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `unidadesdemedida` varchar(25) DEFAULT NULL,
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `PrecuentaCallcenter` int 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;

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


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

CREATE TABLE `ventasporhoras` (
  `id` bigint 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 NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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


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

CREATE TABLE `z` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `consecutivo` int 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 NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `devoluciones` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `idcierre` int 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 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 DEFAULT '0',
  `prestamoaempleados` double DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `abonosprestamos` int DEFAULT '0',
  `base` int DEFAULT '0',
  `ifood` int DEFAULT '0',
  `rappi` int DEFAULT '0',
  `efectivo` int DEFAULT '0',
  `transferencias` int DEFAULT '0',
  `datafono` int DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `domicilioexterno` int DEFAULT '0',
  `notasdebitoencompra` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'distrito',
  `abonosordenservicio` double DEFAULT '0',
  `nequi` int DEFAULT '0',
  `notascreditoenventas` double DEFAULT '0',
  `otrosgastossinafectarcaja` double DEFAULT '0',
  `devolucionesdedinero` double DEFAULT '0',
  `sistecredito` int DEFAULT '0',
  `prestamosalaempresa` int DEFAULT '0',
  `abonosprestamosin` int DEFAULT '0',
  `nomina` int DEFAULT '0',
  `anticipos` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=825 DEFAULT CHARSET=utf8mb3;

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

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

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

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

INSERT INTO `zonas` (`id`, `zona`, `cc`, `orden`, `oculto`, `COD_SATELITEZ`, `pv`, `idusuario`, `eshotel`, `activo`) VALUES (1,'SALÓN',2,1,0,'SELECCIONE','extremabelleza',0,0,1);

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

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

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


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

CREATE TABLE `zonashabitaciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `zona` varchar(25) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `orden` int DEFAULT '0',
  `oculto` int 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;

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


--
-- Dumping routines for database 'lasvegas'
--
/*!50003 DROP FUNCTION IF EXISTS `biscaridfactura` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `biscaridfactura`(`consecutivoin` INT(11)) RETURNS int
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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;

    
    SELECT tienecomposicion INTO vtienecomposicion
    FROM articulos
    WHERE id = idarticuloin;

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

    
    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;

    
   
        RETURN  cantidadactual- compromiso;
    
END ;;
DELIMITER ;
/*!50003 DROP FUNCTION IF EXISTS `cantidaddecompras` */;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` FUNCTION `cantidaddecompras`(`idin` INT(11)) RETURNS int
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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 ;


