(34382,0,'COCINA',2822,11707,0,0,0,0,NULL,148.14814814814827,200,'APANADO',0,NULL,1,NULL,NULL,2000,10,2000,0,0,0,2000,2,'V','MESAS','2025-11-23 15:26:50','2025-11-23 16:08:57','2025-11-23 15:26:50',NULL,'2025-11-23 16:08:57',1568,14,25,0,0,0,8,1851.8518518518517,0,0,1006,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,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34383,0,'COCINA',2822,11707,0,0,0,0,NULL,148.14814814814827,205,'CONTENEDOR',0,NULL,2,NULL,NULL,1000,10,2000,0,0,0,2000,2,'V','MESAS','2025-11-23 15:27:03','2025-11-23 16:08:57','2025-11-23 15:27:03',NULL,'2025-11-23 16:08:57',1568,14,25,0,0,0,8,1851.8518518518517,0,0,1006,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,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34395,0,'COCINA',2823,11708,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:04:54','2025-11-23 16:10:28','2025-11-23 15:04:54',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34396,0,'COCINA',2823,11708,0,0,0,0,NULL,2111.111111111113,9,'ROBALO MILANESA',0,NULL,1,NULL,NULL,28500,11,28500,0,0,0,28500,2,'V','MESAS','2025-11-23 15:04:58','2025-11-23 16:10:28','2025-11-23 15:04:58',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,26388.888888888887,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34397,0,'COCINA',2823,11708,0,0,0,0,NULL,0,13,'ENSALADA CON REPOLLO coci',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:04:59','2025-11-23 16:10:28','2025-11-23 15:04:59',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34398,0,'COCINA',2823,11708,0,0,0,0,NULL,0,16,'SOBREMESA CLARO',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:02','2025-11-23 16:10:28','2025-11-23 15:05:02',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34399,0,'COCINA',2823,11708,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:06','2025-11-23 16:10:28','2025-11-23 15:05:06',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34400,0,'COCINA',2823,11708,0,0,0,0,NULL,2074.0740740740766,20,'DOMINGO: SANCOCHO DE BAGRE',0,NULL,1,NULL,NULL,28000,11,28000,0,0,0,28000,2,'V','MESAS','2025-11-23 15:05:19','2025-11-23 16:10:28','2025-11-23 15:05:19',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,25925.925925925923,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','PLATO DEL DIA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34401,0,'COCINA',2823,11708,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:25','2025-11-23 16:10:28','2025-11-23 15:05:25',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34402,0,'COCINA',2823,11708,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:28','2025-11-23 16:10:28','2025-11-23 15:05:28',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34403,0,'COCINA',2823,11708,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:32','2025-11-23 16:10:28','2025-11-23 15:05:32',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34404,0,'COCINA',2823,11708,0,0,0,0,NULL,1629.6296296296314,6,'POSTA SUDADA',0,NULL,1,NULL,NULL,22000,11,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:05:33','2025-11-23 16:10:28','2025-11-23 15:05:33',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,20370.37037037037,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34405,0,'COCINA',2823,11708,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:34','2025-11-23 16:10:28','2025-11-23 15:05:34',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34406,0,'COCINA',2823,11708,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:38','2025-11-23 16:10:28','2025-11-23 15:05:38',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34407,0,'COCINA',2823,11708,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:39','2025-11-23 16:10:28','2025-11-23 15:05:39',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34408,0,'COCINA',2823,11708,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:51','2025-11-23 16:10:28','2025-11-23 15:05:51',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34409,0,'COCINA',2823,11708,0,0,0,0,NULL,1962.9629629629635,4,'CHICHARRON',0,NULL,1,NULL,NULL,26500,11,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:05:53','2025-11-23 16:10:28','2025-11-23 15:05:53',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,24537.037037037036,0,0,1006,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34410,0,'COCINA',2823,11708,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:55','2025-11-23 16:10:28','2025-11-23 15:05:55',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34411,0,'COCINA',2823,11708,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:58','2025-11-23 16:10:28','2025-11-23 15:05:58',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34412,0,'COCINA',2823,11708,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:05:58','2025-11-23 16:10:28','2025-11-23 15:05:58',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34413,0,'COCINA',2823,11708,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,'Apanado',0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:06:05','2025-11-23 16:10:28','2025-11-23 15:06:05',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34414,0,'COCINA',2823,11708,0,0,0,0,NULL,1851.851851851854,8,'DESHUESADA POLLO',0,NULL,1,NULL,NULL,25000,11,25000,0,0,0,25000,2,'V','MESAS','2025-11-23 15:06:08','2025-11-23 16:10:28','2025-11-23 15:06:08',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,23148.148148148146,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34415,0,'COCINA',2823,11708,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:06:09','2025-11-23 16:10:28','2025-11-23 15:06:09',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34416,0,'COCINA',2823,11708,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:06:12','2025-11-23 16:10:28','2025-11-23 15:06:12',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34417,0,'COCINA',2823,11708,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:06:12','2025-11-23 16:10:28','2025-11-23 15:06:12',NULL,'2025-11-23 16:10:28',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34426,0,'PARRILLA',2824,11709,0,0,0,0,NULL,2962.9629629629635,25,'ROBALO MIRY',0,NULL,1,NULL,NULL,40000,3,40000,0,0,0,40000,2,'V','MESAS','2025-11-23 15:24:01','2025-11-23 16:12:07','2025-11-23 15:24:01','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,37037.03703703704,0,0,1005,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,'miry','SALON','PESCADOS Y MARISCOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34427,0,'PARRILLA',2824,11709,0,0,0,0,NULL,0,79,'EMSALADA DE LECHUGA parri',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:24:25','2025-11-23 16:12:07','2025-11-23 15:24:25','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34428,0,'PARRILLA',2824,11709,0,0,0,0,NULL,0,76,'PAPAS A LA FRANCESA parri',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:24:25','2025-11-23 16:12:07','2025-11-23 15:24:25','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','DESCONOCIDO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34429,0,'BEBIDAS',2824,11709,0,0,0,0,NULL,444.44444444444525,96,'AGUA MANANTIAL',0,NULL,1,NULL,NULL,6000,3,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:24:51','2025-11-23 16:12:07','2025-11-23 15:24:51','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,5555.555555555555,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN BOTELLA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34430,0,'BEBIDAS',2824,11709,0,0,0,0,NULL,592.5925925925931,138,'LIMONADA DE CEREZA',0,NULL,1,NULL,NULL,8000,3,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 15:24:56','2025-11-23 16:12:07','2025-11-23 15:24:56','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,7407.407407407407,0,0,1005,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34431,0,'PARRILLA',2824,11709,0,0,0,0,NULL,3259.2592592592628,33,'SOLOMITO',0,NULL,1,NULL,NULL,44000,3,44000,0,0,0,44000,2,'V','MESAS','2025-11-23 15:25:30','2025-11-23 16:12:07','2025-11-23 15:25:30','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,40740.74074074074,0,0,1005,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','CARNES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34432,0,'PARRILLA',2824,11709,0,0,0,0,NULL,0,87,'ENSALADA CEBOLLA Y TOMATE parri',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:25:33','2025-11-23 16:12:07','2025-11-23 15:25:33','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,0,0,0,1005,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34433,0,'PARRILLA',2824,11709,0,0,0,0,NULL,0,76,'PAPAS A LA FRANCESA parri',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:25:34','2025-11-23 16:12:07','2025-11-23 15:25:34','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,0,0,0,1005,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','DESCONOCIDO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34434,0,'PARRILLA',2824,11709,0,0,0,0,NULL,0,187,'TERMINO 3/4',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:25:36','2025-11-23 16:12:07','2025-11-23 15:25:36','2025-11-23 16:10:44','2025-11-23 16:12:07',3,14,25,0,0,0,8,0,0,0,1005,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34441,0,'COCINA',2825,0,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:28','2025-11-23 16:15:46','2025-11-23 15:21:28',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34442,0,'COCINA',2825,0,0,0,0,0,NULL,1629.6296296296296,5,'CARNE MOLIDA',0,NULL,1,NULL,NULL,22000,1,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:21:30','2025-11-23 16:15:46','2025-11-23 15:21:30',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,20370.37037037037,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1100,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34443,0,'COCINA',2825,0,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:35','2025-11-23 16:15:46','2025-11-23 15:21:35',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34444,0,'COCINA',2825,0,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:38','2025-11-23 16:15:46','2025-11-23 15:21:38',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34445,0,'COCINA',2825,0,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:38','2025-11-23 16:15:46','2025-11-23 15:21:38',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34446,0,'COCINA',2825,0,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:42','2025-11-23 16:15:46','2025-11-23 15:21:42',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34447,0,'COCINA',2825,0,0,0,0,0,NULL,1962.962962962963,4,'CHICHARRON',0,NULL,1,NULL,NULL,26500,1,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:21:44','2025-11-23 16:15:46','2025-11-23 15:21:44',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,24537.037037037036,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1325,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34448,0,'COCINA',2825,0,0,0,0,0,NULL,0,13,'ENSALADA CON REPOLLO coci',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:49','2025-11-23 16:15:46','2025-11-23 15:21:49',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34449,0,'COCINA',2825,0,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:52','2025-11-23 16:15:46','2025-11-23 15:21:52',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34450,0,'COCINA',2825,0,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,1,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:21:54','2025-11-23 16:15:46','2025-11-23 15:21:54',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34451,0,'COCINA',2825,0,0,0,0,0,NULL,1259.2592592592594,27,'ENTRADA CHICHARRON CON PATACON',0,NULL,1,NULL,NULL,17000,1,17000,0,0,0,17000,2,'V','MESAS','2025-11-23 15:22:09','2025-11-23 16:15:46','2025-11-23 15:22:09',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,15740.740740740739,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,850,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ENTRADAS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34452,0,'COCINA',2825,0,0,0,0,0,NULL,296.2962962962963,234,'ADICION DE ENSALADA',0,NULL,1,NULL,'Pico de gallo',4000,1,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 15:22:14','2025-11-23 16:15:46','2025-11-23 15:22:14',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,3703.7037037037035,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,200,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34453,0,'BEBIDAS',2825,0,0,0,0,0,NULL,444.44444444444446,119,'CERVEZA AGUILA LIGHT',0,NULL,1,NULL,NULL,6000,1,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:22:29','2025-11-23 16:15:46','2025-11-23 15:22:29',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,5555.555555555555,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,300,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN BOTELLA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34454,0,'BEBIDAS',2825,0,0,0,0,0,NULL,296.2962962962963,107,'AGUA PET',0,NULL,1,NULL,NULL,4000,1,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 16:11:45','2025-11-23 16:15:46','2025-11-23 16:11:45',NULL,'2025-11-23 16:15:46',2029,14,25,0,0,0,8,3703.7037037037035,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,200,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN BOTELLA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34456,0,'COCINA',2826,11710,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:27:25','2025-11-23 16:17:22','2025-11-23 15:27:25','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON CENTRO','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34457,0,'COCINA',2826,11710,0,0,0,0,NULL,1629.6296296296314,4,'CHICHARRON',0,NULL,1,NULL,NULL,22000,21,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:27:27','2025-11-23 16:17:22','2025-11-23 15:27:27','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,20370.37037037037,0,0,12,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34458,0,'COCINA',2826,11710,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:27:30','2025-11-23 16:17:22','2025-11-23 15:27:30','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34459,0,'COCINA',2826,11710,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:27:34','2025-11-23 16:17:22','2025-11-23 15:27:34','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34460,0,'COCINA',2826,11710,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:27:36','2025-11-23 16:17:22','2025-11-23 15:27:36','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34461,0,'PARRILLA',2826,11710,0,0,0,0,NULL,2370.3703703703723,59,'CAZUELA DE FRIJOL',0,NULL,1,NULL,NULL,32000,21,32000,0,0,0,32000,2,'V','MESAS','2025-11-23 15:27:42','2025-11-23 16:17:22','2025-11-23 15:27:42','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,29629.629629629628,0,0,12,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34462,0,'PARRILLA',2826,11710,0,0,0,0,NULL,0,81,'ENSALA DE REPOLLO parri',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:27:46','2025-11-23 16:17:22','2025-11-23 15:27:46','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34463,0,'PARRILLA',2826,11710,0,0,0,0,NULL,2074.0740740740766,65,'ARROZ CON CAMARONES',0,NULL,1,NULL,NULL,28000,21,28000,0,0,0,28000,2,'V','MESAS','2025-11-23 15:27:52','2025-11-23 16:17:22','2025-11-23 15:27:52','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,25925.925925925923,0,0,12,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','ARROCES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34464,0,'PARRILLA',2826,11710,0,0,0,0,NULL,0,81,'ENSALA DE REPOLLO parri',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:28:00','2025-11-23 16:17:22','2025-11-23 15:28:00','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34465,0,'PARRILLA',2826,11710,0,0,0,0,NULL,0,76,'PAPAS A LA FRANCESA parri',0,NULL,1,NULL,NULL,0,21,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:28:03','2025-11-23 16:17:22','2025-11-23 15:28:03','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,0,0,0,12,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','DESCONOCIDO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34466,0,'BEBIDAS',2826,11710,0,0,0,0,NULL,444.44444444444525,169,'GUANDOLO ADICIONAL',0,NULL,2,NULL,NULL,3000,21,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:28:10','2025-11-23 16:17:22','2025-11-23 15:28:10','2025-11-23 15:40:49','2025-11-23 16:17:22',3,14,25,0,0,0,8,5555.555555555555,0,0,12,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34471,0,'COCINA',2827,11711,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:18','2025-11-23 16:18:26','2025-11-23 15:23:18',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34472,0,'COCINA',2827,11711,0,0,0,0,NULL,1629.6296296296314,4,'CHICHARRON',0,NULL,1,NULL,NULL,22000,2,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:23:19','2025-11-23 16:18:26','2025-11-23 15:23:19',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,20370.37037037037,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34473,0,'COCINA',2827,11711,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:21','2025-11-23 16:18:26','2025-11-23 15:23:21',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34474,0,'COCINA',2827,11711,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:25','2025-11-23 16:18:26','2025-11-23 15:23:25',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34475,0,'COCINA',2827,11711,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:26','2025-11-23 16:18:26','2025-11-23 15:23:26',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34476,0,'COCINA',2827,11711,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:27','2025-11-23 16:18:26','2025-11-23 15:23:27',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34477,0,'COCINA',2827,11711,0,0,0,0,NULL,1629.6296296296314,3,'HIGADO',0,NULL,1,NULL,NULL,22000,2,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:23:30','2025-11-23 16:18:26','2025-11-23 15:23:30',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,20370.37037037037,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34478,0,'COCINA',2827,11711,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:32','2025-11-23 16:18:26','2025-11-23 15:23:32',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34479,0,'COCINA',2827,11711,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:33','2025-11-23 16:18:26','2025-11-23 15:23:33',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34480,0,'COCINA',2827,11711,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:33','2025-11-23 16:18:26','2025-11-23 15:23:33',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34481,0,'BEBIDAS',2827,11711,0,0,0,0,NULL,444.44444444444525,120,'CERVEZA AGUILA',0,NULL,1,NULL,NULL,6000,2,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:23:38','2025-11-23 16:18:26','2025-11-23 15:23:38',NULL,'2025-11-23 16:18:26',3,14,25,0,0,0,8,5555.555555555555,0,0,1005,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN BOTELLA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34486,0,'COCINA',2828,11712,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,2,NULL,'Una con cebolla y tomate',0,22,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:44:37','2025-11-23 16:26:11','2025-11-23 15:44:37',NULL,'2025-11-23 16:26:11',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON CENTRO','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34487,0,'COCINA',2828,11712,0,0,0,0,NULL,3703.703703703708,9,'ROBALO MILANESA',0,NULL,2,NULL,NULL,25000,22,50000,0,0,0,50000,2,'V','MESAS','2025-11-23 15:44:39','2025-11-23 16:26:11','2025-11-23 15:44:39',NULL,'2025-11-23 16:26:11',3,14,25,0,0,0,8,46296.29629629629,0,0,1006,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34488,0,'COCINA',2828,11712,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,2,NULL,NULL,0,22,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:44:40','2025-11-23 16:26:11','2025-11-23 15:44:40',NULL,'2025-11-23 16:26:11',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34489,0,'COCINA',2828,11712,0,0,0,0,NULL,0,16,'SOBREMESA CLARO',0,NULL,2,NULL,NULL,0,22,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:44:41','2025-11-23 16:26:11','2025-11-23 15:44:41',NULL,'2025-11-23 16:26:11',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34490,0,'COCINA',2828,11712,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,2,NULL,NULL,0,22,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:44:49','2025-11-23 16:26:11','2025-11-23 15:44:49',NULL,'2025-11-23 16:26:11',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34491,0,'CAJA',2828,11712,0,0,0,0,NULL,222.22222222222263,195,'PANELITA',0,NULL,1,NULL,NULL,3000,22,3000,0,0,0,3000,2,'V','MESAS','2025-11-23 16:21:15','2025-11-23 16:26:11','2025-11-23 16:21:15',NULL,'2025-11-23 16:26:11',3,14,25,0,0,0,8,2777.7777777777774,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34493,0,'COCINA',2829,11713,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,'FS sofreir la posta',0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:25:54','2025-11-23 16:28:43','2025-11-23 15:25:54','2025-11-23 15:41:31','2025-11-23 16:28:43',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34494,0,'COCINA',2829,11713,0,0,0,0,NULL,1962.9629629629635,6,'POSTA SUDADA',0,NULL,1,NULL,NULL,26500,4,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:25:58','2025-11-23 16:28:43','2025-11-23 15:25:58','2025-11-23 15:41:31','2025-11-23 16:28:43',3,14,25,0,0,0,8,24537.037037037036,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34495,0,'COCINA',2829,11713,0,0,0,0,NULL,0,80,'ENSALADA PICO DE GALLO coci',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:26:03','2025-11-23 16:28:43','2025-11-23 15:26:03','2025-11-23 15:41:31','2025-11-23 16:28:43',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34496,0,'COCINA',2829,11713,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:26:13','2025-11-23 16:28:43','2025-11-23 15:26:13','2025-11-23 15:41:31','2025-11-23 16:28:43',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34497,0,'COCINA',2829,11713,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:26:13','2025-11-23 16:28:43','2025-11-23 15:26:13','2025-11-23 15:41:31','2025-11-23 16:28:43',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34498,0,'BEBIDAS',2829,11713,0,0,0,0,NULL,222.22222222222263,169,'GUANDOLO ADICIONAL',0,NULL,1,NULL,NULL,3000,4,3000,0,0,0,3000,2,'V','MESAS','2025-11-23 15:27:07','2025-11-23 16:28:43','2025-11-23 15:27:07','2025-11-23 15:41:31','2025-11-23 16:28:43',3,14,25,0,0,0,8,2777.7777777777774,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34500,0,'COCINA',2830,11714,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,3,NULL,NULL,0,16,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:23:55','2025-11-23 16:31:20','2025-11-23 15:23:55',NULL,'2025-11-23 16:31:21',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34501,0,'COCINA',2830,11714,0,0,0,0,NULL,4888.8888888888905,3,'HIGADO',0,NULL,3,NULL,NULL,22000,16,66000,0,0,0,66000,2,'V','MESAS','2025-11-23 15:23:58','2025-11-23 16:31:20','2025-11-23 15:23:58',NULL,'2025-11-23 16:31:21',3,14,25,0,0,0,8,61111.11111111111,0,0,12,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3300,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34502,0,'COCINA',2830,11714,0,0,0,0,NULL,0,80,'ENSALADA PICO DE GALLO coci',0,NULL,3,NULL,NULL,0,16,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:24:00','2025-11-23 16:31:20','2025-11-23 15:24:00',NULL,'2025-11-23 16:31:21',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34503,0,'COCINA',2830,11714,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,3,NULL,NULL,0,16,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:24:07','2025-11-23 16:31:20','2025-11-23 15:24:07',NULL,'2025-11-23 16:31:21',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34504,0,'COCINA',2830,11714,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,3,NULL,NULL,0,16,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:24:08','2025-11-23 16:31:20','2025-11-23 15:24:08',NULL,'2025-11-23 16:31:21',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34507,0,'COCINA',2831,11715,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:51:47','2025-11-23 16:32:48','2025-11-23 15:51:47','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34508,0,'COCINA',2831,11715,0,0,0,0,NULL,1962.9629629629635,6,'POSTA SUDADA',0,NULL,1,NULL,NULL,26500,12,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:51:49','2025-11-23 16:32:48','2025-11-23 15:51:49','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,24537.037037037036,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1325,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34509,0,'COCINA',2831,11715,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:51:51','2025-11-23 16:32:48','2025-11-23 15:51:51','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34510,0,'COCINA',2831,11715,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:51:55','2025-11-23 16:32:48','2025-11-23 15:51:55','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34511,0,'COCINA',2831,11715,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:51:59','2025-11-23 16:32:48','2025-11-23 15:51:59','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34512,0,'COCINA',2831,11715,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:52:07','2025-11-23 16:32:48','2025-11-23 15:52:07','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34513,0,'COCINA',2831,11715,0,0,0,0,NULL,2111.111111111113,8,'DESHUESADA POLLO',0,NULL,1,NULL,NULL,28500,12,28500,0,0,0,28500,2,'V','MESAS','2025-11-23 15:52:24','2025-11-23 16:32:48','2025-11-23 15:52:24','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,26388.888888888887,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1425,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34514,0,'COCINA',2831,11715,0,0,0,0,NULL,0,13,'ENSALADA CON REPOLLO coci',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:52:26','2025-11-23 16:32:48','2025-11-23 15:52:26','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34515,0,'COCINA',2831,11715,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:52:28','2025-11-23 16:32:48','2025-11-23 15:52:28','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34516,0,'COCINA',2831,11715,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:52:29','2025-11-23 16:32:48','2025-11-23 15:52:29','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34517,0,'COCINA',2831,11715,0,0,0,0,NULL,370.37037037037044,213,'ADICION SOPA PEQUEÑA',0,NULL,1,NULL,NULL,5000,12,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 15:52:43','2025-11-23 16:32:48','2025-11-23 15:52:43','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,4629.62962962963,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,250,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34518,0,'COCINA',2831,11715,0,0,0,0,NULL,370.37037037037044,75,'ADICION PAPAS A LA FRANCESA',0,NULL,1,NULL,NULL,5000,12,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 15:52:48','2025-11-23 16:32:48','2025-11-23 15:52:48','2025-11-23 16:23:34','2025-11-23 16:32:48',3,14,25,0,0,0,8,4629.62962962963,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,250,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34519,0,'BEBIDAS',2831,11715,0,0,0,0,NULL,296.29629629629653,222,'ADICION MAZAMORRA',0,NULL,1,NULL,NULL,4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 16:29:29','2025-11-23 16:32:48','2025-11-23 16:29:29',NULL,'2025-11-23 16:32:48',3,14,25,0,0,0,8,3703.7037037037035,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,200,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34522,0,'COCINA',2832,11716,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,3,NULL,'Una frijol aparte',0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:56','2025-11-23 16:37:51','2025-11-23 15:34:56','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34523,0,'COCINA',2832,11716,0,0,0,0,NULL,5888.8888888888905,4,'CHICHARRON',0,NULL,3,NULL,NULL,26500,5,79500,0,0,0,79500,2,'V','MESAS','2025-11-23 15:35:17','2025-11-23 16:37:51','2025-11-23 15:35:17','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,73611.11111111111,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3975,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34524,0,'COCINA',2832,11716,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,3,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:32','2025-11-23 16:37:51','2025-11-23 15:35:32','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34525,0,'COCINA',2832,11716,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,3,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:42','2025-11-23 16:37:51','2025-11-23 15:35:42','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34526,0,'COCINA',2832,11716,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,3,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:46','2025-11-23 16:37:51','2025-11-23 15:35:46','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34527,0,'COCINA',2832,11716,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,'Frijol aparte',0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:04','2025-11-23 16:37:51','2025-11-23 15:36:04','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34528,0,'COCINA',2832,11716,0,0,0,0,NULL,1962.9629629629635,1,'RES',0,NULL,1,NULL,NULL,26500,5,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:36:05','2025-11-23 16:37:51','2025-11-23 15:36:05','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,24537.037037037036,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1325,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34529,0,'COCINA',2832,11716,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:06','2025-11-23 16:37:51','2025-11-23 15:36:06','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34530,0,'COCINA',2832,11716,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:09','2025-11-23 16:37:51','2025-11-23 15:36:09','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34531,0,'COCINA',2832,11716,0,0,0,0,NULL,0,233,'SIN SOPA DEL DIA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:16','2025-11-23 16:37:51','2025-11-23 15:36:16','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34532,0,'COCINA',2832,11716,0,0,0,0,NULL,3111.1111111111168,58,'BANDEJA PAISA',0,NULL,1,NULL,NULL,42000,5,42000,0,0,0,42000,2,'V','MESAS','2025-11-23 15:36:29','2025-11-23 16:37:51','2025-11-23 15:36:29','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,38888.88888888888,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2100,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34533,0,'COCINA',2832,11716,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:33','2025-11-23 16:37:51','2025-11-23 15:36:33','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34534,0,'COCINA',2832,11716,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:37','2025-11-23 16:37:51','2025-11-23 15:36:37','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34535,0,'BEBIDAS',2832,11716,0,0,0,0,NULL,296.29629629629653,222,'ADICION MAZAMORRA',0,NULL,1,NULL,NULL,4000,5,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 15:36:47','2025-11-23 16:37:51','2025-11-23 15:36:47','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,3703.7037037037035,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,200,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34536,0,'COCINA',2832,11716,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:37:14','2025-11-23 16:37:51','2025-11-23 15:37:14','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34537,0,'COCINA',2832,11716,0,0,0,0,NULL,1629.6296296296314,5,'CARNE MOLIDA',0,NULL,1,NULL,NULL,22000,5,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:37:16','2025-11-23 16:37:51','2025-11-23 15:37:16','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,20370.37037037037,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1100,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34538,0,'COCINA',2832,11716,0,0,0,0,NULL,0,225,'SIN ENSALADA coci',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:37:20','2025-11-23 16:37:51','2025-11-23 15:37:20','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34539,0,'COCINA',2832,11716,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:37:23','2025-11-23 16:37:51','2025-11-23 15:37:23','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34540,0,'COCINA',2832,11716,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:37:30','2025-11-23 16:37:51','2025-11-23 15:37:30','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,0,0,0,1006,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34541,0,'BEBIDAS',2832,11716,0,0,0,0,NULL,444.44444444444525,235,'LIMONADA NATURAL',0,NULL,1,NULL,NULL,6000,5,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:37:40','2025-11-23 16:37:51','2025-11-23 15:37:40','2025-11-23 15:41:21','2025-11-23 16:37:52',3,14,25,0,0,0,8,5555.555555555555,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,300,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34542,0,'CAJA',2832,11716,0,0,0,0,NULL,222.22222222222263,195,'PANELITA',0,NULL,1,NULL,NULL,3000,5,3000,0,0,0,3000,2,'V','MESAS','2025-11-23 15:42:21','2025-11-23 16:37:51','2025-11-23 15:42:21',NULL,'2025-11-23 16:37:52',3,14,25,0,0,0,8,2777.7777777777774,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,150,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34543,0,'BEBIDAS',2832,11716,0,0,0,0,NULL,444.44444444444525,235,'LIMONADA NATURAL',0,NULL,1,NULL,NULL,6000,5,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:53:33','2025-11-23 16:37:51','2025-11-23 15:53:33',NULL,'2025-11-23 16:37:52',3,14,25,0,0,0,8,5555.555555555555,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,300,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34553,0,'COCINA',2833,11717,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:33:44','2025-11-23 16:41:39','2025-11-23 15:33:44',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,'miry','SALÓN ATRÁS','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34554,0,'COCINA',2833,11717,0,0,0,0,NULL,1629.6296296296314,6,'POSTA SUDADA',0,NULL,1,NULL,NULL,22000,17,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 15:33:46','2025-11-23 16:41:39','2025-11-23 15:33:46',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,20370.37037037037,0,0,1004,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,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34555,0,'COCINA',2833,11717,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:33:48','2025-11-23 16:41:39','2025-11-23 15:33:48',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34556,0,'COCINA',2833,11717,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:33:51','2025-11-23 16:41:39','2025-11-23 15:33:51',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34557,0,'COCINA',2833,11717,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:33:52','2025-11-23 16:41:39','2025-11-23 15:33:52',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34558,0,'COCINA',2833,11717,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:33:58','2025-11-23 16:41:39','2025-11-23 15:33:58',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34559,0,'COCINA',2833,11717,0,0,0,0,NULL,1962.9629629629635,4,'CHICHARRON',0,NULL,1,NULL,NULL,26500,17,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:34:00','2025-11-23 16:41:39','2025-11-23 15:34:00',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,24537.037037037036,0,0,1004,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34560,0,'COCINA',2833,11717,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:06','2025-11-23 16:41:39','2025-11-23 15:34:06',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34561,0,'COCINA',2833,11717,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:10','2025-11-23 16:41:39','2025-11-23 15:34:10',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34562,0,'COCINA',2833,11717,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:12','2025-11-23 16:41:39','2025-11-23 15:34:12',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34563,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,444.44444444444525,154,'MARACUYA',0,NULL,1,NULL,NULL,6000,17,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:34:25','2025-11-23 16:41:39','2025-11-23 15:34:25',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,5555.555555555555,0,0,1004,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34564,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,0,155,'JUGO EN AGUA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:29','2025-11-23 16:41:39','2025-11-23 15:34:29',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34565,0,'COCINA',2833,11717,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:36','2025-11-23 16:41:39','2025-11-23 15:34:36',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34566,0,'COCINA',2833,11717,0,0,0,0,NULL,1962.9629629629635,4,'CHICHARRON',0,NULL,1,NULL,NULL,26500,17,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:34:38','2025-11-23 16:41:39','2025-11-23 15:34:38',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,24537.037037037036,0,0,1004,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34567,0,'COCINA',2833,11717,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:45','2025-11-23 16:41:39','2025-11-23 15:34:45',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34568,0,'COCINA',2833,11717,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:52','2025-11-23 16:41:39','2025-11-23 15:34:52',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34569,0,'COCINA',2833,11717,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:34:55','2025-11-23 16:41:39','2025-11-23 15:34:55',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34570,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,444.44444444444525,147,'MANGO',0,NULL,1,NULL,NULL,6000,17,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 15:35:01','2025-11-23 16:41:39','2025-11-23 15:35:01',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,5555.555555555555,0,0,1004,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34571,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,0,155,'JUGO EN AGUA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:08','2025-11-23 16:41:39','2025-11-23 15:35:08',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34572,0,'COCINA',2833,11717,0,0,0,0,NULL,1111.1111111111113,66,'ADICION CARNE MOLIDA',0,NULL,1,NULL,NULL,15000,17,15000,0,0,0,15000,2,'V','MESAS','2025-11-23 15:35:21','2025-11-23 16:41:39','2025-11-23 15:35:21',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,13888.888888888889,0,0,1004,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,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34573,0,'PARRILLA',2833,11717,0,0,0,0,NULL,3259.2592592592628,35,'STEAK PIMIENTA',0,NULL,1,NULL,NULL,44000,17,44000,0,0,0,44000,2,'V','MESAS','2025-11-23 15:35:28','2025-11-23 16:41:39','2025-11-23 15:35:28',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,40740.74074074074,0,0,1004,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,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','CARNES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34574,0,'PARRILLA',2833,11717,0,0,0,0,NULL,0,79,'EMSALADA DE LECHUGA parri',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:39','2025-11-23 16:41:39','2025-11-23 15:35:39',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34575,0,'PARRILLA',2833,11717,0,0,0,0,NULL,0,77,'PAPAS AL VAPOR parri',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:44','2025-11-23 16:41:39','2025-11-23 15:35:44',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34576,0,'PARRILLA',2833,11717,0,0,0,0,NULL,0,188,'TERMINO MEDIO',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:49','2025-11-23 16:41:39','2025-11-23 15:35:49',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34577,0,'PARRILLA',2833,11717,0,0,0,0,NULL,3259.2592592592628,33,'SOLOMITO',0,NULL,1,NULL,NULL,44000,17,44000,0,0,0,44000,2,'V','MESAS','2025-11-23 15:35:56','2025-11-23 16:41:39','2025-11-23 15:35:56',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,40740.74074074074,0,0,1004,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,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','CARNES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34578,0,'PARRILLA',2833,11717,0,0,0,0,NULL,0,79,'EMSALADA DE LECHUGA parri',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:35:59','2025-11-23 16:41:39','2025-11-23 15:35:59',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34579,0,'PARRILLA',2833,11717,0,0,0,0,NULL,0,76,'PAPAS A LA FRANCESA parri',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:02','2025-11-23 16:41:39','2025-11-23 15:36:02',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','DESCONOCIDO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34580,0,'PARRILLA',2833,11717,0,0,0,0,NULL,0,187,'TERMINO 3/4',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:06','2025-11-23 16:41:39','2025-11-23 15:36:06',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34581,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,592.5925925925931,138,'LIMONADA DE CEREZA',0,NULL,1,NULL,NULL,8000,17,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 15:36:27','2025-11-23 16:41:39','2025-11-23 15:36:27',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,7407.407407407407,0,0,1004,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,9,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34582,0,'COCINA',2833,11717,0,0,0,0,NULL,2888.8888888888905,26,'ROBALO ESPECIAL MILANESA',0,NULL,1,NULL,NULL,39000,17,39000,0,0,0,39000,2,'V','MESAS','2025-11-23 15:36:49','2025-11-23 16:41:39','2025-11-23 15:36:49',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,36111.11111111111,0,0,1004,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,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','PESCADOS Y MARISCOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34583,0,'COCINA',2833,11717,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:36:59','2025-11-23 16:41:39','2025-11-23 15:36:59',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34584,0,'COCINA',2833,11717,0,0,0,0,NULL,0,23,'PAPAS A LA FRANCESA coci',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:37:00','2025-11-23 16:41:39','2025-11-23 15:37:00',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34585,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,370.37037037037044,111,'COCACOLA CERO',0,NULL,1,NULL,NULL,5000,17,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 15:37:25','2025-11-23 16:41:39','2025-11-23 15:37:25',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,4629.62962962963,0,0,1004,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,11,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','BEBIDAS EN BOTELLA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34586,0,'BEBIDAS',2833,11717,0,0,0,0,NULL,370.37037037037044,111,'COCACOLA CERO',0,NULL,1,NULL,NULL,5000,17,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 15:56:55','2025-11-23 16:41:39','2025-11-23 15:56:55',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,4629.62962962963,0,0,1004,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,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','BEBIDAS EN BOTELLA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34587,0,'COCINA',2833,11717,0,0,0,0,NULL,3111.1111111111168,58,'BANDEJA PAISA',0,NULL,1,NULL,NULL,42000,17,42000,0,0,0,42000,2,'V','MESAS','2025-11-23 16:16:14','2025-11-23 16:41:39','2025-11-23 16:16:14',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,38888.88888888888,0,0,1004,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,13,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34588,0,'COCINA',2833,11717,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:16:16','2025-11-23 16:41:39','2025-11-23 16:16:16',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,13,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34589,0,'COCINA',2833,11717,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,17,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:16:20','2025-11-23 16:41:39','2025-11-23 16:16:20',NULL,'2025-11-23 16:41:39',3,14,25,0,0,0,8,0,0,0,1004,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,13,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALÓN ATRÁS','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34616,0,'COCINA',2834,11718,0,0,0,0,NULL,444.44444444444525,73,'ADICION SOPA GRANDE',0,NULL,1,NULL,NULL,6000,29,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 16:42:08','2025-11-23 16:43:23','2025-11-23 16:42:08',NULL,'2025-11-23 16:43:23',3,14,25,0,0,0,8,5555.555555555555,0,0,14,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,'miry','LLEVAR','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34617,0,'BEBIDAS',2834,11718,0,0,0,0,NULL,296.29629629629653,222,'ADICION MAZAMORRA',0,NULL,1,NULL,NULL,4000,29,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 16:42:47','2025-11-23 16:43:23','2025-11-23 16:42:47',NULL,'2025-11-23 16:43:23',3,14,25,0,0,0,8,3703.7037037037035,0,0,14,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','LLEVAR','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34619,0,'COCINA',2835,11719,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:16','2025-11-23 16:49:33','2025-11-23 15:59:16',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34620,0,'COCINA',2835,11719,0,0,0,0,NULL,1962.9629629629635,1,'RES',0,NULL,1,NULL,NULL,26500,6,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:59:17','2025-11-23 16:49:33','2025-11-23 15:59:17',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,24537.037037037036,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1325,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34621,0,'COCINA',2835,11719,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:20','2025-11-23 16:49:33','2025-11-23 15:59:20',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34622,0,'COCINA',2835,11719,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:25','2025-11-23 16:49:33','2025-11-23 15:59:25',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34623,0,'COCINA',2835,11719,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:27','2025-11-23 16:49:33','2025-11-23 15:59:27',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34624,0,'COCINA',2835,11719,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:29','2025-11-23 16:49:33','2025-11-23 15:59:29',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34625,0,'COCINA',2835,11719,0,0,0,0,NULL,1962.9629629629635,4,'CHICHARRON',0,NULL,1,NULL,NULL,26500,6,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 15:59:32','2025-11-23 16:49:33','2025-11-23 15:59:32',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,24537.037037037036,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1325,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34626,0,'COCINA',2835,11719,0,0,0,0,NULL,0,13,'ENSALADA CON REPOLLO coci',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:36','2025-11-23 16:49:33','2025-11-23 15:59:36',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34627,0,'COCINA',2835,11719,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:41','2025-11-23 16:49:33','2025-11-23 15:59:41',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34628,0,'COCINA',2835,11719,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-23 15:59:42','2025-11-23 16:49:33','2025-11-23 15:59:42',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,0,0,0,1005,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34629,0,'COCINA',2835,11719,0,0,0,0,NULL,370.37037037037044,213,'ADICION SOPA PEQUEÑA',0,NULL,1,NULL,NULL,5000,6,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 16:00:14','2025-11-23 16:49:33','2025-11-23 16:00:14',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,4629.62962962963,0,0,1005,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,250,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ADICIONES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34630,0,'CAJA',2835,11719,0,0,0,0,NULL,725.925925925927,165,'COOKIES Y CREAM',0,NULL,1,NULL,NULL,9800,6,9800,0,0,0,9800,2,'V','MESAS','2025-11-23 16:35:33','2025-11-23 16:49:33','2025-11-23 16:35:33',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,9074.074074074073,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,490,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','POSTRES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34631,0,'CAJA',2835,11719,0,0,0,0,NULL,725.925925925927,165,'COOKIES Y CREAM',0,NULL,1,NULL,NULL,9800,6,9800,0,0,0,9800,2,'V','MESAS','2025-11-23 16:36:27','2025-11-23 16:49:33','2025-11-23 16:36:27',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,9074.074074074073,0,0,1006,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,490,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','POSTRES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34632,0,'CAJA',2835,11719,0,0,0,0,NULL,259.2592592592596,170,'TINTO MAQUINA',0,NULL,1,NULL,NULL,3500,6,3500,0,0,0,3500,2,'V','MESAS','2025-11-23 16:48:11','2025-11-23 16:49:33','2025-11-23 16:48:11',NULL,'2025-11-23 16:49:33',3,14,25,0,0,0,8,3240.7407407407404,0,0,14,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,175,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS MAQUINA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34634,0,'COCINA',2836,11720,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:03','2025-11-23 16:50:51','2025-11-23 16:00:03','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34635,0,'COCINA',2836,11720,0,0,0,0,NULL,2111.111111111113,8,'DESHUESADA POLLO',0,NULL,1,NULL,NULL,28500,15,28500,0,0,0,28500,2,'V','MESAS','2025-11-23 16:00:05','2025-11-23 16:50:51','2025-11-23 16:00:05','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,26388.888888888887,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34636,0,'COCINA',2836,11720,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:07','2025-11-23 16:50:51','2025-11-23 16:00:07','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34637,0,'COCINA',2836,11720,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:09','2025-11-23 16:50:51','2025-11-23 16:00:09','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34638,0,'COCINA',2836,11720,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:11','2025-11-23 16:50:51','2025-11-23 16:00:11','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34639,0,'COCINA',2836,11720,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:12','2025-11-23 16:50:51','2025-11-23 16:00:12','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34640,0,'COCINA',2836,11720,0,0,0,0,NULL,2111.111111111113,9,'ROBALO MILANESA',0,NULL,1,NULL,NULL,28500,15,28500,0,0,0,28500,2,'V','MESAS','2025-11-23 16:00:17','2025-11-23 16:50:51','2025-11-23 16:00:17','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,26388.888888888887,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34641,0,'COCINA',2836,11720,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:21','2025-11-23 16:50:51','2025-11-23 16:00:21','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34642,0,'COCINA',2836,11720,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:22','2025-11-23 16:50:51','2025-11-23 16:00:22','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34643,0,'COCINA',2836,11720,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:23','2025-11-23 16:50:51','2025-11-23 16:00:23','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34644,0,'COCINA',2836,11720,0,0,0,0,NULL,2074.0740740740766,20,'DOMINGO: SANCOCHO DE BAGRE',0,NULL,1,NULL,NULL,28000,15,28000,0,0,0,28000,2,'V','MESAS','2025-11-23 16:00:34','2025-11-23 16:50:51','2025-11-23 16:00:34','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,25925.925925925923,0,0,13,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','PLATO DEL DIA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34645,0,'COCINA',2836,11720,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:36','2025-11-23 16:50:51','2025-11-23 16:00:36','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34646,0,'COCINA',2836,11720,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:00:37','2025-11-23 16:50:51','2025-11-23 16:00:37','2025-11-23 16:23:28','2025-11-23 16:50:51',3,14,25,0,0,0,8,0,0,0,13,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34649,0,'COCINA',2837,11721,0,0,0,0,NULL,0,21,'ALMUERZO SENCILLO',0,NULL,1,NULL,'APANADO Y ENS SIN LECHUGA Y SIN PEPINO',0,9,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:11:52','2025-11-23 16:52:11','2025-11-23 16:11:52',NULL,'2025-11-23 16:52:11',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34650,0,'COCINA',2837,11721,0,0,0,0,NULL,1629.6296296296314,2,'CERDO',0,NULL,1,NULL,NULL,22000,9,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 16:11:53','2025-11-23 16:52:11','2025-11-23 16:11:53',NULL,'2025-11-23 16:52:11',3,14,25,0,0,0,8,20370.37037037037,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34651,0,'COCINA',2837,11721,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,9,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:11:57','2025-11-23 16:52:11','2025-11-23 16:11:57',NULL,'2025-11-23 16:52:11',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34652,0,'COCINA',2837,11721,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,9,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:12:00','2025-11-23 16:52:11','2025-11-23 16:12:00',NULL,'2025-11-23 16:52:11',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34653,0,'COCINA',2837,11721,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,9,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:12:01','2025-11-23 16:52:11','2025-11-23 16:12:01',NULL,'2025-11-23 16:52:11',3,14,25,0,0,0,8,0,0,0,12,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34656,0,'COCINA',2838,11722,0,0,0,0,NULL,0,84,'ENSALADA CEBOLLA coci',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:38:16','2025-11-23 16:54:19','2025-11-23 16:38:16',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34657,0,'COCINA',2838,11722,0,0,0,0,NULL,0,233,'SIN SOPA DEL DIA',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:38:18','2025-11-23 16:54:19','2025-11-23 16:38:18',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34658,0,'COCINA',2838,11722,0,0,0,0,NULL,0,228,'SIN BEBIDA coci',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:38:19','2025-11-23 16:54:19','2025-11-23 16:38:19',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34659,0,'COCINA',2838,11722,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:53:15','2025-11-23 16:54:19','2025-11-23 16:53:15',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34660,0,'COCINA',2838,11722,0,0,0,0,NULL,1962.9629629629635,1,'RES',0,NULL,1,NULL,NULL,26500,13,26500,0,0,0,26500,2,'V','MESAS','2025-11-23 16:53:17','2025-11-23 16:54:19','2025-11-23 16:53:17',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,24537.037037037036,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34661,0,'COCINA',2838,11722,0,0,0,0,NULL,0,18,'SOBREMESA MAZAMORRA',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:53:20','2025-11-23 16:54:19','2025-11-23 16:53:20',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34662,0,'COCINA',2838,11722,0,0,0,0,NULL,0,233,'SIN SOPA DEL DIA',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:53:21','2025-11-23 16:54:19','2025-11-23 16:53:21',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34663,0,'COCINA',2838,11722,0,0,0,0,NULL,0,258,'ENSALADA MIXTA coci',0,NULL,1,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:53:22','2025-11-23 16:54:19','2025-11-23 16:53:22',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34664,0,'CAJA',2838,11722,0,0,0,0,NULL,259.2592592592596,170,'TINTO MAQUINA',0,NULL,1,NULL,NULL,3500,13,3500,0,0,0,3500,2,'V','MESAS','2025-11-23 16:54:00','2025-11-23 16:54:19','2025-11-23 16:54:00',NULL,'2025-11-23 16:54:19',3,14,25,0,0,0,8,3240.7407407407404,0,0,14,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON','BEBIDAS MAQUINA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34671,0,'PARRILLA',2839,11723,0,0,0,0,NULL,2074.0740740740766,78,'ARROZ MIXTO',0,NULL,1,NULL,NULL,28000,20,28000,0,0,0,28000,2,'V','MESAS','2025-11-23 16:00:59','2025-11-23 16:57:16','2025-11-23 16:00:59',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,25925.925925925923,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1400,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,'miry','SALON CENTRO','ARROCES',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34672,0,'PARRILLA',2839,11723,0,0,0,0,NULL,0,85,'ENSALADA CEBOLLA parri',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:01:01','2025-11-23 16:57:16','2025-11-23 16:01:01',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34673,0,'PARRILLA',2839,11723,0,0,0,0,NULL,0,76,'PAPAS A LA FRANCESA parri',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:01:03','2025-11-23 16:57:16','2025-11-23 16:01:03',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,'miry','SALON CENTRO','DESCONOCIDO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34674,0,'PARRILLA',2839,11723,0,0,0,0,NULL,2962.9629629629635,25,'ROBALO MIRY',0,NULL,1,NULL,'Pv ens de lechuga',40000,20,40000,0,0,0,40000,2,'V','MESAS','2025-11-23 16:01:14','2025-11-23 16:57:16','2025-11-23 16:01:14',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,37037.03703703704,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','PESCADOS Y MARISCOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34675,0,'PARRILLA',2839,11723,0,0,0,0,NULL,0,224,'SIN ENSALADA parr',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:01:18','2025-11-23 16:57:16','2025-11-23 16:01:18',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34676,0,'PARRILLA',2839,11723,0,0,0,0,NULL,0,76,'PAPAS A LA FRANCESA parri',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:01:20','2025-11-23 16:57:16','2025-11-23 16:01:20',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','DESCONOCIDO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34677,0,'COCINA',2839,11723,0,0,0,0,NULL,1925.925925925927,12,'MARTES Y DOMINGO: MONDONGO',0,NULL,1,NULL,NULL,26000,20,26000,0,0,0,26000,2,'V','MESAS','2025-11-23 16:01:42','2025-11-23 16:57:16','2025-11-23 16:01:42',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,24074.074074074073,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1300,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','PLATO DEL DIA',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34678,0,'COCINA',2839,11723,0,0,0,0,NULL,0,14,'ENSALADA CON LECHUGA coci',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:01:45','2025-11-23 16:57:16','2025-11-23 16:01:45',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34679,0,'COCINA',2839,11723,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:01:48','2025-11-23 16:57:16','2025-11-23 16:01:48',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34680,0,'COCINA',2839,11723,0,0,0,0,NULL,0,7,'ALMUERZO BANDEJA',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:02:02','2025-11-23 16:57:16','2025-11-23 16:02:02',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','ALMUERZOS',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34681,0,'COCINA',2839,11723,0,0,0,0,NULL,2074.0740740740766,11,'BAGRE',0,NULL,1,NULL,NULL,28000,20,28000,0,0,0,28000,2,'V','MESAS','2025-11-23 16:02:04','2025-11-23 16:57:16','2025-11-23 16:02:04',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,25925.925925925923,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1400,0,0,1,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34682,0,'COCINA',2839,11723,0,0,0,0,NULL,0,86,'ENSALADA CEBOLLA Y TOMATE coci',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:02:08','2025-11-23 16:57:16','2025-11-23 16:02:08',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34683,0,'COCINA',2839,11723,0,0,0,0,NULL,0,232,'SOPA DEL DIA',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:02:09','2025-11-23 16:57:16','2025-11-23 16:02:09',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34684,0,'COCINA',2839,11723,0,0,0,0,NULL,0,15,'SOBREMESA LIMONADA',0,NULL,1,NULL,NULL,0,20,0,0,0,0,0,2,'V','MESAS','2025-11-23 16:02:11','2025-11-23 16:57:16','2025-11-23 16:02:11',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,0,0,0,13,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,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','modificadores',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1),(34685,0,'BEBIDAS',2839,11723,0,0,0,0,NULL,444.44444444444525,169,'GUANDOLO ADICIONAL',0,NULL,2,NULL,NULL,3000,20,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 16:02:25','2025-11-23 16:57:16','2025-11-23 16:02:25',NULL,'2025-11-23 16:57:16',3,14,25,0,0,0,8,5555.555555555555,0,0,13,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,300,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0','0','0','-1','0','',0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,NULL,0,0,0,'miry','SALON CENTRO','BEBIDAS EN VASO',NULL,1,0,1,0,'SELECCIONE','',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,0.00,0,0,0,0,NULL,0,0,0,'valordeventa',1);

