(1460,0,'SELECCIONE',845,74439,0,0,0,0,NULL,0,35,'GATORADE',0,NULL,1,NULL,NULL,14000,8,14000,0,0,0,14000,2,'V','MESAS','2025-11-22 02:01:11','2025-11-22 02:03:38','2025-11-22 02:01:11','2025-11-22 02:02:16','2025-11-22 02:03:38',7,9,22,0,0,3250,0,14000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,3250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1464,0,'SELECCIONE',846,74440,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,9,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 02:05:23','2025-11-22 02:06:46','2025-11-22 02:05:23','2025-11-22 02:05:51','2025-11-22 02:06:46',7,9,22,0,0,3660,0,19000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1465,0,'SELECCIONE',847,74441,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,2,NULL,NULL,19000,5,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 02:09:35','2025-11-22 02:10:21','2025-11-22 02:09:35',NULL,'2025-11-22 02:10:21',7,9,22,0,0,7900,0,38000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1466,0,'SELECCIONE',847,74441,0,0,0,0,NULL,0,39,'SODA',0,NULL,1,NULL,NULL,11000,5,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 02:09:37','2025-11-22 02:10:21','2025-11-22 02:09:37',NULL,'2025-11-22 02:10:21',7,9,22,0,0,2120,0,11000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1467,0,'SELECCIONE',847,74441,0,0,0,0,NULL,0,67,'VASO MICHELADO',0,NULL,1,NULL,NULL,5000,5,5000,0,0,0,5000,2,'V','MESAS','2025-11-22 02:09:41','2025-11-22 02:10:21','2025-11-22 02:09:41',NULL,'2025-11-22 02:10:21',7,9,22,0,0,1000,0,5000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1468,0,'SELECCIONE',848,74442,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,2,NULL,NULL,19000,3,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 02:28:53','2025-11-22 02:29:08','2025-11-22 02:28:53',NULL,'2025-11-22 02:29:08',7,9,22,0,0,6396,0,38000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1469,0,'SELECCIONE',849,74443,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,4,14000,0,0,0,14000,2,'V','MESAS','2025-11-22 02:33:04','2025-11-22 02:34:00','2025-11-22 02:33:04',NULL,'2025-11-22 02:34:00',7,9,22,0,0,3280,0,14000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1470,0,'SELECCIONE',849,74443,0,0,0,0,NULL,0,39,'SODA',0,NULL,1,NULL,NULL,11000,4,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 02:33:10','2025-11-22 02:34:00','2025-11-22 02:33:10',NULL,'2025-11-22 02:34:00',7,9,22,0,0,2120,0,11000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1472,0,'SELECCIONE',850,74444,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,7,11000,0,0,0,11000,2,'V','MESAS','2025-11-21 23:46:35','2025-11-22 02:35:07','2025-11-21 23:46:35','2025-11-22 02:20:35','2025-11-22 02:35:07',7,9,22,0,0,1115,0,11000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,17000,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,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1473,0,'SELECCIONE',850,74444,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,7,11000,0,0,0,11000,2,'V','MESAS','2025-11-21 23:46:36','2025-11-22 02:35:07','2025-11-21 23:46:36','2025-11-22 02:20:35','2025-11-22 02:35:07',7,9,22,0,0,1115,0,11000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1474,0,'SELECCIONE',850,74444,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,7,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 00:24:26','2025-11-22 02:35:07','2025-11-22 00:24:26','2025-11-22 02:20:35','2025-11-22 02:35:07',7,9,22,0,0,7900,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1475,0,'SELECCIONE',850,74444,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,7,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 01:31:21','2025-11-22 02:35:07','2025-11-22 01:31:21','2025-11-22 02:20:35','2025-11-22 02:35:07',7,9,22,0,0,7900,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1476,0,'SELECCIONE',850,74444,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,7,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 01:31:25','2025-11-22 02:35:07','2025-11-22 01:31:25','2025-11-22 02:20:35','2025-11-22 02:35:07',7,9,22,0,0,1115,0,11000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1477,0,'SELECCIONE',850,74444,0,0,0,0,NULL,0,48,'GINTONIC',0,NULL,1,NULL,NULL,38000,7,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 01:58:15','2025-11-22 02:35:07','2025-11-22 01:58:15','2025-11-22 02:20:35','2025-11-22 02:35:07',7,9,22,0,0,7200,0,38000,0,0,9,0,1,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,'mojitorooftop','MESERO 2','COCTELES','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,7200.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1479,0,'SELECCIONE',851,74445,0,0,0,0,NULL,0,41,'COCA COLA',0,NULL,1,NULL,NULL,11000,3,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 02:36:30','2025-11-22 02:43:04','2025-11-22 02:36:30','2025-11-22 02:40:08','2025-11-22 02:43:04',7,9,22,0,0,2483,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,4000,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,'mojitorooftop','MESERO 1','OTRAS 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,2483.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1480,0,'SELECCIONE',852,74446,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 02:44:30','2025-11-22 02:45:06','2025-11-22 02:44:30',NULL,'2025-11-22 02:45:06',7,9,22,0,0,3660,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1481,0,'SELECCIONE',853,74447,0,0,0,0,NULL,0,48,'GINTONIC',0,NULL,1,NULL,NULL,38000,5,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 02:50:27','2025-11-22 02:50:52','2025-11-22 02:50:27',NULL,'2025-11-22 02:50:52',7,9,22,0,0,7200,0,38000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 1','COCTELES','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,7200.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1482,0,'SELECCIONE',853,74447,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,5,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 02:50:32','2025-11-22 02:50:52','2025-11-22 02:50:32',NULL,'2025-11-22 02:50:52',7,9,22,0,0,6396,0,19000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1484,0,'SELECCIONE',854,74448,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,2,NULL,NULL,14000,3,28000,0,0,0,28000,2,'V','MESAS','2025-11-22 02:53:58','2025-11-22 02:54:17','2025-11-22 02:53:58',NULL,'2025-11-22 02:54:17',7,9,22,0,0,3280,0,28000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1485,0,'SELECCIONE',855,74449,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,3,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 03:07:47','2025-11-22 03:09:03','2025-11-22 03:07:47',NULL,'2025-11-22 03:09:03',7,9,22,0,0,1115,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1486,0,'SELECCIONE',856,74450,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,3,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 03:12:58','2025-11-22 03:13:09','2025-11-22 03:12:58',NULL,'2025-11-22 03:13:09',7,9,22,0,0,6396,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1487,0,'SELECCIONE',857,74451,0,0,0,0,NULL,0,53,'JAGERMEISTER',0,NULL,1,NULL,NULL,140000,17,140000,0,0,0,140000,2,'V','MESAS','2025-11-22 03:15:15','2025-11-22 03:19:38','2025-11-22 03:15:15','2025-11-22 03:16:51','2025-11-22 03:19:38',7,9,22,0,0,97300,0,140000,0,0,9,0,1,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,'mojitorooftop','MESERO 4','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,97300.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1488,0,'SELECCIONE',857,74451,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,4,NULL,NULL,9000,17,36000,0,0,0,36000,2,'V','MESAS','2025-11-22 03:15:24','2025-11-22 03:19:38','2025-11-22 03:15:24','2025-11-22 03:16:51','2025-11-22 03:19:38',7,9,22,0,0,6396,0,36000,0,0,9,0,1,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,'mojitorooftop','MESERO 4','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1489,0,'SELECCIONE',857,74451,0,0,0,0,NULL,0,55,'BOMBONES',0,NULL,3,NULL,NULL,500,17,1500,0,0,0,1500,2,'V','MESAS','2025-11-22 03:15:33','2025-11-22 03:19:38','2025-11-22 03:15:33','2025-11-22 03:16:51','2025-11-22 03:19:38',7,9,22,0,0,350,0,1500,0,0,9,0,1,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,'mojitorooftop','MESERO 4','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,350.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1490,0,'SELECCIONE',858,74452,0,0,0,0,NULL,0,39,'SODA',0,NULL,1,NULL,NULL,11000,5,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 03:22:52','2025-11-22 03:22:57','2025-11-22 03:22:52',NULL,'2025-11-22 03:22:57',7,9,22,0,0,2120,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1491,0,'SELECCIONE',859,74453,0,0,0,0,NULL,0,39,'SODA',0,NULL,1,NULL,NULL,11000,9,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 03:24:21','2025-11-22 03:24:31','2025-11-22 03:24:21',NULL,'2025-11-22 03:24:31',7,9,22,0,0,2120,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1492,0,'SELECCIONE',860,74454,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,6,NULL,'BURGOS',14000,6,84000,0,0,0,84000,2,'V','MESAS','2025-11-22 00:06:19','2025-11-22 03:43:46','2025-11-22 00:06:19','2025-11-22 03:33:30','2025-11-22 03:43:46',7,9,22,0,0,3280,0,84000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,10000,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,'mojitorooftop','MESERO 4','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1493,0,'SELECCIONE',860,74454,0,0,0,0,NULL,0,47,'MARGARITA',0,NULL,1,NULL,NULL,38000,6,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 00:07:11','2025-11-22 03:43:46','2025-11-22 00:07:11','2025-11-22 03:33:30','2025-11-22 03:43:46',7,9,22,0,0,8300,0,38000,0,0,9,0,1,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,'mojitorooftop','MESERO 4','COCTELES','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,8300.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1494,0,'SELECCIONE',860,74454,0,0,0,0,NULL,0,67,'VASO MICHELADO',0,NULL,3,NULL,NULL,5000,6,15000,0,0,0,15000,2,'V','MESAS','2025-11-22 00:30:52','2025-11-22 03:43:46','2025-11-22 00:30:52','2025-11-22 03:33:30','2025-11-22 03:43:46',7,9,22,0,0,1000,0,15000,0,0,9,0,1,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,'mojitorooftop','MESERO 4','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1495,0,'SELECCIONE',860,74454,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,6,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 00:49:10','2025-11-22 03:43:46','2025-11-22 00:49:10','2025-11-22 03:33:30','2025-11-22 03:43:46',7,9,22,0,0,3660,0,19000,0,0,9,0,1,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,'mojitorooftop','MESERO 4','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1496,0,'SELECCIONE',860,74454,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,6,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 01:31:10','2025-11-22 03:43:46','2025-11-22 01:31:10','2025-11-22 03:33:30','2025-11-22 03:43:46',7,9,22,0,0,3660,0,19000,0,0,9,0,1,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,'mojitorooftop','MESERO 4','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1499,0,'SELECCIONE',861,74455,0,0,0,0,NULL,0,53,'JAGERMEISTER',0,NULL,1,NULL,NULL,140000,21,140000,0,0,0,140000,2,'V','MESAS','2025-11-22 01:45:43','2025-11-22 03:52:28','2025-11-22 01:45:43','2025-11-22 03:44:27','2025-11-22 03:52:28',7,9,22,0,0,97300,0,140000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,97300.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1500,0,'SELECCIONE',861,74455,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,2,NULL,NULL,9000,21,18000,0,0,0,18000,2,'V','MESAS','2025-11-22 01:46:15','2025-11-22 03:52:28','2025-11-22 01:46:15','2025-11-22 03:44:27','2025-11-22 03:52:28',7,9,22,0,0,6396,0,18000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1501,0,'SELECCIONE',861,74455,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,2,NULL,NULL,6000,21,12000,0,0,0,12000,2,'V','MESAS','2025-11-22 01:46:23','2025-11-22 03:52:28','2025-11-22 01:46:23','2025-11-22 03:44:27','2025-11-22 03:52:28',7,9,22,0,0,3280,0,12000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1502,0,'SELECCIONE',861,74455,0,0,0,0,NULL,0,67,'VASO MICHELADO',0,NULL,1,NULL,NULL,2000,21,2000,0,0,0,2000,2,'V','MESAS','2025-11-22 01:46:25','2025-11-22 03:52:28','2025-11-22 01:46:25','2025-11-22 03:44:27','2025-11-22 03:52:28',7,9,22,0,0,1000,0,2000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1503,0,'SELECCIONE',861,74455,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,2000,21,2000,0,0,0,2000,2,'V','MESAS','2025-11-22 02:15:43','2025-11-22 03:52:28','2025-11-22 02:15:43','2025-11-22 03:44:27','2025-11-22 03:52:28',7,9,22,0,0,1115,0,2000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1506,0,'SELECCIONE',862,74456,0,0,0,0,NULL,0,50,'CORONA',0,NULL,2,NULL,'GEEK DISEÑOS',8000,22,16000,0,0,0,16000,2,'V','MESAS','2025-11-22 00:53:04','2025-11-22 03:52:58','2025-11-22 00:53:04','2025-11-22 03:25:33','2025-11-22 03:52:58',7,9,22,0,0,3660,0,16000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1507,0,'SELECCIONE',862,74456,0,0,0,0,NULL,0,35,'GATORADE',0,NULL,2,NULL,NULL,5000,22,10000,0,0,0,10000,2,'V','MESAS','2025-11-22 02:39:58','2025-11-22 03:52:58','2025-11-22 02:39:58','2025-11-22 03:25:33','2025-11-22 03:52:58',7,9,22,0,0,3250,0,10000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','OTRAS 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,3250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1509,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,37,'AGUA',0,NULL,2,NULL,NULL,2000,3,4000,0,0,0,4000,2,'V','MESAS','2025-11-22 03:20:15','2025-11-22 04:03:11','2025-11-22 03:20:15','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,1115,0,4000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1510,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,39,'SODA',0,NULL,2,NULL,NULL,4000,3,8000,0,0,0,8000,2,'V','MESAS','2025-11-22 03:20:51','2025-11-22 04:03:11','2025-11-22 03:20:51','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,2120,0,8000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1511,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,40,'GINGER ALE',0,NULL,3,NULL,NULL,5000,3,15000,0,0,0,15000,2,'V','MESAS','2025-11-22 03:20:57','2025-11-22 04:03:11','2025-11-22 03:20:57','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,2021,0,15000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,2021.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1512,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,2,NULL,NULL,8000,3,16000,0,0,0,16000,2,'V','MESAS','2025-11-22 03:21:15','2025-11-22 04:03:11','2025-11-22 03:21:15','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,3441,0,16000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1513,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,50,'CORONA',0,NULL,2,NULL,NULL,8000,3,16000,0,0,0,16000,2,'V','MESAS','2025-11-22 03:21:22','2025-11-22 04:03:11','2025-11-22 03:21:22','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,3660,0,16000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1514,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,25,'JAGERMEISTER 1/2',0,NULL,1,NULL,NULL,90000,3,90000,0,0,0,90000,2,'V','MESAS','2025-11-22 03:21:31','2025-11-22 04:03:11','2025-11-22 03:21:31','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,59700,0,90000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,59700.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1515,0,'SELECCIONE',863,74457,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,2,NULL,NULL,9000,3,18000,0,0,0,18000,2,'V','MESAS','2025-11-22 03:21:37','2025-11-22 04:03:11','2025-11-22 03:21:37','2025-11-22 03:21:44','2025-11-22 04:03:11',7,9,22,0,0,6396,0,18000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1516,0,'SELECCIONE',864,74458,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,2,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 22:10:30','2025-11-22 22:12:32','2025-11-22 22:10:30',NULL,'2025-11-22 22:12:32',7,9,23,0,0,3441,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1517,0,'SELECCIONE',864,74458,0,0,0,0,NULL,0,40,'GINGER ALE',0,NULL,1,NULL,NULL,11000,2,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 22:10:34','2025-11-22 22:12:32','2025-11-22 22:10:34',NULL,'2025-11-22 22:12:32',7,9,23,0,0,2021,0,11000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,2021.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1519,0,'SELECCIONE',865,74459,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,3,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 22:25:01','2025-11-22 22:25:49','2025-11-22 22:25:01',NULL,'2025-11-22 22:25:49',7,9,23,0,0,1115,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1520,0,'SELECCIONE',866,74460,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,7,11000,0,0,0,11000,2,'V','MESAS','2025-11-22 22:57:24','2025-11-22 23:01:43','2025-11-22 22:57:24','2025-11-22 22:58:50','2025-11-22 23:01:43',7,9,23,0,0,1115,0,11000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1521,0,'SELECCIONE',866,74460,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,7,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 22:57:26','2025-11-22 23:01:43','2025-11-22 22:57:26','2025-11-22 22:58:50','2025-11-22 23:01:43',7,9,23,0,0,7900,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1523,0,'SELECCIONE',867,74461,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,3,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 23:13:58','2025-11-22 23:14:39','2025-11-22 23:13:58',NULL,'2025-11-22 23:14:39',7,9,23,0,0,3441,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1524,0,'SELECCIONE',868,74462,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,7,14000,0,0,0,14000,2,'V','MESAS','2025-11-22 23:29:16','2025-11-22 23:35:33','2025-11-22 23:29:16','2025-11-22 23:32:43','2025-11-22 23:35:33',7,9,23,0,0,3280,0,14000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1525,0,'SELECCIONE',868,74462,0,0,0,0,NULL,0,48,'GINTONIC',0,NULL,1,NULL,NULL,38000,7,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 23:29:20','2025-11-22 23:35:33','2025-11-22 23:29:20','2025-11-22 23:32:43','2025-11-22 23:35:33',7,9,23,0,0,7200,0,38000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','COCTELES','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,7200.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1527,0,'SELECCIONE',869,74463,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 23:47:55','2025-11-22 23:49:42','2025-11-22 23:47:55',NULL,'2025-11-22 23:49:42',7,9,23,0,0,3441,0,19000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1528,0,'SELECCIONE',870,74464,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 23:44:24','2025-11-22 23:51:30','2025-11-22 23:44:24','2025-11-22 23:50:34','2025-11-22 23:51:30',7,9,23,0,0,7900,0,19000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,6000,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,'mojitorooftop','MESERO 2','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1529,0,'SELECCIONE',871,74465,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,2,NULL,NULL,19000,4,38000,0,0,0,38000,2,'V','MESAS','2025-11-22 23:45:18','2025-11-22 23:52:26','2025-11-22 23:45:18','2025-11-22 23:51:47','2025-11-22 23:52:26',7,9,23,0,0,3441,0,38000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1530,0,'SELECCIONE',872,74466,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,3,NULL,NULL,19000,5,57000,0,0,0,57000,2,'V','MESAS','2025-11-22 23:56:50','2025-11-22 23:58:23','2025-11-22 23:56:50','2025-11-22 23:57:25','2025-11-22 23:58:23',7,9,23,0,0,3441,0,57000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1531,0,'SELECCIONE',873,74467,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:00:22','2025-11-23 00:01:08','2025-11-23 00:00:22',NULL,'2025-11-23 00:01:08',7,9,23,0,0,7900,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1532,0,'SELECCIONE',874,74468,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,2,19000,0,0,0,19000,2,'V','MESAS','2025-11-22 23:08:34','2025-11-23 00:01:16','2025-11-22 23:08:34','2025-11-22 23:52:55','2025-11-23 00:01:16',7,9,23,0,0,6396,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1533,0,'SELECCIONE',875,74469,0,0,0,0,NULL,0,40,'GINGER ALE',0,NULL,1,NULL,NULL,11000,4,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 00:11:50','2025-11-23 00:12:33','2025-11-23 00:11:50',NULL,'2025-11-23 00:12:33',7,9,23,0,0,2021,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','OTRAS 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,2021.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1534,0,'SELECCIONE',875,74469,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:11:53','2025-11-23 00:12:33','2025-11-23 00:11:53',NULL,'2025-11-23 00:12:33',7,9,23,0,0,7900,0,19000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1536,0,'SELECCIONE',876,74470,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,2,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:13:42','2025-11-23 00:14:05','2025-11-23 00:13:42',NULL,'2025-11-23 00:14:05',7,9,23,0,0,7900,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1537,0,'SELECCIONE',877,74471,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,4,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 00:26:21','2025-11-23 00:27:06','2025-11-23 00:26:21',NULL,'2025-11-23 00:27:06',7,9,23,0,0,1115,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1538,0,'SELECCIONE',877,74471,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,4,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 00:26:26','2025-11-23 00:27:06','2025-11-23 00:26:26',NULL,'2025-11-23 00:27:06',7,9,23,0,0,3280,0,14000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1540,0,'SELECCIONE',878,74472,0,0,0,0,NULL,0,10,'JW RED LABEL',0,NULL,1,NULL,NULL,250000,8,250000,0,0,0,250000,2,'V','MESAS','2025-11-23 00:27:38','2025-11-23 00:38:38','2025-11-23 00:27:38','2025-11-23 00:29:46','2025-11-23 00:38:38',7,9,23,0,0,66600,0,250000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,13000,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,'mojitorooftop','MESERO 2','WHISKEY','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,66600.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1541,0,'SELECCIONE',878,74472,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:27:49','2025-11-23 00:38:38','2025-11-23 00:27:49','2025-11-23 00:29:46','2025-11-23 00:38:38',7,9,23,0,0,6396,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1542,0,'SELECCIONE',878,74472,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:27:50','2025-11-23 00:38:38','2025-11-23 00:27:50','2025-11-23 00:29:46','2025-11-23 00:38:38',7,9,23,0,0,6396,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1543,0,'SELECCIONE',878,74472,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:27:51','2025-11-23 00:38:38','2025-11-23 00:27:51','2025-11-23 00:29:46','2025-11-23 00:38:38',7,9,23,0,0,6396,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1547,0,'SELECCIONE',879,74473,0,0,0,0,NULL,0,47,'MARGARITA',0,NULL,1,NULL,NULL,38000,4,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 00:46:00','2025-11-23 00:47:05','2025-11-23 00:46:00',NULL,'2025-11-23 00:47:05',7,9,23,0,0,8300,0,38000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','COCTELES','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,8300.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1548,0,'SELECCIONE',880,74474,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,10,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 00:49:24','2025-11-23 00:49:36','2025-11-23 00:49:24',NULL,'2025-11-23 00:49:36',7,9,23,0,0,1115,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1549,0,'SELECCIONE',880,74474,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:49:25','2025-11-23 00:49:36','2025-11-23 00:49:25',NULL,'2025-11-23 00:49:36',7,9,23,0,0,6396,0,19000,0,0,9,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1551,0,'SELECCIONE',881,74475,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:49:11','2025-11-23 00:51:07','2025-11-23 00:49:11','2025-11-23 00:50:01','2025-11-23 00:51:07',7,9,23,0,0,3441,0,19000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1552,0,'SELECCIONE',881,74475,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:49:12','2025-11-23 00:51:07','2025-11-23 00:49:12','2025-11-23 00:50:01','2025-11-23 00:51:07',7,9,23,0,0,3441,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1553,0,'SELECCIONE',881,74475,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,8,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:49:13','2025-11-23 00:51:07','2025-11-23 00:49:13','2025-11-23 00:50:01','2025-11-23 00:51:07',7,9,23,0,0,3441,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1554,0,'SELECCIONE',882,74476,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:58:14','2025-11-23 00:58:41','2025-11-23 00:58:14',NULL,'2025-11-23 00:58:41',7,9,23,0,0,3441,0,19000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1555,0,'SELECCIONE',882,74476,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:58:15','2025-11-23 00:58:41','2025-11-23 00:58:15',NULL,'2025-11-23 00:58:41',7,9,23,0,0,3441,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1556,0,'SELECCIONE',882,74476,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:58:16','2025-11-23 00:58:41','2025-11-23 00:58:16',NULL,'2025-11-23 00:58:41',7,9,23,0,0,3441,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1557,0,'SELECCIONE',883,74477,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:58:23','2025-11-23 00:59:05','2025-11-23 00:58:23',NULL,'2025-11-23 00:59:05',7,9,23,0,0,3441,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1558,0,'SELECCIONE',884,74478,0,0,0,0,NULL,0,48,'GINTONIC',0,NULL,1,NULL,NULL,38000,4,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 01:00:22','2025-11-23 01:08:04','2025-11-23 01:00:22','2025-11-23 01:04:28','2025-11-23 01:08:04',7,9,23,0,0,7200,0,38000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 1','COCTELES','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,7200.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1559,0,'SELECCIONE',884,74478,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 01:05:59','2025-11-23 01:08:04','2025-11-23 01:05:59',NULL,'2025-11-23 01:08:04',7,9,23,0,0,6396,0,19000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1561,0,'SELECCIONE',885,74479,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,14,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 01:08:58','2025-11-23 01:09:14','2025-11-23 01:08:58',NULL,'2025-11-23 01:09:14',7,9,23,0,0,1115,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 3','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1562,0,'SELECCIONE',886,74480,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,8,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 01:10:13','2025-11-23 01:11:22','2025-11-23 01:10:13','2025-11-23 01:10:47','2025-11-23 01:11:22',7,9,23,0,0,3280,0,14000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1563,0,'SELECCIONE',887,74481,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,10,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 01:12:33','2025-11-23 01:15:09','2025-11-23 01:12:33','2025-11-23 01:13:26','2025-11-23 01:15:09',7,9,23,0,0,1115,0,11000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1564,0,'SELECCIONE',887,74481,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 01:12:37','2025-11-23 01:15:09','2025-11-23 01:12:37','2025-11-23 01:13:26','2025-11-23 01:15:09',7,9,23,0,0,7900,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1566,0,'SELECCIONE',888,74482,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 01:17:17','2025-11-23 01:18:23','2025-11-23 01:17:17',NULL,'2025-11-23 01:18:23',7,9,23,0,0,3660,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1567,0,'SELECCIONE',889,74483,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,12,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 01:24:10','2025-11-23 01:24:23','2025-11-23 01:24:10',NULL,'2025-11-23 01:24:23',7,9,23,0,0,7900,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 3','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1568,0,'SELECCIONE',890,74484,0,0,0,0,NULL,0,33,'AGUARDIENTE VERDE',0,NULL,1,NULL,NULL,190000,4,190000,0,0,0,190000,2,'V','MESAS','2025-11-23 01:21:07','2025-11-23 01:28:26','2025-11-23 01:21:07','2025-11-23 01:23:14','2025-11-23 01:28:26',7,9,23,0,0,38500,0,190000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,33000,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,38500.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1569,0,'SELECCIONE',890,74484,0,0,0,0,NULL,0,37,'AGUA',0,NULL,2,NULL,NULL,11000,4,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 01:21:12','2025-11-23 01:28:26','2025-11-23 01:21:12','2025-11-23 01:23:14','2025-11-23 01:28:26',7,9,23,0,0,1115,0,22000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1571,0,'SELECCIONE',891,74485,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 01:28:38','2025-11-23 01:28:43','2025-11-23 01:28:38',NULL,'2025-11-23 01:28:44',7,9,23,0,0,7900,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1572,0,'SELECCIONE',892,74486,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,3,NULL,NULL,19000,4,57000,0,0,0,57000,2,'V','MESAS','2025-11-23 01:32:06','2025-11-23 01:34:58','2025-11-23 01:32:06','2025-11-23 01:32:26','2025-11-23 01:34:58',7,9,23,0,0,3441,0,57000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1573,0,'SELECCIONE',893,74487,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 01:35:22','2025-11-23 01:35:43','2025-11-23 01:35:22',NULL,'2025-11-23 01:35:43',7,9,23,0,0,7900,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1574,0,'SELECCIONE',894,74488,0,0,0,0,NULL,0,35,'GATORADE',0,NULL,1,NULL,NULL,14000,10,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 01:37:57','2025-11-23 01:38:04','2025-11-23 01:37:57',NULL,'2025-11-23 01:38:04',7,9,23,0,0,3250,0,14000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 2','OTRAS 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,3250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1575,0,'SELECCIONE',894,74488,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,10,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 01:37:59','2025-11-23 01:38:04','2025-11-23 01:37:59',NULL,'2025-11-23 01:38:04',7,9,23,0,0,3280,0,14000,0,0,9,0,1,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1577,0,'SELECCIONE',895,74489,0,0,0,0,NULL,0,55,'BOMBONES',0,NULL,2,NULL,NULL,2500,12,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 01:57:01','2025-11-23 01:57:30','2025-11-23 01:57:01',NULL,'2025-11-23 01:57:30',7,9,23,0,0,350,0,5000,0,0,9,0,1,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,'mojitorooftop','MESERO 3','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,350.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1578,0,'SELECCIONE',896,74490,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,7,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:01:28','2025-11-23 02:02:19','2025-11-23 02:01:28',NULL,'2025-11-23 02:02:19',7,9,23,0,0,6396,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1579,0,'SELECCIONE',897,74491,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,2,NULL,NULL,19000,10,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 02:06:24','2025-11-23 02:06:43','2025-11-23 02:06:24',NULL,'2025-11-23 02:06:43',7,9,23,0,0,3441,0,38000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1580,0,'SELECCIONE',898,74492,0,0,0,0,NULL,0,36,'ELECTROLIT',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:09:02','2025-11-23 02:09:28','2025-11-23 02:09:02',NULL,'2025-11-23 02:09:28',7,9,23,0,0,7250,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,7250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1581,0,'SELECCIONE',899,74493,0,0,0,0,NULL,0,33,'AGUARDIENTE VERDE',0,NULL,1,NULL,NULL,190000,3,190000,0,0,0,190000,2,'V','MESAS','2025-11-22 23:43:01','2025-11-23 02:11:55','2025-11-22 23:43:01','2025-11-23 01:52:31','2025-11-23 02:11:55',7,9,23,0,0,38500,0,190000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,10000,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,38500.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1582,0,'SELECCIONE',899,74493,0,0,0,0,NULL,0,37,'AGUA',0,NULL,2,NULL,NULL,11000,3,22000,0,0,0,22000,2,'V','MESAS','2025-11-22 23:43:08','2025-11-23 02:11:55','2025-11-22 23:43:08','2025-11-23 01:52:31','2025-11-23 02:11:55',7,9,23,0,0,1115,0,22000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1583,0,'SELECCIONE',899,74493,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,3,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 00:29:51','2025-11-23 02:11:55','2025-11-23 00:29:51','2025-11-23 01:52:31','2025-11-23 02:11:55',7,9,23,0,0,3441,0,19000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1584,0,'SELECCIONE',899,74493,0,0,0,0,NULL,0,37,'AGUA',0,NULL,2,NULL,NULL,11000,3,22000,0,0,0,22000,2,'V','MESAS','2025-11-23 00:43:09','2025-11-23 02:11:55','2025-11-23 00:43:09','2025-11-23 01:52:31','2025-11-23 02:11:55',7,9,23,0,0,1115,0,22000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1588,0,'SELECCIONE',900,74494,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,3,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:13:38','2025-11-23 02:14:35','2025-11-23 02:13:38',NULL,'2025-11-23 02:14:35',7,9,23,0,0,7900,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1589,0,'SELECCIONE',901,74495,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:18:39','2025-11-23 02:18:51','2025-11-23 02:18:39',NULL,'2025-11-23 02:18:51',7,9,23,0,0,3441,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1590,0,'SELECCIONE',902,74496,0,0,0,0,NULL,0,36,'ELECTROLIT',0,NULL,1,NULL,NULL,19000,10,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:19:06','2025-11-23 02:19:27','2025-11-23 02:19:06',NULL,'2025-11-23 02:19:27',7,9,23,0,0,7250,0,19000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','OTRAS 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,7250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1591,0,'SELECCIONE',903,74497,0,0,0,0,NULL,0,50,'CORONA',0,NULL,2,NULL,NULL,19000,2,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 00:44:58','2025-11-23 02:26:14','2025-11-23 00:44:58','2025-11-23 02:23:31','2025-11-23 02:26:14',7,9,23,0,0,3660,0,38000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,118000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1592,0,'SELECCIONE',903,74497,0,0,0,0,NULL,0,29,'AGUARDIENTE ROJO',0,NULL,1,NULL,NULL,190000,2,190000,0,0,0,190000,2,'V','MESAS','2025-11-23 01:15:32','2025-11-23 02:26:14','2025-11-23 01:15:32','2025-11-23 02:23:31','2025-11-23 02:26:14',7,9,23,0,0,41200,0,190000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,41200.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1594,0,'SELECCIONE',904,74498,0,0,0,0,NULL,0,31,'AGUARDIENTE AZUL 1/2',0,NULL,1,NULL,NULL,132000,10,132000,0,0,0,132000,2,'V','MESAS','2025-11-23 02:29:17','2025-11-23 02:30:15','2025-11-23 02:29:17',NULL,'2025-11-23 02:30:15',7,9,23,0,0,23900,0,132000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 2','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,23900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1595,0,'SELECCIONE',905,74499,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,15,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 02:30:53','2025-11-23 02:31:09','2025-11-23 02:30:53',NULL,'2025-11-23 02:31:09',7,9,23,0,0,1115,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 3','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1596,0,'SELECCIONE',905,74499,0,0,0,0,NULL,0,35,'GATORADE',0,NULL,1,NULL,NULL,14000,15,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 02:30:54','2025-11-23 02:31:09','2025-11-23 02:30:54',NULL,'2025-11-23 02:31:09',7,9,23,0,0,3250,0,14000,0,0,9,0,1,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,'mojitorooftop','MESERO 3','OTRAS 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,3250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1598,0,'SELECCIONE',906,74500,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,7,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:26:58','2025-11-23 02:32:06','2025-11-23 02:26:58','2025-11-23 02:31:31','2025-11-23 02:32:06',7,9,23,0,0,3660,0,19000,0,0,23,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1599,0,'SELECCIONE',907,74501,0,0,0,0,NULL,0,39,'SODA',0,NULL,1,NULL,NULL,11000,8,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 02:32:23','2025-11-23 02:32:33','2025-11-23 02:32:23',NULL,'2025-11-23 02:32:33',7,9,23,0,0,2120,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1600,0,'SELECCIONE',908,74502,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,10,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 02:48:03','2025-11-23 02:48:09','2025-11-23 02:48:03',NULL,'2025-11-23 02:48:09',7,9,23,0,0,1115,0,11000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 2','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1601,0,'SELECCIONE',909,74503,0,0,0,0,NULL,0,36,'ELECTROLIT',0,NULL,1,NULL,NULL,19000,2,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:50:10','2025-11-23 02:52:12','2025-11-23 02:50:10','2025-11-23 02:50:38','2025-11-23 02:52:12',7,9,23,0,0,7250,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,7250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1602,0,'SELECCIONE',910,74504,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,2,NULL,NULL,19000,7,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 03:13:13','2025-11-23 03:13:36','2025-11-23 03:13:13',NULL,'2025-11-23 03:13:36',7,9,23,0,0,3441,0,38000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 2','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1603,0,'SELECCIONE',911,74505,0,0,0,0,NULL,0,33,'AGUARDIENTE VERDE',0,NULL,1,NULL,NULL,190000,3,190000,0,0,0,190000,2,'V','MESAS','2025-11-23 02:23:52','2025-11-23 03:14:50','2025-11-23 02:23:52','2025-11-23 02:52:00','2025-11-23 03:14:50',7,9,23,0,0,38500,0,190000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,8000,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,38500.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1604,0,'SELECCIONE',911,74505,0,0,0,0,NULL,0,37,'AGUA',0,NULL,3,NULL,NULL,11000,3,33000,0,0,0,33000,2,'V','MESAS','2025-11-23 02:24:10','2025-11-23 03:14:50','2025-11-23 02:24:10','2025-11-23 02:52:00','2025-11-23 03:14:50',7,9,23,0,0,1115,0,33000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1606,0,'SELECCIONE',912,74506,0,0,0,0,NULL,0,29,'AGUARDIENTE ROJO',0,NULL,1,NULL,NULL,190000,5,190000,0,0,0,190000,2,'V','MESAS','2025-11-23 00:47:17','2025-11-23 03:18:01','2025-11-23 00:47:17','2025-11-23 02:51:54','2025-11-23 03:18:01',7,9,23,0,0,41200,0,190000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,6000,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,41200.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1607,0,'SELECCIONE',912,74506,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,5,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 00:47:22','2025-11-23 03:18:01','2025-11-23 00:47:22','2025-11-23 02:51:54','2025-11-23 03:18:01',7,9,23,0,0,1115,0,11000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1609,0,'SELECCIONE',913,74507,0,0,0,0,NULL,0,3,'BUCHANANS 12 AÑOS',0,NULL,2,NULL,NULL,410000,9,820000,0,0,0,820000,2,'V','MESAS','2025-11-22 23:50:00','2025-11-23 03:21:41','2025-11-22 23:50:00','2025-11-23 03:12:56','2025-11-23 03:21:41',7,9,23,0,0,147186,0,820000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,116000,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,'mojitorooftop','MESERO 2','WHISKEY','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,147186.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1610,0,'SELECCIONE',913,74507,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,2,NULL,NULL,19000,9,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 00:09:29','2025-11-23 03:21:41','2025-11-23 00:09:29','2025-11-23 03:12:56','2025-11-23 03:21:41',7,9,23,0,0,6396,0,38000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1611,0,'SELECCIONE',913,74507,0,0,0,0,NULL,0,4,'BUCHANANS 12 AÑOS 1/2',0,NULL,1,NULL,NULL,207000,9,207000,0,0,0,207000,2,'V','MESAS','2025-11-23 02:43:35','2025-11-23 03:21:41','2025-11-23 02:43:35','2025-11-23 03:12:56','2025-11-23 03:21:41',7,9,23,0,0,86150,0,207000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','WHISKEY','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,86150.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1612,0,'SELECCIONE',913,74507,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,9,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:43:42','2025-11-23 03:21:41','2025-11-23 02:43:42','2025-11-23 03:12:56','2025-11-23 03:21:41',7,9,23,0,0,6396,0,19000,0,0,23,0,1,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,'mojitorooftop','MESERO 2','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1616,0,'SELECCIONE',914,74508,0,0,0,0,NULL,0,44,'SMIRNOFF ICE',0,NULL,1,NULL,NULL,19000,2,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 03:17:22','2025-11-23 03:22:05','2025-11-23 03:17:22','2025-11-23 03:18:38','2025-11-23 03:22:05',7,9,23,0,0,7900,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','OTRAS 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,7900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1617,0,'SELECCIONE',914,74508,0,0,0,0,NULL,0,36,'ELECTROLIT',0,NULL,1,NULL,NULL,19000,2,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 03:17:24','2025-11-23 03:22:05','2025-11-23 03:17:24','2025-11-23 03:18:38','2025-11-23 03:22:05',7,9,23,0,0,7250,0,19000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,7250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1618,0,'SELECCIONE',914,74508,0,0,0,0,NULL,0,67,'VASO MICHELADO',0,NULL,1,NULL,NULL,5000,2,5000,0,0,0,5000,2,'V','MESAS','2025-11-23 03:18:20','2025-11-23 03:22:05','2025-11-23 03:18:20','2025-11-23 03:18:38','2025-11-23 03:22:05',7,9,23,0,0,1000,0,5000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1619,0,'SELECCIONE',915,74509,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,1,NULL,NULL,19000,3,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 03:21:48','2025-11-23 03:23:36','2025-11-23 03:21:48','2025-11-23 03:22:14','2025-11-23 03:23:36',7,9,23,0,0,6396,0,19000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1620,0,'SELECCIONE',916,74510,0,0,0,0,NULL,0,34,'AGUARDIENTE VERDE 1/2',0,NULL,1,NULL,NULL,132000,4,132000,0,0,0,132000,2,'V','MESAS','2025-11-23 02:31:41','2025-11-23 03:25:13','2025-11-23 02:31:41','2025-11-23 03:23:56','2025-11-23 03:25:13',7,9,23,0,0,20900,0,132000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,4000,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,'mojitorooftop','MESERO 1','OTRAS BOTELLAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,20900.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1621,0,'SELECCIONE',916,74510,0,0,0,0,NULL,0,36,'ELECTROLIT',0,NULL,1,NULL,NULL,19000,4,19000,0,0,0,19000,2,'V','MESAS','2025-11-23 02:34:27','2025-11-23 03:25:13','2025-11-23 02:34:27','2025-11-23 03:23:56','2025-11-23 03:25:13',7,9,23,0,0,7250,0,19000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,7250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1623,0,'SELECCIONE',917,74511,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,5,11000,0,0,0,11000,2,'V','MESAS','2025-11-23 03:30:11','2025-11-23 03:30:56','2025-11-23 03:30:11',NULL,'2025-11-23 03:30:56',7,9,23,0,0,1115,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1624,0,'SELECCIONE',918,74512,0,0,0,0,NULL,0,35,'GATORADE',0,NULL,2,NULL,NULL,5000,19,10000,0,0,0,10000,2,'V','MESAS','2025-11-23 01:33:17','2025-11-23 03:38:39','2025-11-23 01:33:17','2025-11-23 03:37:41','2025-11-23 03:38:39',7,9,23,0,0,3250,0,10000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','OTRAS 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,3250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1625,0,'SELECCIONE',918,74512,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,1,NULL,NULL,8000,19,8000,0,0,0,8000,2,'V','MESAS','2025-11-23 01:33:21','2025-11-23 03:38:39','2025-11-23 01:33:21','2025-11-23 03:37:41','2025-11-23 03:38:39',7,9,23,0,0,3441,0,8000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1626,0,'SELECCIONE',918,74512,0,0,0,0,NULL,0,50,'CORONA',0,NULL,2,NULL,NULL,8000,19,16000,0,0,0,16000,2,'V','MESAS','2025-11-23 02:51:47','2025-11-23 03:38:39','2025-11-23 02:51:47','2025-11-23 03:37:41','2025-11-23 03:38:39',7,9,23,0,0,3660,0,16000,0,0,9,0,1,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,'mojitorooftop','MESERO 5','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1627,0,'SELECCIONE',919,74513,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,2,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 20:40:38','2025-11-23 20:41:20','2025-11-23 20:40:38',NULL,'2025-11-23 20:41:20',7,9,24,0,0,3280,0,14000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1628,0,'SELECCIONE',920,74514,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,2,NULL,NULL,19000,2,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 21:28:49','2025-11-23 21:30:08','2025-11-23 21:28:49','2025-11-23 21:29:36','2025-11-23 21:30:08',7,9,24,0,0,3441,0,38000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,3000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1629,0,'SELECCIONE',920,74514,0,0,0,0,NULL,0,35,'GATORADE',0,NULL,1,NULL,NULL,14000,2,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 21:28:55','2025-11-23 21:30:08','2025-11-23 21:28:55','2025-11-23 21:29:36','2025-11-23 21:30:08',7,9,24,0,0,3250,0,14000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,3250.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1631,0,'SELECCIONE',921,74515,0,0,0,0,NULL,0,51,'STELLA ARTOIS',0,NULL,2,NULL,NULL,19000,3,38000,0,0,0,38000,2,'V','MESAS','2025-11-23 22:38:04','2025-11-23 22:38:50','2025-11-23 22:38:04',NULL,'2025-11-23 22:38:50',7,9,24,0,0,3441,0,38000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1632,0,'SELECCIONE',922,74516,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,5,14000,0,0,0,14000,2,'V','MESAS','2025-11-23 23:25:50','2025-11-23 23:26:01','2025-11-23 23:25:50',NULL,'2025-11-23 23:26:01',7,9,24,0,0,3280,0,14000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1633,0,'SELECCIONE',923,74517,0,0,0,0,NULL,0,52,'CLUB COLOMBIA',0,NULL,1,NULL,NULL,14000,3,14000,0,0,0,14000,2,'V','MESAS','2025-11-24 00:20:09','2025-11-24 00:20:52','2025-11-24 00:20:09',NULL,'2025-11-24 00:20:52',7,9,24,0,0,3280,0,14000,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1000,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3280.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1634,0,'SELECCIONE',924,74518,0,0,0,0,NULL,0,37,'AGUA',0,NULL,2,NULL,NULL,11000,4,22000,0,0,0,22000,2,'V','MESAS','2025-11-24 00:29:42','2025-11-24 00:31:32','2025-11-24 00:29:42',NULL,'2025-11-24 00:31:32',7,9,24,0,0,1115,0,22000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,2000,0,0,0,'',0,0,0,1,1,'-1','0','0','0','0',NULL,'0',0,'0',NULL,0,0,0,'V',0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UNIDAD',0,0,0,0,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1635,0,'SELECCIONE',925,74519,0,0,0,0,NULL,0,55,'BOMBONES',0,NULL,1,NULL,NULL,2500,5,2500,0,0,0,2500,2,'V','MESAS','2025-11-24 00:47:20','2025-11-24 00:47:28','2025-11-24 00:47:20',NULL,'2025-11-24 00:47:28',7,9,24,0,0,350,0,2500,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,500,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,'mojitorooftop','MESERO 1','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,350.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1636,0,'SELECCIONE',926,74520,0,0,0,0,NULL,0,57,'JUGO DEL VALLE',0,NULL,1,NULL,NULL,12000,2,12000,0,0,0,12000,2,'V','MESAS','2025-11-23 23:03:35','2025-11-24 01:36:34','2025-11-23 23:03:35','2025-11-24 01:29:28','2025-11-24 01:36:34',7,9,24,0,0,1.916,0,12000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,1200,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,'mojitorooftop','MESERO 1','OTRAS 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,1.92,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1637,0,'SELECCIONE',926,74520,0,0,0,0,NULL,0,20,'ABSOLUT',0,NULL,1,NULL,NULL,320000,2,320000,0,0,0,320000,2,'V','MESAS','2025-11-23 23:10:34','2025-11-24 01:36:34','2025-11-23 23:10:34','2025-11-24 01:29:28','2025-11-24 01:36:34',7,9,24,0,0,74000,0,320000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,32000,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,'mojitorooftop','MESERO 1','VODKA','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,74000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1638,0,'SELECCIONE',926,74520,0,0,0,0,NULL,0,38,'AGUA TONICA',0,NULL,5,NULL,NULL,12000,2,60000,0,0,0,60000,2,'V','MESAS','2025-11-23 23:11:00','2025-11-24 01:36:34','2025-11-23 23:11:00','2025-11-24 01:29:28','2025-11-24 01:36:34',7,9,24,0,0,1827,0,60000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,6000,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,'mojitorooftop','MESERO 1','OTRAS 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,1827.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1639,0,'SELECCIONE',926,74520,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,3,NULL,NULL,20000,2,60000,0,0,0,60000,2,'V','MESAS','2025-11-23 23:11:21','2025-11-24 01:36:34','2025-11-23 23:11:21','2025-11-24 01:29:28','2025-11-24 01:36:34',7,9,24,0,0,6396,0,60000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,6000,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1640,0,'SELECCIONE',926,74520,0,0,0,0,NULL,0,55,'BOMBONES',0,NULL,2,NULL,NULL,3000,2,6000,0,0,0,6000,2,'V','MESAS','2025-11-24 00:13:33','2025-11-24 01:36:34','2025-11-24 00:13:33','2025-11-24 01:29:28','2025-11-24 01:36:34',7,9,24,0,0,350,0,6000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,600,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,'mojitorooftop','MESERO 1','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,350.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1643,0,'SELECCIONE',927,74521,0,0,0,0,NULL,0,39,'SODA',0,NULL,1,NULL,NULL,11000,3,11000,0,0,0,11000,2,'V','MESAS','2025-11-24 00:22:13','2025-11-24 01:50:34','2025-11-24 00:22:13','2025-11-24 01:48:53','2025-11-24 01:50:34',7,9,24,0,0,2120,0,11000,0,0,22,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,6000,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,'mojitorooftop','MESERO 1','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1644,0,'SELECCIONE',927,74521,0,0,0,0,NULL,0,67,'VASO MICHELADO',0,NULL,1,NULL,NULL,5000,3,5000,0,0,0,5000,2,'V','MESAS','2025-11-24 00:22:21','2025-11-24 01:50:34','2025-11-24 00:22:21','2025-11-24 01:48:53','2025-11-24 01:50:34',7,9,24,0,0,1000,0,5000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1645,0,'SELECCIONE',927,74521,0,0,0,0,NULL,0,39,'SODA',0,NULL,3,NULL,NULL,11000,3,33000,0,0,0,33000,2,'V','MESAS','2025-11-24 00:59:01','2025-11-24 01:50:34','2025-11-24 00:59:01','2025-11-24 01:48:53','2025-11-24 01:50:34',7,9,24,0,0,2120,0,33000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,2120.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1646,0,'SELECCIONE',927,74521,0,0,0,0,NULL,0,67,'VASO MICHELADO',0,NULL,3,NULL,NULL,5000,3,15000,0,0,0,15000,2,'V','MESAS','2025-11-24 00:59:07','2025-11-24 01:50:34','2025-11-24 00:59:07','2025-11-24 01:48:53','2025-11-24 01:50:34',7,9,24,0,0,1000,0,15000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','VARIOS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,1000.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1647,0,'SELECCIONE',927,74521,0,0,0,0,NULL,0,37,'AGUA',0,NULL,1,NULL,NULL,11000,3,11000,0,0,0,11000,2,'V','MESAS','2025-11-24 01:00:44','2025-11-24 01:50:34','2025-11-24 01:00:44','2025-11-24 01:48:53','2025-11-24 01:50:34',7,9,24,0,0,1115,0,11000,0,0,22,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,1115.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1648,0,'SELECCIONE',927,74521,0,0,0,0,NULL,0,50,'CORONA',0,NULL,1,NULL,NULL,19000,3,19000,0,0,0,19000,2,'V','MESAS','2025-11-24 01:05:47','2025-11-24 01:50:34','2025-11-24 01:05:47','2025-11-24 01:48:53','2025-11-24 01:50:34',7,9,24,0,0,3660,0,19000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3660.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1650,0,'SELECCIONE',928,74522,0,0,0,20,NULL,0,51,'STELLA ARTOIS',0,NULL,12,NULL,NULL,19000,5,228000,0,0,3800,182400,2,'V','MESAS','2025-11-24 01:28:43','2025-11-24 01:58:09','2025-11-24 01:28:43','2025-11-24 01:50:02','2025-11-24 01:58:09',7,9,24,0,0,3441,0,182400,0,0,9,0,1,1,0,1,'EFECTIVO',0,0,NULL,NULL,0,0,6300,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,'mojitorooftop','MESERO 1','CERVEZAS','SELECCIONE',1,0,1,0,'',NULL,NULL,NULL,_binary '\0',NULL,_binary '\0',NULL,_binary '\0',_binary '\0',NULL,NULL,NULL,NULL,1,_binary '\0',NULL,NULL,NULL,3441.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1651,0,'SELECCIONE',929,74523,0,0,0,0,NULL,0,42,'RED BULL',0,NULL,3,NULL,NULL,9000,2,27000,0,0,0,27000,2,'V','MESAS','2025-11-26 17:39:40','2025-11-26 20:29:02','2025-11-26 17:39:40','2025-11-26 19:11:27','2025-11-26 20:29:02',7,9,1,0,0,6396,0,27000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,6396.00,0,0,0,0,NULL,0,0,0,'valordeventa',0),(1652,0,'SELECCIONE',929,74523,0,0,0,0,NULL,0,36,'ELECTROLIT',0,NULL,1,NULL,NULL,10000,2,10000,0,0,0,10000,2,'V','MESAS','2025-11-26 17:39:48','2025-11-26 20:29:02','2025-11-26 17:39:48','2025-11-26 19:11:27','2025-11-26 20:29:02',7,9,1,0,0,7250,0,10000,0,0,9,0,1,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,'mojitorooftop','MESERO 1','OTRAS 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,7250.00,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=1916 DEFAULT CHARSET=utf8mb3;

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

INSERT INTO `ventasauxiliar` (`id`, `idmesarelacionada`, `estadoimpresion`, `identificador`, `enviadoalospv`, `referenciafront`, `descripcion`, `pagarcontraentrega`, `idmesa`, `descuento`, `codsituacion`, `idcliente`, `idarticulo`, `cc`, `origen`, `comentario`, `observaciones`, `valorunitario`, `cantidad`, `valortotal`, `fecha`, `fechacreacion`, `fechaentregado`, `idusuario`, `costomedio`, `porcentajeiva`, `idvendedor`, `idcaja`, `nota`, `observacion`, `despachado`, `entregado`, `enespera`, `comision`, `porcentajedescuento`, `impuesto`, `base`, `servicio`, `CODMODIF`, `numlinea`, `esmodif`, `situacioncocina`, `CODARTICULOABAJO`, `COD_SATELITE`, `unidaddemedida`, `impreso`, `domicilio`, `domicilioexterno`, `PrecuentaCallcenter`, `pv`, `placa`, `seccion`, `bodega`, `situacioncocina2`, `refventas`, `referencia`, `enviaraproduccion`, `baseunitario`, `impuestounitario`, `iddomiciliario`, `ultimocostev`, `recibidovaux`, `devueltavaux`, `seccionventas`, `porcentajecomision`, `articulovence`, `imei`, `factor`, `sefactura`, `costomenu`, `comensales`, `comanda`, `impultraprocesados`, `impazucaradas`, `comocalculardescuento`, `recibidoencallcenter`, `tipodescuento`, `porcentajesobrecargoeventos`, `sobrecargoeventos`, `sgroupname`, `campovalor`, `proximocosto`) VALUES (1914,0,0,NULL,0,NULL,'CORONA',0,3,0,NULL,7,50,2,'MESAS',NULL,NULL,8000,4,32000,'2025-11-26 19:11:31','2025-11-26 19:11:31',NULL,9,3660,0,9,1,'','',0,0,0,0,0,0,32000,0,0,1,0,'SELECCIONE',0,NULL,'UNIDAD',0,0,0,0,'mojitorooftop',NULL,'CERVEZAS',NULL,'SELECCIONE',NULL,'',0,0.00,0.00,NULL,0,0,0,NULL,NULL,NULL,NULL,1,_binary '',0.00,0,'0',0,0,'porcentaje',0,NULL,0,0,0,'valordeventatiendas',0),(1915,0,0,NULL,0,NULL,'STELLA ARTOIS',0,3,0,NULL,7,51,2,'MESAS',NULL,NULL,8000,1,8000,'2025-11-26 19:11:36','2025-11-26 19:11:36',NULL,9,3441,0,9,1,'','',0,0,0,0,0,0,8000,0,0,2,0,'SELECCIONE',0,NULL,'UNIDAD',0,0,0,0,'mojitorooftop',NULL,'CERVEZAS',NULL,'SELECCIONE',NULL,'',0,0.00,0.00,NULL,0,0,0,NULL,NULL,NULL,NULL,1,_binary '',0.00,0,'0',0,0,'porcentaje',0,NULL,0,0,0,'valordeventatiendas',0);

--
-- 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=25 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-09-06 23:32:59',4,339000.0000000005,0,0,208000.9999999995,0,547002,208002,13,9,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,208002,0,0,0,400000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(3,'2025-09-13 17:49:50',5,0,0,0,824000,0,840000,840000,8,9,0,2,0,0,0,0,0,16000,0,0,0,1,0,0,0,0,824000,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-09-14 12:30:00',6,0,0,0,3213500,0,3213500,3213500,108,9,0,2,0,0,0,0,0,0,0,424800,0,1,0,0,0,243500,2788700,0,0,0,400000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(5,'2025-09-26 01:49:23',7,0,0,0,104000,0,104000,104000,7,9,0,2,0,0,0,0,0,0,0,50000,0,1,0,0,0,16000,54000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(6,'2025-09-29 13:35:16',8,25000.00000000059,0,0,8035000,0,8060000,8035000,264,9,0,2,0,0,0,0,0,0,0,781000,599000,1,0,0,0,397000,7254000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(7,'2025-10-03 01:11:13',9,0,0,0,217000,0,217000,217000,11,9,0,2,0,0,0,0,0,0,0,140000,20000,1,0,0,0,18000,77000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(8,'2025-10-05 04:24:47',10,80000.0000000019,0,0,4891999.999999998,0,4972000,4892000,133,9,0,2,0,0,0,0,0,0,0,1503500,0,1,110000,0,0,330000,3388500,0,0,0,400000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(9,'2025-10-10 01:39:59',11,0,0,0,710000,0,710000,710000,36,9,0,2,0,0,0,0,0,0,0,180000,0,1,0,0,0,36000,530000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(10,'2025-10-11 03:45:35',12,0,0,0,1462000,0,1462000,1462000,30,9,0,2,0,0,0,0,0,0,0,404000,0,1,0,0,0,164000,1058000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(11,'2025-10-12 03:49:54',13,20000.00000000079,0,0,1303999.9999999993,0,1324000,1304000,42,9,0,2,0,0,0,0,0,0,0,510000,250000,1,0,0,0,66000,794000,0,0,0,400000,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(12,'2025-10-18 04:21:12',14,70200,0,0,2412800,0,2483000,2412800,98,9,0,2,0,0,0,0,0,0,0,637200,0,1,0,0,0,168000,1775600,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(13,'2025-10-19 04:26:48',15,0,0,0,4147000,0,4147000,4147000,121,9,0,2,0,0,0,0,0,0,0,1285000,0,1,150000,0,0,349000,2862000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(14,'2025-10-24 02:04:54',16,0,0,0,1680000,0,1680000,1680000,65,9,0,2,0,0,0,0,0,0,0,326000,0,1,0,0,0,130000,1354000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(15,'2025-10-25 02:10:08',17,0,0,0,627000,0,627000,627000,37,9,0,2,0,0,0,0,0,0,0,240000,0,1,0,0,0,62000,387000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(16,'2025-10-26 03:38:46',18,44999.999999999854,0,0,1487000.0000000002,0,1532000,1487000,42,9,0,2,0,0,0,0,0,0,0,388000,0,1,80000,0,0,84000,1099000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(17,'2025-11-01 01:53:56',19,0,0,0,231000,0,231000,231000,13,9,0,2,0,0,0,0,0,0,0,170000,0,1,0,0,0,13000,61000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(18,'2025-11-08 03:35:32',20,15400,0,0,1391600,0,1407000,1391600,65,9,0,2,0,0,0,0,0,0,0,460000,0,1,0,0,0,68000,931600,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(19,'2025-11-09 04:03:14',21,0,0,0,1540000,0,1540000,1540000,63,9,0,2,0,0,0,0,0,0,0,400000,0,1,0,0,0,83000,1140000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(20,'2025-11-15 03:30:54',22,0,0,0,2176500,0,2176500,2176500,143,9,0,2,0,0,0,0,0,0,0,540000,0,1,0,0,0,208000,1636500,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(21,'2025-11-17 04:18:10',23,28999.9999999999,0,0,6404000,0,6433000,6404000,181,9,19000,2,0,0,0,0,0,0,0,670900,0,1,580000,0,0,333000,5714100,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(22,'2025-11-22 04:44:44',24,46000.00000000007,0,0,6593000,0,6639000,6593000,262,9,0,2,0,0,0,0,0,0,0,794000,0,1,810000,0,0,493000,5799000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(23,'2025-11-23 04:22:29',25,0,0,0,4020000,0,4020000,4020000,105,9,0,2,0,0,0,0,0,0,0,400000,0,1,220000,0,0,385000,3620000,0,0,0,0,0,0,0,0,0,NULL,0,0,'KALDI',0,0,0,0,0,0,0,0,0,0),(24,'2025-11-24 02:07:40',26,45600,0,0,890900,0,936500,890900,45,9,0,2,0,0,0,0,0,0,0,230000,0,1,0,0,0,68600,660900,0,0,0,0,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=7 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,'MESERO 1',2,1,0,'SELECCIONE','texasburgers',0,0,1),(3,'MESERO 2',2,2,0,'SELECCIONE','texasburgers',0,0,1),(4,'MESERO 3',2,3,0,'SELECCIONE','texasburgers',0,0,1),(5,'MESERO 4',2,4,0,'SELECCIONE','texasburgers',0,0,1),(6,'MESERO 5',2,5,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 'mojitorooftop'
--
/*!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 ;


