(1780,0,'COCINA',487,74102,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,'SOLO CON BBQ Y SALSA DE AJO',18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 17:06:06','2025-11-23 17:24:15','2025-11-23 17:06:06',NULL,'2025-11-23 17:24:15',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1781,0,'COCINA',488,74103,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,'sin salsas y no mucha papa',18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 17:52:37','2025-11-23 18:16:01','2025-11-23 17:52:37',NULL,'2025-11-23 18:16:01',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1782,0,'COCINA',488,74103,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,'poco queso fundido',16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 17:52:55','2025-11-23 18:16:01','2025-11-23 17:52:55',NULL,'2025-11-23 18:16:01',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1783,0,'BEBIDAS',488,74103,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,2,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 17:53:10','2025-11-23 18:16:01','2025-11-23 17:53:10',NULL,'2025-11-23 18:16:01',3,13,18,0,0,0,0,8000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1784,0,'BEBIDAS',488,74103,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,2,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 17:53:12','2025-11-23 18:16:01','2025-11-23 17:53:12',NULL,'2025-11-23 18:16:01',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1788,0,'COCINA',489,74104,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,3,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 18:00:26','2025-11-23 18:16:06','2025-11-23 18:00:26',NULL,'2025-11-23 18:16:06',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1789,0,'COCINA',489,74104,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:00:27','2025-11-23 18:16:06','2025-11-23 18:00:27',NULL,'2025-11-23 18:16:06',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1790,0,'BEBIDAS',489,74104,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,3,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 18:00:44','2025-11-23 18:16:06','2025-11-23 18:00:44',NULL,'2025-11-23 18:16:06',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1791,0,'BEBIDAS',489,74104,0,0,0,0,NULL,0,112,'PESPSI',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:00:46','2025-11-23 18:16:06','2025-11-23 18:00:46',NULL,'2025-11-23 18:16:06',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1792,0,'BEBIDAS',489,74104,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,3,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 18:00:48','2025-11-23 18:16:06','2025-11-23 18:00:48',NULL,'2025-11-23 18:16:06',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1793,0,'BEBIDAS',489,74104,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:00:50','2025-11-23 18:16:06','2025-11-23 18:00:50',NULL,'2025-11-23 18:16:06',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1795,0,'COCINA',490,74105,0,0,0,0,NULL,0,122,'LA PATRONAL (CARNE AHUMADA)',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:35:40','2025-11-23 18:38:35','2025-11-23 18:35:40',NULL,'2025-11-23 18:38:35',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1796,0,'COCINA',490,74105,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,2,NULL,NULL,16500,3,33000,0,0,0,33000,2,'V','MESAS','2025-11-23 18:36:00','2025-11-23 18:38:35','2025-11-23 18:36:00',NULL,'2025-11-23 18:38:35',3,13,18,0,0,3617.031175912755,0,33000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1797,0,'COCINA',490,74105,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:36:04','2025-11-23 18:38:35','2025-11-23 18:36:04',NULL,'2025-11-23 18:38:35',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1798,0,'COCINA',490,74105,0,0,0,0,NULL,0,10,'PAPA FESTIVA',0,NULL,1,NULL,NULL,12000,3,12000,0,0,0,12000,2,'V','MESAS','2025-11-23 18:36:19','2025-11-23 18:38:35','2025-11-23 18:36:19',NULL,'2025-11-23 18:38:35',3,13,18,0,0,1923.7477597818224,0,12000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS COCIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1923.75,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1799,0,'COCINA',490,74105,0,0,0,0,NULL,0,8,'PAPA CHORRIADA',0,NULL,1,NULL,NULL,12000,3,12000,0,0,0,12000,2,'V','MESAS','2025-11-23 18:36:20','2025-11-23 18:38:35','2025-11-23 18:36:20',NULL,'2025-11-23 18:38:35',3,13,18,0,0,2103.448275862069,0,12000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS COCIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2103.45,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1800,0,'BEBIDAS',490,74105,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,2,NULL,NULL,7500,3,15000,0,0,0,15000,2,'V','MESAS','2025-11-23 18:36:47','2025-11-23 18:38:35','2025-11-23 18:36:47',NULL,'2025-11-23 18:38:35',3,13,18,0,0,0,0,15000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1801,0,'BEBIDAS',490,74105,0,0,0,0,NULL,0,99,'FRUTOS ROJOS',0,NULL,2,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:36:52','2025-11-23 18:38:35','2025-11-23 18:36:52',NULL,'2025-11-23 18:38:35',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1802,0,'BEBIDAS',490,74105,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,NULL,7500,3,7500,0,0,0,7500,2,'V','MESAS','2025-11-23 18:37:07','2025-11-23 18:38:35','2025-11-23 18:37:07',NULL,'2025-11-23 18:38:35',3,13,18,0,0,0,0,7500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1803,0,'BEBIDAS',490,74105,0,0,0,0,NULL,0,37,'MANGO',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:37:08','2025-11-23 18:38:35','2025-11-23 18:37:08',NULL,'2025-11-23 18:38:35',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1804,0,'BEBIDAS',490,74105,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,3,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 18:37:45','2025-11-23 18:38:35','2025-11-23 18:37:45',NULL,'2025-11-23 18:38:35',3,13,18,0,0,0,0,8000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1805,0,'BEBIDAS',490,74105,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,2,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:37:46','2025-11-23 18:38:35','2025-11-23 18:37:46',NULL,'2025-11-23 18:38:35',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1810,0,'COCINA',491,74106,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 18:22:42','2025-11-23 18:43:52','2025-11-23 18:22:42',NULL,'2025-11-23 18:43:52',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1811,0,'COCINA',491,74106,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:22:43','2025-11-23 18:43:52','2025-11-23 18:22:43',NULL,'2025-11-23 18:43:52',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1812,0,'BEBIDAS',491,74106,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,2,NULL,NULL,3000,2,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 18:22:49','2025-11-23 18:43:52','2025-11-23 18:22:49',NULL,'2025-11-23 18:43:52',3,13,18,0,0,346.25,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1813,0,'COCINA',492,74107,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,'sin maicitos',18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:30:16','2025-11-23 19:09:41','2025-11-23 18:30:16',NULL,'2025-11-23 19:09:41',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1814,0,'COCINA',492,74107,0,0,0,0,NULL,0,24,'CHUNCHULLA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 18:30:31','2025-11-23 19:09:41','2025-11-23 18:30:31',NULL,'2025-11-23 19:09:41',3,13,18,0,0,0,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',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',0),(1816,0,'COCINA',493,74108,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-23 18:32:39','2025-11-23 19:13:42','2025-11-23 18:32:39',NULL,'2025-11-23 19:13:42',3,13,18,0,0,6609.874671290607,0,36000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6609.87,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1817,0,'BEBIDAS',493,74108,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,1,NULL,NULL,3000,14,3000,0,0,0,3000,2,'V','MESAS','2025-11-23 18:34:27','2025-11-23 19:13:42','2025-11-23 18:34:27',NULL,'2025-11-23 19:13:42',3,13,18,0,0,346.25,0,3000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1819,0,'COCINA',494,74109,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:15:13','2025-11-23 19:14:15','2025-11-23 18:15:13',NULL,'2025-11-23 19:14:15',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1820,0,'COCINA',494,74109,0,0,0,0,NULL,0,24,'CHUNCHULLA',0,NULL,1,NULL,NULL,6000,12,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 19:02:30','2025-11-23 19:14:15','2025-11-23 19:02:30',NULL,'2025-11-23 19:14:15',3,13,18,0,0,0,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',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',0),(1822,0,'COCINA',495,74110,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 18:49:45','2025-11-23 19:17:27','2025-11-23 18:49:45',NULL,'2025-11-23 19:17:27',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1823,0,'COCINA',495,74110,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,2,NULL,NULL,18500,2,37000,0,0,0,37000,2,'V','MESAS','2025-11-23 18:50:45','2025-11-23 19:17:27','2025-11-23 18:50:45',NULL,'2025-11-23 19:17:27',3,13,18,0,0,2787.34649122807,0,37000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1824,0,'BEBIDAS',495,74110,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,2,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 18:51:28','2025-11-23 19:17:27','2025-11-23 18:51:28',NULL,'2025-11-23 19:17:27',3,13,18,0,0,0,0,8000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1825,0,'BEBIDAS',495,74110,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,2,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:51:29','2025-11-23 19:17:27','2025-11-23 18:51:29',NULL,'2025-11-23 19:17:27',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1826,0,'BEBIDAS',495,74110,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,1,NULL,NULL,3000,2,3000,0,0,0,3000,2,'V','MESAS','2025-11-23 18:51:31','2025-11-23 19:17:27','2025-11-23 18:51:31',NULL,'2025-11-23 19:17:27',3,13,18,0,0,346.25,0,3000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1827,0,'BEBIDAS',495,74110,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 18:51:34','2025-11-23 19:17:27','2025-11-23 18:51:34',NULL,'2025-11-23 19:17:27',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1828,0,'BEBIDAS',495,74110,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:51:35','2025-11-23 19:17:27','2025-11-23 18:51:35',NULL,'2025-11-23 19:17:27',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1829,0,'COCINA',496,74111,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,15,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 18:54:43','2025-11-23 19:18:35','2025-11-23 18:54:43',NULL,'2025-11-23 19:18:35',3,13,18,0,0,2081.5951470971636,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2081.60,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1830,0,'COCINA',496,74111,0,0,0,0,NULL,0,8,'PAPA CHORRIADA',0,NULL,1,NULL,NULL,12000,15,12000,0,0,0,12000,2,'V','MESAS','2025-11-23 18:54:48','2025-11-23 19:18:35','2025-11-23 18:54:48',NULL,'2025-11-23 19:18:35',3,13,18,0,0,2103.448275862069,0,12000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS COCIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2103.45,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1832,0,'COCINA',497,74112,0,0,0,0,NULL,0,4,'LA PATRONAL (CHORIZO)',0,NULL,2,NULL,NULL,18500,4,37000,0,0,0,37000,2,'V','MESAS','2025-11-23 18:57:57','2025-11-23 19:30:00','2025-11-23 18:57:57',NULL,'2025-11-23 19:30:00',3,13,18,0,0,1107.3464912280701,0,37000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1107.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1833,0,'BEBIDAS',497,74112,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,4,9000,0,0,0,9000,2,'V','MESAS','2025-11-23 18:58:20','2025-11-23 19:30:00','2025-11-23 18:58:20',NULL,'2025-11-23 19:30:00',3,13,18,0,0,0,0,9000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1834,0,'BEBIDAS',497,74112,0,0,0,0,NULL,0,41,'GUANABANA',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:58:21','2025-11-23 19:30:00','2025-11-23 18:58:21',NULL,'2025-11-23 19:30:00',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1835,0,'BEBIDAS',497,74112,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,4,9000,0,0,0,9000,2,'V','MESAS','2025-11-23 18:58:31','2025-11-23 19:30:00','2025-11-23 18:58:31',NULL,'2025-11-23 19:30:00',3,13,18,0,0,0,0,9000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1836,0,'BEBIDAS',497,74112,0,0,0,0,NULL,0,39,'FRESA',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 18:58:34','2025-11-23 19:30:00','2025-11-23 18:58:34',NULL,'2025-11-23 19:30:00',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1839,0,'BEBIDAS',498,74113,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 19:20:37','2025-11-23 19:31:56','2025-11-23 19:20:37',NULL,'2025-11-23 19:31:56',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1840,0,'BEBIDAS',498,74113,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:20:39','2025-11-23 19:31:56','2025-11-23 19:20:39',NULL,'2025-11-23 19:31:56',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1842,0,'COCINA',499,74114,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,2,NULL,'una con adicion de chorizo',18500,5,37000,0,0,0,37000,2,'V','MESAS','2025-11-23 19:03:33','2025-11-23 19:38:39','2025-11-23 19:03:33',NULL,'2025-11-23 19:38:39',3,13,18,0,0,2787.34649122807,0,37000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1843,0,'COCINA',499,74114,0,0,0,0,NULL,0,25,'CHORIZO',0,NULL,1,NULL,NULL,6000,5,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 19:03:53','2025-11-23 19:38:39','2025-11-23 19:03:53',NULL,'2025-11-23 19:38:39',3,13,18,0,0,0,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',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',0),(1844,0,'BEBIDAS',499,74114,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,NULL,7500,5,7500,0,0,0,7500,2,'V','MESAS','2025-11-23 19:04:24','2025-11-23 19:38:39','2025-11-23 19:04:24',NULL,'2025-11-23 19:38:39',3,13,18,0,0,0,0,7500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1845,0,'BEBIDAS',499,74114,0,0,0,0,NULL,0,39,'FRESA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:04:26','2025-11-23 19:38:39','2025-11-23 19:04:26',NULL,'2025-11-23 19:38:39',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1846,0,'BEBIDAS',499,74114,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,5,9000,0,0,0,9000,2,'V','MESAS','2025-11-23 19:04:28','2025-11-23 19:38:39','2025-11-23 19:04:28',NULL,'2025-11-23 19:38:39',3,13,18,0,0,0,0,9000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1847,0,'BEBIDAS',499,74114,0,0,0,0,NULL,0,36,'MORA',0,NULL,1,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:04:31','2025-11-23 19:38:39','2025-11-23 19:04:31',NULL,'2025-11-23 19:38:39',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1849,0,'COCINA',500,74115,0,0,0,0,NULL,0,122,'LA PATRONAL (CARNE AHUMADA)',0,NULL,1,NULL,NULL,18500,6,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 19:08:09','2025-11-23 19:44:48','2025-11-23 19:08:09',NULL,'2025-11-23 19:44:48',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1850,0,'COCINA',500,74115,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,6,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 19:08:18','2025-11-23 19:44:48','2025-11-23 19:08:18',NULL,'2025-11-23 19:44:48',3,13,18,0,0,450,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1851,0,'BEBIDAS',500,74115,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,2,NULL,NULL,3000,6,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 19:08:36','2025-11-23 19:44:48','2025-11-23 19:08:36',NULL,'2025-11-23 19:44:48',3,13,18,0,0,346.25,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1852,0,'COCINA',501,74116,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,2,NULL,NULL,16500,7,33000,0,0,0,33000,2,'V','MESAS','2025-11-23 19:10:15','2025-11-23 19:58:52','2025-11-23 19:10:15',NULL,'2025-11-23 19:58:52',3,13,18,0,0,3617.031175912755,0,33000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1853,0,'COCINA',501,74116,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,7,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 19:10:18','2025-11-23 19:58:52','2025-11-23 19:10:18',NULL,'2025-11-23 19:58:52',3,13,18,0,0,2081.5951470971636,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2081.60,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1854,0,'BEBIDAS',501,74116,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,3,NULL,NULL,4000,7,12000,0,0,0,12000,2,'V','MESAS','2025-11-23 19:10:33','2025-11-23 19:58:52','2025-11-23 19:10:33',NULL,'2025-11-23 19:58:52',3,13,18,0,0,0,0,12000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1855,0,'BEBIDAS',501,74116,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,3,NULL,NULL,0,7,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:10:34','2025-11-23 19:58:52','2025-11-23 19:10:34',NULL,'2025-11-23 19:58:52',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1859,0,'COCINA',502,74117,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-23 19:32:04','2025-11-23 20:25:42','2025-11-23 19:32:04',NULL,'2025-11-23 20:25:42',3,13,18,0,0,6609.874671290607,0,36000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6609.87,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1860,0,'COCINA',503,74118,0,0,0,0,NULL,0,4,'LA PATRONAL (CHORIZO)',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 19:21:24','2025-11-23 20:42:29','2025-11-23 19:21:24',NULL,'2025-11-23 20:42:29',3,13,18,0,0,1107.3464912280701,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1107.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1861,0,'COCINA',503,74118,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 19:21:29','2025-11-23 20:42:29','2025-11-23 19:21:29',NULL,'2025-11-23 20:42:29',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1862,0,'BEBIDAS',503,74118,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,2,9000,0,0,0,9000,2,'V','MESAS','2025-11-23 19:21:35','2025-11-23 20:42:29','2025-11-23 19:21:35',NULL,'2025-11-23 20:42:29',3,13,18,0,0,0,0,9000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1863,0,'BEBIDAS',503,74118,0,0,0,0,NULL,0,36,'MORA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:21:37','2025-11-23 20:42:29','2025-11-23 19:21:37',NULL,'2025-11-23 20:42:29',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1867,0,'COCINA',504,74119,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,3,NULL,NULL,18500,3,55500,0,0,0,55500,2,'V','MESAS','2025-11-23 19:50:37','2025-11-23 20:42:42','2025-11-23 19:50:37',NULL,'2025-11-23 20:42:42',3,13,18,0,0,450,0,55500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1868,0,'COCINA',504,74119,0,0,0,0,NULL,0,122,'LA PATRONAL (CARNE AHUMADA)',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 19:50:43','2025-11-23 20:42:42','2025-11-23 19:50:43',NULL,'2025-11-23 20:42:42',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1869,0,'BEBIDAS',504,74119,0,0,0,0,NULL,0,31,'TÉ HATSU',0,NULL,1,NULL,'blanco',6500,3,6500,0,0,0,6500,2,'V','MESAS','2025-11-23 19:51:54','2025-11-23 20:42:42','2025-11-23 19:51:54',NULL,'2025-11-23 20:42:42',3,13,18,0,0,2964.285714285714,0,6500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2964.29,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1870,0,'BEBIDAS',504,74119,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,3,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 19:52:02','2025-11-23 20:42:42','2025-11-23 19:52:02',NULL,'2025-11-23 20:42:42',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1871,0,'BEBIDAS',504,74119,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:52:03','2025-11-23 20:42:42','2025-11-23 19:52:03',NULL,'2025-11-23 20:42:42',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1872,0,'BEBIDAS',504,74119,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,3,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 19:52:11','2025-11-23 20:42:42','2025-11-23 19:52:11',NULL,'2025-11-23 20:42:42',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1873,0,'BEBIDAS',504,74119,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:52:12','2025-11-23 20:42:42','2025-11-23 19:52:12',NULL,'2025-11-23 20:42:42',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1874,0,'COCINA',505,74120,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,'carne desmechada',16500,13,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 19:53:52','2025-11-23 20:43:34','2025-11-23 19:53:52',NULL,'2025-11-23 20:43:34',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1875,0,'COCINA',505,74120,0,0,0,0,NULL,0,22,'RES DESMECHADA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 19:54:00','2025-11-23 20:43:34','2025-11-23 19:54:00',NULL,'2025-11-23 20:43:34',3,13,18,0,0,1680,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1680.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1877,0,'COCINA',506,74121,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'PICO DE GALLO Y HUEVOS',36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-23 20:03:19','2025-11-23 20:59:45','2025-11-23 20:03:19',NULL,'2025-11-23 20:59:45',3,13,18,0,0,6609.874671290607,0,36000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6609.87,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1878,0,'COCINA',506,74121,0,0,0,0,NULL,0,14,'PICO DE GALLO',0,NULL,1,NULL,NULL,4000,14,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 20:03:45','2025-11-23 20:59:45','2025-11-23 20:03:45',NULL,'2025-11-23 20:59:45',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(1879,0,'COCINA',506,74121,0,0,0,0,NULL,0,120,'HUEVOS DE CODORNIS',0,NULL,1,NULL,NULL,6000,14,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 20:03:50','2025-11-23 20:59:45','2025-11-23 20:03:50',NULL,'2025-11-23 20:59:45',3,13,18,0,0,1324.6052631578948,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1324.61,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1880,0,'COCINA',507,74122,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,16,36000,0,0,0,36000,2,'V','MESAS','2025-11-23 20:14:19','2025-11-23 21:11:24','2025-11-23 20:14:19',NULL,'2025-11-23 21:11:24',3,13,18,0,0,6609.874671290607,0,36000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6609.87,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1881,0,'COCINA',508,74123,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,'tocineta',18500,15,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 20:23:24','2025-11-23 21:27:27','2025-11-23 20:23:24',NULL,'2025-11-23 21:27:27',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1882,0,'COCINA',508,74123,0,0,0,0,NULL,0,28,'TOCINETA',0,NULL,1,NULL,NULL,6000,15,6000,0,0,0,6000,2,'V','MESAS','2025-11-23 20:23:30','2025-11-23 21:27:27','2025-11-23 20:23:30',NULL,'2025-11-23 21:27:27',3,13,18,0,0,569.3693693693693,0,6000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,569.37,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1884,0,'COCINA',509,74124,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 20:30:30','2025-11-23 21:28:46','2025-11-23 20:30:30',NULL,'2025-11-23 21:28:46',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1885,0,'BEBIDAS',509,74124,0,0,0,0,NULL,0,33,'MR TEA 500 ML',0,NULL,1,NULL,NULL,4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 20:30:34','2025-11-23 21:28:46','2025-11-23 20:30:34',NULL,'2025-11-23 21:28:46',3,13,18,0,0,909.0909090909091,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,909.09,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1887,0,'COCINA',510,74125,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,4,36000,0,0,0,36000,2,'V','MESAS','2025-11-23 19:56:13','2025-11-23 21:54:26','2025-11-23 19:56:13',NULL,'2025-11-23 21:54:26',3,13,18,0,0,6609.874671290607,0,36000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6609.87,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1888,0,'BEBIDAS',510,74125,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,NULL,7500,4,7500,0,0,0,7500,2,'V','MESAS','2025-11-23 19:56:16','2025-11-23 21:54:26','2025-11-23 19:56:16',NULL,'2025-11-23 21:54:26',3,13,18,0,0,0,0,7500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1889,0,'BEBIDAS',510,74125,0,0,0,0,NULL,0,39,'FRESA',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:56:17','2025-11-23 21:54:26','2025-11-23 19:56:17',NULL,'2025-11-23 21:54:26',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1890,0,'BEBIDAS',510,74125,0,0,0,0,NULL,0,33,'MR TEA 500 ML',0,NULL,1,NULL,NULL,4000,4,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 19:56:21','2025-11-23 21:54:26','2025-11-23 19:56:21',NULL,'2025-11-23 21:54:26',3,13,18,0,0,909.0909090909091,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,909.09,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1894,0,'COCINA',511,74126,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,5,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 20:11:45','2025-11-23 21:54:31','2025-11-23 20:11:45',NULL,'2025-11-23 21:54:31',3,13,18,0,0,2081.5951470971636,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2081.60,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1895,0,'COCINA',511,74126,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,5,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 20:11:46','2025-11-23 21:54:31','2025-11-23 20:11:46',NULL,'2025-11-23 21:54:31',3,13,18,0,0,450,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1896,0,'BEBIDAS',511,74126,0,0,0,0,NULL,0,33,'MR TEA 500 ML',0,NULL,2,NULL,NULL,4000,5,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 20:11:49','2025-11-23 21:54:31','2025-11-23 20:11:49',NULL,'2025-11-23 21:54:31',3,13,18,0,0,909.0909090909091,0,8000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,909.09,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1897,0,'COCINA',512,74127,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,8,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 19:22:55','2025-11-23 21:54:38','2025-11-23 19:22:55',NULL,'2025-11-23 21:54:38',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1898,0,'COCINA',512,74127,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,8,18500,0,0,0,18500,2,'V','MESAS','2025-11-23 19:23:06','2025-11-23 21:54:38','2025-11-23 19:23:06',NULL,'2025-11-23 21:54:38',3,13,18,0,0,2787.34649122807,0,18500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2787.35,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1899,0,'BEBIDAS',512,74127,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,NULL,7500,8,7500,0,0,0,7500,2,'V','MESAS','2025-11-23 19:23:39','2025-11-23 21:54:38','2025-11-23 19:23:39',NULL,'2025-11-23 21:54:38',3,13,18,0,0,0,0,7500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1900,0,'BEBIDAS',512,74127,0,0,0,0,NULL,0,37,'MANGO',0,NULL,1,NULL,NULL,0,8,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:23:40','2025-11-23 21:54:38','2025-11-23 19:23:40',NULL,'2025-11-23 21:54:38',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1901,0,'BEBIDAS',512,74127,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,8,9000,0,0,0,9000,2,'V','MESAS','2025-11-23 19:23:41','2025-11-23 21:54:38','2025-11-23 19:23:41',NULL,'2025-11-23 21:54:38',3,13,18,0,0,0,0,9000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1902,0,'BEBIDAS',512,74127,0,0,0,0,NULL,0,36,'MORA',0,NULL,1,NULL,NULL,0,8,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:23:57','2025-11-23 21:54:38','2025-11-23 19:23:57',NULL,'2025-11-23 21:54:38',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1904,0,'COCINA',513,74128,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,9,36000,0,0,0,36000,2,'V','MESAS','2025-11-23 19:25:24','2025-11-23 21:54:43','2025-11-23 19:25:24',NULL,'2025-11-23 21:54:43',3,13,18,0,0,6609.874671290607,0,36000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6609.87,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1905,0,'BEBIDAS',513,74128,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,2,NULL,NULL,9000,9,18000,0,0,0,18000,2,'V','MESAS','2025-11-23 19:26:03','2025-11-23 21:54:43','2025-11-23 19:26:03',NULL,'2025-11-23 21:54:43',3,13,18,0,0,0,0,18000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1906,0,'BEBIDAS',513,74128,0,0,0,0,NULL,0,37,'MANGO',0,NULL,2,NULL,NULL,0,9,0,0,0,0,0,2,'V','MESAS','2025-11-23 19:26:06','2025-11-23 21:54:43','2025-11-23 19:26:06',NULL,'2025-11-23 21:54:43',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1907,0,'COCINA',514,74129,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,4,NULL,NULL,16500,11,66000,0,0,0,66000,2,'V','MESAS','2025-11-23 20:16:32','2025-11-23 21:54:48','2025-11-23 20:16:32',NULL,'2025-11-23 21:54:48',3,13,18,0,0,3617.031175912755,0,66000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1908,0,'BEBIDAS',514,74129,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,11,4000,0,0,0,4000,2,'V','MESAS','2025-11-23 20:17:27','2025-11-23 21:54:48','2025-11-23 20:17:27',NULL,'2025-11-23 21:54:48',3,13,18,0,0,0,0,4000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1909,0,'BEBIDAS',514,74129,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,1,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 20:17:29','2025-11-23 21:54:48','2025-11-23 20:17:29',NULL,'2025-11-23 21:54:48',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1910,0,'BEBIDAS',514,74129,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,3,NULL,NULL,4000,11,12000,0,0,0,12000,2,'V','MESAS','2025-11-23 20:17:31','2025-11-23 21:54:48','2025-11-23 20:17:31',NULL,'2025-11-23 21:54:48',3,13,18,0,0,0,0,12000,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1911,0,'BEBIDAS',514,74129,0,0,0,0,NULL,0,108,'COLOMBIANA',0,NULL,3,NULL,NULL,0,11,0,0,0,0,0,2,'V','MESAS','2025-11-23 20:17:34','2025-11-23 21:54:48','2025-11-23 20:17:34',NULL,'2025-11-23 21:54:48',3,13,18,0,0,0,0,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1914,0,'COCINA',515,74130,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,12,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 21:53:25','2025-11-23 22:03:01','2025-11-23 21:53:25',NULL,'2025-11-23 22:03:01',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1915,0,'COCINA',516,74131,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,13,16500,0,0,0,16500,2,'V','MESAS','2025-11-23 21:55:10','2025-11-23 22:07:29','2025-11-23 21:55:10',NULL,'2025-11-23 22:07:29',3,13,18,0,0,3617.031175912755,0,16500,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3617.03,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1916,0,'COCINA',517,74132,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,3,NULL,'con adiciones de huevos las 3 / una calsica solo salsa chedar. / una clasica normal / una calsica con solo guacamole',16500,2,49500,0,0,0,49500,2,'V','MESAS','2025-11-26 17:27:04','2025-11-26 17:54:01','2025-11-26 17:27:04',NULL,'2025-11-26 17:54:01',3,5,19,0,0,3838.1728847585696,0,49500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1917,0,'COCINA',517,74132,0,0,0,0,NULL,0,120,'HUEVOS DE CODORNIS',0,NULL,3,NULL,NULL,6000,2,18000,0,0,0,18000,2,'V','MESAS','2025-11-26 17:27:20','2025-11-26 17:54:01','2025-11-26 17:27:20',NULL,'2025-11-26 17:54:01',3,5,19,0,0,1323.7322382630443,0,18000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1323.73,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1918,0,'COCINA',517,74132,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 17:28:57','2025-11-26 17:54:01','2025-11-26 17:28:57',NULL,'2025-11-26 17:54:01',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1919,0,'COCINA',517,74132,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,2,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 17:28:58','2025-11-26 17:54:01','2025-11-26 17:28:58',NULL,'2025-11-26 17:54:01',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1920,0,'BEBIDAS',517,74132,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,'sin azucar',7500,2,7500,0,0,0,7500,2,'V','MESAS','2025-11-26 17:29:42','2025-11-26 17:54:01','2025-11-26 17:29:42',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,7500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1921,0,'BEBIDAS',517,74132,0,0,0,0,NULL,0,95,'PIÑA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 17:29:50','2025-11-26 17:54:01','2025-11-26 17:29:50',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1922,0,'BEBIDAS',517,74132,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,2,9000,0,0,0,9000,2,'V','MESAS','2025-11-26 17:30:07','2025-11-26 17:54:01','2025-11-26 17:30:07',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,9000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1923,0,'BEBIDAS',517,74132,0,0,0,0,NULL,0,41,'GUANABANA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 17:30:09','2025-11-26 17:54:01','2025-11-26 17:30:09',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1924,0,'BEBIDAS',517,74132,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,4,NULL,NULL,4000,2,16000,0,0,0,16000,2,'V','MESAS','2025-11-26 17:30:13','2025-11-26 17:54:01','2025-11-26 17:30:13',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,16000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1925,0,'BEBIDAS',517,74132,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,4,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 17:30:15','2025-11-26 17:54:01','2025-11-26 17:30:15',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1926,0,'COCINA',517,74132,0,0,0,0,NULL,0,13,'GUACAMOLE',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 17:31:15','2025-11-26 17:54:01','2025-11-26 17:31:15',NULL,'2025-11-26 17:54:01',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(1931,0,'COCINA',518,74133,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,'guacamole aparte',18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 17:31:39','2025-11-26 18:03:37','2025-11-26 17:31:39',NULL,'2025-11-26 18:03:37',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1932,0,'COCINA',518,74133,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'guacamole aparte',36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 17:31:39','2025-11-26 18:03:37','2025-11-26 17:31:39',NULL,'2025-11-26 18:03:37',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1933,0,'COCINA',518,74133,0,0,0,0,NULL,0,13,'GUACAMOLE',0,NULL,1,NULL,NULL,4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 17:43:22','2025-11-26 18:03:37','2025-11-26 17:43:22',NULL,'2025-11-26 18:03:37',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(1934,0,'COCINA',519,74134,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'sin chunchu',36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 18:12:50','2025-11-26 18:23:08','2025-11-26 18:12:50',NULL,'2025-11-26 18:23:08',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1935,0,'COCINA',520,74135,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 18:17:11','2025-11-26 18:26:28','2025-11-26 18:17:11',NULL,'2025-11-26 18:26:28',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1936,0,'BEBIDAS',520,74135,0,0,0,0,NULL,0,33,'MR TEA 500 ML',0,NULL,1,NULL,'durazno',4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:17:17','2025-11-26 18:26:28','2025-11-26 18:17:17',NULL,'2025-11-26 18:26:28',3,5,19,0,0,909.0909090909091,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,909.09,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1938,0,'COCINA',521,74136,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 18:24:41','2025-11-26 18:38:56','2025-11-26 18:24:41',NULL,'2025-11-26 18:38:56',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1939,0,'COCINA',522,74137,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,'salsa de ajo y maiz dulce',18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 18:28:08','2025-11-26 18:42:14','2025-11-26 18:28:08',NULL,'2025-11-26 18:42:14',3,5,19,0,0,2101.4138091440723,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2101.41,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1940,0,'COCINA',522,74137,0,0,0,0,NULL,0,24,'CHUNCHULLA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-26 18:28:17','2025-11-26 18:42:14','2025-11-26 18:28:17',NULL,'2025-11-26 18:42:14',3,5,19,0,0,0,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',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',0),(1941,0,'COCINA',522,74137,0,0,0,0,NULL,0,25,'CHORIZO',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-26 18:28:24','2025-11-26 18:42:14','2025-11-26 18:28:24',NULL,'2025-11-26 18:42:14',3,5,19,0,0,0,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',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',0),(1942,0,'COCINA',522,74137,0,0,0,0,NULL,0,17,'MAICITOS',0,NULL,1,NULL,NULL,4000,13,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:28:40','2025-11-26 18:42:14','2025-11-26 18:28:40',NULL,'2025-11-26 18:42:14',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(1946,0,'COCINA',523,74138,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,'sin queso',18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 18:32:26','2025-11-26 18:47:20','2025-11-26 18:32:26',NULL,'2025-11-26 18:47:20',3,5,19,0,0,2101.4138091440723,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2101.41,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1947,0,'BEBIDAS',523,74138,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:32:36','2025-11-26 18:47:20','2025-11-26 18:32:36',NULL,'2025-11-26 18:47:20',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1948,0,'BEBIDAS',523,74138,0,0,0,0,NULL,0,107,'NARANJA POSTOBON',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 18:32:38','2025-11-26 18:47:20','2025-11-26 18:32:38',NULL,'2025-11-26 18:47:20',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1949,0,'BEBIDAS',523,74138,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:32:39','2025-11-26 18:47:20','2025-11-26 18:32:39',NULL,'2025-11-26 18:47:20',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1950,0,'BEBIDAS',523,74138,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 18:32:40','2025-11-26 18:47:20','2025-11-26 18:32:40',NULL,'2025-11-26 18:47:20',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1953,0,'COCINA',524,74139,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 18:33:32','2025-11-26 18:55:06','2025-11-26 18:33:32',NULL,'2025-11-26 18:55:06',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1954,0,'COCINA',524,74139,0,0,0,0,NULL,0,120,'HUEVOS DE CODORNIS',0,NULL,1,NULL,NULL,6000,3,6000,0,0,0,6000,2,'V','MESAS','2025-11-26 18:33:44','2025-11-26 18:55:06','2025-11-26 18:33:44',NULL,'2025-11-26 18:55:06',3,5,19,0,0,1323.7322382630443,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1323.73,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1955,0,'COCINA',524,74139,0,0,0,0,NULL,0,21,'SALCHICHA LLANERA',0,NULL,1,NULL,NULL,6000,3,6000,0,0,0,6000,2,'V','MESAS','2025-11-26 18:33:45','2025-11-26 18:55:06','2025-11-26 18:33:45',NULL,'2025-11-26 18:55:06',3,5,19,0,0,2225,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2225.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1956,0,'BEBIDAS',524,74139,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,2,NULL,NULL,7500,3,15000,0,0,0,15000,2,'V','MESAS','2025-11-26 18:33:54','2025-11-26 18:55:06','2025-11-26 18:33:54',NULL,'2025-11-26 18:55:06',3,5,19,0,0,0,0,15000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1957,0,'BEBIDAS',524,74139,0,0,0,0,NULL,0,41,'GUANABANA',0,NULL,2,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-26 18:34:16','2025-11-26 18:55:06','2025-11-26 18:34:16',NULL,'2025-11-26 18:55:06',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1960,0,'COCINA',525,74140,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 18:40:15','2025-11-26 19:10:00','2025-11-26 18:40:15',NULL,'2025-11-26 19:10:00',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1961,0,'COCINA',526,74141,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,'con guacamole - sin maicitos',16500,4,16500,0,0,0,16500,2,'V','MESAS','2025-11-26 18:35:38','2025-11-26 19:11:56','2025-11-26 18:35:38',NULL,'2025-11-26 19:11:56',3,5,19,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1962,0,'COCINA',526,74141,0,0,0,0,NULL,0,22,'RES DESMECHADA',0,NULL,1,NULL,NULL,6000,4,6000,0,0,0,6000,2,'V','MESAS','2025-11-26 18:35:56','2025-11-26 19:11:56','2025-11-26 18:35:56',NULL,'2025-11-26 19:11:56',3,5,19,0,0,1680,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1680.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1963,0,'COCINA',526,74141,0,0,0,0,NULL,0,120,'HUEVOS DE CODORNIS',0,NULL,1,NULL,NULL,6000,4,6000,0,0,0,6000,2,'V','MESAS','2025-11-26 18:36:02','2025-11-26 19:11:56','2025-11-26 18:36:02',NULL,'2025-11-26 19:11:56',3,5,19,0,0,1323.7322382630443,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1323.73,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1964,0,'BEBIDAS',526,74141,0,0,0,0,NULL,0,118,'HIT 500 ML',0,NULL,1,NULL,'mango',4000,4,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:36:17','2025-11-26 19:11:56','2025-11-26 18:36:17',NULL,'2025-11-26 19:11:56',3,5,19,0,0,1018.1818181818181,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1018.18,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1965,0,'BEBIDAS',526,74141,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,4,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:36:29','2025-11-26 19:11:56','2025-11-26 18:36:29',NULL,'2025-11-26 19:11:56',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1966,0,'BEBIDAS',526,74141,0,0,0,0,NULL,0,113,'BRETAÑA',0,NULL,1,NULL,NULL,0,4,0,0,0,0,0,2,'V','MESAS','2025-11-26 18:36:32','2025-11-26 19:11:56','2025-11-26 18:36:32',NULL,'2025-11-26 19:11:56',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1967,0,'COCINA',526,74141,0,0,0,0,NULL,0,13,'GUACAMOLE',0,NULL,1,NULL,NULL,4000,4,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 18:37:30','2025-11-26 19:11:56','2025-11-26 18:37:30',NULL,'2025-11-26 19:11:56',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(1968,0,'COCINA',527,74142,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,15,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 18:44:41','2025-11-26 19:12:08','2025-11-26 18:44:41',NULL,'2025-11-26 19:12:08',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1969,0,'COCINA',528,74143,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,5,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 19:00:57','2025-11-26 19:30:24','2025-11-26 19:00:57',NULL,'2025-11-26 19:30:24',3,5,19,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1970,0,'COCINA',529,74144,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 19:14:20','2025-11-26 19:33:49','2025-11-26 19:14:20',NULL,'2025-11-26 19:33:49',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1971,0,'COCINA',530,74145,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,13,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 19:16:53','2025-11-26 19:38:39','2025-11-26 19:16:53',NULL,'2025-11-26 19:38:39',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1972,0,'COCINA',531,74146,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 19:18:00','2025-11-26 19:44:03','2025-11-26 19:18:00',NULL,'2025-11-26 19:44:03',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1973,0,'BEBIDAS',531,74146,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,14,8000,0,0,0,8000,2,'V','MESAS','2025-11-26 19:18:27','2025-11-26 19:44:03','2025-11-26 19:18:27',NULL,'2025-11-26 19:44:03',3,5,19,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1974,0,'BEBIDAS',531,74146,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,2,NULL,NULL,0,14,0,0,0,0,0,2,'V','MESAS','2025-11-26 19:18:29','2025-11-26 19:44:03','2025-11-26 19:18:29',NULL,'2025-11-26 19:44:03',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1975,0,'COCINA',532,74147,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,2,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 19:34:25','2025-11-26 19:54:33','2025-11-26 19:34:25',NULL,'2025-11-26 19:54:33',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1976,0,'BEBIDAS',532,74147,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,2,8000,0,0,0,8000,2,'V','MESAS','2025-11-26 19:34:44','2025-11-26 19:54:33','2025-11-26 19:34:44',NULL,'2025-11-26 19:54:33',3,5,19,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1977,0,'BEBIDAS',532,74147,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,2,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 19:34:46','2025-11-26 19:54:33','2025-11-26 19:34:46',NULL,'2025-11-26 19:54:33',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1978,0,'COCINA',533,74148,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 19:35:52','2025-11-26 20:02:26','2025-11-26 19:35:52',NULL,'2025-11-26 20:02:26',3,5,19,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1979,0,'COCINA',533,74148,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 19:35:57','2025-11-26 20:02:26','2025-11-26 19:35:57',NULL,'2025-11-26 20:02:26',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1980,0,'BEBIDAS',533,74148,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,3,8000,0,0,0,8000,2,'V','MESAS','2025-11-26 19:36:03','2025-11-26 20:02:26','2025-11-26 19:36:03',NULL,'2025-11-26 20:02:26',3,5,19,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1981,0,'BEBIDAS',533,74148,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,2,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-26 19:36:05','2025-11-26 20:02:26','2025-11-26 19:36:05',NULL,'2025-11-26 20:02:26',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1985,0,'COCINA',534,74149,0,0,0,0,NULL,0,4,'LA PATRONAL (CHORIZO)',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 19:46:26','2025-11-26 20:06:00','2025-11-26 19:46:26',NULL,'2025-11-26 20:06:00',3,5,19,0,0,1174.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1174.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1986,0,'BEBIDAS',534,74149,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 19:46:32','2025-11-26 20:06:00','2025-11-26 19:46:32',NULL,'2025-11-26 20:06:00',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1987,0,'BEBIDAS',534,74149,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,1,NULL,NULL,0,12,0,0,0,0,0,2,'V','MESAS','2025-11-26 19:46:34','2025-11-26 20:06:00','2025-11-26 19:46:34',NULL,'2025-11-26 20:06:00',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1988,0,'COCINA',535,74150,0,0,0,0,NULL,0,122,'LA PATRONAL (CARNE AHUMADA)',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 19:57:21','2025-11-26 20:13:25','2025-11-26 19:57:21',NULL,'2025-11-26 20:13:25',3,5,19,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1989,0,'BEBIDAS',535,74150,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 19:57:31','2025-11-26 20:13:25','2025-11-26 19:57:31',NULL,'2025-11-26 20:13:25',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1990,0,'BEBIDAS',535,74150,0,0,0,0,NULL,0,112,'PESPSI',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 19:57:33','2025-11-26 20:13:25','2025-11-26 19:57:33',NULL,'2025-11-26 20:13:25',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1991,0,'COCINA',536,74151,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,3,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 20:11:01','2025-11-26 20:26:35','2025-11-26 20:11:01',NULL,'2025-11-26 20:26:35',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1992,0,'BEBIDAS',536,74151,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,3,8000,0,0,0,8000,2,'V','MESAS','2025-11-26 20:11:06','2025-11-26 20:26:35','2025-11-26 20:11:06',NULL,'2025-11-26 20:26:35',3,5,19,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1993,0,'BEBIDAS',536,74151,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,2,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-26 20:11:12','2025-11-26 20:26:35','2025-11-26 20:11:12',NULL,'2025-11-26 20:26:35',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(1994,0,'BEBIDAS',536,74151,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,NULL,7500,3,7500,0,0,0,7500,2,'V','MESAS','2025-11-26 20:11:37','2025-11-26 20:26:35','2025-11-26 20:11:37',NULL,'2025-11-26 20:26:35',3,5,19,0,0,0,0,7500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(1995,0,'BEBIDAS',536,74151,0,0,0,0,NULL,0,42,'LIMONADA',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-26 20:11:39','2025-11-26 20:26:35','2025-11-26 20:11:39',NULL,'2025-11-26 20:26:35',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(1998,0,'COCINA',537,74152,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 20:14:51','2025-11-26 20:36:28','2025-11-26 20:14:51',NULL,'2025-11-26 20:36:28',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1999,0,'COCINA',538,74153,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:16:29','2025-11-26 20:44:23','2025-11-26 20:16:29',NULL,'2025-11-26 20:44:23',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2000,0,'BEBIDAS',538,74153,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,2,9000,0,0,0,9000,2,'V','MESAS','2025-11-26 20:17:20','2025-11-26 20:44:23','2025-11-26 20:17:20',NULL,'2025-11-26 20:44:23',3,5,19,0,0,0,0,9000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2001,0,'BEBIDAS',538,74153,0,0,0,0,NULL,0,41,'GUANABANA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 20:17:22','2025-11-26 20:44:23','2025-11-26 20:17:22',NULL,'2025-11-26 20:44:23',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2002,0,'BEBIDAS',538,74153,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,2,9000,0,0,0,9000,2,'V','MESAS','2025-11-26 20:17:24','2025-11-26 20:44:23','2025-11-26 20:17:24',NULL,'2025-11-26 20:44:23',3,5,19,0,0,0,0,9000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2003,0,'BEBIDAS',538,74153,0,0,0,0,NULL,0,36,'MORA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 20:17:25','2025-11-26 20:44:23','2025-11-26 20:17:25',NULL,'2025-11-26 20:44:23',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2006,0,'COCINA',539,74154,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:23:21','2025-11-26 20:50:37','2025-11-26 20:23:21',NULL,'2025-11-26 20:50:37',3,5,19,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2007,0,'COCINA',540,74155,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,14,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:27:31','2025-11-26 20:57:15','2025-11-26 20:27:31',NULL,'2025-11-26 20:57:15',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2008,0,'COCINA',540,74155,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,14,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:54:16','2025-11-26 20:57:15','2025-11-26 20:54:16',NULL,'2025-11-26 20:57:15',3,5,19,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2009,0,'COCINA',540,74155,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 20:54:32','2025-11-26 20:57:15','2025-11-26 20:54:32',NULL,'2025-11-26 20:57:15',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2010,0,'COCINA',541,74156,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,16,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:40:43','2025-11-26 20:57:33','2025-11-26 20:40:43',NULL,'2025-11-26 20:57:33',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2011,0,'COCINA',542,74157,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,15,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:32:33','2025-11-26 21:03:18','2025-11-26 20:32:33',NULL,'2025-11-26 21:03:18',3,5,19,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2012,0,'BEBIDAS',542,74157,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,15,9000,0,0,0,9000,2,'V','MESAS','2025-11-26 20:32:37','2025-11-26 21:03:18','2025-11-26 20:32:37',NULL,'2025-11-26 21:03:18',3,5,19,0,0,0,0,9000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2013,0,'BEBIDAS',542,74157,0,0,0,0,NULL,0,41,'GUANABANA',0,NULL,1,NULL,NULL,0,15,0,0,0,0,0,2,'V','MESAS','2025-11-26 20:32:39','2025-11-26 21:03:18','2025-11-26 20:32:39',NULL,'2025-11-26 21:03:18',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2014,0,'COCINA',543,74158,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,3,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 20:35:12','2025-11-26 21:11:41','2025-11-26 20:35:12',NULL,'2025-11-26 21:11:41',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2015,0,'BEBIDAS',543,74158,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,2,NULL,NULL,9000,3,18000,0,0,0,18000,2,'V','MESAS','2025-11-26 20:35:46','2025-11-26 21:11:41','2025-11-26 20:35:46',NULL,'2025-11-26 21:11:41',3,5,19,0,0,0,0,18000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2016,0,'BEBIDAS',543,74158,0,0,0,0,NULL,0,38,'LULO',0,NULL,2,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-26 20:35:48','2025-11-26 21:11:41','2025-11-26 20:35:48',NULL,'2025-11-26 21:11:41',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2017,0,'COCINA',544,74159,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 20:45:10','2025-11-26 21:26:58','2025-11-26 20:45:10',NULL,'2025-11-26 21:26:58',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2018,0,'COCINA',545,74160,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 20:51:27','2025-11-26 21:35:06','2025-11-26 20:51:27',NULL,'2025-11-26 21:35:06',3,5,19,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2019,0,'COCINA',546,74161,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,'solo tartara y roja',16500,4,16500,0,0,0,16500,2,'V','MESAS','2025-11-26 20:38:31','2025-11-26 21:35:28','2025-11-26 20:38:31',NULL,'2025-11-26 21:35:28',3,5,19,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2020,0,'COCINA',546,74161,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'solo guacamole',36000,4,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 20:38:55','2025-11-26 21:35:28','2025-11-26 20:38:55',NULL,'2025-11-26 21:35:28',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2021,0,'BEBIDAS',546,74161,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,1,NULL,NULL,3000,4,3000,0,0,0,3000,2,'V','MESAS','2025-11-26 20:39:23','2025-11-26 21:35:28','2025-11-26 20:39:23',NULL,'2025-11-26 21:35:28',3,5,19,0,0,346.25,0,3000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2022,0,'COCINA',547,74162,0,0,0,0,NULL,0,4,'LA PATRONAL (CHORIZO)',0,NULL,1,NULL,NULL,18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 21:04:53','2025-11-26 21:44:07','2025-11-26 21:04:53',NULL,'2025-11-26 21:44:07',3,5,19,0,0,1174.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1174.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2023,0,'COCINA',547,74162,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,13,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 21:04:59','2025-11-26 21:44:07','2025-11-26 21:04:59',NULL,'2025-11-26 21:44:07',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2024,0,'BEBIDAS',547,74162,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,13,8000,0,0,0,8000,2,'V','MESAS','2025-11-26 21:07:15','2025-11-26 21:44:07','2025-11-26 21:07:15',NULL,'2025-11-26 21:44:07',3,5,19,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2025,0,'BEBIDAS',547,74162,0,0,0,0,NULL,0,107,'NARANJA POSTOBON',0,NULL,2,NULL,NULL,0,13,0,0,0,0,0,2,'V','MESAS','2025-11-26 21:07:17','2025-11-26 21:44:07','2025-11-26 21:07:17',NULL,'2025-11-26 21:44:07',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(2029,0,'COCINA',548,74163,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,2,NULL,NULL,18500,6,37000,0,0,0,37000,2,'V','MESAS','2025-11-26 21:22:41','2025-11-26 21:56:19','2025-11-26 21:22:41',NULL,'2025-11-26 21:56:19',3,5,19,0,0,2854.141081871345,0,37000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2030,0,'COCINA',548,74163,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,6,18500,0,0,0,18500,2,'V','MESAS','2025-11-26 21:22:44','2025-11-26 21:56:19','2025-11-26 21:22:44',NULL,'2025-11-26 21:56:19',3,5,19,0,0,2101.4138091440723,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2101.41,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2031,0,'BEBIDAS',548,74163,0,0,0,0,NULL,0,29,'JUGO EN AGUA',0,NULL,1,NULL,NULL,7500,6,7500,0,0,0,7500,2,'V','MESAS','2025-11-26 21:23:33','2025-11-26 21:56:19','2025-11-26 21:23:33',NULL,'2025-11-26 21:56:19',3,5,19,0,0,0,0,7500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2032,0,'BEBIDAS',548,74163,0,0,0,0,NULL,0,36,'MORA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-26 21:23:35','2025-11-26 21:56:19','2025-11-26 21:23:35',NULL,'2025-11-26 21:56:19',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2033,0,'BEBIDAS',548,74163,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,6,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 21:23:36','2025-11-26 21:56:19','2025-11-26 21:23:36',NULL,'2025-11-26 21:56:19',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2034,0,'BEBIDAS',548,74163,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,1,NULL,NULL,0,6,0,0,0,0,0,2,'V','MESAS','2025-11-26 21:23:37','2025-11-26 21:56:19','2025-11-26 21:23:37',NULL,'2025-11-26 21:56:19',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(2036,0,'COCINA',549,74164,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'sin guacamole',36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 21:25:19','2025-11-26 22:02:33','2025-11-26 21:25:19',NULL,'2025-11-26 22:02:33',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2037,0,'COCINA',550,74165,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'sin maicitos',36000,7,36000,0,0,0,36000,2,'V','MESAS','2025-11-26 21:33:30','2025-11-26 22:14:40','2025-11-26 21:33:30',NULL,'2025-11-26 22:14:40',3,5,19,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2038,0,'COCINA',551,74166,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,15,16500,0,0,0,16500,2,'V','MESAS','2025-11-26 21:51:03','2025-11-26 22:14:53','2025-11-26 21:51:03',NULL,'2025-11-26 22:14:53',3,5,19,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2039,0,'COCINA',552,74167,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,2,NULL,NULL,18500,2,37000,0,0,0,37000,2,'V','MESAS','2025-11-26 22:03:20','2025-11-26 22:34:09','2025-11-26 22:03:20',NULL,'2025-11-26 22:34:09',3,5,19,0,0,2854.141081871345,0,37000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2040,0,'BEBIDAS',552,74167,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 22:03:34','2025-11-26 22:34:09','2025-11-26 22:03:34',NULL,'2025-11-26 22:34:09',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2041,0,'BEBIDAS',552,74167,0,0,0,0,NULL,0,108,'COLOMBIANA',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 22:03:35','2025-11-26 22:34:09','2025-11-26 22:03:35',NULL,'2025-11-26 22:34:09',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(2042,0,'BEBIDAS',552,74167,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-26 22:03:37','2025-11-26 22:34:09','2025-11-26 22:03:37',NULL,'2025-11-26 22:34:09',3,5,19,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2043,0,'BEBIDAS',552,74167,0,0,0,0,NULL,0,109,'MANZANA POSTOBON',0,NULL,1,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-26 22:03:38','2025-11-26 22:34:09','2025-11-26 22:03:38',NULL,'2025-11-26 22:34:09',3,5,19,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(2046,0,'COCINA',553,74168,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 16:31:11','2025-11-27 16:54:43','2025-11-27 16:31:11',NULL,'2025-11-27 16:54:43',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2047,0,'COCINA',554,74169,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,13,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 17:03:38','2025-11-27 17:15:22','2025-11-27 17:03:38',NULL,'2025-11-27 17:15:23',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2048,0,'COCINA',555,74170,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,2,NULL,NULL,16500,12,33000,0,0,0,33000,2,'V','MESAS','2025-11-27 17:08:45','2025-11-27 17:16:59','2025-11-27 17:08:45',NULL,'2025-11-27 17:16:59',3,5,20,0,0,3838.1728847585696,0,33000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2049,0,'COCINA',555,74170,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 17:09:20','2025-11-27 17:16:59','2025-11-27 17:09:20',NULL,'2025-11-27 17:16:59',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2051,0,'COCINA',556,74171,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 17:20:50','2025-11-27 17:32:36','2025-11-27 17:20:50',NULL,'2025-11-27 17:32:36',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2052,0,'COCINA',557,74172,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,14,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 17:27:41','2025-11-27 17:40:19','2025-11-27 17:27:41',NULL,'2025-11-27 17:40:19',3,5,20,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2053,0,'COCINA',557,74172,0,0,0,0,NULL,0,10,'PAPA FESTIVA',0,NULL,1,NULL,NULL,12000,14,12000,0,0,0,12000,2,'V','MESAS','2025-11-27 17:27:44','2025-11-27 17:40:19','2025-11-27 17:27:44',NULL,'2025-11-27 17:40:19',3,5,20,0,0,1845.4545454545455,0,12000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS COCIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1845.45,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2055,0,'COCINA',558,74173,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 17:25:58','2025-11-27 17:52:04','2025-11-27 17:25:58',NULL,'2025-11-27 17:52:04',3,5,20,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2056,0,'COCINA',558,74173,0,0,0,0,NULL,0,4,'LA PATRONAL (CHORIZO)',0,NULL,1,NULL,'ahumada - chorizo y tocineta',18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 17:27:07','2025-11-27 17:52:04','2025-11-27 17:27:07',NULL,'2025-11-27 17:52:04',3,5,20,0,0,1174.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1174.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2057,0,'COCINA',558,74173,0,0,0,0,NULL,0,27,'CARNE AHUMADA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 17:29:08','2025-11-27 17:52:04','2025-11-27 17:29:08',NULL,'2025-11-27 17:52:04',3,5,20,0,0,1680,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1680.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2058,0,'COCINA',558,74173,0,0,0,0,NULL,0,28,'TOCINETA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 17:29:22','2025-11-27 17:52:04','2025-11-27 17:29:22',NULL,'2025-11-27 17:52:04',3,5,20,0,0,878.0636057744492,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,878.06,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2062,0,'COCINA',559,74174,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'ajo/ rosada /tartara /dulce /maiz/   guacamole, mani y piña aparte',36000,2,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 17:30:07','2025-11-27 18:09:14','2025-11-27 17:30:07',NULL,'2025-11-27 18:09:14',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2063,0,'BEBIDAS',559,74174,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,1,NULL,'al clima',3000,2,3000,0,0,0,3000,2,'V','MESAS','2025-11-27 17:31:18','2025-11-27 18:09:14','2025-11-27 17:31:18',NULL,'2025-11-27 18:09:14',3,5,20,0,0,346.25,0,3000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2065,0,'COCINA',560,74175,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,16,16500,0,0,0,16500,2,'V','MESAS','2025-11-27 17:42:00','2025-11-27 18:09:29','2025-11-27 17:42:00',NULL,'2025-11-27 18:09:29',3,5,20,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2066,0,'COCINA',561,74176,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,15,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 17:37:38','2025-11-27 18:09:40','2025-11-27 17:37:38',NULL,'2025-11-27 18:12:48',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2067,0,'COCINA',562,74177,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-27 18:14:16','2025-11-27 18:29:22','2025-11-27 18:14:16',NULL,'2025-11-27 18:29:22',3,5,20,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2068,0,'COCINA',562,74177,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,2,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 18:14:17','2025-11-27 18:29:22','2025-11-27 18:14:17',NULL,'2025-11-27 18:29:22',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2070,0,'COCINA',563,74178,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 18:26:59','2025-11-27 18:37:47','2025-11-27 18:26:59',NULL,'2025-11-27 18:37:47',3,5,20,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2071,0,'COCINA',563,74178,0,0,0,0,NULL,0,22,'RES DESMECHADA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 18:27:08','2025-11-27 18:37:47','2025-11-27 18:27:08',NULL,'2025-11-27 18:37:47',3,5,20,0,0,1680,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1680.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2073,0,'COCINA',564,74179,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,14,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 18:32:29','2025-11-27 18:43:21','2025-11-27 18:32:29',NULL,'2025-11-27 18:43:21',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2074,0,'COCINA',565,74180,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 18:14:59','2025-11-27 18:45:17','2025-11-27 18:14:59',NULL,'2025-11-27 18:45:17',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2075,0,'COCINA',565,74180,0,0,0,0,NULL,0,120,'HUEVOS DE CODORNIS',0,NULL,1,NULL,NULL,6000,12,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 18:15:45','2025-11-27 18:45:17','2025-11-27 18:15:45',NULL,'2025-11-27 18:45:17',3,5,20,0,0,1323.7322382630443,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1323.73,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2076,0,'COCINA',565,74180,0,0,0,0,NULL,0,20,'MADURITOS',0,NULL,1,NULL,NULL,4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 18:16:02','2025-11-27 18:45:17','2025-11-27 18:16:02',NULL,'2025-11-27 18:45:17',3,5,20,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(2077,0,'COCINA',566,74181,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 18:53:33','2025-11-27 19:04:15','2025-11-27 18:53:33',NULL,'2025-11-27 19:04:15',3,5,20,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2078,0,'COCINA',566,74181,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,12,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 18:53:39','2025-11-27 19:04:15','2025-11-27 18:53:39',NULL,'2025-11-27 19:04:15',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2079,0,'BEBIDAS',566,74181,0,0,0,0,NULL,0,33,'MR TEA 500 ML',0,NULL,1,NULL,'limon',4000,12,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 18:54:05','2025-11-27 19:04:15','2025-11-27 18:54:05',NULL,'2025-11-27 19:04:15',3,5,20,0,0,909.0909090909091,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,909.09,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2080,0,'COCINA',567,74182,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'sin piña',36000,13,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 19:02:50','2025-11-27 19:30:08','2025-11-27 19:02:50',NULL,'2025-11-27 19:30:08',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2081,0,'COCINA',567,74182,0,0,0,0,NULL,0,28,'TOCINETA',0,NULL,1,NULL,NULL,6000,13,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 19:03:09','2025-11-27 19:30:08','2025-11-27 19:03:09',NULL,'2025-11-27 19:30:08',3,5,20,0,0,878.0636057744492,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,878.06,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2083,0,'COCINA',568,74183,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,'add ahumada',36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 19:05:30','2025-11-27 19:32:35','2025-11-27 19:05:30',NULL,'2025-11-27 19:32:35',3,5,20,0,0,6961.875534040778,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6961.88,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2084,0,'COCINA',568,74183,0,0,0,0,NULL,0,10,'PAPA FESTIVA',0,NULL,1,NULL,NULL,12000,14,12000,0,0,0,12000,2,'V','MESAS','2025-11-27 19:10:36','2025-11-27 19:32:35','2025-11-27 19:10:36',NULL,'2025-11-27 19:32:35',3,5,20,0,0,1845.4545454545455,0,12000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS COCIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1845.45,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2085,0,'COCINA',568,74183,0,0,0,0,NULL,0,27,'CARNE AHUMADA',0,NULL,1,NULL,NULL,6000,14,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 19:10:51','2025-11-27 19:32:35','2025-11-27 19:10:51',NULL,'2025-11-27 19:32:35',3,5,20,0,0,1680,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1680.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2086,0,'BEBIDAS',568,74183,0,0,0,0,NULL,0,31,'TÉ HATSU',0,NULL,1,NULL,'blanco',6500,14,6500,0,0,0,6500,2,'V','MESAS','2025-11-27 19:11:26','2025-11-27 19:32:35','2025-11-27 19:11:26',NULL,'2025-11-27 19:32:35',3,5,20,0,0,2964.285714285714,0,6500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2964.29,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2087,0,'BEBIDAS',568,74183,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,1,NULL,NULL,3000,14,3000,0,0,0,3000,2,'V','MESAS','2025-11-27 19:11:29','2025-11-27 19:32:35','2025-11-27 19:11:29',NULL,'2025-11-27 19:32:35',3,5,20,0,0,346.25,0,3000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2090,0,'COCINA',569,74184,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,15,16500,0,0,0,16500,2,'V','MESAS','2025-11-27 19:29:31','2025-11-27 19:48:46','2025-11-27 19:29:31',NULL,'2025-11-27 19:48:46',3,5,20,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2091,0,'COCINA',570,74185,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,'sin mani candela',18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 19:26:51','2025-11-27 19:52:09','2025-11-27 19:26:51',NULL,'2025-11-27 19:52:09',3,5,20,0,0,2101.4138091440723,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2101.41,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2092,0,'COCINA',570,74185,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-27 19:26:58','2025-11-27 19:52:09','2025-11-27 19:26:58',NULL,'2025-11-27 19:52:09',3,5,20,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2093,0,'COCINA',570,74185,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,'solo bbq',18500,2,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 19:27:02','2025-11-27 19:52:09','2025-11-27 19:27:02',NULL,'2025-11-27 19:52:09',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2094,0,'BEBIDAS',570,74185,0,0,0,0,NULL,0,35,'AGUA BRISA',0,NULL,2,NULL,NULL,3000,2,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 19:27:13','2025-11-27 19:52:09','2025-11-27 19:27:13',NULL,'2025-11-27 19:52:09',3,5,20,0,0,346.25,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,346.25,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2095,0,'BEBIDAS',570,74185,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,2,8000,0,0,0,8000,2,'V','MESAS','2025-11-27 19:27:16','2025-11-27 19:52:09','2025-11-27 19:27:16',NULL,'2025-11-27 19:52:09',3,5,20,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2096,0,'BEBIDAS',570,74185,0,0,0,0,NULL,0,113,'BRETAÑA',0,NULL,2,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-27 19:27:17','2025-11-27 19:52:09','2025-11-27 19:27:17',NULL,'2025-11-27 19:52:09',3,5,20,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(2097,0,'BEBIDAS',570,74185,0,0,0,0,NULL,0,33,'MR TEA 500 ML',0,NULL,1,NULL,'limon',4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 19:27:22','2025-11-27 19:52:09','2025-11-27 19:27:22',NULL,'2025-11-27 19:52:09',3,5,20,0,0,909.0909090909091,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,909.09,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2098,0,'COCINA',571,74186,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,3,16500,0,0,0,16500,2,'V','MESAS','2025-11-27 19:35:18','2025-11-27 19:56:07','2025-11-27 19:35:18',NULL,'2025-11-27 19:56:07',3,5,20,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2099,0,'COCINA',571,74186,0,0,0,0,NULL,0,2,'LA ABUELA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 19:35:22','2025-11-27 19:56:07','2025-11-27 19:35:22',NULL,'2025-11-27 19:56:07',3,5,20,0,0,450,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,450.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2100,0,'BEBIDAS',571,74186,0,0,0,0,NULL,0,118,'HIT 500 ML',0,NULL,1,NULL,'naranja piña',4000,3,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 19:35:43','2025-11-27 19:56:07','2025-11-27 19:35:43',NULL,'2025-11-27 19:56:07',3,5,20,0,0,1018.1818181818181,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1018.18,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2101,0,'COCINA',572,74187,0,0,0,0,NULL,0,4,'LA PATRONAL (CHORIZO)',0,NULL,1,NULL,NULL,18500,4,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 19:36:33','2025-11-27 20:06:05','2025-11-27 19:36:33',NULL,'2025-11-27 20:06:05',3,5,20,0,0,1174.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1174.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2102,0,'COCINA',572,74187,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,4,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 19:36:36','2025-11-27 20:06:05','2025-11-27 19:36:36',NULL,'2025-11-27 20:06:05',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2103,0,'COCINA',572,74187,0,0,0,0,NULL,0,20,'MADURITOS',0,NULL,1,NULL,NULL,4000,4,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 19:38:10','2025-11-27 20:06:05','2025-11-27 19:38:10',NULL,'2025-11-27 20:06:05',3,5,20,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(2104,0,'COCINA',573,74188,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,12,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 19:50:51','2025-11-27 20:20:13','2025-11-27 19:50:51',NULL,'2025-11-27 20:20:13',3,5,20,0,0,6963.239170404415,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6963.24,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2105,0,'COCINA',574,74189,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,5,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 19:46:27','2025-11-27 20:24:44','2025-11-27 19:46:27',NULL,'2025-11-27 20:24:44',3,5,20,0,0,6963.239170404415,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6963.24,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2106,0,'BEBIDAS',574,74189,0,0,0,0,NULL,0,32,'GASEOSA PERSONAL 350 ML',0,NULL,2,NULL,NULL,4000,5,8000,0,0,0,8000,2,'V','MESAS','2025-11-27 19:46:33','2025-11-27 20:24:44','2025-11-27 19:46:33',NULL,'2025-11-27 20:24:44',3,5,20,0,0,0,0,8000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2107,0,'BEBIDAS',574,74189,0,0,0,0,NULL,0,111,'COCA COLA',0,NULL,2,NULL,NULL,0,5,0,0,0,0,0,2,'V','MESAS','2025-11-27 19:46:35','2025-11-27 20:24:44','2025-11-27 19:46:35',NULL,'2025-11-27 20:24:44',3,5,20,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES GASEOSAS','SELECCIONE',1,0,1,0,'',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',0),(2108,0,'COCINA',575,74190,0,0,0,0,NULL,0,10,'PAPA FESTIVA',0,NULL,1,NULL,NULL,12000,2,12000,0,0,0,12000,2,'V','MESAS','2025-11-27 20:13:26','2025-11-27 20:34:44','2025-11-27 20:13:26',NULL,'2025-11-27 20:34:44',3,5,20,0,0,1850,0,12000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS COCIDAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1850.00,0,0,0,0,NULL,0,0,0,'valordeventa',0);
INSERT INTO `ventas` (`id`, `codvendedor`, `situacioncocina`, `idfactura`, `consecutivo`, `INCREMENTO`, `codarticulo`, `codsituacion`, `porcentajedescuento`, `referenciafront`, `impuesto`, `idarticulo`, `descripcion`, `esmodificador`, `nombrearticulo`, `cantidad`, `comentario`, `observaciones`, `valorunitario`, `idmesa`, `bruto`, `baseunitario`, `ivaunitario`, `descuento`, `valortotal`, `cc`, `documento`, `origen`, `fecha`, `fechacreacion`, `HORAINI`, `HORAFIN`, `ultimaedicion`, `idcliente`, `idusuario`, `idz`, `abonado`, `idfacturaqueabona`, `costomedio`, `porcentajeiva`, `base`, `iva`, `esbolsillo`, `idvendedor`, `escortesia`, `idcaja`, `idnc`, `nc`, `idusuarionc`, `mediodepago`, `comision`, `devolucionrevisada`, `fechaabonado`, `fechamc`, `tienenc`, `marcadoparanc`, `servicio`, `subido`, `CODMODIF`, `esmodif`, `CODARTICULOABAJO`, `PRECIOIVA`, `NUMMODIF`, `numservicio`, `aliasespera`, `impresiones`, `IDMOTIVODTO`, `DETALLEDENUMLINEA`, `FAMILIAAENA`, `DETALLEMODIF`, `ABONODE_NUMERO`, `ingreso`, `ABONODE_SERIE`, `tiempo`, `NORDERTIQUET`, `salida`, `REQ`, `COSTEIVA`, `DTO`, `TIPO`, `CODMACRO`, `CODFORMATO`, `NUMLINEA`, `codigociudad`, `email`, `codigopostal`, `codigodepartamento`, `departamento`, `ciudad`, `cufe`, `unidaddemedida`, `esnota`, `impreso`, `domicilio`, `domicilioexterno`, `pv`, `zonaventas`, `seccionventas`, `situacioncocina2`, `integraconfamilia`, `codmodifpapa`, `TIPOIVA`, `sesubearappi`, `refventas`, `placa`, `iddomiciliario`, `horaaceptado`, `comandaaceptada`, `horaacancelada`, `comandacancelada`, `motivocancela`, `paqueterecibido`, `hora_paqueterecibido`, `porcentajecomision`, `articulovence`, `deberecoger`, `imei`, `factor`, `puntosrevisados`, `idusuarioredime`, `usuarioredime`, `fecharedime`, `costomenu`, `comensales`, `impultraprocesados`, `impazucaradas`, `idmayornomina`, `tipodescuento`, `porcentajesobrecargoeventos`, `sobrecargoeventos`, `sgroupname`, `campovalor`, `ultimocoste`) VALUES (2109,0,'COCINA',575,74190,0,0,0,0,NULL,0,13,'GUACAMOLE',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 20:13:40','2025-11-27 20:34:44','2025-11-27 20:13:40',NULL,'2025-11-27 20:34:44',3,5,20,0,0,0,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',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',0),(2110,0,'COCINA',575,74190,0,0,0,0,NULL,0,11,'QUESO FUNDIDO',0,NULL,1,NULL,NULL,4000,2,4000,0,0,0,4000,2,'V','MESAS','2025-11-27 20:13:41','2025-11-27 20:34:44','2025-11-27 20:13:41',NULL,'2025-11-27 20:34:44',3,5,20,0,0,724.141081871345,0,4000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','ADICIONES (TOPINGS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,724.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2111,0,'COCINA',575,74190,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,1,NULL,NULL,16500,2,16500,0,0,0,16500,2,'V','MESAS','2025-11-27 20:13:46','2025-11-27 20:34:44','2025-11-27 20:13:46',NULL,'2025-11-27 20:34:44',3,5,20,0,0,3838.1728847585696,0,16500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2112,0,'BEBIDAS',575,74190,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,2,NULL,NULL,9000,2,18000,0,0,0,18000,2,'V','MESAS','2025-11-27 20:14:05','2025-11-27 20:34:44','2025-11-27 20:14:05',NULL,'2025-11-27 20:34:44',3,5,20,0,0,0,0,18000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2113,0,'BEBIDAS',575,74190,0,0,0,0,NULL,0,40,'MARACUYÁ',0,NULL,2,NULL,NULL,0,2,0,0,0,0,0,2,'V','MESAS','2025-11-27 20:14:16','2025-11-27 20:34:44','2025-11-27 20:14:16',NULL,'2025-11-27 20:34:44',3,5,20,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2115,0,'COCINA',576,74191,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,3,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 20:16:06','2025-11-27 20:39:36','2025-11-27 20:16:06',NULL,'2025-11-27 20:39:36',3,5,20,0,0,2104.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2104.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2116,0,'BEBIDAS',576,74191,0,0,0,0,NULL,0,30,'JUGO EN LECHE',0,NULL,1,NULL,NULL,9000,3,9000,0,0,0,9000,2,'V','MESAS','2025-11-27 20:16:12','2025-11-27 20:39:36','2025-11-27 20:16:12',NULL,'2025-11-27 20:39:36',3,5,20,0,0,0,0,9000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','BEBIDAS','SELECCIONE',1,0,1,0,'',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',0),(2117,0,'BEBIDAS',576,74191,0,0,0,0,NULL,0,40,'MARACUYÁ',0,NULL,1,NULL,NULL,0,3,0,0,0,0,0,2,'V','MESAS','2025-11-27 20:16:14','2025-11-27 20:39:36','2025-11-27 20:16:14',NULL,'2025-11-27 20:39:36',3,5,20,0,0,0,0,0,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','SALÓN','MODIFICADORES JUGOS','SELECCIONE',1,0,1,0,'',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',0),(2118,0,'COCINA',577,74192,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,2,NULL,NULL,18500,13,37000,0,0,0,37000,2,'V','MESAS','2025-11-27 20:17:06','2025-11-27 20:53:40','2025-11-27 20:17:06',NULL,'2025-11-27 20:53:40',3,5,20,0,0,2104.141081871345,0,37000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2104.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2119,0,'COCINA',578,74193,0,0,0,0,NULL,0,7,'LA TODOTERRENO',0,NULL,1,NULL,NULL,36000,14,36000,0,0,0,36000,2,'V','MESAS','2025-11-27 20:22:07','2025-11-27 20:55:08','2025-11-27 20:22:07',NULL,'2025-11-27 20:55:08',3,5,20,0,0,6963.239170404415,0,36000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,6963.24,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2120,0,'COCINA',579,74194,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,15,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 20:28:42','2025-11-27 20:56:10','2025-11-27 20:28:42',NULL,'2025-11-27 20:56:10',3,5,20,0,0,2104.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2104.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2121,0,'COCINA',579,74194,0,0,0,0,NULL,0,120,'HUEVOS DE CODORNIS',0,NULL,1,NULL,NULL,6000,15,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 20:29:41','2025-11-27 20:56:10','2025-11-27 20:29:41',NULL,'2025-11-27 20:56:10',3,5,20,0,0,1323.344909132596,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1323.34,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2122,0,'COCINA',579,74194,0,0,0,0,NULL,0,21,'SALCHICHA LLANERA',0,NULL,1,NULL,NULL,6000,15,6000,0,0,0,6000,2,'V','MESAS','2025-11-27 20:29:57','2025-11-27 20:56:10','2025-11-27 20:29:57',NULL,'2025-11-27 20:56:10',3,5,20,0,0,2225,0,6000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','ADICIONES (PROTEINAS)','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2225.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2123,0,'COCINA',580,74195,0,0,0,0,NULL,0,6,'LA CRIOLLA BRAVA',0,NULL,1,NULL,NULL,18500,16,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 20:46:16','2025-11-27 21:03:13','2025-11-27 20:46:16',NULL,'2025-11-27 21:03:14',3,5,20,0,0,2104.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2104.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2124,0,'COCINA',580,74195,0,0,0,0,NULL,0,3,'LA JUGOSA DESPELUCADA',0,NULL,1,NULL,NULL,18500,16,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 20:46:16','2025-11-27 21:03:13','2025-11-27 20:46:16',NULL,'2025-11-27 21:03:14',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2126,0,'COCINA',581,74196,0,0,0,0,NULL,0,5,'LA CLASICA',0,NULL,2,NULL,NULL,16500,12,33000,0,0,0,33000,2,'V','MESAS','2025-11-27 21:30:55','2025-11-27 21:47:01','2025-11-27 21:30:55',NULL,'2025-11-27 21:47:01',3,5,20,0,0,3838.1728847585696,0,33000,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3838.17,0,0,0,0,NULL,0,0,0,'valordeventa',0),(2127,0,'COCINA',582,74197,0,0,0,0,NULL,0,122,'LA PATRONAL (CARNE AHUMADA)',0,NULL,1,NULL,NULL,18500,13,18500,0,0,0,18500,2,'V','MESAS','2025-11-27 21:40:13','2025-11-27 21:52:40','2025-11-27 21:40:13',NULL,'2025-11-27 21:52:40',3,5,20,0,0,2854.141081871345,0,18500,0,0,5,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',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'papale','BARRA','PAPAS FRITAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,2854.14,0,0,0,0,NULL,0,0,0,'valordeventa',0);

--
-- 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` bigint unsigned NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `idnc` bigint unsigned NOT NULL DEFAULT '1',
  `nc` int DEFAULT '0',
  `idusuarionc` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int NOT NULL DEFAULT '0',
  `devolucionrevisada` int DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int NOT NULL DEFAULT '0',
  `marcadoparanc` int NOT NULL DEFAULT '0',
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODMODIF` varchar(2) NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int NOT NULL DEFAULT '0',
  `NUMMODIF` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `aliasespera` int NOT NULL DEFAULT '1',
  `impresiones` int NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int DEFAULT '0',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `TIPOIVA` int DEFAULT '1',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `impultraprocesados` int DEFAULT '0',
  `impazucaradas` int DEFAULT '0',
  `campovalor` varchar(25) 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 `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `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,
  `enviadoalospv` smallint DEFAULT '0',
  `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',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `PrecuentaCallcenter` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `placa` varchar(8) DEFAULT NULL,
  `seccion` varchar(25) DEFAULT NULL,
  `bodega` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `ventasauxiliar_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `ventasauxiliar_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`),
  CONSTRAINT `ventasauxiliar_ibfk_6` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1947 DEFAULT CHARSET=utf8mb3;

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


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

CREATE TABLE `ventasauxiliar2` (
  `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` bigint unsigned NOT NULL DEFAULT '2',
  `origen` varchar(25) DEFAULT NULL,
  `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',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `PrecuentaCallcenter` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `placa` varchar(8) DEFAULT NULL,
  `seccion` varchar(25) DEFAULT NULL,
  `bodega` varchar(25) DEFAULT NULL,
  `id` int DEFAULT '0',
  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 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

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

INSERT INTO `ventasporhoras` (`id`, `fecha`, `dato0`, `dato1`, `dato2`, `dato3`, `dato4`, `dato5`, `dato6`, `cc`, `pv`) VALUES (1,'2022-12-29',0,89000,172500,1508000,154500,0,0,2,'KALDI');

--
-- 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 'KALDI',
  `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=21 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,4369900,0,3232315,4369900,1022,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,4369900,0,28000,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(2,'2025-11-01 23:03:21',4,0,0,0,1787002,0,1787002,1787002,143,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1787002,0,0,0,500000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(3,'2025-11-02 22:08:54',5,0,0,0,1764004,0,1764004,1764004,142,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1764004,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(4,'2025-11-05 21:05:38',6,0,0,0,471000,0,471000,471000,37,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,471000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(5,'2025-11-06 23:01:15',7,0,0,0,1277001,0,1277001,1277001,88,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1277001,0,0,0,495200,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(6,'2025-11-07 22:37:18',8,0,0,0,1651503,0,1651503,1651503,133,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1651503,0,0,0,768000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(7,'2025-11-08 23:11:21',9,0,0,0,1555000,0,1555000,1555000,117,13,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1555000,0,0,0,505950,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(8,'2025-11-09 22:42:31',10,0,0,0,1779500,0,1779500,1779500,138,13,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1779500,0,0,0,541300,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(9,'2025-11-12 22:23:08',11,0,0,0,914500,0,914500,914500,100,13,0,2,0,0,0,0,0,0,0,0,22000,1,0,0,0,0,914500,0,0,0,350000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(10,'2025-11-13 22:35:35',12,0,0,0,761000,0,761000,761000,67,13,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,761000,0,0,0,375450,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(11,'2025-11-14 22:31:49',13,0,0,0,667500,0,667500,667500,57,13,0,2,0,0,0,0,0,0,0,0,65000,1,0,0,0,0,667500,0,0,0,650000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(12,'2025-11-15 22:54:09',14,0,0,0,1268500,0,1268500,1268500,128,13,0,2,0,0,0,55000,0,0,0,0,8000,1,0,0,0,0,1213500,0,0,0,1394200,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(13,'2025-11-16 22:36:41',15,0,0,0,1331000,0,1331000,1331000,125,13,0,2,0,0,0,0,0,0,0,0,1970000,1,0,0,0,0,1331000,0,0,0,672550,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(14,'2025-11-19 22:18:30',16,0,0,0,506001,0,506001,506001,47,5,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,506001,0,0,0,414000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(15,'2025-11-20 22:27:46',17,0,0,0,373002,0,373002,373002,43,13,0,2,0,0,0,0,0,0,0,0,116750,1,0,0,0,0,373002,0,0,0,408000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(16,'2025-11-21 22:56:05',18,0,0,0,795000,0,795000,795000,78,13,0,2,0,0,0,0,0,0,0,0,21400,1,0,0,0,0,795000,0,0,0,806100,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(17,'2025-11-22 22:50:11',19,0,0,0,1386500,0,1386500,1386500,154,13,0,2,0,0,0,0,0,0,0,0,3125300,1,0,0,0,0,1386500,0,0,0,692700,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(18,'2025-11-23 22:42:20',20,0,0,0,1359000,0,1359000,1359000,141,13,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1359000,0,0,0,779800,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(19,'2025-11-26 22:41:30',21,0,0,0,1487500,0,1487500,1487500,131,5,0,2,0,0,0,0,0,0,0,0,159040,1,0,0,0,0,1487500,0,0,0,751100,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(20,'2025-11-27 22:11:56',22,0,0,0,1123000,0,1123000,1123000,79,5,0,2,0,0,0,89930,0,0,0,0,1143200,1,0,0,0,0,1033070,0,0,0,542000,0,0,0,0,0,NULL,0,0,'KALDI',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 'texasburgers',
  `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=4 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','texasburgers',0,0,1),(2,'SALÓN',2,1,0,'SELECCIONE','texasburgers',0,0,1),(3,'BARRA',2,2,0,'SELECCIONE','texasburgers',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 AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;

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

INSERT INTO `zonasclientes` (`id`, `codigozona`, `nombrezona`) VALUES (1,NULL,'uno'),(2,NULL,''),(3,NULL,'');

--
-- 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 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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


--
-- Dumping routines for database 'papale'
--
/*!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=`wwcont_texasburgers`@`%.%.%.%` 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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` 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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` FUNCTION `buscarabonos`(`idfacturain` INT(11)) RETURNS int
    SQL SECURITY INVOKER
BEGIN DECLARE P INT(11); SET P=(select sum(valor) from abonos where idfactura=idfacturain and nc=0); RETURN ifnull(P,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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` 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
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=`controll_kaldi`@`localhost` 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=`wwcont_texasburgers`@`%.%.%.%` 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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` 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
    SQL SECURITY INVOKER
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=`pruebas`@`%` 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=`pruebas`@`%` 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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` 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=`controll_kaldi`@`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=`wwcont_texasburgers`@`%.%.%.%` 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=`wwcont_texasburgers`@`%.%.%.%` 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=`wwcont_texasburgers`@`%.%.%.%` 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=`wwcont_texasburgers`@`%.%.%.%` 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=`wwcont_texasburgers`@`%.%.%.%` 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=`controll_kaldi`@`localhost` 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=`restaura_kaldi`@`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=`restaura_kaldi`@`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=`controll_kaldi`@`162.214.175.121` 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=`wwcont_kaldi`@`%.%.%.%` 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=`pruebas`@`%` 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=`wwcont_texasburgers`@`%.%.%.%` 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=`controll_kaldi`@`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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` 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=`controll_kaldi`@`162.214.175.121` 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=`controll_kaldi`@`vps-385963.appitecintegraciones.com` 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 ;