--
-- Table structure for table `ventas2`
--

CREATE TABLE `ventas2` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `refventas` varchar(25) 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 'distrito',
  `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 NULL,
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `impultraprocesados` int DEFAULT '0',
  `impazucaradas` int DEFAULT '0',
  `campovalor` varchar(25) DEFAULT NULL,
  `sesiones` int DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idfactura` (`idfactura`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ventas2`
--


--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=39494 DEFAULT CHARSET=utf8mb3;

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

INSERT INTO `ventasauxiliar` (`id`, `idmesarelacionada`, `estadoimpresion`, `identificador`, `referenciapayu`, `referenciafront`, `descripcion`, `pagarcontraentrega`, `idmesa`, `descuento`, `codsituacion`, `idcliente`, `idarticulo`, `cc`, `origen`, `comentario`, `observaciones`, `valorunitario`, `cantidad`, `valortotal`, `fecha`, `fechacreacion`, `fechaentregado`, `idusuario`, `costomedio`, `porcentajeiva`, `idvendedor`, `idcaja`, `nota`, `observacion`, `despachado`, `entregado`, `enespera`, `comision`, `porcentajedescuento`, `impuesto`, `base`, `servicio`, `CODMODIF`, `numlinea`, `esmodif`, `situacioncocina`, `CODARTICULOABAJO`, `COD_SATELITE`, `unidaddemedida`, `impreso`, `unidadesdemedida`, `domicilio`, `domicilioexterno`, `PrecuentaCallcenter`, `pv`, `placa`, `seccion`, `bodega`, `situacioncocina2`, `refventas`, `referencia`, `enviaraproduccion`, `baseunitario`, `impuestounitario`, `iddomiciliario`, `ultimocostev`, `recibidovaux`, `devueltavaux`, `seccionventas`, `porcentajecomision`, `articulovence`, `imei`, `factor`, `sefactura`, `costomenu`, `comensales`, `comanda`, `impultraprocesados`, `impazucaradas`, `comocalculardescuento`, `recibidoencallcenter`, `tipodescuento`, `porcentajesobrecargoeventos`, `sobrecargoeventos`, `sgroupname`, `campovalor`, `proximocosto`, `sesiones`, `ultimafechaimpresionprecuenta`) VALUES (39492,0,0,NULL,NULL,NULL,'CAPPUCCINO',0,0,650,NULL,1892,183,2,'CALLCENTER',NULL,NULL,6500,1,5850,'2025-11-25 19:15:23','2025-11-25 19:15:23',NULL,2,0,8,2,1,'','',0,1,0,0,10,433.33333333333326,5416.666666666666,0,0,1,0,'CAJA',0,NULL,'UNIDAD',0,NULL,0,0,1,'distrito',NULL,'BEBIDAS MAQUINA',NULL,'SELECCIONE',NULL,NULL,0,0.00,0.00,NULL,0,0,0,NULL,NULL,NULL,NULL,1,_binary '',0.00,0,'0',0,0,'porcentaje',0,NULL,0,0,0,'valordeventa',0,1,NULL),(39493,0,0,NULL,NULL,NULL,'CAFE LATTE',0,0,550,NULL,1892,180,2,'CALLCENTER',NULL,NULL,5500,1,4950,'2025-11-25 19:15:25','2025-11-25 19:15:25',NULL,2,0,8,2,1,'','',0,1,0,0,10,366.66666666666663,4583.333333333333,0,0,2,0,'CAJA',0,NULL,'UNIDAD',0,NULL,0,0,1,'distrito',NULL,'BEBIDAS MAQUINA',NULL,'SELECCIONE',NULL,NULL,0,0.00,0.00,NULL,0,0,0,NULL,NULL,NULL,NULL,1,_binary '',0.00,0,'0',0,0,'porcentaje',0,NULL,0,0,0,'valordeventa',0,1,NULL);

--
-- 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=26 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),(2,'2025-11-01 11:45:33',822,0,0,0,66000,0,66000,66000,8,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,66000,0,0,0,0,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(3,'2025-11-01 18:21:57',823,1500,0,0,6476810,0,6478310,6476810,965,8,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,6476810,0,0,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(4,'2025-11-02 18:55:46',824,750,0,172000,11258558,0,11259308,11258558,1814,16,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,205205,11258558,0,172000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(5,'2025-11-03 18:58:41',825,15,0,176000,9348697,0,9348712,9348697,1666,14,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,136045,9348697,0,176000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(6,'2025-11-04 18:16:52',826,975,0,90000,4357525,0,4358500,4357525,814,16,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,12400,4357525,0,90000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(7,'2025-11-05 18:23:06',827,46150,0,60000,4312854,0,4359004,4312854,774,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4312854,0,60000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(8,'2025-11-06 18:17:03',828,29050,0,88000,4949856,0,4978906,4949856,926,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4949856,0,88000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(9,'2025-11-07 18:10:02',829,28040,0,118000,4919971,0,4948011,4919971,875,8,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4919971,0,118000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(10,'2025-11-08 18:54:21',830,3330.0000000000005,0,195750,8644199,0,8647529,8644199,1538,16,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,6425,8644199,0,195750,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(11,'2025-11-09 18:39:56',831,0,0,228000,11637600,0,11637600,11637600,2036,14,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,262150,11637600,0,228000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(12,'2025-11-10 18:06:03',832,58799.99999999994,0,80000,4738300,0,4797100,4738300,862,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4738300,0,80000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(13,'2025-11-11 18:10:15',833,30600,0,92000,4871000,0,4897607.692307692,4871000,897,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4867008,0,92000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(14,'2025-11-12 17:57:26',834,19075,0,98000,4480325,0,4499400,4480325,841,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4480325,0,98000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(15,'2025-11-13 18:03:32',835,47359.99999999999,0,82000,4090940,0,4138300,4090940,780,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4090940,0,82000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(16,'2025-11-14 17:59:28',836,30150,0,104000,4884150,0,4914300,4884150,930,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4884150,0,104000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(17,'2025-11-15 18:45:44',837,4065,0,176000,8796035,0,8800100,8796035,1513,8,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,8796035,0,176000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(18,'2025-11-16 18:57:06',838,2775,0,164000,12246225,0,12249000,12246225,2124,8,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,339335,12246225,0,164000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(19,'2025-11-17 18:33:12',839,28515,0,230000,10445085,0,10473600,10445085,1823,14,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,252940,10445085,0,230000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(20,'2025-11-18 17:56:46',840,9350,0,128000,4608350,0,4617700,4608350,845,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4608350,0,128000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(21,'2025-11-19 18:59:53',841,4400,0,80000,6586200,0,6590600,6586200,1192,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,6586200,0,80000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(22,'2025-11-20 17:56:12',842,41400,0,112000,4206000,0,4247363.636363637,4206000,731,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4205964,0,112000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(23,'2025-11-21 18:05:13',843,8690.000000000045,0,140000,5528410,0,5537100,5528410,1012,7,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,5528410,0,140000,0,300000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(24,'2025-11-22 18:49:41',844,8820,0,226000,9473180,0,9482000,9473180,1718,14,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,2450,9473180,0,226000,0,30000,0,0,0,0,0,NULL,0,0,'distrito',0,0,0,0,0,0,0,0,0,0),(25,'2025-11-25 19:15:09',845,0,0,70000,11119700,0,10991700,10991700,1842,2,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,244020,10991700,0,70000,0,300000,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=9 DEFAULT CHARSET=utf8mb3;

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

INSERT INTO `zonas` (`id`, `zona`, `cc`, `orden`, `oculto`, `COD_SATELITEZ`, `pv`, `idusuario`, `eshotel`, `activo`) VALUES (1,NULL,0,0,0,'SELECCIONE','extremabelleza',0,0,1),(2,'SALON',2,1,0,'SELECCIONE','extremabelleza',0,0,1),(3,'SALON CENTRO',2,3,0,'SELECCIONE','extremabelleza',0,0,1),(4,'LLEVAR',2,6,0,'SELECCIONE','extremabelleza',0,0,1),(5,'DIVISIONES',2,7,0,'SELECCIONE','extremabelleza',0,0,1),(6,'SALÓN ATRÁS',2,2,0,'SELECCIONE','extremabelleza',0,0,1),(7,'PASILLO',2,5,0,'SELECCIONE','extremabelleza',0,0,1),(8,'MESAS TEMPORAL',2,4,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 'pruebas'
--
/*!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 ;


