INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6127,8673,6129,5130,NULL,0,NULL,'2023-04-21 10:52:50','2023-04-21 10:52:50',NULL),(6128,8673,6130,5131,NULL,0,NULL,'2023-04-21 10:52:50','2023-04-21 10:52:50',NULL),(6129,8673,6131,5132,NULL,0,NULL,'2023-04-21 10:52:50','2023-04-21 10:52:50',NULL),(6130,8673,6132,5133,NULL,0,NULL,'2023-04-21 10:52:50','2023-04-21 10:52:50',NULL),(6131,8673,6133,5134,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6132,8673,6134,5135,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6133,8673,6135,5136,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6134,8673,6136,5137,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6135,8673,6137,5138,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6136,8673,6138,5139,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6137,8673,6139,5140,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6138,8673,6140,5141,NULL,0,NULL,'2023-04-21 10:52:51','2023-04-21 10:52:51',NULL),(6139,8673,6141,5142,NULL,0,NULL,'2023-04-21 10:59:52','2023-04-21 10:59:52',NULL),(6140,8673,6142,5143,NULL,0,NULL,'2023-04-21 10:59:52','2023-04-21 10:59:52',NULL),(6141,8673,6143,5144,NULL,0,NULL,'2023-04-21 10:59:52','2023-04-21 10:59:52',NULL),(6142,8673,6144,5145,NULL,0,NULL,'2023-04-21 10:59:52','2023-04-21 10:59:52',NULL),(6143,8673,6145,5146,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6144,8673,6146,5147,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6145,8673,6147,5148,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6146,8673,6148,5149,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6147,8673,6149,5150,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6148,8673,6150,5151,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6149,8673,6151,5152,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6150,8673,6152,5153,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6151,8673,6153,5154,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6152,8673,6154,5155,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6153,8673,6155,5156,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6154,8673,6156,5157,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6155,8673,6157,5158,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6156,8673,6158,5159,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6157,8673,6159,5160,NULL,0,NULL,'2023-04-21 10:59:53','2023-04-21 10:59:53',NULL),(6158,8673,6160,5161,NULL,0,NULL,'2023-04-21 11:03:07','2023-04-21 11:03:07',NULL),(6159,8673,6161,5162,NULL,0,NULL,'2023-04-21 11:03:07','2023-04-21 11:03:07',NULL),(6160,8673,6162,5163,NULL,0,NULL,'2023-04-21 11:03:07','2023-04-21 11:03:07',NULL),(6161,8673,6163,5164,NULL,0,NULL,'2023-04-21 11:03:07','2023-04-21 11:03:07',NULL),(6162,8673,6164,5165,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6163,8673,6165,5166,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6164,8673,6166,5167,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6165,8673,6167,5168,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6166,8673,6168,5169,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6167,8673,6169,5170,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6168,8673,6170,5171,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6169,8673,6171,5172,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6170,8673,6172,5173,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6171,8673,6173,5174,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6172,8673,6174,5175,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6173,8673,6175,5176,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6174,8673,6176,5177,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6175,8673,6177,5178,NULL,0,NULL,'2023-04-21 11:03:08','2023-04-21 11:03:08',NULL),(6176,8673,6178,5179,NULL,0,NULL,'2023-04-21 11:09:14','2023-04-21 11:09:14',NULL),(6177,8673,6179,5180,NULL,0,NULL,'2023-04-21 11:09:14','2023-04-21 11:09:14',NULL),(6178,8673,6180,5181,NULL,0,NULL,'2023-04-21 11:09:14','2023-04-21 11:09:14',NULL),(6179,8673,6181,5182,NULL,0,NULL,'2023-04-21 11:09:14','2023-04-21 11:09:14',NULL),(6180,8673,6182,5183,NULL,0,NULL,'2023-04-21 11:09:14','2023-04-21 11:09:14',NULL),(6181,8673,6183,5184,NULL,0,NULL,'2023-04-21 11:09:14','2023-04-21 11:09:14',NULL),(6182,8673,6184,5185,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6183,8673,6185,5186,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6184,8673,6186,5187,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6185,8673,6187,5188,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6186,8673,6188,5189,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6187,8673,6189,5190,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6188,8673,6190,5191,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6189,8673,6191,5192,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6190,8673,6192,5193,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6191,8673,6193,5194,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6192,8673,6194,5195,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6193,8673,6195,5196,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6194,8673,6196,5197,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6195,8673,6197,5198,NULL,0,NULL,'2023-04-21 11:09:15','2023-04-21 11:09:15',NULL),(6196,8673,6198,5199,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6197,8673,6199,5200,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6198,8673,6200,5201,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6199,8673,6201,5202,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6200,8673,6202,5203,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6201,8673,6203,5204,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6202,8673,6204,5205,NULL,0,NULL,'2023-04-21 11:20:56','2023-04-21 11:20:56',NULL),(6203,8673,6205,5206,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6204,8673,6206,5207,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6205,8673,6207,5208,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6206,8673,6208,5209,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6207,8673,6209,5210,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6208,8673,6210,5211,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6209,8673,6211,5212,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6210,8673,6212,5213,NULL,0,NULL,'2023-04-21 11:20:57','2023-04-21 11:20:57',NULL),(6211,8673,6213,5214,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6212,8673,6214,5215,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6213,8673,6215,5216,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6214,8673,6216,5217,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6215,8673,6217,5218,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6216,8673,6218,5219,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6217,8673,6219,5220,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6218,8673,6220,5221,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6219,8673,6221,5222,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6220,8673,6222,5223,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6221,8673,6223,5224,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6222,8673,6224,5225,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6223,8673,6225,5226,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6224,8673,6226,5227,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6225,8673,6227,5228,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6226,8673,6228,5229,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6227,8673,6229,5230,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6228,8673,6230,5231,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6229,8673,6231,5232,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6230,8673,6232,5233,NULL,0,NULL,'2023-04-21 11:25:18','2023-04-21 11:25:18',NULL),(6231,8673,6233,5234,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 18:08:04','2023-04-21 18:08:04'),(6232,8673,6234,5235,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:06:31','2023-04-21 17:06:31'),(6233,8673,6235,5236,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:07:14','2023-04-21 17:07:14'),(6234,8673,6236,5237,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 15:35:55',NULL),(6235,8673,6237,5238,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:12:56','2023-04-21 17:12:56'),(6236,8673,6238,5239,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 15:35:55',NULL),(6237,8673,6239,5240,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:16:54','2023-04-21 17:16:54'),(6238,8673,6240,5241,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:18:25','2023-04-21 17:18:25'),(6239,8673,6241,5242,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:19:20','2023-04-21 17:19:20'),(6240,8673,6242,5243,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 18:10:17','2023-04-21 18:10:17'),(6241,8673,6243,5244,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:20:38','2023-04-21 17:20:38'),(6242,8673,6244,5245,NULL,0,NULL,'2023-04-21 15:35:55','2023-04-21 17:21:47','2023-04-21 17:21:47'),(6243,8673,6245,5235,NULL,0,NULL,'2023-04-21 17:06:31','2023-04-21 18:09:02','2023-04-21 18:09:02'),(6244,8673,6246,5236,NULL,0,NULL,'2023-04-21 17:07:14','2023-04-21 18:09:19','2023-04-21 18:09:19'),(6245,8673,6247,5238,NULL,0,NULL,'2023-04-21 17:12:56','2023-04-21 18:09:37','2023-04-21 18:09:37'),(6246,8673,6248,5240,NULL,0,NULL,'2023-04-21 17:16:54','2023-04-21 18:09:55','2023-04-21 18:09:55'),(6247,8673,6249,5241,NULL,0,NULL,'2023-04-21 17:18:25','2023-04-21 17:18:25',NULL),(6248,8673,6250,5242,NULL,0,NULL,'2023-04-21 17:19:20','2023-04-21 17:19:20',NULL),(6249,8673,6251,5244,NULL,0,NULL,'2023-04-21 17:20:38','2023-04-21 17:20:38',NULL),(6250,8673,6252,5245,NULL,0,NULL,'2023-04-21 17:21:47','2023-04-21 17:21:47',NULL),(6251,8673,6253,5234,NULL,0,NULL,'2023-04-21 18:08:04','2023-04-21 23:55:47','2023-04-21 23:55:47'),(6252,8673,6254,5235,NULL,0,NULL,'2023-04-21 18:09:02','2023-04-21 23:56:29','2023-04-21 23:56:29'),(6253,8673,6255,5236,NULL,0,NULL,'2023-04-21 18:09:19','2023-04-21 19:10:32','2023-04-21 19:10:32'),(6254,8673,6256,5238,NULL,0,NULL,'2023-04-21 18:09:37','2023-04-21 23:57:04','2023-04-21 23:57:04'),(6255,8673,6257,5240,NULL,0,NULL,'2023-04-21 18:09:55','2023-04-21 23:57:37','2023-04-21 23:57:37'),(6256,8673,6258,5243,NULL,0,NULL,'2023-04-21 18:10:17','2023-04-21 23:05:34','2023-04-21 23:05:34'),(6257,8673,6259,5236,NULL,0,NULL,'2023-04-21 19:10:32','2023-04-21 19:10:32',NULL),(6258,8673,6260,5246,NULL,0,NULL,'2023-04-21 19:15:25','2023-04-21 19:15:25',NULL),(6259,8673,6261,5247,NULL,0,NULL,'2023-04-21 19:16:41','2023-04-21 19:16:41',NULL),(6260,8673,6262,5248,NULL,0,NULL,'2023-04-21 19:17:56','2023-04-21 19:17:56',NULL),(6261,8673,6263,5249,NULL,0,NULL,'2023-04-21 19:19:35','2023-04-21 19:19:35',NULL),(6262,8673,6264,5250,NULL,0,NULL,'2023-04-21 19:20:27','2023-04-21 19:20:27',NULL),(6263,8673,6265,5251,NULL,0,NULL,'2023-04-21 19:20:56','2023-04-21 19:20:56',NULL),(6264,8673,6266,5252,NULL,0,NULL,'2023-04-21 19:21:32','2023-04-21 19:21:32',NULL),(6265,8673,6267,5253,NULL,0,NULL,'2023-04-21 19:22:08','2023-04-21 19:22:08',NULL),(6266,8673,6268,5254,NULL,0,NULL,'2023-04-21 19:22:43','2023-04-21 19:22:43',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6267,8673,6269,5255,NULL,0,NULL,'2023-04-21 19:23:22','2023-04-21 19:23:22',NULL),(6268,8673,6270,5256,NULL,0,NULL,'2023-04-21 19:24:06','2023-04-21 19:24:06',NULL),(6269,8673,6271,5257,NULL,0,NULL,'2023-04-21 19:24:53','2023-04-21 19:24:53',NULL),(6270,8673,6272,5258,NULL,0,NULL,'2023-04-21 19:25:21','2023-04-21 19:25:21',NULL),(6271,8673,6273,5259,NULL,0,NULL,'2023-04-21 19:25:54','2023-04-21 19:25:54',NULL),(6272,8673,6274,5260,NULL,0,NULL,'2023-04-21 19:26:30','2023-04-21 19:26:30',NULL),(6273,8673,6275,5261,NULL,0,NULL,'2023-04-21 19:27:00','2023-04-21 19:27:00',NULL),(6274,8673,6276,5262,NULL,0,NULL,'2023-04-21 19:27:31','2023-04-21 19:27:31',NULL),(6275,8673,6277,5263,NULL,0,NULL,'2023-04-21 19:28:00','2023-04-21 19:28:00',NULL),(6276,8673,6278,5264,NULL,0,NULL,'2023-04-21 19:28:33','2023-04-21 19:28:33',NULL),(6277,8673,6279,5265,NULL,0,NULL,'2023-04-21 19:29:01','2023-04-21 19:29:01',NULL),(6278,8673,6280,5266,NULL,0,NULL,'2023-04-21 19:29:31','2023-04-21 19:29:31',NULL),(6279,8673,6281,5267,NULL,0,NULL,'2023-04-21 19:30:15','2023-04-21 19:30:15',NULL),(6280,8673,6282,5268,NULL,0,NULL,'2023-04-21 19:32:03','2023-04-21 19:32:03',NULL),(6281,8673,6283,5269,NULL,0,NULL,'2023-04-21 19:32:32','2023-04-21 19:32:32',NULL),(6282,8673,6284,5270,NULL,0,NULL,'2023-04-21 19:33:50','2023-04-21 19:33:50',NULL),(6283,8673,6285,5271,NULL,0,NULL,'2023-04-21 19:34:37','2023-04-21 19:34:37',NULL),(6284,8673,6286,5272,NULL,0,NULL,'2023-04-21 19:35:28','2023-04-21 19:35:28',NULL),(6285,8673,6287,5273,NULL,0,NULL,'2023-04-21 19:35:59','2023-04-21 19:35:59',NULL),(6286,8673,6288,5274,NULL,0,NULL,'2023-04-21 19:42:57','2023-04-21 19:42:57',NULL),(6287,8673,6289,5275,NULL,0,NULL,'2023-04-21 19:43:38','2023-04-21 19:43:38',NULL),(6288,8673,6290,5276,NULL,0,NULL,'2023-04-21 19:44:20','2023-04-21 19:44:20',NULL),(6289,8673,6291,5277,NULL,0,NULL,'2023-04-21 19:44:52','2023-04-21 19:44:52',NULL),(6290,8673,6292,5278,NULL,0,NULL,'2023-04-21 19:45:17','2023-04-21 19:45:17',NULL),(6291,8673,6293,5279,NULL,0,NULL,'2023-04-21 19:45:42','2023-04-21 19:45:42',NULL),(6292,8673,6294,5280,NULL,0,NULL,'2023-04-21 19:48:30','2023-04-21 20:10:56','2023-04-21 20:10:56'),(6293,8673,6295,5280,NULL,0,NULL,'2023-04-21 20:10:56','2023-04-21 20:10:56',NULL),(6294,8673,6296,5281,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:16:01',NULL),(6295,8673,6297,5282,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:16:01',NULL),(6296,8673,6298,5283,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:40:52','2023-04-21 20:40:52'),(6297,8673,6299,5284,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:38:39','2023-04-21 20:38:39'),(6298,8673,6300,5285,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:16:01',NULL),(6299,8673,6301,5286,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:35:17','2023-04-21 20:35:17'),(6300,8673,6302,5287,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:16:01',NULL),(6301,8673,6303,5288,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:32:51','2023-04-21 20:32:51'),(6302,8673,6304,5289,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:31:30','2023-04-21 20:31:30'),(6303,8673,6305,5290,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:30:06','2023-04-21 20:30:06'),(6304,8673,6306,5291,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:29:24','2023-04-21 20:29:24'),(6305,8673,6307,5292,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:16:01',NULL),(6306,8673,6308,5293,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:28:18','2023-04-21 20:28:18'),(6307,8673,6309,5294,NULL,0,NULL,'2023-04-21 20:16:01','2023-04-21 20:24:17','2023-04-21 20:24:17'),(6308,8673,6310,5294,NULL,0,NULL,'2023-04-21 20:24:17','2023-04-21 20:24:17',NULL),(6309,8673,6311,5293,NULL,0,NULL,'2023-04-21 20:28:18','2023-04-21 20:28:18',NULL),(6310,8673,6312,5291,NULL,0,NULL,'2023-04-21 20:29:24','2023-04-21 20:29:24',NULL),(6311,8673,6313,5290,NULL,0,NULL,'2023-04-21 20:30:06','2023-04-21 20:30:06',NULL),(6312,8673,6314,5289,NULL,0,NULL,'2023-04-21 20:31:30','2023-04-21 20:31:30',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6313,8673,6315,5288,NULL,0,NULL,'2023-04-21 20:32:51','2023-04-21 20:32:51',NULL),(6314,8673,6316,5286,NULL,0,NULL,'2023-04-21 20:35:17','2023-04-21 20:35:17',NULL),(6315,8673,6317,5284,NULL,0,NULL,'2023-04-21 20:38:39','2023-04-21 20:38:39',NULL),(6316,8673,6318,5283,NULL,0,NULL,'2023-04-21 20:40:52','2023-04-21 20:40:52',NULL),(6317,8673,6319,5295,NULL,0,NULL,'2023-04-21 21:56:45','2023-04-21 21:56:45',NULL),(6318,8673,6320,5296,NULL,0,NULL,'2023-04-21 21:56:45','2023-04-21 21:58:59','2023-04-21 21:58:59'),(6319,8673,6321,5297,NULL,0,NULL,'2023-04-21 21:56:45','2023-04-21 23:58:34','2023-04-21 23:58:34'),(6320,8673,6322,5298,NULL,0,NULL,'2023-04-21 21:56:45','2023-04-21 23:59:07','2023-04-21 23:59:07'),(6321,8673,6323,5299,NULL,0,NULL,'2023-04-21 21:56:45','2023-04-21 23:59:48','2023-04-21 23:59:48'),(6322,8673,6324,5300,NULL,0,NULL,'2023-04-21 21:56:45','2023-04-22 00:00:21','2023-04-22 00:00:21'),(6323,8673,6325,5301,NULL,0,NULL,'2023-04-21 21:56:59','2023-04-22 00:00:57','2023-04-22 00:00:57'),(6324,8673,6326,5302,NULL,0,NULL,'2023-04-21 21:56:59','2023-04-21 23:30:35','2023-04-21 23:30:35'),(6325,8673,6327,5303,NULL,0,NULL,'2023-04-21 21:56:59','2023-04-22 00:01:33','2023-04-22 00:01:33'),(6326,8673,6328,5304,NULL,0,NULL,'2023-04-21 21:56:59','2023-04-21 23:30:17','2023-04-21 23:30:17'),(6327,8673,6329,5305,NULL,0,NULL,'2023-04-21 21:56:59','2023-04-22 00:02:06','2023-04-22 00:02:06'),(6328,8673,6330,5296,NULL,0,NULL,'2023-04-21 21:58:59','2023-04-21 21:58:59',NULL),(6329,8673,6331,5306,NULL,0,NULL,'2023-04-21 22:00:59','2023-04-21 22:00:59',NULL),(6330,8673,6332,5307,NULL,0,NULL,'2023-04-21 22:01:57','2023-04-21 22:01:57',NULL),(6331,8673,6333,5308,NULL,0,NULL,'2023-04-21 22:03:09','2023-04-21 22:03:09',NULL),(6332,8673,6334,5309,NULL,0,NULL,'2023-04-21 22:04:41','2023-04-21 22:04:41',NULL),(6333,8673,6335,5310,NULL,0,NULL,'2023-04-21 22:05:19','2023-04-21 22:05:19',NULL),(6334,8673,6336,5311,NULL,0,NULL,'2023-04-21 22:05:46','2023-04-21 22:05:46',NULL),(6335,8673,6337,5312,NULL,0,NULL,'2023-04-21 22:06:13','2023-04-21 22:06:13',NULL),(6336,8673,6338,5313,NULL,0,NULL,'2023-04-21 22:07:01','2023-04-21 22:07:01',NULL),(6337,8673,6339,5314,NULL,0,NULL,'2023-04-21 22:07:24','2023-04-21 22:07:24',NULL),(6338,8673,6340,5315,NULL,0,NULL,'2023-04-21 22:07:50','2023-04-21 22:07:50',NULL),(6339,8673,6341,5316,NULL,0,NULL,'2023-04-21 22:08:14','2023-04-21 22:08:14',NULL),(6340,8673,6342,5317,NULL,0,NULL,'2023-04-21 22:09:12','2023-04-21 22:09:12',NULL),(6341,8673,6343,5318,NULL,0,NULL,'2023-04-21 22:09:41','2023-04-21 22:09:41',NULL),(6342,8673,6344,5319,NULL,0,NULL,'2023-04-21 22:10:30','2023-04-21 22:10:30',NULL),(6343,8673,6345,5320,NULL,0,NULL,'2023-04-21 22:11:00','2023-04-21 22:11:00',NULL),(6344,8673,6346,5321,NULL,0,NULL,'2023-04-21 22:12:33','2023-04-21 22:12:33',NULL),(6345,8673,6347,5322,NULL,0,NULL,'2023-04-21 22:15:33','2023-04-21 22:15:33',NULL),(6346,8673,6348,5323,NULL,0,NULL,'2023-04-21 22:16:25','2023-04-21 22:16:25',NULL),(6347,8673,6349,5324,NULL,0,NULL,'2023-04-21 22:16:51','2023-04-21 22:16:51',NULL),(6348,8673,6350,5325,NULL,0,NULL,'2023-04-21 22:17:12','2023-04-21 22:17:12',NULL),(6349,8673,6351,5326,NULL,0,NULL,'2023-04-21 22:17:44','2023-04-21 22:17:44',NULL),(6350,8673,6352,5327,NULL,0,NULL,'2023-04-21 22:18:13','2023-04-21 22:18:13',NULL),(6351,8673,6353,5328,NULL,0,NULL,'2023-04-21 22:18:51','2023-04-21 22:18:51',NULL),(6352,8673,6354,5329,NULL,0,NULL,'2023-04-21 22:19:18','2023-04-21 22:19:18',NULL),(6353,8673,6355,5330,NULL,0,NULL,'2023-04-21 22:19:47','2023-04-21 22:19:47',NULL),(6354,8673,6356,5331,NULL,0,NULL,'2023-04-21 22:20:16','2023-04-21 22:20:16',NULL),(6355,8673,6357,5332,NULL,0,NULL,'2023-04-21 22:20:46','2023-04-21 22:20:46',NULL),(6356,8673,6358,5333,NULL,0,NULL,'2023-04-21 22:21:14','2023-04-21 22:21:14',NULL),(6357,8673,6359,5334,NULL,0,NULL,'2023-04-21 22:22:02','2023-04-21 22:22:02',NULL),(6358,8673,6360,5335,NULL,0,NULL,'2023-04-21 22:24:27','2023-04-21 22:24:27',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6359,8673,6361,5336,NULL,0,NULL,'2023-04-21 22:24:59','2023-04-21 22:24:59',NULL),(6360,8673,6362,5337,NULL,0,NULL,'2023-04-21 22:25:26','2023-04-21 22:25:26',NULL),(6361,8673,6363,5338,NULL,0,NULL,'2023-04-21 22:25:57','2023-04-21 22:25:57',NULL),(6362,8673,6364,5339,NULL,0,NULL,'2023-04-21 22:29:33','2023-04-21 23:06:42','2023-04-21 23:06:42'),(6363,8673,6365,5340,NULL,0,NULL,'2023-04-21 22:30:25','2023-04-21 22:30:25',NULL),(6364,8673,6366,5341,NULL,0,NULL,'2023-04-21 22:30:52','2023-04-21 22:30:52',NULL),(6365,8673,6367,5342,NULL,0,NULL,'2023-04-21 22:31:21','2023-04-21 22:31:21',NULL),(6366,8673,6368,5343,NULL,0,NULL,'2023-04-21 22:31:45','2023-04-21 22:31:45',NULL),(6367,8673,6369,5344,NULL,0,NULL,'2023-04-21 22:32:10','2023-04-21 23:06:10','2023-04-21 23:06:10'),(6368,8673,6370,5345,NULL,0,NULL,'2023-04-21 22:32:57','2023-04-21 22:32:57',NULL),(6369,8673,6371,5346,NULL,0,NULL,'2023-04-21 22:33:24','2023-04-21 22:33:24',NULL),(6370,8673,6372,5347,NULL,0,NULL,'2023-04-21 22:34:33','2023-04-21 22:34:33',NULL),(6371,8673,6373,5348,NULL,0,NULL,'2023-04-21 22:35:02','2023-04-21 22:35:02',NULL),(6372,8673,6374,5349,NULL,0,NULL,'2023-04-21 22:35:29','2023-04-21 22:35:29',NULL),(6373,8673,6375,5350,NULL,0,NULL,'2023-04-21 22:35:54','2023-04-21 22:35:54',NULL),(6374,8673,6376,5351,NULL,0,NULL,'2023-04-21 22:36:25','2023-04-21 22:36:25',NULL),(6375,8673,6377,5352,NULL,0,NULL,'2023-04-21 22:36:50','2023-04-21 22:36:50',NULL),(6376,8673,6378,5353,NULL,0,NULL,'2023-04-21 22:37:16','2023-04-21 22:37:16',NULL),(6377,8673,6379,5354,NULL,0,NULL,'2023-04-21 22:37:45','2023-04-21 22:37:45',NULL),(6378,8673,6380,5355,NULL,0,NULL,'2023-04-21 22:38:12','2023-04-21 22:38:12',NULL),(6379,8673,6381,5356,NULL,0,NULL,'2023-04-21 22:39:06','2023-04-21 22:39:06',NULL),(6380,8673,6382,5357,NULL,0,NULL,'2023-04-21 22:39:52','2023-04-21 22:39:52',NULL),(6381,8673,6383,5358,NULL,0,NULL,'2023-04-21 22:40:15','2023-04-21 22:40:15',NULL),(6382,8673,6384,5359,NULL,0,NULL,'2023-04-21 22:41:02','2023-04-21 22:41:02',NULL),(6383,8673,6385,5360,NULL,0,NULL,'2023-04-21 22:41:52','2023-04-21 22:41:52',NULL),(6384,8673,6386,5361,NULL,0,NULL,'2023-04-21 22:42:18','2023-04-21 22:42:18',NULL),(6385,8673,6387,5362,NULL,0,NULL,'2023-04-21 22:42:45','2023-04-21 22:42:45',NULL),(6386,8673,6388,5363,NULL,0,NULL,'2023-04-21 22:43:17','2023-04-21 22:43:17',NULL),(6387,8673,6389,5364,NULL,0,NULL,'2023-04-21 22:43:50','2023-04-21 22:43:50',NULL),(6388,8673,6390,5365,NULL,0,NULL,'2023-04-21 22:44:22','2023-04-21 22:44:22',NULL),(6389,8673,6391,5366,NULL,0,NULL,'2023-04-21 22:44:47','2023-04-21 22:44:47',NULL),(6390,8673,6392,5367,NULL,0,NULL,'2023-04-21 22:45:11','2023-04-21 22:45:11',NULL),(6391,8673,6393,5368,NULL,0,NULL,'2023-04-21 22:45:40','2023-04-21 22:45:40',NULL),(6392,8673,6394,5369,NULL,0,NULL,'2023-04-21 22:46:15','2023-04-21 22:46:15',NULL),(6393,8673,6395,5370,NULL,0,NULL,'2023-04-21 22:46:45','2023-04-21 22:46:45',NULL),(6394,8673,6396,5371,NULL,0,NULL,'2023-04-21 22:47:07','2023-04-21 22:47:07',NULL),(6395,8673,6397,5372,NULL,0,NULL,'2023-04-21 23:02:36','2023-04-21 23:29:51','2023-04-21 23:29:51'),(6396,8673,6398,5373,NULL,0,NULL,'2023-04-21 23:03:45','2023-04-21 23:03:45',NULL),(6397,8673,6399,5374,NULL,0,NULL,'2023-04-21 23:05:08','2023-04-21 23:05:08',NULL),(6398,8673,6400,5243,NULL,0,NULL,'2023-04-21 23:05:34','2023-04-21 23:05:34',NULL),(6399,8673,6401,5344,NULL,0,NULL,'2023-04-21 23:06:10','2023-04-21 23:06:10',NULL),(6400,8673,6402,5339,NULL,0,NULL,'2023-04-21 23:06:42','2023-04-21 23:06:42',NULL),(6401,8673,6403,5372,NULL,0,NULL,'2023-04-21 23:29:51','2023-04-21 23:29:51',NULL),(6402,8673,6404,5304,NULL,0,NULL,'2023-04-21 23:30:17','2023-04-21 23:30:17',NULL),(6403,8673,6405,5302,NULL,0,NULL,'2023-04-21 23:30:35','2023-04-21 23:30:35',NULL),(6404,8673,6406,5375,NULL,0,NULL,'2023-04-21 23:32:03','2023-04-21 23:32:03',NULL),(6405,8673,6407,5376,NULL,0,NULL,'2023-04-21 23:32:56','2023-04-21 23:32:56',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6406,8673,6408,5234,NULL,0,NULL,'2023-04-21 23:55:47','2023-04-23 20:07:16','2023-04-23 20:07:16'),(6407,8673,6409,5235,NULL,0,NULL,'2023-04-21 23:56:29','2023-04-23 20:06:58','2023-04-23 20:06:58'),(6408,8673,6410,5238,NULL,0,NULL,'2023-04-21 23:57:04','2023-04-23 20:06:39','2023-04-23 20:06:39'),(6409,8673,6411,5240,NULL,0,NULL,'2023-04-21 23:57:37','2023-04-23 20:06:19','2023-04-23 20:06:19'),(6410,8673,6412,5297,NULL,0,NULL,'2023-04-21 23:58:34','2023-04-23 20:05:12','2023-04-23 20:05:12'),(6411,8673,6413,5298,NULL,0,NULL,'2023-04-21 23:59:07','2023-04-23 20:04:52','2023-04-23 20:04:52'),(6412,8673,6414,5299,NULL,0,NULL,'2023-04-21 23:59:48','2023-04-23 20:04:34','2023-04-23 20:04:34'),(6413,8673,6415,5300,NULL,0,NULL,'2023-04-22 00:00:21','2023-04-23 20:04:13','2023-04-23 20:04:13'),(6414,8673,6416,5301,NULL,0,NULL,'2023-04-22 00:00:57','2023-04-23 20:03:49','2023-04-23 20:03:49'),(6415,8673,6417,5303,NULL,0,NULL,'2023-04-22 00:01:33','2023-04-23 20:03:18','2023-04-23 20:03:18'),(6416,8673,6418,5305,NULL,0,NULL,'2023-04-22 00:02:06','2023-04-23 20:02:26','2023-04-23 20:02:26'),(6417,8673,6419,5377,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6418,8673,6420,5378,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6419,8673,6421,5379,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6420,8673,6422,5380,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-23 19:50:42','2023-04-23 19:50:42'),(6421,8673,6423,5381,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6422,8673,6424,5382,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-23 19:51:41','2023-04-23 19:51:41'),(6423,8673,6425,5383,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-23 19:51:18','2023-04-23 19:51:18'),(6424,8673,6426,5384,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-23 19:52:00','2023-04-23 19:52:00'),(6425,8673,6427,5385,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6426,8673,6428,5386,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6427,8673,6429,5387,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6428,8673,6430,5388,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6429,8673,6431,5389,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6430,8673,6432,5390,NULL,0,NULL,'2023-04-22 00:04:59','2023-04-22 00:04:59',NULL),(6431,8673,6433,5380,NULL,0,NULL,'2023-04-23 19:50:42','2023-04-23 20:01:21','2023-04-23 20:01:21'),(6432,8673,6434,5383,NULL,0,NULL,'2023-04-23 19:51:18','2023-04-23 20:00:39','2023-04-23 20:00:39'),(6433,8673,6435,5382,NULL,0,NULL,'2023-04-23 19:51:41','2023-04-23 20:01:01','2023-04-23 20:01:01'),(6434,8673,6436,5384,NULL,0,NULL,'2023-04-23 19:52:00','2023-04-23 20:00:12','2023-04-23 20:00:12'),(6435,8673,6437,5391,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6436,8673,6438,5392,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6437,8673,6439,5393,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6438,8673,6440,5394,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6439,8673,6441,5395,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 20:08:09','2023-04-23 20:08:09'),(6440,8673,6442,5396,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 20:09:40','2023-04-23 20:09:40'),(6441,8673,6443,5397,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6442,8673,6444,5398,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6443,8673,6445,5399,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 20:10:00','2023-04-23 20:10:00'),(6444,8673,6446,5400,NULL,0,NULL,'2023-04-23 19:59:21','2023-04-23 19:59:21',NULL),(6445,8673,6447,5401,NULL,0,NULL,'2023-04-23 19:59:22','2023-04-23 19:59:22',NULL),(6446,8673,6448,5402,NULL,0,NULL,'2023-04-23 19:59:22','2023-04-23 19:59:22',NULL),(6447,8673,6449,5384,NULL,0,NULL,'2023-04-23 20:00:12','2023-04-23 20:22:46','2023-04-23 20:22:46'),(6448,8673,6450,5383,NULL,0,NULL,'2023-04-23 20:00:39','2023-04-23 20:23:04','2023-04-23 20:23:04');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6449,8673,6451,5382,NULL,0,NULL,'2023-04-23 20:01:01','2023-04-23 20:23:29','2023-04-23 20:23:29'),(6450,8673,6452,5380,NULL,0,NULL,'2023-04-23 20:01:21','2023-04-23 20:23:53','2023-04-23 20:23:53'),(6451,8673,6453,5305,NULL,0,NULL,'2023-04-23 20:02:26','2023-04-23 20:24:58','2023-04-23 20:24:58'),(6452,8673,6454,5303,NULL,0,NULL,'2023-04-23 20:03:18','2023-04-23 20:25:41','2023-04-23 20:25:41'),(6453,8673,6455,5301,NULL,0,NULL,'2023-04-23 20:03:50','2023-04-23 20:26:14','2023-04-23 20:26:14'),(6454,8673,6456,5300,NULL,0,NULL,'2023-04-23 20:04:13','2023-04-23 20:26:36','2023-04-23 20:26:36'),(6455,8673,6457,5299,NULL,0,NULL,'2023-04-23 20:04:34','2023-04-23 20:27:06','2023-04-23 20:27:06'),(6456,8673,6458,5298,NULL,0,NULL,'2023-04-23 20:04:52','2023-04-23 20:27:38','2023-04-23 20:27:38'),(6457,8673,6459,5297,NULL,0,NULL,'2023-04-23 20:05:12','2023-04-23 20:05:32','2023-04-23 20:05:32'),(6458,8673,6460,5297,NULL,0,NULL,'2023-04-23 20:05:32','2023-04-23 20:28:03','2023-04-23 20:28:03'),(6459,8673,6461,5240,NULL,0,NULL,'2023-04-23 20:06:19','2023-04-23 20:28:50','2023-04-23 20:28:50'),(6460,8673,6462,5238,NULL,0,NULL,'2023-04-23 20:06:39','2023-04-23 20:29:35','2023-04-23 20:29:35'),(6461,8673,6463,5235,NULL,0,NULL,'2023-04-23 20:06:58','2023-04-23 20:29:51','2023-04-23 20:29:51'),(6462,8673,6464,5234,NULL,0,NULL,'2023-04-23 20:07:16','2023-04-23 20:30:05','2023-04-23 20:30:05'),(6463,8673,6465,5395,NULL,0,NULL,'2023-04-23 20:08:09','2023-04-23 20:22:25','2023-04-23 20:22:25'),(6464,8673,6466,5396,NULL,0,NULL,'2023-04-23 20:09:40','2023-04-23 20:22:05','2023-04-23 20:22:05'),(6465,8673,6467,5399,NULL,0,NULL,'2023-04-23 20:10:00','2023-04-23 20:21:43','2023-04-23 20:21:43'),(6466,8673,6468,5403,NULL,0,NULL,'2023-04-23 20:20:05','2023-04-23 20:20:05',NULL),(6467,8673,6469,5404,NULL,0,NULL,'2023-04-23 20:20:05','2023-04-23 20:20:05',NULL),(6468,8673,6470,5405,NULL,0,NULL,'2023-04-23 20:20:05','2023-04-23 20:20:05',NULL),(6469,8673,6471,5406,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6470,8673,6472,5407,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6471,8673,6473,5408,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6472,8673,6474,5409,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6473,8673,6475,5410,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6474,8673,6476,5411,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6475,8673,6477,5412,NULL,0,NULL,'2023-04-23 20:20:06','2023-04-23 20:20:06',NULL),(6476,8673,6478,5399,NULL,0,NULL,'2023-04-23 20:21:43','2023-04-23 20:21:43',NULL),(6477,8673,6479,5396,NULL,0,NULL,'2023-04-23 20:22:05','2023-04-23 20:22:05',NULL),(6478,8673,6480,5395,NULL,0,NULL,'2023-04-23 20:22:25','2023-04-23 20:22:25',NULL),(6479,8673,6481,5384,NULL,0,NULL,'2023-04-23 20:22:46','2023-04-23 20:22:46',NULL),(6480,8673,6482,5383,NULL,0,NULL,'2023-04-23 20:23:04','2023-04-23 20:23:04',NULL),(6481,8673,6483,5382,NULL,0,NULL,'2023-04-23 20:23:29','2023-04-23 20:23:29',NULL),(6482,8673,6484,5380,NULL,0,NULL,'2023-04-23 20:23:53','2023-04-23 20:23:53',NULL),(6483,8673,6485,5305,NULL,0,NULL,'2023-04-23 20:24:58','2023-04-23 20:24:58',NULL),(6484,8673,6486,5303,NULL,0,NULL,'2023-04-23 20:25:41','2023-04-23 20:25:41',NULL),(6485,8673,6487,5301,NULL,0,NULL,'2023-04-23 20:26:14','2023-04-23 20:26:14',NULL),(6486,8673,6488,5300,NULL,0,NULL,'2023-04-23 20:26:36','2023-04-23 20:26:36',NULL),(6487,8673,6489,5299,NULL,0,NULL,'2023-04-23 20:27:06','2023-04-23 20:27:06',NULL),(6488,8673,6490,5298,NULL,0,NULL,'2023-04-23 20:27:38','2023-04-23 20:27:38',NULL),(6489,8673,6491,5297,NULL,0,NULL,'2023-04-23 20:28:03','2023-04-23 20:28:03',NULL),(6490,8673,6492,5240,NULL,0,NULL,'2023-04-23 20:28:50','2023-04-23 20:28:50',NULL),(6491,8673,6493,5238,NULL,0,NULL,'2023-04-23 20:29:35','2023-04-23 20:29:35',NULL),(6492,8673,6494,5235,NULL,0,NULL,'2023-04-23 20:29:51','2023-04-23 20:29:51',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6493,8673,6495,5234,NULL,0,NULL,'2023-04-23 20:30:05','2023-04-23 20:30:05',NULL),(6494,8673,6496,5413,NULL,0,NULL,'2023-04-23 20:41:26','2023-04-23 20:41:26',NULL),(6495,8673,6497,5414,NULL,0,NULL,'2023-04-23 20:46:45','2023-04-23 20:46:45',NULL),(6496,8673,6498,5415,NULL,0,NULL,'2023-04-23 20:53:22','2023-04-23 20:53:22',NULL),(6497,8673,6499,5416,NULL,0,NULL,'2023-04-23 20:55:56','2023-04-23 20:55:56',NULL),(6498,8673,6500,5417,NULL,0,NULL,'2023-04-23 20:58:41','2023-04-23 20:58:41',NULL),(6499,8673,6501,5418,NULL,0,NULL,'2023-04-23 20:59:44','2023-04-23 20:59:44',NULL),(6500,8673,6502,5419,NULL,0,NULL,'2023-04-23 21:00:37','2023-04-23 21:00:37',NULL),(6501,8673,6503,5420,NULL,0,NULL,'2023-04-23 21:01:41','2023-04-23 21:01:41',NULL),(6502,8673,6504,5421,NULL,0,NULL,'2023-04-23 21:09:25','2023-04-23 21:30:53','2023-04-23 21:30:53'),(6503,8673,6505,5422,NULL,0,NULL,'2023-04-23 21:10:08','2023-04-23 21:10:08',NULL),(6504,8673,6506,5423,NULL,0,NULL,'2023-04-23 21:10:49','2023-04-23 21:10:49',NULL),(6505,8673,6507,5424,NULL,0,NULL,'2023-04-23 21:12:16','2023-04-23 21:12:16',NULL),(6506,8673,6508,5425,NULL,0,NULL,'2023-04-23 21:14:02','2023-04-23 21:14:02',NULL),(6507,8673,6509,5426,NULL,0,NULL,'2023-04-23 21:16:22','2023-04-23 21:16:22',NULL),(6508,8673,6510,5427,NULL,0,NULL,'2023-04-23 21:17:46','2023-04-23 21:17:46',NULL),(6509,8673,6511,5428,NULL,0,NULL,'2023-04-23 21:18:33','2023-04-23 21:18:33',NULL),(6510,8673,6512,5429,NULL,0,NULL,'2023-04-23 21:19:32','2023-04-23 21:19:32',NULL),(6511,8673,6513,5421,NULL,0,NULL,'2023-04-23 21:30:54','2023-04-23 21:30:54',NULL),(6512,8673,6514,5430,NULL,0,NULL,'2023-04-23 21:31:58','2023-04-23 21:33:28','2023-04-23 21:33:28'),(6513,8673,6515,5430,NULL,0,NULL,'2023-04-23 21:33:28','2023-04-23 21:34:34','2023-04-23 21:34:34'),(6514,8673,6516,5430,NULL,0,NULL,'2023-04-23 21:34:34','2023-04-23 21:34:34',NULL),(6515,8673,6517,5431,NULL,0,NULL,'2023-04-23 22:14:01','2023-04-23 22:14:01',NULL),(6516,8673,6518,5432,NULL,0,NULL,'2023-04-23 22:14:01','2023-04-23 22:14:01',NULL),(6517,8673,6519,5433,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6518,8673,6520,5434,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6519,8673,6521,5435,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6520,8673,6522,5436,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6521,8673,6523,5437,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6522,8673,6524,5438,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6523,8673,6525,5439,NULL,0,NULL,'2023-04-23 22:14:02','2023-04-23 22:14:02',NULL),(6524,8673,6526,5440,NULL,0,NULL,'2023-04-23 22:39:31','2023-04-23 22:39:31',NULL),(6525,8673,6527,5441,NULL,0,NULL,'2023-04-23 22:42:06','2023-04-23 22:42:06',NULL),(6526,8673,6528,5442,NULL,0,NULL,'2023-04-23 22:43:42','2023-04-23 22:43:42',NULL),(6527,8673,6529,5443,NULL,0,NULL,'2023-04-23 22:45:03','2023-04-23 22:45:03',NULL),(6528,8673,6530,5444,NULL,0,NULL,'2023-04-23 22:46:24','2023-04-23 22:46:24',NULL),(6529,8673,6531,5445,NULL,0,NULL,'2023-04-23 22:47:16','2023-04-23 22:47:16',NULL),(6530,8673,6532,5446,NULL,0,NULL,'2023-04-23 22:48:04','2023-04-23 22:48:04',NULL),(6531,8673,6533,5447,NULL,0,NULL,'2023-04-23 22:48:48','2023-04-23 22:48:48',NULL),(6532,8673,6534,5448,NULL,0,NULL,'2023-04-23 22:50:12','2023-04-23 22:50:12',NULL),(6533,8673,6535,5449,NULL,0,NULL,'2023-04-23 22:51:25','2023-04-23 22:51:25',NULL),(6534,8673,6536,5450,NULL,0,NULL,'2023-04-23 22:53:21','2023-04-23 22:53:21',NULL),(6535,8673,6537,5451,NULL,0,NULL,'2023-04-23 22:54:18','2023-04-23 22:54:18',NULL),(6536,8673,6538,5452,NULL,0,NULL,'2023-04-23 22:54:55','2023-04-23 22:54:55',NULL),(6537,8673,6539,5453,NULL,0,NULL,'2023-04-23 22:55:26','2023-04-23 22:55:26',NULL),(6538,8673,6540,5454,NULL,0,NULL,'2023-04-23 22:56:04','2023-04-23 22:56:04',NULL),(6539,8673,6541,5455,NULL,0,NULL,'2023-04-23 22:56:51','2023-04-23 22:56:51',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6540,8673,6542,5456,NULL,0,NULL,'2023-04-23 22:57:26','2023-04-23 22:57:26',NULL),(6541,8673,6543,5457,NULL,0,NULL,'2023-04-23 22:58:40','2023-04-23 22:58:40',NULL),(6542,8673,6544,5458,NULL,0,NULL,'2023-04-23 23:00:24','2023-04-23 23:00:24',NULL),(6543,8673,6545,5459,NULL,0,NULL,'2023-04-23 23:02:47','2023-04-23 23:02:47',NULL),(6544,8673,6546,5460,NULL,0,NULL,'2023-04-23 23:03:22','2023-04-23 23:03:22',NULL),(6545,8673,6547,5461,NULL,0,NULL,'2023-04-23 23:12:08','2023-04-23 23:12:08',NULL),(6546,8673,6548,5462,NULL,0,NULL,'2023-04-23 23:14:27','2023-04-23 23:14:27',NULL),(6547,8673,6549,5463,NULL,0,NULL,'2023-04-23 23:15:49','2023-04-23 23:15:49',NULL),(6548,8673,6550,5464,NULL,0,NULL,'2023-04-23 23:32:59','2023-04-23 23:32:59',NULL),(6549,8673,6551,5465,NULL,0,NULL,'2023-04-23 23:32:59','2023-04-25 00:48:17','2023-04-25 00:48:17'),(6550,8673,6552,5466,NULL,0,NULL,'2023-04-23 23:32:59','2023-04-23 23:32:59',NULL),(6551,8673,6553,5467,NULL,0,NULL,'2023-04-23 23:32:59','2023-04-23 23:32:59',NULL),(6552,8673,6554,5468,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:33:00',NULL),(6553,8673,6555,5469,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:33:00',NULL),(6554,8673,6556,5470,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:56:30','2023-04-23 23:56:30'),(6555,8673,6557,5471,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:55:52','2023-04-23 23:55:52'),(6556,8673,6558,5472,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:33:00',NULL),(6557,8673,6559,5473,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:55:15','2023-04-23 23:55:15'),(6558,8673,6560,5474,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:33:00',NULL),(6559,8673,6561,5475,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:53:40','2023-04-23 23:53:40'),(6560,8673,6562,5476,NULL,0,NULL,'2023-04-23 23:33:00','2023-04-23 23:53:01','2023-04-23 23:53:01'),(6561,8673,6563,5477,NULL,0,NULL,'2023-04-23 23:38:02','2023-04-23 23:38:02',NULL),(6562,8673,6564,5478,NULL,0,NULL,'2023-04-23 23:38:34','2023-04-23 23:38:34',NULL),(6563,8673,6565,5479,NULL,0,NULL,'2023-04-23 23:39:33','2023-04-23 23:39:33',NULL),(6564,8673,6566,5480,NULL,0,NULL,'2023-04-23 23:43:12','2023-04-23 23:43:12',NULL),(6565,8673,6567,5476,NULL,0,NULL,'2023-04-23 23:53:01','2023-04-23 23:53:01',NULL),(6566,8673,6568,5475,NULL,0,NULL,'2023-04-23 23:53:40','2023-04-23 23:53:40',NULL),(6567,8673,6569,5473,NULL,0,NULL,'2023-04-23 23:55:15','2023-04-23 23:55:15',NULL),(6568,8673,6570,5471,NULL,0,NULL,'2023-04-23 23:55:52','2023-04-23 23:55:52',NULL),(6569,8673,6571,5470,NULL,0,NULL,'2023-04-23 23:56:30','2023-04-23 23:56:30',NULL),(6570,8673,6572,5465,NULL,0,NULL,'2023-04-25 00:48:17','2023-04-25 00:48:17',NULL),(6571,8673,6573,5481,NULL,0,NULL,'2023-04-25 00:53:40','2023-04-25 00:53:40',NULL),(6572,8673,6574,5482,NULL,0,NULL,'2023-04-25 00:53:40','2023-04-25 01:00:41','2023-04-25 01:00:41'),(6573,8673,6575,5483,NULL,0,NULL,'2023-04-25 00:53:40','2023-04-25 00:53:40',NULL),(6574,8673,6576,5484,NULL,0,NULL,'2023-04-25 00:53:40','2023-04-25 00:53:40',NULL),(6575,8673,6577,5485,NULL,0,NULL,'2023-04-25 00:53:40','2023-04-25 00:59:52','2023-04-25 00:59:52'),(6576,8673,6578,5486,NULL,0,NULL,'2023-04-25 00:53:40','2023-04-25 00:59:06','2023-04-25 00:59:06'),(6577,8673,6579,5486,NULL,0,NULL,'2023-04-25 00:59:06','2023-04-25 00:59:06',NULL),(6578,8673,6580,5485,NULL,0,NULL,'2023-04-25 00:59:52','2023-04-25 00:59:52',NULL),(6579,8673,6581,5482,NULL,0,NULL,'2023-04-25 01:00:41','2023-04-25 01:00:41',NULL),(6580,8673,6582,4526,NULL,0,NULL,'2023-05-05 17:35:23','2023-05-05 17:35:23',NULL),(6584,8673,6586,5490,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 17:46:48',NULL),(6585,8673,6587,5491,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 17:46:48',NULL),(6586,8673,6588,5492,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 17:46:48',NULL),(6587,8673,6589,5493,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 17:46:48',NULL),(6588,8673,6590,5494,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:10:51','2023-05-05 19:10:51');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6589,8673,6591,5495,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:09:46','2023-05-05 19:09:46'),(6590,8673,6592,5496,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 17:46:48',NULL),(6591,8673,6593,5497,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:09:00','2023-05-05 19:09:00'),(6592,8673,6594,5498,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:08:16','2023-05-05 19:08:16'),(6593,8673,6595,5499,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:07:51','2023-05-05 19:07:51'),(6594,8673,6596,5500,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:07:22','2023-05-05 19:07:22'),(6595,8673,6597,5501,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:06:49','2023-05-05 19:06:49'),(6596,8673,6598,5502,NULL,0,NULL,'2023-05-05 17:46:48','2023-05-05 19:06:07','2023-05-05 19:06:07'),(6597,8673,6599,5503,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 19:05:16','2023-05-05 19:05:16'),(6598,8673,6600,5504,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6599,8673,6601,5505,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 19:04:27','2023-05-05 19:04:27'),(6600,8673,6602,5506,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 19:03:37','2023-05-05 19:03:37'),(6601,8673,6603,5507,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 19:01:29','2023-05-05 19:01:29'),(6602,8673,6604,5508,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 19:00:38','2023-05-05 19:00:38'),(6603,8673,6605,5509,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:59:48','2023-05-05 18:59:48'),(6604,8673,6606,5510,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:58:44','2023-05-05 18:58:44'),(6605,8673,6607,5511,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6606,8673,6608,5512,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6607,8673,6609,5513,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:57:48','2023-05-05 18:57:48'),(6608,8673,6610,5514,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6609,8673,6611,5515,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6610,8673,6612,5516,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:57:06','2023-05-05 18:57:06'),(6611,8673,6613,5517,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:56:22','2023-05-05 18:56:22'),(6612,8673,6614,5518,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6613,8673,6615,5519,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:55:30','2023-05-05 18:55:30'),(6614,8673,6616,5520,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:54:29','2023-05-05 18:54:29'),(6615,8673,6617,5521,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:46:23','2023-05-05 18:46:23'),(6616,8673,6618,5522,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 17:46:49',NULL),(6617,8673,6619,5523,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:53:31','2023-05-05 18:53:31'),(6618,8673,6620,5524,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:52:21','2023-05-05 18:52:21'),(6619,8673,6621,5525,NULL,0,NULL,'2023-05-05 17:46:49','2023-05-05 18:48:08','2023-05-05 18:48:08'),(6620,8673,6622,5526,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:12:10','2023-05-05 18:12:10'),(6621,8673,6623,5527,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:11:26','2023-05-05 18:11:26'),(6622,8673,6624,5528,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 17:46:50',NULL),(6623,8673,6625,5529,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 17:46:50',NULL),(6624,8673,6626,5530,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 17:46:50',NULL),(6625,8673,6627,5531,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:09:44','2023-05-05 18:09:44'),(6626,8673,6628,5532,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:09:17','2023-05-05 18:09:17'),(6627,8673,6629,5533,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:08:39','2023-05-05 18:08:39'),(6628,8673,6630,5534,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:08:13','2023-05-05 18:08:13'),(6629,8673,6631,5535,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:07:50','2023-05-05 18:07:50');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6630,8673,6632,5536,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:07:07','2023-05-05 18:07:07'),(6631,8673,6633,5537,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:06:09','2023-05-05 18:06:09'),(6632,8673,6634,5538,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:05:22','2023-05-05 18:05:22'),(6633,8673,6635,5539,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 18:04:58','2023-05-05 18:04:58'),(6634,8673,6636,5540,NULL,0,NULL,'2023-05-05 17:46:50','2023-05-05 17:46:50',NULL),(6635,8673,6637,5539,NULL,0,NULL,'2023-05-05 18:04:58','2023-05-05 18:04:58',NULL),(6636,8673,6638,5538,NULL,0,NULL,'2023-05-05 18:05:22','2023-05-05 18:05:22',NULL),(6637,8673,6639,5537,NULL,0,NULL,'2023-05-05 18:06:09','2023-05-05 18:06:09',NULL),(6638,8673,6640,5536,NULL,0,NULL,'2023-05-05 18:07:07','2023-05-05 18:07:07',NULL),(6639,8673,6641,5535,NULL,0,NULL,'2023-05-05 18:07:50','2023-05-05 18:07:50',NULL),(6640,8673,6642,5534,NULL,0,NULL,'2023-05-05 18:08:13','2023-05-05 18:08:13',NULL),(6641,8673,6643,5533,NULL,0,NULL,'2023-05-05 18:08:39','2023-05-05 18:08:39',NULL),(6642,8673,6644,5532,NULL,0,NULL,'2023-05-05 18:09:17','2023-05-05 18:09:17',NULL),(6643,8673,6645,5531,NULL,0,NULL,'2023-05-05 18:09:44','2023-05-05 18:09:44',NULL),(6644,8673,6646,5527,NULL,0,NULL,'2023-05-05 18:11:26','2023-05-05 18:11:26',NULL),(6645,8673,6647,5526,NULL,0,NULL,'2023-05-05 18:12:10','2023-05-05 18:12:10',NULL),(6646,8673,6648,5521,NULL,0,NULL,'2023-05-05 18:46:23','2023-05-05 18:46:23',NULL),(6647,8673,6649,5525,NULL,0,NULL,'2023-05-05 18:48:08','2023-05-05 18:48:08',NULL),(6648,8673,6650,5524,NULL,0,NULL,'2023-05-05 18:52:21','2023-05-05 18:52:21',NULL),(6649,8673,6651,5523,NULL,0,NULL,'2023-05-05 18:53:31','2023-05-05 18:53:31',NULL),(6650,8673,6652,5520,NULL,0,NULL,'2023-05-05 18:54:29','2023-05-05 18:54:29',NULL),(6651,8673,6653,5519,NULL,0,NULL,'2023-05-05 18:55:30','2023-05-05 18:55:30',NULL),(6652,8673,6654,5517,NULL,0,NULL,'2023-05-05 18:56:22','2023-05-05 18:56:22',NULL),(6653,8673,6655,5516,NULL,0,NULL,'2023-05-05 18:57:06','2023-05-05 18:57:06',NULL),(6654,8673,6656,5513,NULL,0,NULL,'2023-05-05 18:57:48','2023-05-05 18:57:48',NULL),(6655,8673,6657,5510,NULL,0,NULL,'2023-05-05 18:58:44','2023-05-05 18:58:44',NULL),(6656,8673,6658,5509,NULL,0,NULL,'2023-05-05 18:59:48','2023-05-05 18:59:48',NULL),(6657,8673,6659,5508,NULL,0,NULL,'2023-05-05 19:00:38','2023-05-05 19:00:38',NULL),(6658,8673,6660,5507,NULL,0,NULL,'2023-05-05 19:01:29','2023-05-05 19:01:29',NULL),(6659,8673,6661,5506,NULL,0,NULL,'2023-05-05 19:03:37','2023-05-05 19:03:37',NULL),(6660,8673,6662,5505,NULL,0,NULL,'2023-05-05 19:04:27','2023-05-05 19:04:27',NULL),(6661,8673,6663,5503,NULL,0,NULL,'2023-05-05 19:05:16','2023-05-05 19:05:16',NULL),(6662,8673,6664,5502,NULL,0,NULL,'2023-05-05 19:06:07','2023-05-05 19:06:07',NULL),(6663,8673,6665,5501,NULL,0,NULL,'2023-05-05 19:06:49','2023-05-05 19:06:49',NULL),(6664,8673,6666,5500,NULL,0,NULL,'2023-05-05 19:07:22','2023-05-05 19:07:22',NULL),(6665,8673,6667,5499,NULL,0,NULL,'2023-05-05 19:07:51','2023-05-05 19:07:51',NULL),(6666,8673,6668,5498,NULL,0,NULL,'2023-05-05 19:08:16','2023-05-05 19:08:16',NULL),(6667,8673,6669,5497,NULL,0,NULL,'2023-05-05 19:09:00','2023-05-05 19:09:00',NULL),(6668,8673,6670,5495,NULL,0,NULL,'2023-05-05 19:09:46','2023-05-05 19:09:46',NULL),(6669,8673,6671,5494,NULL,0,NULL,'2023-05-05 19:10:51','2023-05-05 19:10:51',NULL),(6670,8673,6672,5541,NULL,0,NULL,'2023-05-05 19:19:23','2023-05-05 19:19:23',NULL),(6671,8673,6673,5542,NULL,0,NULL,'2023-05-05 19:20:23','2023-05-05 19:20:23',NULL),(6672,8673,6674,5543,NULL,0,NULL,'2023-05-05 19:21:27','2023-05-05 19:21:27',NULL),(6673,8673,6675,5544,NULL,0,NULL,'2023-05-05 19:53:17','2023-05-05 19:53:17',NULL),(6674,8673,6676,5545,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:13:44',NULL),(6675,8673,6677,5546,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:13:44',NULL),(6676,8673,6678,5547,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:57:51','2023-05-11 12:57:51');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6677,8673,6679,5548,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:57:03','2023-05-11 12:57:03'),(6678,8673,6680,5549,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:56:21','2023-05-11 12:56:21'),(6679,8673,6681,5550,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:55:44','2023-05-11 12:55:44'),(6680,8673,6682,5551,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:54:58','2023-05-11 12:54:58'),(6681,8673,6683,5552,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:54:10','2023-05-11 12:54:10'),(6682,8673,6684,5553,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:53:47','2023-05-11 12:53:47'),(6683,8673,6685,5554,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:53:03','2023-05-11 12:53:03'),(6684,8673,6686,5555,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:52:26','2023-05-11 12:52:26'),(6685,8673,6687,5556,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:51:30','2023-05-11 12:51:30'),(6686,8673,6688,5557,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:50:44','2023-05-11 12:50:44'),(6687,8673,6689,5558,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:49:48','2023-05-11 12:49:48'),(6688,8673,6690,5559,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:48:57','2023-05-11 12:48:57'),(6689,8673,6691,5560,NULL,0,NULL,'2023-05-11 12:13:44','2023-05-11 12:48:05','2023-05-11 12:48:05'),(6690,8673,6692,5561,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:47:06','2023-05-11 12:47:06'),(6691,8673,6693,5562,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:46:12','2023-05-11 12:46:12'),(6692,8673,6694,5563,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:13:45',NULL),(6693,8673,6695,5564,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:39:25','2023-05-11 12:39:25'),(6694,8673,6696,5565,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:38:28','2023-05-11 12:38:28'),(6695,8673,6697,5566,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:37:38','2023-05-11 12:37:38'),(6696,8673,6698,5567,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:35:32','2023-05-11 12:35:32'),(6697,8673,6699,5568,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:34:41','2023-05-11 12:34:41'),(6698,8673,6700,5569,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:33:05','2023-05-11 12:33:05'),(6699,8673,6701,5570,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:32:10','2023-05-11 12:32:10'),(6700,8673,6702,5571,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:31:11','2023-05-11 12:31:11'),(6701,8673,6703,5572,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:30:27','2023-05-11 12:30:27'),(6702,8673,6704,5573,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:30:05','2023-05-11 12:30:05'),(6703,8673,6705,5574,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:13:45',NULL),(6704,8673,6706,5575,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:29:31','2023-05-11 12:29:31'),(6705,8673,6707,5576,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:13:45',NULL),(6706,8673,6708,5577,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:28:39','2023-05-11 12:28:39'),(6707,8673,6709,5578,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:13:45',NULL),(6708,8673,6710,5579,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-19 02:56:19','2023-05-19 02:56:19'),(6709,8673,6711,5580,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:27:25','2023-05-11 12:27:25'),(6710,8673,6712,5581,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:26:49','2023-05-11 12:26:49'),(6711,8673,6713,5582,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:25:25','2023-05-11 12:25:25'),(6712,8673,6714,5583,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:24:29','2023-05-11 12:24:29'),(6713,8673,6715,5584,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:23:39','2023-05-11 12:23:39'),(6714,8673,6716,5585,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:22:25','2023-05-11 12:22:25'),(6715,8673,6717,5586,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:21:32','2023-05-11 12:21:32'),(6716,8673,6718,5587,NULL,0,NULL,'2023-05-11 12:13:45','2023-05-11 12:20:41','2023-05-11 12:20:41');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6717,8673,6719,5588,NULL,0,NULL,'2023-05-11 12:13:46','2023-05-11 12:19:34','2023-05-11 12:19:34'),(6718,8673,6720,5589,NULL,0,NULL,'2023-05-11 12:13:46','2023-05-11 12:18:14','2023-05-11 12:18:14'),(6719,8673,6721,5590,NULL,0,NULL,'2023-05-11 12:13:46','2023-05-11 12:15:59','2023-05-11 12:15:59'),(6720,8673,6722,5590,NULL,0,NULL,'2023-05-11 12:15:59','2023-05-11 12:15:59',NULL),(6721,8673,6723,5589,NULL,0,NULL,'2023-05-11 12:18:14','2023-05-11 12:18:14',NULL),(6722,8673,6724,5588,NULL,0,NULL,'2023-05-11 12:19:34','2023-05-11 12:19:34',NULL),(6723,8673,6725,5587,NULL,0,NULL,'2023-05-11 12:20:41','2023-05-11 12:20:41',NULL),(6724,8673,6726,5586,NULL,0,NULL,'2023-05-11 12:21:32','2023-05-11 12:21:32',NULL),(6725,8673,6727,5585,NULL,0,NULL,'2023-05-11 12:22:25','2023-05-11 12:22:25',NULL),(6726,8673,6728,5584,NULL,0,NULL,'2023-05-11 12:23:39','2023-05-11 12:23:39',NULL),(6727,8673,6729,5583,NULL,0,NULL,'2023-05-11 12:24:29','2023-05-11 12:24:29',NULL),(6728,8673,6730,5582,NULL,0,NULL,'2023-05-11 12:25:25','2023-05-11 12:25:25',NULL),(6729,8673,6731,5581,NULL,0,NULL,'2023-05-11 12:26:49','2023-05-11 12:26:49',NULL),(6730,8673,6732,5580,NULL,0,NULL,'2023-05-11 12:27:25','2023-05-11 12:27:25',NULL),(6731,8673,6733,5577,NULL,0,NULL,'2023-05-11 12:28:39','2023-05-11 12:28:39',NULL),(6732,8673,6734,5575,NULL,0,NULL,'2023-05-11 12:29:31','2023-05-11 12:29:31',NULL),(6733,8673,6735,5573,NULL,0,NULL,'2023-05-11 12:30:05','2023-05-11 12:30:05',NULL),(6734,8673,6736,5572,NULL,0,NULL,'2023-05-11 12:30:27','2023-05-11 12:30:27',NULL),(6735,8673,6737,5571,NULL,0,NULL,'2023-05-11 12:31:11','2023-05-11 12:31:11',NULL),(6736,8673,6738,5570,NULL,0,NULL,'2023-05-11 12:32:10','2023-05-11 12:32:10',NULL),(6737,8673,6739,5569,NULL,0,NULL,'2023-05-11 12:33:05','2023-05-11 12:33:05',NULL),(6738,8673,6740,5568,NULL,0,NULL,'2023-05-11 12:34:41','2023-05-11 12:34:41',NULL),(6739,8673,6741,5567,NULL,0,NULL,'2023-05-11 12:35:32','2023-05-11 12:35:32',NULL),(6740,8673,6742,5566,NULL,0,NULL,'2023-05-11 12:37:38','2023-05-11 12:37:38',NULL),(6741,8673,6743,5565,NULL,0,NULL,'2023-05-11 12:38:28','2023-05-11 12:38:28',NULL),(6742,8673,6744,5564,NULL,0,NULL,'2023-05-11 12:39:25','2023-05-11 12:39:25',NULL),(6743,8673,6745,5562,NULL,0,NULL,'2023-05-11 12:46:12','2023-05-11 12:46:12',NULL),(6744,8673,6746,5561,NULL,0,NULL,'2023-05-11 12:47:06','2023-05-11 12:47:06',NULL),(6745,8673,6747,5560,NULL,0,NULL,'2023-05-11 12:48:05','2023-05-11 12:48:05',NULL),(6746,8673,6748,5559,NULL,0,NULL,'2023-05-11 12:48:57','2023-05-11 12:48:57',NULL),(6747,8673,6749,5558,NULL,0,NULL,'2023-05-11 12:49:48','2023-05-11 12:49:48',NULL),(6748,8673,6750,5557,NULL,0,NULL,'2023-05-11 12:50:44','2023-05-11 12:50:44',NULL),(6749,8673,6751,5556,NULL,0,NULL,'2023-05-11 12:51:30','2023-05-11 12:51:30',NULL),(6750,8673,6752,5555,NULL,0,NULL,'2023-05-11 12:52:26','2023-05-11 12:52:26',NULL),(6751,8673,6753,5554,NULL,0,NULL,'2023-05-11 12:53:03','2023-05-11 12:53:03',NULL),(6752,8673,6754,5553,NULL,0,NULL,'2023-05-11 12:53:47','2023-05-11 12:53:47',NULL),(6753,8673,6755,5552,NULL,0,NULL,'2023-05-11 12:54:10','2023-05-11 12:54:10',NULL),(6754,8673,6756,5551,NULL,0,NULL,'2023-05-11 12:54:58','2023-05-11 12:54:58',NULL),(6755,8673,6757,5550,NULL,0,NULL,'2023-05-11 12:55:44','2023-05-11 12:55:44',NULL),(6756,8673,6758,5549,NULL,0,NULL,'2023-05-11 12:56:21','2023-05-11 12:56:21',NULL),(6757,8673,6759,5548,NULL,0,NULL,'2023-05-11 12:57:03','2023-05-11 12:57:03',NULL),(6758,8673,6760,5547,NULL,0,NULL,'2023-05-11 12:57:51','2023-05-11 12:57:51',NULL),(6759,8673,6761,5591,NULL,0,NULL,'2023-05-11 17:49:31','2023-05-11 17:49:31',NULL),(6760,8673,6762,5592,NULL,0,NULL,'2023-05-11 17:50:11','2023-05-11 17:50:11',NULL),(6762,8673,6764,5594,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6763,8673,6765,5595,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6764,8673,6766,5596,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:37:40','2023-05-16 01:37:40');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6765,8673,6767,5597,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6766,8673,6768,5598,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6767,8673,6769,5599,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6768,8673,6770,5600,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:35:45','2023-05-16 01:35:45'),(6769,8673,6771,5601,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6770,8673,6772,5602,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:35:06','2023-05-16 01:35:06'),(6771,8673,6773,5603,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:34:20','2023-05-16 01:34:20'),(6772,8673,6774,5604,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:33:32','2023-05-16 01:33:32'),(6773,8673,6775,5605,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:32:29','2023-05-16 01:32:29'),(6774,8673,6776,5606,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6775,8673,6777,5607,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6776,8673,6778,5608,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:31:01','2023-05-16 01:31:01'),(6777,8673,6779,5609,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:30:12','2023-05-16 01:30:12'),(6778,8673,6780,5610,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:29:26','2023-05-16 01:29:26'),(6779,8673,6781,5611,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:28:34','2023-05-16 01:28:34'),(6780,8673,6782,5612,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:27:38','2023-05-16 01:27:38'),(6781,8673,6783,5613,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:26:50','2023-05-16 01:26:50'),(6782,8673,6784,5614,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:25:24','2023-05-16 01:25:24'),(6783,8673,6785,5615,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-11 18:42:45',NULL),(6784,8673,6786,5616,NULL,0,NULL,'2023-05-11 18:42:45','2023-05-16 01:23:15','2023-05-16 01:23:15'),(6785,8673,6787,5617,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6786,8673,6788,5618,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:24:05','2023-05-16 01:24:05'),(6787,8673,6789,5619,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:22:24','2023-05-16 01:22:24'),(6788,8673,6790,5620,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:21:47','2023-05-16 01:21:47'),(6789,8673,6791,5621,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6790,8673,6792,5622,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6791,8673,6793,5623,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:19:54','2023-05-16 01:19:54'),(6792,8673,6794,5624,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6793,8673,6795,5625,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6794,8673,6796,5626,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:18:14','2023-05-16 01:18:14'),(6795,8673,6797,5627,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6796,8673,6798,5628,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:07:57','2023-05-16 01:07:57'),(6797,8673,6799,5629,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:06:46','2023-05-16 01:06:46'),(6798,8673,6800,5630,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:06:10','2023-05-16 01:06:10'),(6799,8673,6801,5631,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:04:13','2023-05-16 01:04:13'),(6800,8673,6802,5632,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:03:47','2023-05-16 01:03:47'),(6801,8673,6803,5633,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:02:43','2023-05-16 01:02:43'),(6802,8673,6804,5634,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-16 01:01:48','2023-05-16 01:01:48'),(6803,8673,6805,5635,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6804,8673,6806,5636,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6805,8673,6807,5637,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6806,8673,6808,5638,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6807,8673,6809,5639,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6808,8673,6810,5640,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6809,8673,6811,5641,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6810,8673,6812,5642,NULL,0,NULL,'2023-05-11 18:42:46','2023-05-11 18:42:46',NULL),(6811,8673,6813,5643,NULL,0,NULL,'2023-05-11 18:42:47','2023-05-11 18:42:47',NULL),(6812,8673,6814,5644,NULL,0,NULL,'2023-05-11 18:42:47','2023-05-11 18:42:47',NULL),(6813,8673,6815,5645,NULL,0,NULL,'2023-05-11 18:42:47','2023-05-11 18:42:47',NULL),(6814,8673,6816,5646,NULL,0,NULL,'2023-05-12 20:04:36','2023-05-12 20:04:36',NULL),(6815,8673,6817,5647,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6816,8673,6818,5648,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6817,8673,6819,5649,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6818,8673,6820,5650,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6819,8673,6821,5651,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6820,8673,6822,5652,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6821,8673,6823,5653,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6822,8673,6824,5654,NULL,0,NULL,'2023-05-12 20:04:37','2023-05-12 20:04:37',NULL),(6823,8673,6825,5655,NULL,0,NULL,'2023-05-12 20:11:15','2023-05-12 20:11:15',NULL),(6824,8673,6826,5656,NULL,0,NULL,'2023-05-12 20:12:16','2023-05-12 20:12:16',NULL),(6825,8673,6827,5657,NULL,0,NULL,'2023-05-12 20:14:17','2023-05-12 20:14:17',NULL),(6826,8673,6828,5658,NULL,0,NULL,'2023-05-12 20:15:23','2023-05-12 20:15:23',NULL),(6827,8673,6829,5659,NULL,0,NULL,'2023-05-12 20:17:38','2023-05-12 20:17:38',NULL),(6828,8673,6830,5660,NULL,0,NULL,'2023-05-12 20:18:38','2023-05-12 20:18:38',NULL),(6829,8673,6831,5661,NULL,0,NULL,'2023-05-12 20:19:57','2023-05-12 20:19:57',NULL),(6830,8673,6832,5662,NULL,0,NULL,'2023-05-12 20:21:48','2023-05-12 20:21:48',NULL),(6831,8673,6833,5663,NULL,0,NULL,'2023-05-12 20:22:26','2023-05-12 20:22:26',NULL),(6832,8673,6834,5664,NULL,0,NULL,'2023-05-12 20:24:05','2023-05-12 20:24:05',NULL),(6833,8673,6835,5665,NULL,0,NULL,'2023-05-12 20:25:41','2023-05-12 20:25:41',NULL),(6834,8673,6836,5666,NULL,0,NULL,'2023-05-12 20:26:42','2023-05-12 20:26:42',NULL),(6835,8673,6837,5667,NULL,0,NULL,'2023-05-12 20:27:46','2023-05-12 23:47:59','2023-05-12 23:47:59'),(6836,8673,6838,5668,NULL,0,NULL,'2023-05-12 20:28:58','2023-05-12 23:46:15','2023-05-12 23:46:15'),(6837,8673,6839,5669,NULL,0,NULL,'2023-05-12 20:29:45','2023-05-12 20:29:45',NULL),(6838,8673,6840,5670,NULL,0,NULL,'2023-05-12 20:30:55','2023-05-12 20:30:55',NULL),(6839,8673,6841,5671,NULL,0,NULL,'2023-05-12 20:33:22','2023-05-12 20:33:22',NULL),(6840,8673,6842,5672,NULL,0,NULL,'2023-05-12 20:34:30','2023-05-12 20:34:30',NULL),(6841,8673,6843,5673,NULL,0,NULL,'2023-05-12 20:35:00','2023-05-12 23:47:08','2023-05-12 23:47:08'),(6842,8673,6844,5674,NULL,0,NULL,'2023-05-12 23:11:14','2023-05-12 23:11:14',NULL),(6843,8673,6845,5675,NULL,0,NULL,'2023-05-12 23:12:46','2023-05-12 23:46:51','2023-05-12 23:46:51'),(6844,8673,6846,5676,NULL,0,NULL,'2023-05-12 23:14:35','2023-05-12 23:14:35',NULL),(6845,8673,6847,5677,NULL,0,NULL,'2023-05-12 23:15:22','2023-05-12 23:15:22',NULL),(6846,8673,6848,5678,NULL,0,NULL,'2023-05-12 23:16:34','2023-05-12 23:16:34',NULL),(6847,8673,6849,5679,NULL,0,NULL,'2023-05-12 23:17:45','2023-05-12 23:17:45',NULL),(6848,8673,6850,5680,NULL,0,NULL,'2023-05-12 23:19:28','2023-05-12 23:48:59','2023-05-12 23:48:59'),(6849,8673,6851,5681,NULL,0,NULL,'2023-05-12 23:19:56','2023-05-12 23:19:56',NULL),(6850,8673,6852,5682,NULL,0,NULL,'2023-05-12 23:20:55','2023-05-12 23:20:55',NULL),(6851,8673,6853,5683,NULL,0,NULL,'2023-05-12 23:21:22','2023-05-12 23:21:22',NULL),(6852,8673,6854,5684,NULL,0,NULL,'2023-05-12 23:22:28','2023-05-12 23:22:28',NULL),(6853,8673,6855,5685,NULL,0,NULL,'2023-05-12 23:23:01','2023-05-12 23:23:01',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6854,8673,6856,5668,NULL,0,NULL,'2023-05-12 23:46:15','2023-05-15 21:19:03','2023-05-15 21:19:03'),(6855,8673,6857,5675,NULL,0,NULL,'2023-05-12 23:46:51','2023-05-12 23:46:51',NULL),(6856,8673,6858,5673,NULL,0,NULL,'2023-05-12 23:47:08','2023-05-12 23:47:08',NULL),(6857,8673,6859,5667,NULL,0,NULL,'2023-05-12 23:47:59','2023-05-12 23:47:59',NULL),(6858,8673,6860,5680,NULL,0,NULL,'2023-05-12 23:48:59','2023-05-12 23:48:59',NULL),(6859,8673,6861,5686,NULL,0,NULL,'2023-05-12 23:53:37','2023-05-15 21:12:50','2023-05-15 21:12:50'),(6860,8673,6862,5687,NULL,0,NULL,'2023-05-12 23:53:37','2023-05-12 23:53:37',NULL),(6861,8673,6863,5688,NULL,0,NULL,'2023-05-12 23:53:37','2023-05-15 21:13:14','2023-05-15 21:13:14'),(6862,8673,6864,5689,NULL,0,NULL,'2023-05-12 23:53:37','2023-05-12 23:53:37',NULL),(6863,8673,6865,5690,NULL,0,NULL,'2023-05-12 23:53:38','2023-05-15 21:16:12','2023-05-15 21:16:12'),(6864,8673,6866,5691,NULL,0,NULL,'2023-05-12 23:53:38','2023-05-15 21:12:30','2023-05-15 21:12:30'),(6865,8673,6867,5692,NULL,0,NULL,'2023-05-13 00:31:30','2023-05-15 20:39:38','2023-05-15 20:39:38'),(6866,8673,6868,5693,NULL,0,NULL,'2023-05-13 00:32:36','2023-05-15 20:48:08','2023-05-15 20:48:08'),(6867,8673,6869,5694,NULL,0,NULL,'2023-05-13 00:41:21','2023-05-13 00:41:21',NULL),(6868,8673,6870,5695,NULL,0,NULL,'2023-05-13 00:42:03','2023-05-13 00:42:03',NULL),(6869,8673,6871,5696,NULL,0,NULL,'2023-05-13 00:42:25','2023-05-13 00:42:25',NULL),(6870,8673,6872,5697,NULL,0,NULL,'2023-05-13 00:43:06','2023-05-13 00:43:06',NULL),(6871,8673,6873,5698,NULL,0,NULL,'2023-05-13 00:43:42','2023-05-13 00:43:42',NULL),(6872,8673,6874,5699,NULL,0,NULL,'2023-05-13 00:44:09','2023-05-15 20:48:29','2023-05-15 20:48:29'),(6873,8673,6875,5700,NULL,0,NULL,'2023-05-13 00:44:57','2023-05-13 00:44:57',NULL),(6874,8673,6876,5701,NULL,0,NULL,'2023-05-13 00:46:45','2023-05-13 00:46:45',NULL),(6875,8673,6877,5702,NULL,0,NULL,'2023-05-13 00:47:14','2023-05-13 00:47:14',NULL),(6876,8673,6878,5703,NULL,0,NULL,'2023-05-13 00:47:47','2023-05-13 00:47:47',NULL),(6877,8673,6879,5704,NULL,0,NULL,'2023-05-13 00:48:11','2023-05-13 00:48:11',NULL),(6878,8673,6880,5705,NULL,0,NULL,'2023-05-13 00:48:46','2023-05-13 00:48:46',NULL),(6879,8673,6881,5706,NULL,0,NULL,'2023-05-13 00:49:06','2023-05-13 00:49:06',NULL),(6880,8673,6882,5707,NULL,0,NULL,'2023-05-13 00:49:24','2023-05-13 00:49:24',NULL),(6881,8673,6883,5708,NULL,0,NULL,'2023-05-13 00:50:09','2023-05-13 00:50:09',NULL),(6882,8673,6884,5709,NULL,0,NULL,'2023-05-13 00:50:31','2023-05-13 00:50:31',NULL),(6883,8673,6885,5710,NULL,0,NULL,'2023-05-13 00:52:10','2023-05-13 00:52:10',NULL),(6884,8673,6886,5711,NULL,0,NULL,'2023-05-13 00:53:40','2023-05-13 00:53:40',NULL),(6885,8673,6887,5712,NULL,0,NULL,'2023-05-13 00:54:36','2023-05-13 00:54:36',NULL),(6886,8673,6888,5713,NULL,0,NULL,'2023-05-13 00:56:10','2023-05-13 00:56:10',NULL),(6887,8673,6889,5714,NULL,0,NULL,'2023-05-13 00:57:23','2023-05-13 00:57:23',NULL),(6888,8673,6890,5715,NULL,0,NULL,'2023-05-13 00:58:43','2023-05-13 01:23:26','2023-05-13 01:23:26'),(6889,8673,6891,5716,NULL,0,NULL,'2023-05-13 01:01:43','2023-05-13 01:24:25','2023-05-13 01:24:25'),(6890,8673,6892,5717,NULL,0,NULL,'2023-05-13 01:03:52','2023-05-13 01:03:52',NULL),(6891,8673,6893,5718,NULL,0,NULL,'2023-05-13 01:05:32','2023-05-13 01:05:32',NULL),(6892,8673,6894,5719,NULL,0,NULL,'2023-05-13 01:06:29','2023-05-13 01:06:29',NULL),(6893,8673,6895,5720,NULL,0,NULL,'2023-05-13 01:07:38','2023-05-13 01:23:50','2023-05-13 01:23:50'),(6894,8673,6896,5721,NULL,0,NULL,'2023-05-13 01:08:42','2023-05-13 01:08:42',NULL),(6895,8673,6897,5722,NULL,0,NULL,'2023-05-13 01:09:47','2023-05-13 01:09:47',NULL),(6896,8673,6898,5723,NULL,0,NULL,'2023-05-13 01:11:01','2023-05-13 01:11:01',NULL),(6897,8673,6899,5724,NULL,0,NULL,'2023-05-13 01:11:45','2023-05-13 01:11:45',NULL),(6898,8673,6900,5725,NULL,0,NULL,'2023-05-13 01:12:47','2023-05-13 01:12:47',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6899,8673,6901,5726,NULL,0,NULL,'2023-05-13 01:13:37','2023-05-13 01:13:37',NULL),(6900,8673,6902,5727,NULL,0,NULL,'2023-05-13 01:14:43','2023-05-13 01:14:43',NULL),(6901,8673,6903,5728,NULL,0,NULL,'2023-05-13 01:15:44','2023-05-15 20:45:01','2023-05-15 20:45:01'),(6902,8673,6904,5729,NULL,0,NULL,'2023-05-13 01:16:25','2023-05-13 01:16:25',NULL),(6903,8673,6905,5730,NULL,0,NULL,'2023-05-13 01:16:50','2023-05-13 01:26:23','2023-05-13 01:26:23'),(6904,8673,6906,5731,NULL,0,NULL,'2023-05-13 01:17:55','2023-05-13 01:17:55',NULL),(6905,8673,6907,5732,NULL,0,NULL,'2023-05-13 01:18:55','2023-05-13 01:18:55',NULL),(6906,8673,6908,5733,NULL,0,NULL,'2023-05-13 01:19:33','2023-05-13 01:19:33',NULL),(6907,8673,6909,5715,NULL,0,NULL,'2023-05-13 01:23:26','2023-05-13 01:31:55','2023-05-13 01:31:55'),(6908,8673,6910,5720,NULL,0,NULL,'2023-05-13 01:23:50','2023-05-13 01:27:54','2023-05-13 01:27:54'),(6909,8673,6911,5716,NULL,0,NULL,'2023-05-13 01:24:25','2023-05-13 01:28:13','2023-05-13 01:28:13'),(6910,8673,6912,5730,NULL,0,NULL,'2023-05-13 01:26:23','2023-05-13 01:27:26','2023-05-13 01:27:26'),(6911,8673,6913,5730,NULL,0,NULL,'2023-05-13 01:27:26','2023-05-13 01:27:26',NULL),(6912,8673,6914,5720,NULL,0,NULL,'2023-05-13 01:27:54','2023-05-15 21:18:01','2023-05-15 21:18:01'),(6913,8673,6915,5716,NULL,0,NULL,'2023-05-13 01:28:13','2023-05-15 21:18:24','2023-05-15 21:18:24'),(6914,8673,6916,5715,NULL,0,NULL,'2023-05-13 01:31:55','2023-05-15 21:18:43','2023-05-15 21:18:43'),(6915,8673,6917,5692,NULL,0,NULL,'2023-05-15 20:39:38','2023-05-15 20:39:38',NULL),(6916,8673,6918,5728,NULL,0,NULL,'2023-05-15 20:45:01','2023-05-15 20:45:01',NULL),(6917,8673,6919,5693,NULL,0,NULL,'2023-05-15 20:48:08','2023-05-15 20:48:08',NULL),(6918,8673,6920,5699,NULL,0,NULL,'2023-05-15 20:48:29','2023-05-15 20:48:29',NULL),(6919,8673,6921,5691,NULL,0,NULL,'2023-05-15 21:12:30','2023-05-15 21:12:30',NULL),(6920,8673,6922,5686,NULL,0,NULL,'2023-05-15 21:12:50','2023-05-15 21:12:50',NULL),(6921,8673,6923,5688,NULL,0,NULL,'2023-05-15 21:13:14','2023-05-15 21:13:14',NULL),(6922,8673,6924,5690,NULL,0,NULL,'2023-05-15 21:16:12','2023-05-15 21:16:12',NULL),(6923,8673,6925,5720,NULL,0,NULL,'2023-05-15 21:18:01','2023-05-15 21:18:01',NULL),(6924,8673,6926,5716,NULL,0,NULL,'2023-05-15 21:18:24','2023-05-15 21:18:24',NULL),(6925,8673,6927,5715,NULL,0,NULL,'2023-05-15 21:18:43','2023-05-15 21:18:43',NULL),(6926,8673,6928,5668,NULL,0,NULL,'2023-05-15 21:19:03','2023-05-15 21:19:03',NULL),(6927,8673,6929,5734,NULL,0,NULL,'2023-05-15 21:57:18','2023-05-15 21:57:18',NULL),(6928,8673,6930,5735,NULL,0,NULL,'2023-05-15 22:01:02','2023-05-15 22:01:02',NULL),(6929,8673,6931,5736,NULL,0,NULL,'2023-05-15 22:02:11','2023-05-15 22:02:11',NULL),(6930,8673,6932,5737,NULL,0,NULL,'2023-05-15 22:03:20','2023-05-15 22:03:20',NULL),(6931,8673,6933,5738,NULL,0,NULL,'2023-05-15 22:04:14','2023-05-15 22:04:14',NULL),(6932,8673,6934,5739,NULL,0,NULL,'2023-05-15 22:05:30','2023-05-15 22:05:30',NULL),(6933,8673,6935,5740,NULL,0,NULL,'2023-05-15 22:07:11','2023-05-15 22:07:11',NULL),(6934,8673,6936,5741,NULL,0,NULL,'2023-05-15 23:00:27','2023-05-15 23:00:27',NULL),(6935,8673,6937,5742,NULL,0,NULL,'2023-05-15 23:00:27','2023-05-15 23:00:27',NULL),(6936,8673,6938,5743,NULL,0,NULL,'2023-05-15 23:00:27','2023-05-15 23:00:27',NULL),(6937,8673,6939,5744,NULL,0,NULL,'2023-05-15 23:00:27','2023-05-15 23:00:27',NULL),(6938,8673,6940,5745,NULL,0,NULL,'2023-05-15 23:09:10','2023-05-15 23:09:10',NULL),(6939,8673,6941,5746,NULL,0,NULL,'2023-05-15 23:09:10','2023-05-15 23:09:10',NULL),(6940,8673,6942,5747,NULL,0,NULL,'2023-05-15 23:09:10','2023-05-15 23:09:10',NULL),(6941,8673,6943,5748,NULL,0,NULL,'2023-05-15 23:09:10','2023-05-15 23:09:10',NULL),(6942,8673,6944,5749,NULL,0,NULL,'2023-05-15 23:09:10','2023-05-15 23:09:10',NULL),(6943,8673,6945,5750,NULL,0,NULL,'2023-05-15 23:09:10','2023-05-15 23:09:10',NULL),(6944,8673,6946,5751,NULL,0,NULL,'2023-05-15 23:20:30','2023-05-15 23:20:30',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6945,8673,6947,5752,NULL,0,NULL,'2023-05-15 23:20:30','2023-05-15 23:20:30',NULL),(6946,8673,6948,5753,NULL,0,NULL,'2023-05-15 23:20:30','2023-05-15 23:20:30',NULL),(6947,8673,6949,5754,NULL,0,NULL,'2023-05-15 23:20:30','2023-05-15 23:20:30',NULL),(6948,8673,6950,5755,NULL,0,NULL,'2023-05-15 23:23:19','2023-05-15 23:23:19',NULL),(6949,8673,6951,5756,NULL,0,NULL,'2023-05-15 23:23:19','2023-05-15 23:23:19',NULL),(6950,8673,6952,5757,NULL,0,NULL,'2023-05-15 23:23:19','2023-05-15 23:23:19',NULL),(6951,8673,6953,5758,NULL,0,NULL,'2023-05-15 23:49:51','2023-05-15 23:49:51',NULL),(6952,8673,6954,5759,NULL,0,NULL,'2023-05-16 00:01:31','2023-05-16 00:01:31',NULL),(6953,8673,6955,5760,NULL,0,NULL,'2023-05-16 00:02:30','2023-05-16 00:02:30',NULL),(6954,8673,6956,5761,NULL,0,NULL,'2023-05-16 00:03:29','2023-05-16 00:03:29',NULL),(6955,8673,6957,5762,NULL,0,NULL,'2023-05-16 00:04:47','2023-05-16 00:04:47',NULL),(6956,8673,6958,5763,NULL,0,NULL,'2023-05-16 00:05:41','2023-05-16 00:05:41',NULL),(6957,8673,6959,5764,NULL,0,NULL,'2023-05-16 00:06:33','2023-05-16 00:06:33',NULL),(6958,8673,6960,5765,NULL,0,NULL,'2023-05-16 00:08:08','2023-05-16 00:08:08',NULL),(6959,8673,6961,5766,NULL,0,NULL,'2023-05-16 00:11:24','2023-05-16 00:11:24',NULL),(6960,8673,6962,5767,NULL,0,NULL,'2023-05-16 00:12:19','2023-05-16 00:12:19',NULL),(6961,8673,6963,5768,NULL,0,NULL,'2023-05-16 00:14:10','2023-05-16 00:14:10',NULL),(6962,8673,6964,5769,NULL,0,NULL,'2023-05-16 00:15:03','2023-05-16 00:15:03',NULL),(6963,8673,6965,5770,NULL,0,NULL,'2023-05-16 00:18:36','2023-05-16 00:18:36',NULL),(6964,8673,6966,5771,NULL,0,NULL,'2023-05-16 00:20:31','2023-05-16 00:20:31',NULL),(6965,8673,6967,5772,NULL,0,NULL,'2023-05-16 00:21:56','2023-05-16 00:21:56',NULL),(6966,8673,6968,5773,NULL,0,NULL,'2023-05-16 00:34:34','2023-05-16 00:34:34',NULL),(6967,8673,6969,5774,NULL,0,NULL,'2023-05-16 00:34:34','2023-05-16 00:34:34',NULL),(6968,8673,6970,5775,NULL,0,NULL,'2023-05-16 00:35:12','2023-05-16 00:35:12',NULL),(6969,8673,6971,5776,NULL,0,NULL,'2023-05-16 00:35:12','2023-05-16 00:35:12',NULL),(6970,8673,6972,5777,NULL,0,NULL,'2023-05-16 00:35:12','2023-05-16 00:35:12',NULL),(6971,8673,6973,5778,NULL,0,NULL,'2023-05-16 00:35:12','2023-05-16 00:35:12',NULL),(6972,8673,6974,5779,NULL,0,NULL,'2023-05-16 00:36:46','2023-05-16 00:36:46',NULL),(6973,8673,6975,5780,NULL,0,NULL,'2023-05-16 00:37:47','2023-05-16 00:37:47',NULL),(6974,8673,6976,5781,NULL,0,NULL,'2023-05-16 00:41:41','2023-05-16 00:41:41',NULL),(6975,8673,6977,5634,NULL,0,NULL,'2023-05-16 01:01:48','2023-05-16 01:01:48',NULL),(6976,8673,6978,5633,NULL,0,NULL,'2023-05-16 01:02:43','2023-05-16 01:02:43',NULL),(6977,8673,6979,5632,NULL,0,NULL,'2023-05-16 01:03:47','2023-05-16 01:03:47',NULL),(6978,8673,6980,5631,NULL,0,NULL,'2023-05-16 01:04:13','2023-05-16 01:05:18','2023-05-16 01:05:18'),(6979,8673,6981,5631,NULL,0,NULL,'2023-05-16 01:05:18','2023-05-16 01:05:18',NULL),(6980,8673,6982,5630,NULL,0,NULL,'2023-05-16 01:06:10','2023-05-16 01:06:10',NULL),(6981,8673,6983,5629,NULL,0,NULL,'2023-05-16 01:06:46','2023-05-16 01:06:46',NULL),(6982,8673,6984,5628,NULL,0,NULL,'2023-05-16 01:07:57','2023-05-16 01:07:57',NULL),(6983,8673,6985,5626,NULL,0,NULL,'2023-05-16 01:18:14','2023-05-16 01:18:14',NULL),(6984,8673,6986,5623,NULL,0,NULL,'2023-05-16 01:19:54','2023-05-16 01:19:54',NULL),(6985,8673,6987,5620,NULL,0,NULL,'2023-05-16 01:21:47','2023-05-16 01:21:47',NULL),(6986,8673,6988,5619,NULL,0,NULL,'2023-05-16 01:22:24','2023-05-16 01:22:24',NULL),(6987,8673,6989,5616,NULL,0,NULL,'2023-05-16 01:23:15','2023-05-16 01:23:15',NULL),(6988,8673,6990,5618,NULL,0,NULL,'2023-05-16 01:24:05','2023-05-16 01:24:05',NULL),(6989,8673,6991,5614,NULL,0,NULL,'2023-05-16 01:25:24','2023-05-16 01:25:24',NULL),(6990,8673,6992,5613,NULL,0,NULL,'2023-05-16 01:26:50','2023-05-16 01:26:50',NULL),(6991,8673,6993,5612,NULL,0,NULL,'2023-05-16 01:27:38','2023-05-16 01:27:38',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (6992,8673,6994,5611,NULL,0,NULL,'2023-05-16 01:28:34','2023-05-16 01:28:34',NULL),(6993,8673,6995,5610,NULL,0,NULL,'2023-05-16 01:29:26','2023-05-16 01:29:26',NULL),(6994,8673,6996,5609,NULL,0,NULL,'2023-05-16 01:30:12','2023-05-16 01:30:12',NULL),(6995,8673,6997,5608,NULL,0,NULL,'2023-05-16 01:31:01','2023-05-16 01:31:01',NULL),(6996,8673,6998,5605,NULL,0,NULL,'2023-05-16 01:32:29','2023-05-16 01:32:29',NULL),(6997,8673,6999,5604,NULL,0,NULL,'2023-05-16 01:33:32','2023-05-16 01:33:32',NULL),(6998,8673,7000,5603,NULL,0,NULL,'2023-05-16 01:34:20','2023-05-16 01:34:20',NULL),(6999,8673,7001,5602,NULL,0,NULL,'2023-05-16 01:35:06','2023-05-16 01:35:06',NULL),(7000,8673,7002,5600,NULL,0,NULL,'2023-05-16 01:35:45','2023-05-16 01:35:45',NULL),(7001,8673,7003,5596,NULL,0,NULL,'2023-05-16 01:37:40','2023-05-16 01:37:40',NULL),(7002,8673,7004,5782,NULL,0,NULL,'2023-05-16 01:40:24','2023-05-16 01:40:24',NULL),(7003,8673,7005,5783,NULL,0,NULL,'2023-05-16 01:41:08','2023-05-16 01:41:08',NULL),(7004,8673,7006,5784,NULL,0,NULL,'2023-05-16 01:42:12','2023-05-16 01:43:57','2023-05-16 01:43:57'),(7005,8673,7007,5785,NULL,0,NULL,'2023-05-16 01:43:22','2023-05-16 01:43:22',NULL),(7006,8673,7008,5784,NULL,0,NULL,'2023-05-16 01:43:57','2023-05-16 01:43:57',NULL),(7007,8673,7009,2181,NULL,0,NULL,'2023-05-16 01:48:26','2023-05-16 01:48:26',NULL),(7008,8673,7010,5786,NULL,0,NULL,'2023-05-16 01:49:44','2023-05-16 01:49:44',NULL),(7012,8673,7014,1919,NULL,0,NULL,'2023-05-16 02:34:27','2023-05-16 02:34:27',NULL),(7013,8673,7015,1903,NULL,0,NULL,'2023-05-16 02:36:13','2023-05-16 02:36:13',NULL),(7014,8673,7016,5790,NULL,0,NULL,'2023-05-16 02:37:07','2023-05-16 02:37:07',NULL),(7015,8673,7017,5791,NULL,0,NULL,'2023-05-16 02:37:07','2023-05-16 02:37:07',NULL),(7016,8673,7018,5792,NULL,0,NULL,'2023-05-16 02:37:07','2023-05-16 02:37:07',NULL),(7017,8673,7019,5793,NULL,0,NULL,'2023-05-16 21:26:59','2023-05-16 21:26:59',NULL),(7018,8673,7020,5794,NULL,0,NULL,'2023-05-16 21:27:59','2023-05-16 21:27:59',NULL),(7019,8673,7021,5795,NULL,0,NULL,'2023-05-16 21:28:52','2023-05-16 21:28:52',NULL),(7020,8673,7022,5796,NULL,0,NULL,'2023-05-16 21:30:16','2023-05-16 21:30:16',NULL),(7021,8673,7023,5797,NULL,0,NULL,'2023-05-17 21:34:29','2023-05-17 21:34:29',NULL),(7022,8673,7024,5798,NULL,0,NULL,'2023-05-17 21:35:08','2023-05-17 21:35:08',NULL),(7023,8673,7025,5799,NULL,0,NULL,'2023-05-17 21:36:02','2023-05-17 21:36:02',NULL),(7024,8673,7026,5800,NULL,0,NULL,'2023-05-17 21:36:45','2023-05-17 21:36:45',NULL),(7025,8673,7027,5801,NULL,0,NULL,'2023-05-17 21:37:38','2023-05-17 21:37:38',NULL),(7026,8673,7028,5802,NULL,0,NULL,'2023-05-17 21:39:10','2023-05-17 21:39:10',NULL),(7029,8673,7031,5805,NULL,0,NULL,'2023-05-17 23:11:00','2023-05-17 23:11:00',NULL),(7030,8673,7032,5806,NULL,0,NULL,'2023-05-17 23:11:00','2023-05-17 23:11:00',NULL),(7031,8673,7033,5807,NULL,0,NULL,'2023-05-17 23:11:00','2023-05-17 23:16:16','2023-05-17 23:16:16'),(7032,8673,7034,5808,NULL,0,NULL,'2023-05-17 23:11:00','2023-05-17 23:11:00',NULL),(7033,8673,7035,5809,NULL,0,NULL,'2023-05-17 23:11:00','2023-05-17 23:18:46','2023-05-17 23:18:46'),(7034,8673,7036,5807,NULL,0,NULL,'2023-05-17 23:16:16','2023-05-17 23:16:16',NULL),(7035,8673,7037,5809,NULL,0,NULL,'2023-05-17 23:18:46','2023-05-17 23:18:46',NULL),(7036,8673,7038,5810,NULL,0,NULL,'2023-05-18 00:12:09','2023-05-18 00:12:09',NULL),(7037,8673,7039,5811,NULL,0,NULL,'2023-05-18 00:13:17','2023-05-18 00:13:17',NULL),(7038,8673,7040,5812,NULL,0,NULL,'2023-05-18 00:14:06','2023-05-18 00:14:06',NULL),(7039,8673,7041,5813,NULL,0,NULL,'2023-05-18 00:14:59','2023-05-18 00:14:59',NULL),(7040,8673,7042,5814,NULL,0,NULL,'2023-05-18 00:19:55','2023-05-18 00:19:55',NULL),(7041,8673,7043,5815,NULL,0,NULL,'2023-05-18 00:22:27','2023-05-18 00:22:27',NULL),(7042,8673,7044,5816,NULL,0,NULL,'2023-05-18 00:23:00','2023-05-18 00:23:00',NULL),(7043,8673,7045,5817,NULL,0,NULL,'2023-05-18 01:46:00','2023-05-18 01:46:00',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (7044,8673,7046,5818,NULL,0,NULL,'2023-05-18 01:46:00','2023-05-18 01:46:00',NULL),(7045,8673,7047,5819,NULL,0,NULL,'2023-05-18 01:46:00','2023-05-18 01:46:00',NULL),(7046,8673,7048,5820,NULL,0,NULL,'2023-05-18 01:46:00','2023-05-18 01:46:00',NULL),(7047,8673,7049,5821,NULL,0,NULL,'2023-05-18 01:46:00','2023-05-18 01:46:00',NULL),(7048,8673,7050,5822,NULL,0,NULL,'2023-05-18 01:51:48','2023-05-18 01:51:48',NULL),(7049,8673,7051,5823,NULL,0,NULL,'2023-05-18 01:53:48','2023-05-18 01:53:48',NULL),(7050,8673,7052,5824,NULL,0,NULL,'2023-05-18 01:55:14','2023-05-18 01:55:14',NULL),(7051,8673,7053,5825,NULL,0,NULL,'2023-05-18 01:56:42','2023-05-18 01:56:42',NULL),(7052,8673,7054,5826,NULL,0,NULL,'2023-05-18 01:59:04','2023-05-18 01:59:04',NULL),(7053,8673,7055,5827,NULL,0,NULL,'2023-05-18 01:59:44','2023-05-18 01:59:44',NULL),(7059,8673,7061,5833,NULL,0,NULL,'2023-05-18 02:31:35','2023-05-18 02:31:35',NULL),(7060,8673,7062,5834,NULL,0,NULL,'2023-05-18 02:31:35','2023-05-18 02:31:35',NULL),(7061,8673,7063,5835,NULL,0,NULL,'2023-05-18 02:31:35','2023-05-18 02:31:35',NULL),(7062,8673,7064,5836,NULL,0,NULL,'2023-05-18 02:31:35','2023-05-18 09:32:08','2023-05-18 09:32:08'),(7063,8673,7065,5837,NULL,0,NULL,'2023-05-18 02:31:35','2023-05-18 02:31:35',NULL),(7064,8673,7066,5838,NULL,0,NULL,'2023-05-18 02:31:35','2023-05-18 02:31:35',NULL),(7065,8673,7067,5839,NULL,0,NULL,'2023-05-18 09:23:13','2023-05-18 09:23:13',NULL),(7066,8673,7068,5840,NULL,0,NULL,'2023-05-18 09:23:49','2023-05-18 09:23:49',NULL),(7067,8673,7069,5841,NULL,0,NULL,'2023-05-18 09:24:29','2023-05-18 09:24:29',NULL),(7068,8673,7070,5842,NULL,0,NULL,'2023-05-18 09:24:58','2023-05-18 09:24:58',NULL),(7069,8673,7071,5843,NULL,0,NULL,'2023-05-18 09:25:19','2023-05-18 09:25:19',NULL),(7070,8673,7072,5844,NULL,0,NULL,'2023-05-18 09:26:05','2023-05-18 09:26:05',NULL),(7071,8673,7073,5845,NULL,0,NULL,'2023-05-18 09:26:51','2023-05-18 09:26:51',NULL),(7072,8673,7074,5846,NULL,0,NULL,'2023-05-18 09:27:23','2023-05-18 09:27:23',NULL),(7073,8673,7075,5847,NULL,0,NULL,'2023-05-18 09:27:57','2023-05-18 09:27:57',NULL),(7074,8673,7076,5848,NULL,0,NULL,'2023-05-18 09:28:26','2023-05-18 09:28:26',NULL),(7075,8673,7077,5849,NULL,0,NULL,'2023-05-18 09:29:07','2023-05-18 09:29:07',NULL),(7076,8673,7078,5850,NULL,0,NULL,'2023-05-18 09:31:26','2023-05-18 09:31:26',NULL),(7077,8673,7079,5836,NULL,0,NULL,'2023-05-18 09:32:08','2023-05-18 09:32:08',NULL),(7078,8673,7080,5851,NULL,0,NULL,'2023-05-18 09:40:07','2023-05-18 09:40:07',NULL),(7079,8673,7081,5852,NULL,0,NULL,'2023-05-18 09:40:49','2023-05-18 09:40:49',NULL),(7080,8673,7082,5853,NULL,0,NULL,'2023-05-18 09:41:22','2023-05-18 09:41:22',NULL),(7081,8673,7083,5854,NULL,0,NULL,'2023-05-18 09:42:05','2023-05-18 09:42:05',NULL),(7082,8673,7084,5855,NULL,0,NULL,'2023-05-18 09:42:46','2023-05-18 09:42:46',NULL),(7083,8673,7085,5856,NULL,0,NULL,'2023-05-18 09:43:29','2023-05-18 09:43:29',NULL),(7084,8673,7086,5857,NULL,0,NULL,'2023-05-18 09:44:09','2023-05-18 09:44:09',NULL),(7085,8673,7087,5858,NULL,0,NULL,'2023-05-18 09:44:41','2023-05-18 09:44:41',NULL),(7086,8673,7088,5859,NULL,0,NULL,'2023-05-18 09:45:24','2023-05-18 09:45:24',NULL),(7087,8673,7089,5860,NULL,0,NULL,'2023-05-18 09:46:20','2023-05-18 09:46:20',NULL),(7088,8673,7090,5861,NULL,0,NULL,'2023-05-18 09:46:48','2023-05-18 09:46:48',NULL),(7089,8673,7091,5862,NULL,0,NULL,'2023-05-18 09:47:45','2023-05-18 09:47:45',NULL),(7090,8673,7092,5863,NULL,0,NULL,'2023-05-18 09:48:33','2023-05-18 09:48:33',NULL),(7091,8673,7093,5864,NULL,0,NULL,'2023-05-18 09:51:04','2023-05-18 09:51:04',NULL),(7092,8673,7094,5865,NULL,0,NULL,'2023-05-18 09:52:07','2023-05-18 09:52:07',NULL),(7093,8673,7095,5866,NULL,0,NULL,'2023-05-18 09:52:53','2023-05-18 09:52:53',NULL),(7094,8673,7096,2080,NULL,0,NULL,'2023-05-18 09:56:20','2023-05-18 11:14:09','2023-05-18 11:14:09'),(7098,8673,7100,5870,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:21:05',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (7099,8673,7101,5871,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:21:05',NULL),(7100,8673,7102,5872,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:21:05',NULL),(7101,8673,7103,5873,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:22:30','2023-05-18 10:22:30'),(7102,8673,7104,5874,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:21:05',NULL),(7103,8673,7105,5875,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:21:05',NULL),(7104,8673,7106,5876,NULL,0,NULL,'2023-05-18 10:21:05','2023-05-18 10:23:25','2023-05-18 10:23:25'),(7105,8673,7107,5873,NULL,0,NULL,'2023-05-18 10:22:30','2023-05-18 10:22:30',NULL),(7106,8673,7108,5876,NULL,0,NULL,'2023-05-18 10:23:25','2023-05-18 10:23:25',NULL),(7107,8673,7109,2080,NULL,0,NULL,'2023-05-18 11:14:09','2023-05-18 11:14:09',NULL),(7125,8673,7127,5894,NULL,0,NULL,'2023-05-18 22:09:07','2023-05-18 22:09:07',NULL),(7126,8673,7128,5895,NULL,0,NULL,'2023-05-18 22:09:07','2023-05-18 22:09:07',NULL),(7127,8673,7129,5896,NULL,0,NULL,'2023-05-18 22:09:07','2023-05-18 22:20:34','2023-05-18 22:20:34'),(7128,8673,7130,5896,NULL,0,NULL,'2023-05-18 22:20:34','2023-05-18 22:20:34',NULL),(7129,8673,7131,5897,NULL,0,NULL,'2023-05-18 23:08:02','2023-05-18 23:08:02',NULL),(7130,8673,7132,5898,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:49:25',NULL),(7131,8673,7133,5899,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:59:35','2023-05-19 00:59:35'),(7132,8673,7134,5900,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:58:37','2023-05-19 00:58:37'),(7133,8673,7135,5901,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:57:10','2023-05-19 00:57:10'),(7134,8673,7136,5902,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:49:25',NULL),(7135,8673,7137,5903,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:55:52','2023-05-19 00:55:52'),(7136,8673,7138,5904,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:54:55','2023-05-19 00:54:55'),(7137,8673,7139,5905,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:53:47','2023-05-19 00:53:47'),(7138,8673,7140,5906,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:52:51','2023-05-19 00:52:51'),(7139,8673,7141,5907,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:51:58','2023-05-19 00:51:58'),(7140,8673,7142,5908,NULL,0,NULL,'2023-05-19 00:49:25','2023-05-19 00:51:21','2023-05-19 00:51:21'),(7141,8673,7143,5908,NULL,0,NULL,'2023-05-19 00:51:21','2023-05-19 00:51:21',NULL),(7142,8673,7144,5907,NULL,0,NULL,'2023-05-19 00:51:58','2023-05-19 00:51:58',NULL),(7143,8673,7145,5906,NULL,0,NULL,'2023-05-19 00:52:51','2023-05-19 00:52:51',NULL),(7144,8673,7146,5905,NULL,0,NULL,'2023-05-19 00:53:47','2023-05-19 00:53:47',NULL),(7145,8673,7147,5904,NULL,0,NULL,'2023-05-19 00:54:55','2023-05-19 00:54:55',NULL),(7146,8673,7148,5903,NULL,0,NULL,'2023-05-19 00:55:52','2023-05-19 00:55:52',NULL),(7147,8673,7149,5901,NULL,0,NULL,'2023-05-19 00:57:10','2023-05-19 00:57:10',NULL),(7148,8673,7150,5900,NULL,0,NULL,'2023-05-19 00:58:37','2023-05-19 00:58:37',NULL),(7149,8673,7151,5899,NULL,0,NULL,'2023-05-19 00:59:35','2023-05-19 00:59:35',NULL),(7150,8673,7152,5909,NULL,0,NULL,'2023-05-19 01:02:36','2023-05-19 01:02:36',NULL),(7151,8673,7153,5910,NULL,0,NULL,'2023-05-19 01:03:14','2023-05-19 01:03:14',NULL),(7155,8673,7157,5914,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:32:47',NULL),(7156,8673,7158,5915,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:32:47',NULL),(7157,8673,7159,5916,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:38:33','2023-05-19 01:38:33'),(7158,8673,7160,5917,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:32:47',NULL),(7159,8673,7161,5918,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:37:55','2023-05-19 01:37:55'),(7160,8673,7162,5919,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:32:47',NULL),(7161,8673,7163,5920,NULL,0,NULL,'2023-05-19 01:32:47','2023-05-19 01:32:47',NULL),(7162,8673,7164,5918,NULL,0,NULL,'2023-05-19 01:37:55','2023-05-19 01:37:55',NULL),(7163,8673,7165,5916,NULL,0,NULL,'2023-05-19 01:38:33','2023-05-19 01:38:33',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (7166,8673,7168,5923,NULL,0,NULL,'2023-05-19 02:05:05','2023-05-19 02:05:05',NULL),(7167,8673,7169,5924,NULL,0,NULL,'2023-05-19 02:05:05','2023-05-19 02:05:05',NULL),(7168,8673,7170,5925,NULL,0,NULL,'2023-05-19 02:05:05','2023-05-19 02:05:05',NULL),(7169,8673,7171,5926,NULL,0,NULL,'2023-05-19 02:05:06','2023-05-19 02:21:25','2023-05-19 02:21:25'),(7170,8673,7172,5927,NULL,0,NULL,'2023-05-19 02:05:06','2023-05-19 02:05:06',NULL),(7171,8673,7173,5928,NULL,0,NULL,'2023-05-19 02:05:06','2023-05-19 02:05:06',NULL),(7172,8673,7174,5929,NULL,0,NULL,'2023-05-19 02:05:06','2023-05-19 02:05:06',NULL),(7173,8673,7175,5930,NULL,0,NULL,'2023-05-19 02:05:06','2023-05-19 02:05:06',NULL),(7174,8673,7176,5926,NULL,0,NULL,'2023-05-19 02:21:25','2023-05-19 02:21:25',NULL),(7178,8673,7180,5934,NULL,0,NULL,'2023-05-19 02:35:28','2023-05-19 02:36:45','2023-05-19 02:36:45'),(7179,8673,7181,5935,NULL,0,NULL,'2023-05-19 02:35:28','2023-05-19 02:35:28',NULL),(7180,8673,7182,5936,NULL,0,NULL,'2023-05-19 02:35:28','2023-05-19 02:35:28',NULL),(7181,8673,7183,5937,NULL,0,NULL,'2023-05-19 02:35:28','2023-05-19 02:35:28',NULL),(7182,8673,7184,5938,NULL,0,NULL,'2023-05-19 02:35:28','2023-05-19 02:40:50','2023-05-19 02:40:50'),(7183,8673,7185,5934,NULL,0,NULL,'2023-05-19 02:36:45','2023-05-19 02:36:45',NULL),(7184,8673,7186,5938,NULL,0,NULL,'2023-05-19 02:40:50','2023-05-19 02:40:50',NULL),(7187,8673,7189,5941,NULL,0,NULL,'2023-05-19 02:48:48','2023-05-19 02:48:48',NULL),(7188,8673,7190,5942,NULL,0,NULL,'2023-05-19 02:48:48','2023-05-19 02:48:48',NULL),(7189,8673,7191,5943,NULL,0,NULL,'2023-05-19 02:48:48','2023-05-19 02:48:48',NULL),(7190,8673,7192,5579,NULL,0,NULL,'2023-05-19 02:56:19','2023-05-19 02:56:19',NULL),(7191,8673,7193,2175,NULL,0,NULL,'2023-05-19 09:11:12','2023-05-19 09:11:12',NULL),(7192,8673,7194,2176,NULL,0,NULL,'2023-05-19 09:12:07','2023-05-19 09:12:07',NULL),(7193,8673,7195,5944,NULL,0,NULL,'2023-05-24 22:59:01','2023-05-24 22:59:01',NULL),(7194,8673,7196,5945,NULL,0,NULL,'2023-05-24 23:03:23','2023-05-24 23:03:23',NULL),(7195,8673,7197,5946,NULL,0,NULL,'2023-05-24 23:07:00','2023-05-24 23:07:00',NULL),(7196,8673,7198,5947,NULL,0,NULL,'2023-05-24 23:09:30','2023-05-24 23:09:30',NULL),(7197,8673,7199,5948,NULL,0,NULL,'2023-05-24 23:13:15','2023-05-24 23:13:15',NULL),(7198,8673,7200,5949,NULL,0,NULL,'2023-05-24 23:15:55','2023-05-24 23:15:55',NULL),(7199,8673,7201,5950,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7200,8673,7202,5951,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7201,8673,7203,5952,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7202,8673,7204,5953,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7203,8673,7205,5954,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7204,8673,7206,5955,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7205,8673,7207,5956,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7206,8673,7208,5957,NULL,0,NULL,'2023-10-05 10:57:50','2023-10-05 10:57:50',NULL),(7207,8673,7209,5958,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7208,8673,7210,5959,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7209,8673,7211,5960,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7210,8673,7212,5961,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7211,8673,7213,5962,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7212,8673,7214,5963,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7213,8673,7215,5964,NULL,0,NULL,'2023-10-05 10:57:51','2023-10-05 10:57:51',NULL),(7214,8673,7216,5965,NULL,0,NULL,'2023-10-05 11:11:31','2023-10-05 11:11:31',NULL),(7215,8673,7217,5966,NULL,0,NULL,'2023-10-05 11:11:31','2023-10-05 11:11:31',NULL),(7216,8673,7218,5967,NULL,0,NULL,'2023-10-05 11:11:31','2023-10-05 11:11:31',NULL),(7217,8673,7219,5968,NULL,0,NULL,'2023-10-05 11:11:31','2023-10-05 11:11:31',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (7218,8673,7220,5969,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7219,8673,7221,5970,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7220,8673,7222,5971,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7221,8673,7223,5972,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7222,8673,7224,5973,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7223,8673,7225,5974,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7224,8673,7226,5975,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7225,8673,7227,5976,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7226,8673,7228,5977,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7227,8673,7229,5978,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7228,8673,7230,5979,NULL,0,NULL,'2023-10-05 11:11:32','2023-10-05 11:11:32',NULL),(7229,8673,7231,5980,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7230,8673,7232,5981,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7231,8673,7233,5982,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7232,8673,7234,5983,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7233,8673,7235,5984,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7234,8673,7236,5985,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7235,8673,7237,5986,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7236,8673,7238,5987,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7237,8673,7239,5988,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7238,8673,7240,5989,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7239,8673,7241,5990,NULL,0,NULL,'2023-10-05 11:11:54','2023-10-05 11:11:54',NULL),(7240,8673,7242,5991,NULL,0,NULL,'2023-10-05 11:11:55','2023-10-05 11:11:55',NULL),(7241,8673,7243,5992,NULL,0,NULL,'2023-10-05 11:11:55','2023-10-05 11:11:55',NULL),(7242,8673,7244,5993,NULL,0,NULL,'2023-10-05 11:12:11','2023-10-05 11:12:11',NULL),(7243,8673,7245,5994,NULL,0,NULL,'2023-10-05 11:12:11','2023-10-05 11:12:11',NULL),(7244,8673,7246,5995,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7245,8673,7247,5996,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7246,8673,7248,5997,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7247,8673,7249,5998,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7248,8673,7250,5999,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7249,8673,7251,6000,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7250,8673,7252,6001,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7251,8673,7253,6002,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7252,8673,7254,6003,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7253,8673,7255,6004,NULL,0,NULL,'2023-10-05 11:12:12','2023-10-05 11:12:12',NULL),(7254,8673,7256,6005,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7255,8673,7257,6006,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7256,8673,7258,6007,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7257,8673,7259,6008,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7258,8673,7260,6009,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7259,8673,7261,6010,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7260,8673,7262,6011,NULL,0,NULL,'2023-10-05 11:12:32','2023-10-05 11:12:32',NULL),(7261,8673,7263,6012,NULL,0,NULL,'2023-10-05 11:12:33','2023-10-05 11:12:33',NULL),(7262,8673,7264,6013,NULL,0,NULL,'2023-10-05 11:12:33','2023-10-05 11:12:33',NULL),(7263,8673,7265,6014,NULL,0,NULL,'2023-10-05 11:12:33','2023-10-05 11:12:33',NULL),(7264,8673,7266,6015,NULL,0,NULL,'2023-10-05 11:12:33','2023-10-05 11:12:33',NULL),(7265,8673,7267,6016,NULL,0,NULL,'2023-10-05 11:13:04','2023-10-05 11:13:04',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (7266,8673,7268,6017,NULL,0,NULL,'2023-10-05 11:13:04','2023-10-05 11:13:04',NULL),(7267,8673,7269,6018,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7268,8673,7270,6019,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7269,8673,7271,6020,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7270,8673,7272,6021,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7271,8673,7273,6022,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7272,8673,7274,6023,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7273,8673,7275,6024,NULL,0,NULL,'2023-10-05 11:13:05','2023-10-05 11:13:05',NULL),(7274,8673,7276,6025,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7275,8673,7277,6026,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7276,8673,7278,6027,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7277,8673,7279,6028,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7278,8673,7280,6029,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7279,8673,7281,6030,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7280,8673,7282,6031,NULL,0,NULL,'2023-10-05 11:13:32','2023-10-05 11:13:32',NULL),(7281,8673,7283,6032,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7282,8673,7284,6033,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7283,8673,7285,6034,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7284,8673,7286,6035,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7285,8673,7287,6036,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7286,8673,7288,6037,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7287,8673,7289,6038,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7288,8673,7290,6039,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7289,8673,7291,6040,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7290,8673,7292,6041,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7291,8673,7293,6042,NULL,0,NULL,'2023-10-05 11:13:57','2023-10-05 11:13:57',NULL),(7292,8673,7294,6043,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7293,8673,7295,6044,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7294,8673,7296,6045,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7295,8673,7297,6046,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7296,8673,7298,6047,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7297,8673,7299,6048,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7298,8673,7300,6049,NULL,0,NULL,'2023-10-05 11:13:58','2023-10-05 11:13:58',NULL),(7299,8673,7301,6050,NULL,0,NULL,'2023-10-05 11:15:37','2023-10-05 11:15:37',NULL),(7300,8673,7302,6051,NULL,0,NULL,'2023-10-05 11:15:37','2023-10-05 11:15:37',NULL),(7301,8673,7303,6052,NULL,0,NULL,'2023-10-05 11:15:37','2023-10-05 11:15:37',NULL),(7302,8673,7304,6053,NULL,0,NULL,'2023-10-05 11:15:37','2023-10-05 11:15:37',NULL),(7303,8673,7305,6054,NULL,0,NULL,'2023-10-05 11:15:37','2023-10-05 11:15:37',NULL),(7304,8673,7306,6055,NULL,0,NULL,'2023-10-05 11:15:38','2023-10-05 11:15:38',NULL),(7305,8673,7307,6056,NULL,0,NULL,'2023-10-05 11:15:38','2023-10-05 11:15:38',NULL),(7306,8673,7308,6057,NULL,0,NULL,'2023-10-05 11:15:38','2023-10-05 11:15:38',NULL),(7307,8673,7309,6058,NULL,0,NULL,'2023-10-05 11:15:38','2023-10-05 11:15:38',NULL),(7308,8673,7310,6059,NULL,0,NULL,'2023-10-05 11:15:38','2023-10-05 11:15:38',NULL),(7309,8673,7311,6060,NULL,0,NULL,'2023-10-05 11:15:38','2023-10-05 11:15:38',NULL),(7310,8673,7312,6061,NULL,0,NULL,'2023-10-05 11:20:16','2023-10-05 11:20:16',NULL),(7311,8673,7313,6062,NULL,0,NULL,'2023-10-05 11:20:16','2023-10-05 11:20:16',NULL),(7312,8673,7314,6063,NULL,0,NULL,'2023-10-05 11:20:16','2023-10-05 11:20:16',NULL),(7313,8673,7315,6064,NULL,0,NULL,'2023-10-05 11:20:16','2023-10-05 11:20:16',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (7314,8673,7316,6065,NULL,0,NULL,'2023-10-05 11:20:16','2023-10-05 11:20:16',NULL),(7315,8673,7317,6066,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7316,8673,7318,6067,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7317,8673,7319,6068,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7318,8673,7320,6069,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7319,8673,7321,6070,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7320,8673,7322,6071,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7321,8673,7323,6072,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7322,8673,7324,6073,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7323,8673,7325,6074,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL),(7324,8673,7326,6075,NULL,0,NULL,'2023-10-05 11:20:17','2023-10-05 11:20:17',NULL);

--
-- Table structure for table `cta_cte_tesoreria`
--

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_movement_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_movements (movimiento que originó este registro)',
  `bind_apibank_transfer_id` bigint(20) unsigned DEFAULT NULL COMMENT 'FK soft a bind_apibank_transfers (transferencia que originó este registro)',
  `bind_sync_status` enum('pending','synced','error') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Estado de sincronización: pending=pendiente, synced=sincronizado, error=error al sincronizar',
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `ticket_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `cta_cte_tesoreria_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_ticket_id_foreign` (`ticket_id`),
  KEY `idx_cct_bind_apibank_mov` (`bind_apibank_movement_id`),
  KEY `idx_cct_bind_apibank_trf` (`bind_apibank_transfer_id`),
  KEY `idx_cct_bind_sync_status` (`bind_sync_status`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `cta_cte_tesoreria_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria`
--

INSERT INTO `cta_cte_tesoreria` VALUES (1,NULL,NULL,NULL,8522,40718,NULL,NULL,757,1520,'2023-02-28',155000.00,1,1.00,'Saldo Inicial',NULL,'2023-02-28 14:21:22','2023-02-28 14:21:22',NULL,NULL),(2,NULL,NULL,NULL,8522,40718,1252,NULL,13,1521,'2023-03-01',10000.00,1,1.00,NULL,NULL,'2023-03-01 11:25:20','2023-03-01 11:25:20',NULL,NULL),(3,NULL,NULL,NULL,8522,40718,NULL,4,13,1521,'2023-03-03',150.00,1,1.00,NULL,NULL,'2023-03-02 22:15:32','2023-03-02 22:15:54','2023-03-02 22:15:54',NULL);

--
-- Table structure for table `cta_cte_tesoreria_banco_cheq`
--

CREATE TABLE `cta_cte_tesoreria_banco_cheq` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `chequera_tipo_id` int(10) unsigned NOT NULL,
  `serie` text COLLATE utf8mb4_unicode_ci,
  `numero_cheque` int(11) DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_cheq_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` (`cta_cte_tesoreria_banco_id`),
  KEY `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` (`chequera_tipo_id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_chequera_tipo_id_foreign` FOREIGN KEY (`chequera_tipo_id`) REFERENCES `chequeras_tipos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_banco_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_cheq_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_cheq`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_claves`
--

CREATE TABLE `cta_cte_tesoreria_banco_claves` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `descripcion_name` text COLLATE utf8mb4_unicode_ci,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_claves_person_id_foreign` (`person_id`),
  KEY `ct_cuenta_id` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ct_banco_id` (`cta_cte_tesoreria_banco_id`),
  CONSTRAINT `ct_banco_id` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `ct_cuenta_id` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_claves_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_claves`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_comentarios`
--

CREATE TABLE `cta_cte_tesoreria_banco_comentarios` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_banco_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_banco_comentarios_person_id_foreign` (`person_id`),
  KEY `ct_cuentas_id` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ct_bancos_id` (`cta_cte_tesoreria_banco_id`),
  CONSTRAINT `ct_bancos_id` FOREIGN KEY (`cta_cte_tesoreria_banco_id`) REFERENCES `cta_cte_tesoreria_bancos` (`id`),
  CONSTRAINT `ct_cuentas_id` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_banco_comentarios_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_comentarios`
--


--
-- Table structure for table `cta_cte_tesoreria_banco_estados`
--

CREATE TABLE `cta_cte_tesoreria_banco_estados` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_banco_estados`
--

INSERT INTO `cta_cte_tesoreria_banco_estados` VALUES (1,NULL,'Habilitado',0,NULL,NULL,NULL),(2,NULL,'En Proceso',0,NULL,NULL,NULL),(3,NULL,'Bloqueado',0,NULL,NULL,NULL),(4,NULL,'Reconocimiento',0,NULL,NULL,NULL),(5,NULL,'Inhabilitado',0,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria_bancos`
--

CREATE TABLE `cta_cte_tesoreria_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `ctacte_banco_id` int(10) unsigned NOT NULL,
  `persona_empresa` int(11) NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL,
  `cuenta_contable_id` int(10) unsigned NOT NULL,
  `cuenta_contable_id_diferido` int(10) unsigned DEFAULT NULL,
  `cuenta_contable_id_pend_acred` int(10) unsigned DEFAULT NULL,
  `numero_cuenta` text COLLATE utf8mb4_unicode_ci,
  `cbu` text COLLATE utf8mb4_unicode_ci,
  `alias` text COLLATE utf8mb4_unicode_ci,
  `cta_cte_tesoreria_banco_estado_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_bancos_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` (`ctacte_banco_id`),
  KEY `cta_cte_tesoreria_bancos_zone_id_foreign` (`zone_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` (`cuenta_contable_id`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` (`cuenta_contable_id_diferido`),
  KEY `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` (`cuenta_contable_id_pend_acred`),
  KEY `cta_cte_tesoreria_bancos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ct_banco_estado_id` (`cta_cte_tesoreria_banco_estado_id`),
  CONSTRAINT `ct_banco_estado_id` FOREIGN KEY (`cta_cte_tesoreria_banco_estado_id`) REFERENCES `cta_cte_tesoreria_banco_estados` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_ctacte_banco_id_foreign` FOREIGN KEY (`ctacte_banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_diferido_foreign` FOREIGN KEY (`cuenta_contable_id_diferido`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_foreign` FOREIGN KEY (`cuenta_contable_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_cuenta_contable_id_pend_acred_foreign` FOREIGN KEY (`cuenta_contable_id_pend_acred`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_bancos_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_bancos`
--


--
-- Table structure for table `cta_cte_tesoreria_cuenta_tipos`
--

CREATE TABLE `cta_cte_tesoreria_cuenta_tipos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_cuenta_tipos`
--

INSERT INTO `cta_cte_tesoreria_cuenta_tipos` VALUES (1,NULL,'CAJA',1,NULL,NULL,NULL),(2,NULL,'BANCOS',1,NULL,NULL,NULL),(3,NULL,'CHEQUES',1,NULL,NULL,NULL),(4,NULL,'RETENCIONES EFECTUADAS',1,NULL,'2024-05-26 21:02:22',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 21:02:22',NULL),(6,NULL,'RESULTADO NEGATIVO',1,NULL,NULL,NULL),(7,NULL,'RESULTADO POSITIVO',1,NULL,NULL,NULL),(8,NULL,'MOVIMIENTO',1,NULL,NULL,NULL),(9,NULL,'RETENCIONES SUFRIDAS',1,NULL,NULL,NULL),(10,NULL,'PERCEPCIONES SUFRIDAS',1,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria_cuentas`
--

CREATE TABLE `cta_cte_tesoreria_cuentas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `bind_apibank_enabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Tiene Bind APIBank habilitado?',
  `bind_account_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ID de cuenta en Bind APIBank (obtenido al configurar)',
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `plan_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_tipo_id` int(10) unsigned NOT NULL DEFAULT '8',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cta_cte` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_origen` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_destino` tinyint(1) NOT NULL DEFAULT '0',
  `conta_asientos` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_cuentas_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `cta_tes_tipo_id_foreign` (`cta_cte_tesoreria_cuenta_tipo_id`),
  KEY `cta_cte_tesoreria_cuentas_moneda_id_foreign` (`moneda_id`),
  KEY `cta_cte_tesoreria_cuentas_retention_type_id_foreign` (`retention_type_id`),
  KEY `idx_cctc_bind_apibank_enabled` (`bind_apibank_enabled`),
  KEY `idx_cctc_bind_account_id` (`bind_account_id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `cta_tes_tipo_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_tipo_id`) REFERENCES `cta_cte_tesoreria_cuenta_tipos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=759 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_cuentas`
--

INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (13,0,NULL,NULL,0,1,13,NULL,8,NULL,'Clientes - Deudores',NULL,0,0,0,0,0,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(20,0,NULL,NULL,0,1,20,NULL,8,NULL,'Anticipos Impuesto a las Ganancias',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(23,0,NULL,NULL,0,1,23,NULL,4,NULL,'Retenciones Impuesto a las Ganancias',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(25,0,NULL,NULL,0,1,25,NULL,4,NULL,'Retenciones de IVA',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(57,0,NULL,NULL,0,1,57,NULL,8,NULL,'Proveedores en Cta. Cte. locales',NULL,0,0,0,0,0,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(60,0,NULL,NULL,0,1,60,NULL,3,NULL,'Cheques emitidos ',NULL,0,1,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(62,0,NULL,NULL,0,1,62,NULL,8,NULL,'Sueldos y Jornales a pagar',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(140,0,NULL,NULL,0,1,140,NULL,6,NULL,'Intereses y Gastos bancarios',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(162,0,NULL,NULL,0,1,162,NULL,4,NULL,'Retenciones SUSS',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(176,0,NULL,NULL,0,1,176,NULL,3,NULL,'Cheques en Cartera',NULL,1,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(201,0,NULL,NULL,0,1,201,NULL,6,NULL,'Monotributo',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(203,0,NULL,NULL,0,1,203,NULL,6,NULL,'Autonomos',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(219,0,NULL,NULL,0,1,219,NULL,8,NULL,'Pagos AFIP',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(251,0,NULL,NULL,0,1,251,NULL,4,NULL,'Retenciones de IIBB Buenos Aires',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(252,0,NULL,NULL,0,1,252,NULL,4,NULL,'Retenciones de IIBB Capital Federal',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(253,0,NULL,NULL,0,1,253,NULL,4,NULL,'Retenciones de IIBB Catamarca',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(254,0,NULL,NULL,0,1,254,NULL,4,NULL,'Retenciones de IIBB Chaco',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(255,0,NULL,NULL,0,1,255,NULL,4,NULL,'Retenciones de IIBB Chubut',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(256,0,NULL,NULL,0,1,256,NULL,4,NULL,'Retenciones de IIBB Córdoba',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(257,0,NULL,NULL,0,1,257,NULL,4,NULL,'Retenciones de IIBB Corrientes',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(258,0,NULL,NULL,0,1,258,NULL,4,NULL,'Retenciones de IIBB Entre Ríos',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(259,0,NULL,NULL,0,1,259,NULL,4,NULL,'Retenciones de IIBB Formosa',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(260,0,NULL,NULL,0,1,260,NULL,4,NULL,'Retenciones de IIBB Jujuy',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(261,0,NULL,NULL,0,1,261,NULL,4,NULL,'Retenciones de IIBB La Pampa',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(262,0,NULL,NULL,0,1,262,NULL,4,NULL,'Retenciones de IIBB La Rioja',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(263,0,NULL,NULL,0,1,263,NULL,4,NULL,'Retenciones de IIBB Mendoza',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(264,0,NULL,NULL,0,1,264,NULL,4,NULL,'Retenciones de IIBB Misiones',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(265,0,NULL,NULL,0,1,265,NULL,4,NULL,'Retenciones de IIBB Neuquén',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(266,0,NULL,NULL,0,1,266,NULL,4,NULL,'Retenciones de IIBB Pascua Lama',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (267,0,NULL,NULL,0,1,267,NULL,4,NULL,'Retenciones de IIBB Río Negro',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(268,0,NULL,NULL,0,1,268,NULL,4,NULL,'Retenciones de IIBB Salta',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(269,0,NULL,NULL,0,1,269,NULL,4,NULL,'Retenciones de IIBB San Juan',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(270,0,NULL,NULL,0,1,270,NULL,4,NULL,'Retenciones de IIBB San Luis',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(271,0,NULL,NULL,0,1,271,NULL,4,NULL,'Retenciones de IIBB Santa Cruz',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(272,0,NULL,NULL,0,1,272,NULL,4,NULL,'Retenciones de IIBB Santa Fe',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(273,0,NULL,NULL,0,1,273,NULL,4,NULL,'Retenciones de IIBB Santiago del Estero',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(274,0,NULL,NULL,0,1,274,NULL,4,NULL,'Retenciones de IIBB Tierra del Fuego',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(275,0,NULL,NULL,0,1,275,NULL,4,NULL,'Retenciones de IIBB Tucuman',NULL,0,0,1,0,0,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(351,0,NULL,NULL,0,1,351,NULL,8,NULL,'BANCO SIRCREB',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(359,0,NULL,NULL,0,1,359,NULL,8,NULL,'Caja en Pesos',NULL,0,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-20 23:20:21','2023-03-20 23:20:21'),(360,0,NULL,NULL,0,1,360,NULL,8,NULL,'Retenciones Bancarias de Ganancias a Favor',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(364,0,NULL,NULL,0,1,364,NULL,8,NULL,'Anticipo de Clientes',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(384,0,NULL,NULL,0,1,384,NULL,8,NULL,'Caja en Dolares',NULL,0,0,1,1,1,0,1,'2019-10-19 02:10:24','2023-03-20 23:20:21','2023-03-20 23:20:21'),(409,0,NULL,NULL,0,1,409,NULL,6,NULL,'IVA Crédito Fiscal No computable',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(418,0,NULL,NULL,0,1,418,NULL,8,NULL,'Deudas Bancarias',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(433,0,NULL,NULL,0,1,433,NULL,8,NULL,'Préstamo',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(441,0,NULL,NULL,0,1,441,NULL,8,NULL,'Leasing',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(448,0,NULL,NULL,0,1,448,NULL,8,NULL,'Planes de Pagos AFIP',NULL,0,0,0,1,1,0,1,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(450,0,NULL,NULL,0,1,450,NULL,3,NULL,'Cheques Rechazados',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(467,0,NULL,NULL,0,1,467,NULL,6,NULL,'Interés',NULL,0,0,0,0,1,0,1,'2019-10-19 02:10:24','2023-03-27 00:42:32',NULL),(468,0,NULL,NULL,0,1,14,NULL,8,NULL,'Deudores por ventas comunes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(469,0,NULL,NULL,0,1,15,NULL,8,NULL,'Deudores por ventas morosos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(470,0,NULL,NULL,0,1,16,NULL,8,NULL,'Deudores en gestión judicial',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(471,0,NULL,NULL,0,1,17,NULL,8,NULL,'Previsión deudores incobrables',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(472,0,NULL,NULL,0,1,22,NULL,8,NULL,'Anticipo Impto.Ganancia Mínima Presunta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(473,0,NULL,NULL,0,1,24,NULL,4,NULL,'Impuesto a las Ganancias (Saldo a favor)',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 08:00:29',NULL),(474,0,NULL,NULL,0,1,27,NULL,8,NULL,'Anticipos de proveedores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(475,0,NULL,NULL,0,1,28,NULL,8,NULL,'Depósito en garantía alquileres',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (476,0,NULL,NULL,0,1,29,NULL,8,NULL,'Derechos adquiridos a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(477,0,NULL,NULL,0,1,30,NULL,8,NULL,'Intereses a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(478,0,NULL,NULL,0,1,31,NULL,8,NULL,'Cuentas a rendir - Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(479,0,NULL,NULL,0,1,32,NULL,8,NULL,'Alquileres no devengados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(480,0,NULL,NULL,0,1,38,NULL,8,NULL,'Equipos de computación valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(481,0,NULL,NULL,0,1,39,NULL,8,NULL,'Equipos de computación ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(482,0,NULL,NULL,0,1,40,NULL,8,NULL,'Amortización Acumulada Equipos de comput.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(483,0,NULL,NULL,0,1,42,NULL,8,NULL,'Instalaciones valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(484,0,NULL,NULL,0,1,43,NULL,8,NULL,'Instalaciones ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(485,0,NULL,NULL,0,1,44,NULL,8,NULL,'Amortización Acumulada Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(486,0,NULL,NULL,0,1,46,NULL,8,NULL,'Muebles y utiles valores históricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(487,0,NULL,NULL,0,1,47,NULL,8,NULL,'Muebles y utiles ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(488,0,NULL,NULL,0,1,48,NULL,8,NULL,'Amortización Acumulada Muebles y Útiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(489,0,NULL,NULL,0,1,50,NULL,8,NULL,'Gastos de organización valores historicos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(490,0,NULL,NULL,0,1,51,NULL,8,NULL,'Gastos de organización ajuste',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(491,0,NULL,NULL,0,1,52,NULL,8,NULL,'Amortización acumulada gs. de organización',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(492,0,NULL,NULL,0,1,58,NULL,8,NULL,'Proveedores en cta. cte. exterior',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(493,0,NULL,NULL,0,1,59,NULL,8,NULL,'Derechos de exhibición a devengar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(494,0,NULL,NULL,0,1,63,NULL,8,NULL,'Cargas sociales a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(495,0,NULL,NULL,0,1,64,NULL,8,NULL,'Sindicatos a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(496,0,NULL,NULL,0,1,67,NULL,8,NULL,'IVA Debito Fiscal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(497,0,NULL,NULL,0,1,68,NULL,8,NULL,'IVA Credito Fiscal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(498,0,NULL,NULL,0,1,69,NULL,8,NULL,'Impuestos Internos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(499,0,NULL,NULL,0,1,70,NULL,8,NULL,'Impuestos al Combustible',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(500,0,NULL,NULL,0,1,71,NULL,8,NULL,'IVA Retenciones de terceros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(501,0,NULL,NULL,0,1,72,NULL,5,NULL,'IVA Percepciones realiz.por terceros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(502,0,NULL,NULL,0,1,73,NULL,8,NULL,'IVA Saldo a favor',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(503,0,NULL,NULL,0,1,74,NULL,8,NULL,'IVA a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(504,0,NULL,NULL,0,1,75,NULL,5,NULL,'Percepciones Ingresos Brutos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (505,0,NULL,NULL,0,1,76,NULL,8,NULL,'Otros Pagos AFIP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(506,0,NULL,NULL,0,1,78,NULL,8,NULL,'Impuesto a los Ingresos Brutos Pasivo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(507,0,NULL,NULL,0,1,79,NULL,8,NULL,'Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(508,0,NULL,NULL,0,1,80,NULL,8,NULL,'Impuesto a la Ganancia Mínima Presunta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(509,0,NULL,NULL,0,1,81,NULL,8,NULL,'AFIP - Retenciones Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(510,0,NULL,NULL,0,1,82,NULL,8,NULL,'AFIP - Plan de Facilidades Decreto 338/02',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(511,0,NULL,NULL,0,1,87,NULL,8,NULL,'Acciones en circulación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(512,0,NULL,NULL,0,1,88,NULL,8,NULL,'Ajuste del Capital',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(513,0,NULL,NULL,0,1,89,NULL,8,NULL,'Aportes Irrevocables Futuras Suscripciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(514,0,NULL,NULL,0,1,91,NULL,8,NULL,'Resultado del ejercicio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(515,0,NULL,NULL,0,1,92,NULL,8,NULL,'Resultado ejercicios anteriores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(516,0,NULL,NULL,0,1,93,NULL,8,NULL,'A.R.E.A.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(517,0,NULL,NULL,0,1,96,NULL,7,NULL,'VENTAS',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(518,0,NULL,NULL,0,1,97,NULL,7,NULL,'Honorarios',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(519,0,NULL,NULL,0,1,99,NULL,7,NULL,'Descuentos obtenidos',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(520,0,NULL,NULL,0,1,100,NULL,7,NULL,'Reintegros por exportaciones',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(521,0,NULL,NULL,0,1,102,NULL,7,NULL,'Intereses Cobrados',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(522,0,NULL,NULL,0,1,103,NULL,7,NULL,'Diferencias de cambio',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(523,0,NULL,NULL,0,1,104,NULL,7,NULL,'Descuentos obtenidos',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(524,0,NULL,NULL,0,1,110,NULL,6,NULL,'Sueldos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(525,0,NULL,NULL,0,1,111,NULL,6,NULL,'Contribuciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(526,0,NULL,NULL,0,1,112,NULL,6,NULL,'Sindicato',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(527,0,NULL,NULL,0,1,114,NULL,8,NULL,'ACA',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(528,0,NULL,NULL,0,1,115,NULL,6,NULL,'Aereos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(529,0,NULL,NULL,0,1,116,NULL,6,NULL,'Alquiler',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(530,0,NULL,NULL,0,1,117,NULL,8,NULL,'AGUA AYSA',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(531,0,NULL,NULL,0,1,118,NULL,8,NULL,'TV Cablevision',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(532,0,NULL,NULL,0,1,119,NULL,1,NULL,'Caja Jubilacion Consejo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(533,0,NULL,NULL,0,1,120,NULL,6,NULL,'Celulares',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(534,0,NULL,NULL,0,1,121,NULL,3,NULL,'Cheques',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(535,0,NULL,NULL,0,1,123,NULL,8,NULL,'Comida',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (536,0,NULL,NULL,0,1,126,NULL,6,NULL,'Fletes y acarreos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(537,0,NULL,NULL,0,1,127,NULL,8,NULL,'Luz Edesur',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(538,0,NULL,NULL,0,1,128,NULL,6,NULL,'Movilidad y Viáticos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(539,0,NULL,NULL,0,1,129,NULL,8,NULL,'Mantenimiento',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(540,0,NULL,NULL,0,1,130,NULL,8,NULL,'IVA No Computable',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(541,0,NULL,NULL,0,1,131,NULL,8,NULL,'Entretenimiento',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(542,0,NULL,NULL,0,1,132,NULL,6,NULL,'Amortización Bienes de Uso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(543,0,NULL,NULL,0,1,135,NULL,6,NULL,'Gastos varios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(544,0,NULL,NULL,0,1,136,NULL,6,NULL,'Ajuste por redondeo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(545,0,NULL,NULL,0,1,137,NULL,6,NULL,'Deudores Incobrables',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(546,0,NULL,NULL,0,1,141,NULL,6,NULL,'Intereses Proveedores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(547,0,NULL,NULL,0,1,143,NULL,6,NULL,'Diferencias de cambio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(548,0,NULL,NULL,0,1,144,NULL,8,NULL,'Diferencia de Cambio Bces. en M.Extranjera',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(549,0,NULL,NULL,0,1,145,NULL,6,NULL,'Diferencia tipo cambio Vendedor/Comprador',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(550,0,NULL,NULL,0,1,146,NULL,8,NULL,'Diferencia por conversion en Bce. en Mon. Extranj.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(551,0,NULL,NULL,0,1,147,NULL,8,NULL,'Diferencia de cambio CMV',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(552,0,NULL,NULL,0,1,148,NULL,8,NULL,'Diferencia de cambio PT',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(553,0,NULL,NULL,0,1,149,NULL,8,NULL,'Resultado por Exposición a la Inflación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(554,0,NULL,NULL,0,1,150,NULL,8,NULL,'Diferencia de cambio PE',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(555,0,NULL,NULL,0,1,151,NULL,8,NULL,'Diferencia de cambio Ds.Vtas.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(556,0,NULL,NULL,0,1,152,NULL,6,NULL,'Diferencia de cambio ME',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(557,0,NULL,NULL,0,1,153,NULL,6,NULL,'Descuentos otorgados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(558,0,NULL,NULL,0,1,155,NULL,6,NULL,'Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(559,0,NULL,NULL,0,1,156,NULL,6,NULL,'Impuesto a los Ingresos Brutos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(560,0,NULL,NULL,0,1,157,NULL,6,NULL,'Impuesto al Debito y Credito Bancario',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(561,0,NULL,NULL,0,1,159,NULL,6,NULL,'Pérdida por venta bienes de uso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(562,0,NULL,NULL,0,1,160,NULL,6,NULL,'Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(563,0,NULL,NULL,0,1,161,NULL,6,NULL,'Amortizaciones extraordinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(564,0,NULL,NULL,0,1,178,NULL,8,NULL,'Google',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(565,0,NULL,NULL,0,1,188,NULL,6,NULL,'Publicidad',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (566,0,NULL,NULL,0,1,191,NULL,6,NULL,'Cargas Sociales',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(567,0,NULL,NULL,0,1,192,NULL,6,NULL,'Honorarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(568,0,NULL,NULL,0,1,193,NULL,6,NULL,'Telefono Fijo',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(569,0,NULL,NULL,0,1,198,NULL,6,NULL,'Seguros',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(570,0,NULL,NULL,0,1,199,NULL,6,NULL,'Internet',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(571,0,NULL,NULL,0,1,204,NULL,6,NULL,'Multas Impositivas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(572,0,NULL,NULL,0,1,208,NULL,6,NULL,'Impuesto a los Ingresos Brutos - BS AS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(573,0,NULL,NULL,0,1,209,NULL,6,NULL,'SIRCREB',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(574,0,NULL,NULL,0,1,212,NULL,6,NULL,'Tarjeta Visa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(575,0,NULL,NULL,0,1,213,NULL,6,NULL,'Tarjeta American Express',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(576,0,NULL,NULL,0,1,214,NULL,6,NULL,'Tarjeta Mastercard',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(577,0,NULL,NULL,0,1,215,NULL,8,NULL,'Tarjeta Shopping',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(578,0,NULL,NULL,0,1,216,NULL,6,NULL,'Tarjeta Cencosud',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(579,0,NULL,NULL,0,1,217,NULL,6,NULL,'Compras',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(580,0,NULL,NULL,0,1,218,NULL,7,NULL,'Ventas No Gravadas',NULL,0,0,0,0,1,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(581,0,NULL,NULL,0,1,220,NULL,5,NULL,'Perc IVA -RG3337',NULL,0,0,0,0,0,1,0,'2020-02-06 17:23:07','2023-06-02 08:00:29',NULL),(582,0,NULL,NULL,0,1,221,NULL,6,NULL,'Imps. Internos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(583,0,NULL,NULL,0,1,222,NULL,6,NULL,'Imp. Gasoil',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(584,0,NULL,NULL,0,1,223,NULL,6,NULL,'Imp. Hídricos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(585,0,NULL,NULL,0,1,224,NULL,6,NULL,'ITC',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(586,0,NULL,NULL,0,1,225,NULL,5,NULL,'Perc IIBB  Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(587,0,NULL,NULL,0,1,226,NULL,5,NULL,'Perc IIBB  Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(588,0,NULL,NULL,0,1,227,NULL,5,NULL,'Perc IIBB  Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(589,0,NULL,NULL,0,1,228,NULL,5,NULL,'Perc IIBB  Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(590,0,NULL,NULL,0,1,229,NULL,5,NULL,'Perc IIBB  Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(591,0,NULL,NULL,0,1,230,NULL,5,NULL,'Perc IIBB  Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(592,0,NULL,NULL,0,1,231,NULL,5,NULL,'Perc IIBB  Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(593,0,NULL,NULL,0,1,232,NULL,5,NULL,'Perc IIBB  Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(594,0,NULL,NULL,0,1,233,NULL,5,NULL,'Perc IIBB  Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(595,0,NULL,NULL,0,1,234,NULL,5,NULL,'Perc IIBB  Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(596,0,NULL,NULL,0,1,235,NULL,5,NULL,'Perc IIBB  La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(597,0,NULL,NULL,0,1,236,NULL,5,NULL,'Perc IIBB  La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (598,0,NULL,NULL,0,1,237,NULL,5,NULL,'Perc IIBB  Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(599,0,NULL,NULL,0,1,238,NULL,5,NULL,'Perc IIBB  Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(600,0,NULL,NULL,0,1,239,NULL,5,NULL,'Perc IIBB  Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(601,0,NULL,NULL,0,1,240,NULL,5,NULL,'Perc IIBB  Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(602,0,NULL,NULL,0,1,241,NULL,5,NULL,'Perc IIBB  Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(603,0,NULL,NULL,0,1,242,NULL,5,NULL,'Perc IIBB  Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(604,0,NULL,NULL,0,1,243,NULL,5,NULL,'Perc IIBB  San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(605,0,NULL,NULL,0,1,244,NULL,5,NULL,'Perc IIBB  San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(606,0,NULL,NULL,0,1,245,NULL,5,NULL,'Perc IIBB  Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(607,0,NULL,NULL,0,1,246,NULL,5,NULL,'Perc IIBB  Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(608,0,NULL,NULL,0,1,247,NULL,5,NULL,'Perc IIBB  Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(609,0,NULL,NULL,0,1,248,NULL,5,NULL,'Perc IIBB  Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(610,0,NULL,NULL,0,1,249,NULL,5,NULL,'Perc IIBB  Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(611,0,NULL,NULL,0,1,250,NULL,6,NULL,'Compras No Gravadas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(612,0,NULL,NULL,0,1,276,NULL,6,NULL,'SIRCREB Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(613,0,NULL,NULL,0,1,277,NULL,6,NULL,'SIRCREB Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(614,0,NULL,NULL,0,1,278,NULL,6,NULL,'SIRCREB Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(615,0,NULL,NULL,0,1,279,NULL,6,NULL,'SIRCREB Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(616,0,NULL,NULL,0,1,280,NULL,6,NULL,'SIRCREB Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(617,0,NULL,NULL,0,1,281,NULL,6,NULL,'SIRCREB Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(618,0,NULL,NULL,0,1,282,NULL,6,NULL,'SIRCREB Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(619,0,NULL,NULL,0,1,283,NULL,6,NULL,'SIRCREB Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(620,0,NULL,NULL,0,1,284,NULL,6,NULL,'SIRCREB Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(621,0,NULL,NULL,0,1,285,NULL,6,NULL,'SIRCREB Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(622,0,NULL,NULL,0,1,286,NULL,6,NULL,'SIRCREB La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(623,0,NULL,NULL,0,1,287,NULL,6,NULL,'SIRCREB La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(624,0,NULL,NULL,0,1,288,NULL,6,NULL,'SIRCREB Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(625,0,NULL,NULL,0,1,289,NULL,6,NULL,'SIRCREB Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(626,0,NULL,NULL,0,1,290,NULL,6,NULL,'SIRCREB Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(627,0,NULL,NULL,0,1,291,NULL,6,NULL,'SIRCREB Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(628,0,NULL,NULL,0,1,292,NULL,6,NULL,'SIRCREB Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (629,0,NULL,NULL,0,1,293,NULL,6,NULL,'SIRCREB Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(630,0,NULL,NULL,0,1,294,NULL,6,NULL,'SIRCREB San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(631,0,NULL,NULL,0,1,295,NULL,6,NULL,'SIRCREB San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(632,0,NULL,NULL,0,1,296,NULL,6,NULL,'SIRCREB Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(633,0,NULL,NULL,0,1,297,NULL,6,NULL,'SIRCREB Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(634,0,NULL,NULL,0,1,298,NULL,6,NULL,'SIRCREB Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(635,0,NULL,NULL,0,1,299,NULL,6,NULL,'SIRCREB Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(636,0,NULL,NULL,0,1,300,NULL,6,NULL,'SIRCREB Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(637,0,NULL,NULL,0,1,301,NULL,8,NULL,'IIBB a Favor Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(638,0,NULL,NULL,0,1,302,NULL,8,NULL,'IIBB a Favor Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(639,0,NULL,NULL,0,1,303,NULL,8,NULL,'IIBB a Favor Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(640,0,NULL,NULL,0,1,304,NULL,8,NULL,'IIBB a Favor Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(641,0,NULL,NULL,0,1,305,NULL,8,NULL,'IIBB a Favor Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:32',NULL),(642,0,NULL,NULL,0,1,306,NULL,8,NULL,'IIBB a Favor Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(643,0,NULL,NULL,0,1,307,NULL,8,NULL,'IIBB a Favor Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(644,0,NULL,NULL,0,1,308,NULL,8,NULL,'IIBB a Favor Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(645,0,NULL,NULL,0,1,309,NULL,8,NULL,'IIBB a Favor Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(646,0,NULL,NULL,0,1,310,NULL,8,NULL,'IIBB a Favor Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(647,0,NULL,NULL,0,1,311,NULL,8,NULL,'IIBB a Favor La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(648,0,NULL,NULL,0,1,312,NULL,8,NULL,'IIBB a Favor La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(649,0,NULL,NULL,0,1,313,NULL,8,NULL,'IIBB a Favor Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:07','2023-03-27 00:42:33',NULL),(650,0,NULL,NULL,0,1,314,NULL,8,NULL,'IIBB a Favor Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(651,0,NULL,NULL,0,1,315,NULL,8,NULL,'IIBB a Favor Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(652,0,NULL,NULL,0,1,316,NULL,8,NULL,'IIBB a Favor Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(653,0,NULL,NULL,0,1,317,NULL,8,NULL,'IIBB a Favor Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(654,0,NULL,NULL,0,1,318,NULL,8,NULL,'IIBB a Favor Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(655,0,NULL,NULL,0,1,319,NULL,8,NULL,'IIBB a Favor San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(656,0,NULL,NULL,0,1,320,NULL,8,NULL,'IIBB a Favor San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(657,0,NULL,NULL,0,1,321,NULL,8,NULL,'IIBB a Favor Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(658,0,NULL,NULL,0,1,322,NULL,8,NULL,'IIBB a Favor Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (659,0,NULL,NULL,0,1,323,NULL,8,NULL,'IIBB a Favor Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(660,0,NULL,NULL,0,1,324,NULL,8,NULL,'IIBB a Favor Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(661,0,NULL,NULL,0,1,325,NULL,8,NULL,'IIBB a Favor Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(662,0,NULL,NULL,0,1,326,NULL,8,NULL,'IIBB a Pagar Buenos Aires',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(663,0,NULL,NULL,0,1,327,NULL,8,NULL,'IIBB a Pagar Capital Federal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(664,0,NULL,NULL,0,1,328,NULL,8,NULL,'IIBB a Pagar Catamarca',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(665,0,NULL,NULL,0,1,329,NULL,8,NULL,'IIBB a Pagar Chaco',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(666,0,NULL,NULL,0,1,330,NULL,8,NULL,'IIBB a Pagar Chubut',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(667,0,NULL,NULL,0,1,331,NULL,8,NULL,'IIBB a Pagar Córdoba',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(668,0,NULL,NULL,0,1,332,NULL,8,NULL,'IIBB a Pagar Corrientes',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(669,0,NULL,NULL,0,1,333,NULL,8,NULL,'IIBB a Pagar Entre Ríos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(670,0,NULL,NULL,0,1,334,NULL,8,NULL,'IIBB a Pagar Formosa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(671,0,NULL,NULL,0,1,335,NULL,8,NULL,'IIBB a Pagar Jujuy',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(672,0,NULL,NULL,0,1,336,NULL,8,NULL,'IIBB a Pagar La Pampa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(673,0,NULL,NULL,0,1,337,NULL,8,NULL,'IIBB a Pagar La Rioja',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(674,0,NULL,NULL,0,1,338,NULL,8,NULL,'IIBB a Pagar Mendoza',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(675,0,NULL,NULL,0,1,339,NULL,8,NULL,'IIBB a Pagar Misiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(676,0,NULL,NULL,0,1,340,NULL,8,NULL,'IIBB a Pagar Neuquén',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(677,0,NULL,NULL,0,1,341,NULL,8,NULL,'IIBB a Pagar Pascua Lama',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(678,0,NULL,NULL,0,1,342,NULL,8,NULL,'IIBB a Pagar Río Negro',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(679,0,NULL,NULL,0,1,343,NULL,8,NULL,'IIBB a Pagar Salta',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(680,0,NULL,NULL,0,1,344,NULL,8,NULL,'IIBB a Pagar San Juan',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(681,0,NULL,NULL,0,1,345,NULL,8,NULL,'IIBB a Pagar San Luis',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(682,0,NULL,NULL,0,1,346,NULL,8,NULL,'IIBB a Pagar Santa Cruz',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(683,0,NULL,NULL,0,1,347,NULL,8,NULL,'IIBB a Pagar Santa Fe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(684,0,NULL,NULL,0,1,348,NULL,8,NULL,'IIBB a Pagar Santiago del Estero',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(685,0,NULL,NULL,0,1,349,NULL,8,NULL,'IIBB a Pagar Tierra del Fuego',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(686,0,NULL,NULL,0,1,350,NULL,8,NULL,'IIBB a Pagar Tucuman',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(687,0,NULL,NULL,0,1,352,NULL,8,NULL,'Compensacion',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(688,0,NULL,NULL,0,1,353,NULL,8,NULL,'IVA Saldo Tecnico',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (689,0,NULL,NULL,0,1,354,NULL,8,NULL,'IVA Saldo Libre Disponibilidad',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(690,0,NULL,NULL,0,1,361,NULL,8,NULL,'Equipos de Computación',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(691,0,NULL,NULL,0,1,362,NULL,8,NULL,'Computadoras',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(692,0,NULL,NULL,0,1,363,NULL,8,NULL,'Muebles y Utiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(693,0,NULL,NULL,0,1,365,NULL,8,NULL,'Provision Honorarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(694,0,NULL,NULL,0,1,366,NULL,8,NULL,'Cta. Cte Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(695,0,NULL,NULL,0,1,367,NULL,8,NULL,'Provisión Honorarios Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(696,0,NULL,NULL,0,1,368,NULL,8,NULL,'Cuenta Particular Socio 1',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(697,0,NULL,NULL,0,1,369,NULL,8,NULL,'Capital',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(698,0,NULL,NULL,0,1,380,NULL,8,NULL,'Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(699,0,NULL,NULL,0,1,381,NULL,8,NULL,'Reserva Legal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(700,0,NULL,NULL,0,1,382,NULL,8,NULL,'Reserva Legal',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(701,0,NULL,NULL,0,1,383,NULL,8,NULL,'Resultado no asignado',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(702,0,NULL,NULL,0,1,386,NULL,8,NULL,'PLAZO FIJO',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(703,0,NULL,NULL,0,1,388,NULL,8,NULL,'ACCIONES',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(704,0,NULL,NULL,0,1,389,NULL,8,NULL,'Inmuebles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(705,0,NULL,NULL,0,1,390,NULL,8,NULL,'Vehiculos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(706,0,NULL,NULL,0,1,391,NULL,8,NULL,'Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(707,0,NULL,NULL,0,1,392,NULL,8,NULL,'MERCADERIAS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(708,0,NULL,NULL,0,1,393,NULL,8,NULL,'OTROS',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(709,0,NULL,NULL,0,1,395,NULL,8,NULL,'Cuenta Particular Socio 2',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(710,0,NULL,NULL,0,1,396,NULL,6,NULL,'Comisiones Y gastos Bancarios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(711,0,NULL,NULL,0,1,411,NULL,8,NULL,'Provisión Impuesto a las Ganancias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(712,0,NULL,NULL,0,1,412,NULL,6,NULL,'Amortización Muebles y Útiles',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(713,0,NULL,NULL,0,1,413,NULL,6,NULL,'Amortización Equipos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(714,0,NULL,NULL,0,1,414,NULL,8,NULL,'Amortizacion Acumulada Equipos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(715,0,NULL,NULL,0,1,415,NULL,8,NULL,'Amortización Acumulada Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(716,0,NULL,NULL,0,1,416,NULL,8,NULL,'Materias Primas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(717,0,NULL,NULL,0,1,419,NULL,8,NULL,'Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(718,0,NULL,NULL,0,1,420,NULL,8,NULL,'Amortización Acumulada Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(719,0,NULL,NULL,0,1,421,NULL,8,NULL,'Amortización Rodados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (720,0,NULL,NULL,0,1,422,NULL,8,NULL,'Amortización Maquinarias',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(721,0,NULL,NULL,0,1,423,NULL,8,NULL,'Accesorios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(722,0,NULL,NULL,0,1,424,NULL,8,NULL,'Amortización Acumulada Accesorios',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(723,0,NULL,NULL,0,1,426,NULL,8,NULL,'Reserva Facultativa',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(724,0,NULL,NULL,0,1,427,NULL,8,NULL,'Créditos por Impuestos Diferidos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(725,0,NULL,NULL,0,1,428,NULL,8,NULL,'Fondo de Comercio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(726,0,NULL,NULL,0,1,429,NULL,8,NULL,'Amortizacion Acumulada Fondo de Comercio',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(727,0,NULL,NULL,0,1,430,NULL,8,NULL,'Intereses a devengar AGIP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(728,0,NULL,NULL,0,1,431,NULL,8,NULL,'PFP IIBB',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(729,0,NULL,NULL,0,1,434,NULL,8,NULL,'Productos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(730,0,NULL,NULL,0,1,435,NULL,8,NULL,'Intereses a devengar PFP',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(731,0,NULL,NULL,0,1,437,NULL,8,NULL,'Imp. Ley 25413 Cred 0.6%',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(732,0,NULL,NULL,0,1,438,NULL,8,NULL,'Honorarios Directorio a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(733,0,NULL,NULL,0,1,439,NULL,8,NULL,'Reserva para Futuras Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(734,0,NULL,NULL,0,1,440,NULL,8,NULL,'TEAC - Trabajos Ejecutados a Certificar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(735,0,NULL,NULL,0,1,444,NULL,8,NULL,'Banco Santander Rio Cta Cte',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(736,0,NULL,NULL,0,1,449,NULL,8,NULL,'Leasing',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(737,0,NULL,NULL,0,1,453,NULL,8,NULL,'Inversión Central Caribe',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(738,0,NULL,NULL,0,1,454,NULL,8,NULL,'Otras Inversiones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(739,0,NULL,NULL,0,1,455,NULL,8,NULL,'Otros Créditos',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(740,0,NULL,NULL,0,1,456,NULL,8,NULL,'Provisión Honorarios Socio Gerente',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(741,0,NULL,NULL,0,1,459,NULL,8,NULL,'Moratoria SUSS a pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(742,0,NULL,NULL,0,1,460,NULL,8,NULL,'Impuestos Municipales a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(743,0,NULL,NULL,0,1,461,NULL,6,NULL,'Amortización Instalaciones',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(744,0,NULL,NULL,0,1,462,NULL,8,NULL,'Amortización Equipos de comput.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(745,0,NULL,NULL,0,1,463,NULL,8,NULL,'Cuenta Particular Socio 3',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(746,0,NULL,NULL,0,1,464,NULL,8,NULL,'Cuenta Particular Socio 4',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(747,0,NULL,NULL,0,1,465,NULL,8,NULL,'Otras Reservas',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(748,0,NULL,NULL,0,1,466,NULL,8,NULL,'IGMP (Saldo a Favor)',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(749,0,NULL,NULL,0,1,468,NULL,8,NULL,'Productos en Proceso',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (750,0,NULL,NULL,0,1,469,NULL,8,NULL,'Depósitos en Garantía Socio Gerente',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(751,0,NULL,NULL,0,1,470,NULL,8,NULL,'Fondos Embargados',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(752,0,NULL,NULL,0,1,471,NULL,8,NULL,'Cuota Solid.',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(753,0,NULL,NULL,0,1,472,NULL,8,NULL,'Anticipo Honorarios Directores',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(754,0,NULL,NULL,0,1,473,NULL,8,NULL,'SICORE a Pagar',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(755,0,NULL,NULL,0,1,476,NULL,6,NULL,'RECPAM',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(756,0,NULL,NULL,0,1,478,NULL,6,NULL,'CO2 - Imp. Al Carbono',NULL,0,0,0,0,0,1,1,'2020-02-06 17:23:08','2023-03-27 00:42:33',NULL),(757,0,NULL,NULL,0,1,359,40718,1,NULL,'Caja',NULL,0,0,1,1,1,0,1,'2023-02-28 14:21:22','2023-03-27 00:42:33',NULL),(758,0,NULL,NULL,0,1,176,40718,3,NULL,'Cheques',NULL,1,1,1,1,1,0,1,'2023-03-01 11:23:19','2023-03-27 00:42:33',NULL);

--
-- Table structure for table `cta_cte_tesoreria_detail`
--

CREATE TABLE `cta_cte_tesoreria_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `is_conciliado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_detail_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_detail_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_detail_saldo_id_foreign` (`saldo_id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_detail`
--

INSERT INTO `cta_cte_tesoreria_detail` VALUES (1,8522,1,757,40718,1520,1,155000.00,0,'2023-02-28','2023-02-28 14:21:22','2023-02-28 14:21:22',NULL),(2,8522,2,13,40718,1521,2,10000.00,0,'2023-03-01','2023-03-01 11:25:20','2023-03-01 11:25:20',NULL),(3,8522,2,758,40718,1521,1,10000.00,0,'2023-03-01','2023-03-01 11:25:20','2023-03-01 11:25:20',NULL);

--
-- Table structure for table `ctacte_bancos`
--

CREATE TABLE `ctacte_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigoBCRA` int(11) DEFAULT NULL,
  `cuit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos`
--

INSERT INTO `ctacte_bancos` VALUES (1,NULL,'BANCO DE GALICIA Y BUENOS AIRES S.A.',7,'30-50000173-5',NULL,NULL,NULL),(2,NULL,'BANCO DE LA NACION ARGENTINA',11,'30-50001091-2',NULL,NULL,NULL),(3,NULL,'BANCO DE LA PROVINCIA DE BUENOS AIRES',14,'33-99924210-9',NULL,NULL,NULL),(4,NULL,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA',15,'30-70944784-6',NULL,NULL,NULL),(5,NULL,'CITIBANK N.A.',16,'30-50000562-5',NULL,NULL,NULL),(6,NULL,'BBVA BANCO FRANCES S.A.',17,'30-50000319-3',NULL,NULL,NULL),(7,NULL,'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD.',18,'30-50001183-8',NULL,NULL,NULL),(8,NULL,'BANCO DE LA PROVINCIA DE CORDOBA S.A.',20,'30-99922856-5',NULL,NULL,NULL),(9,NULL,'BANCO SUPERVIELLE S.A.',27,'33-50000517-9',NULL,NULL,NULL),(10,NULL,'BANCO DE LA CIUDAD DE BUENOS AIRES',29,'30-99903208-3',NULL,NULL,NULL),(11,NULL,'BANCO PATAGONIA S.A.',34,'30-50000661-3',NULL,NULL,NULL),(12,NULL,'BANCO HIPOTECARIO S.A.',44,'30-50001107-2',NULL,NULL,NULL),(13,NULL,'BANCO DE SAN JUAN S.A.',45,'30-50000944-2',NULL,NULL,NULL),(14,NULL,'BANCO DEL TUCUMAN S.A.',60,'30-51794820-5',NULL,NULL,NULL),(15,NULL,'BANCO MUNICIPAL DE ROSARIO',65,'33-99918181-9',NULL,NULL,NULL),(16,NULL,'BANCO SANTANDER RIO S.A.',72,'30-50000845-4',NULL,NULL,NULL),(17,NULL,'BANCO DEL CHUBUT S.A.',83,'30-50001299-0',NULL,NULL,NULL),(18,NULL,'BANCO DE SANTA CRUZ S.A.',86,'30-50009880-1',NULL,NULL,NULL),(19,NULL,'BANCO DE LA PAMPA SOCIEDAD DE ECONOMÍA M',93,'30-50001251-6',NULL,NULL,NULL),(20,NULL,'BANCO DE CORRIENTES S.A.',94,'30-50001060-2',NULL,NULL,NULL),(21,NULL,'BANCO PROVINCIA DEL NEUQUÉN SOCIEDAD ANÓ',97,'30-50001404-7',NULL,NULL,NULL),(22,NULL,'BANCO INTERFINANZAS S.A.',147,'30-52271441-7',NULL,NULL,NULL),(23,NULL,'HSBC BANK ARGENTINA S.A.',150,'33-53718600-9',NULL,NULL,NULL),(24,NULL,'JPMORGAN CHASE BANK, NATIONAL ASSOCIATIO',165,'30-58313794-3',NULL,NULL,NULL),(25,NULL,'BANCO CREDICOOP COOPERATIVO LIMITADO',191,'30-57142135-2',NULL,NULL,NULL),(26,NULL,'BANCO DE VALORES S.A.',198,'30-57612427-5',NULL,NULL,NULL),(27,NULL,'BANCO ROELA S.A.',247,'30-53561044-0',NULL,NULL,NULL),(28,NULL,'BANCO MARIVA S.A.',254,'30-51642044-4',NULL,NULL,NULL),(29,NULL,'BANCO ITAU ARGENTINA S.A.',259,'30-58018941-1',NULL,NULL,NULL),(30,NULL,'BANK OF AMERICA, NATIONAL ASSOCIATION',262,'30-50005055-8',NULL,NULL,NULL),(31,NULL,'BNP PARIBAS',266,'30-58472756-6',NULL,NULL,NULL),(32,NULL,'BANCO PROVINCIA DE TIERRA DEL FUEGO',268,'30-57565578-1',NULL,NULL,NULL),(33,NULL,'BANCO DE LA REPUBLICA ORIENTAL DEL URUGU',269,'30-58833784-3',NULL,NULL,NULL),(34,NULL,'BANCO SAENZ S.A.',277,'30-53467243-4',NULL,NULL,NULL),(35,NULL,'BANCO MERIDIAN S.A.',281,'30-53448749-1',NULL,NULL,NULL),(36,NULL,'BANCO MACRO S.A.',285,'30-50001008-4',NULL,NULL,NULL),(37,NULL,'BANCO COMAFI SOCIEDAD ANONIMA',299,'30-60473101-8',NULL,NULL,NULL),(38,NULL,'BANCO DE INVERSION Y COMERCIO EXTERIOR S',300,'30-65112908-3',NULL,NULL,NULL),(39,NULL,'BANCO PIANO S.A.',301,'30-56915176-3',NULL,NULL,NULL),(40,NULL,'BANCO JULIO SOCIEDAD ANONIMA',305,'30-65744121-6',NULL,NULL,NULL),(41,NULL,'BANCO RIOJA SOCIEDAD ANONIMA UNIPERSONAL',309,'30-67185933-9',NULL,NULL,NULL),(42,NULL,'BANCO DEL SOL S.A.',310,'30-67793756-0',NULL,NULL,NULL),(43,NULL,'NUEVO BANCO DEL CHACO S. A.',311,'30-67015779-9',NULL,NULL,NULL),(44,NULL,'BANCO VOII S.A.',312,'30-54674163-6',NULL,NULL,NULL),(45,NULL,'BANCO DE FORMOSA S.A.',315,'30-67137590-0',NULL,NULL,NULL),(46,NULL,'BANCO CMF S.A.',319,'30-57661429-9',NULL,NULL,NULL),(47,NULL,'BANCO DE SANTIAGO DEL ESTERO S.A.',321,'33-68666464-9',NULL,NULL,NULL),(48,NULL,'BANCO INDUSTRIAL S.A.',322,'30-68502995-9',NULL,NULL,NULL),(49,NULL,'NUEVO BANCO DE SANTA FE SOCIEDAD ANONIMA',330,'30-69243266-1',NULL,NULL,NULL),(50,NULL,'BANCO CETELEM ARGENTINA S.A.',331,'30-69730636-2',NULL,NULL,NULL),(51,NULL,'BANCO DE SERVICIOS FINANCIEROS S.A.',332,'30-69726589-5',NULL,NULL,NULL),(52,NULL,'BANCO BRADESCO ARGENTINA S.A.U.',336,'30-70125555-7',NULL,NULL,NULL),(53,NULL,'BANCO DE SERVICIOS Y TRANSACCIONES S.A.',338,'30-70496099-5',NULL,NULL,NULL);
INSERT INTO `ctacte_bancos` VALUES (54,NULL,'RCI BANQUE S.A.',339,'30-70710834-3',NULL,NULL,NULL),(55,NULL,'BACS BANCO DE CREDITO Y SECURITIZACION S',340,'30-70722741-5',NULL,NULL,NULL),(56,NULL,'BANCO MASVENTAS S.A.',341,'30-54061826-3',NULL,NULL,NULL),(57,NULL,'BANCO WANAP S.A.',384,'30-71565463-2',NULL,NULL,NULL),(58,NULL,'NUEVO BANCO DE ENTRE RÍOS S.A.',386,'33-70799551-9',NULL,NULL,NULL),(59,NULL,'BANCO COLUMBIA S.A.',389,'30-51763749-8',NULL,NULL,NULL),(60,NULL,'BANCO BICA S.A.',426,'30-71233123-9',NULL,NULL,NULL),(61,NULL,'BANCO COINAG S.A.',431,'30-71419596-0',NULL,NULL,NULL),(62,NULL,'BANCO DE COMERCIO S.A.',432,'30-54203363-7',NULL,NULL,NULL),(63,NULL,'FORD CREDIT COMPAÑIA FINANCIERA S.A.',44059,'30-51654454-2',NULL,NULL,NULL),(64,NULL,'COMPAÑIA FINANCIERA ARGENTINA S.A.',44077,'30-53800640-4',NULL,NULL,NULL),(65,NULL,'VOLKWAGEN FINANCIAL SERVICES CIA.FIN.S.A',44088,'30-68241957-8',NULL,NULL,NULL),(66,NULL,'CORDIAL COMPAÑÍA FINANCIERA S.A.',44090,'30-70181085-2',NULL,NULL,NULL),(67,NULL,'FCA COMPAÑIA FINANCIERA S.A.',44092,'30-69230488-4',NULL,NULL,NULL),(68,NULL,'GPAT COMPAÑIA FINANCIERA S.A.',44093,'30-67856482-2',NULL,NULL,NULL),(69,NULL,'MERCEDES-BENZ COMPAÑÍA FINANCIERA ARGENT',44094,'30-70700229-4',NULL,NULL,NULL),(70,NULL,'ROMBO COMPAÑÍA FINANCIERA S.A.',44095,'33-70712490-9',NULL,NULL,NULL),(71,NULL,'JOHN DEERE CREDIT COMPAÑÍA FINANCIERA S.',44096,'30-70702485-9',NULL,NULL,NULL),(72,NULL,'PSA FINANCE ARGENTINA COMPAÑÍA FINANCIER',44098,'30-70784736-7',NULL,NULL,NULL),(73,NULL,'TOYOTA COMPAÑÍA FINANCIERA DE ARGENTINA',44099,'30-70900042-6',NULL,NULL,NULL),(74,NULL,'FINANDINO COMPAÑIA FINANCIERA S.A.',44100,'30-71259240-7',NULL,NULL,NULL),(75,NULL,'MONTEMAR COMPAÑIA FINANCIERA S.A.',45056,'30-58138551-6',NULL,NULL,NULL),(76,NULL,'MULTIFINANZAS COMPAÑIA FINANCIERA S.A.',45072,'30-62828435-7',NULL,NULL,NULL),(77,NULL,'CAJA DE CREDITO \"CUENCA\" COOPERATIVA LIM',65203,'30-71622694-4',NULL,NULL,NULL),(78,NULL,'MERCADO PAGO',NULL,NULL,NULL,NULL,NULL),(79,NULL,'UALA',NULL,NULL,NULL,NULL,NULL),(80,NULL,'ICBC',NULL,NULL,NULL,NULL,NULL),(81,NULL,'BMA SAU',NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `ctacte_bancos_datos`
--

CREATE TABLE `ctacte_bancos_datos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `num_cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cbu` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `alias` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_bancos_datos_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  CONSTRAINT `ctacte_bancos_datos_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos_datos`
--


--
-- Table structure for table `ctacte_cheques`
--

CREATE TABLE `ctacte_cheques` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `asiento_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_detail_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id2` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_detail_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id2` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `monto` decimal(16,2) DEFAULT NULL,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `fecha_cobro` date DEFAULT NULL,
  `banco_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `cuit` text COLLATE utf8mb4_unicode_ci,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `abierto_cruzado` int(11) NOT NULL DEFAULT '1',
  `is_no_a_la_orden` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `foto` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_cheques_asiento_id_foreign` (`asiento_id`),
  KEY `ctacte_cheques_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  KEY `ctacte_cheques_banco_id_foreign` (`banco_id`),
  KEY `ctacte_cheques_person_id_foreign` (`person_id`),
  KEY `ctacte_cheques_cta_cte_cliente_id2_foreign` (`cta_cte_cliente_id2`),
  KEY `ctacte_cheques_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesorer_id` (`cta_cte_tesoreria_id`),
  KEY `ctacte_cheques_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `ctacte_cheques_nf_cta_cte_id2_foreign` (`nf_cta_cte_id2`),
  KEY `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctacte_cheques_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  KEY `ctacte_cheques_cta_cte_tesoreria_detail_id_foreign` (`cta_cte_tesoreria_detail_id`),
  CONSTRAINT `cta_cte_tesorer_id` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `ctacte_cheques_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id2_foreign` FOREIGN KEY (`cta_cte_cliente_id2`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_tesoreria_detail_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_detail_id`) REFERENCES `cta_cte_tesoreria_detail` (`id`),
  CONSTRAINT `ctacte_cheques_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id2_foreign` FOREIGN KEY (`nf_cta_cte_id2`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_cheques`
--

INSERT INTO `ctacte_cheques` VALUES (1,8522,NULL,NULL,NULL,NULL,NULL,1252,NULL,NULL,NULL,NULL,10000.00,1,1,'2023-03-01','2023-03-01',1,40718,NULL,'Prueba #',1,0,11111,NULL,'',1,'2023-03-01 11:25:20','2023-03-01 11:25:20',NULL);

--
-- Table structure for table `ctactegastos_centrocosto`
--

CREATE TABLE `ctactegastos_centrocosto` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_centrocosto`
--

INSERT INTO `ctactegastos_centrocosto` VALUES (1,NULL,'OFICINA',NULL,NULL,NULL),(2,NULL,'FIJO',NULL,NULL,NULL),(3,NULL,'VARIABLE',NULL,NULL,NULL),(4,NULL,'GISELA',NULL,NULL,NULL),(5,NULL,'LIA',NULL,NULL,NULL),(6,NULL,'PADRES',NULL,NULL,NULL),(7,NULL,'CASA',NULL,NULL,NULL),(8,NULL,'VANESA',NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_cuenta_tipo`
--

CREATE TABLE `ctactegastos_cuenta_tipo` (
  `idCuentaTipo` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `idTipo` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`idCuentaTipo`),
  KEY `ctactegastos_cuenta_tipo_idtipo_foreign` (`idTipo`),
  KEY `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_idtipo_foreign` FOREIGN KEY (`idTipo`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_cuenta_tipo`
--

INSERT INTO `ctactegastos_cuenta_tipo` VALUES (1,NULL,NULL,3,NULL,NULL,NULL),(2,NULL,NULL,6,NULL,NULL,NULL),(3,NULL,NULL,3,NULL,NULL,NULL),(4,NULL,NULL,4,NULL,NULL,NULL),(5,NULL,NULL,5,NULL,NULL,NULL),(6,NULL,NULL,3,NULL,NULL,NULL),(7,NULL,NULL,4,NULL,NULL,NULL),(8,NULL,NULL,3,NULL,NULL,NULL),(9,NULL,NULL,4,NULL,NULL,NULL),(10,NULL,NULL,7,NULL,NULL,NULL),(11,NULL,NULL,8,NULL,NULL,NULL),(12,NULL,NULL,3,NULL,NULL,NULL),(13,NULL,NULL,3,NULL,NULL,NULL),(14,NULL,NULL,4,NULL,NULL,NULL),(15,NULL,NULL,1,NULL,NULL,NULL),(16,NULL,NULL,2,NULL,NULL,NULL),(17,NULL,NULL,5,NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_mensuales`
--

CREATE TABLE `ctactegastos_mensuales` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `CuentaTipo_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `TipoDeGasto_id` int(10) unsigned NOT NULL,
  `CentroCosto_id` int(10) unsigned NOT NULL,
  `gasto_cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `monto` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctactegastos_mensuales_cuentatipo_id_foreign` (`CuentaTipo_id`),
  KEY `ctactegastos_mensuales_tipodegasto_id_foreign` (`TipoDeGasto_id`),
  KEY `ctactegastos_mensuales_centrocosto_id_foreign` (`CentroCosto_id`),
  KEY `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` (`gasto_cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_mensuales_centrocosto_id_foreign` FOREIGN KEY (`CentroCosto_id`) REFERENCES `ctactegastos_centrocosto` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cuentatipo_id_foreign` FOREIGN KEY (`CuentaTipo_id`) REFERENCES `ctactegastos_cuenta_tipo` (`idCuentaTipo`),
  CONSTRAINT `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`gasto_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_tipodegasto_id_foreign` FOREIGN KEY (`TipoDeGasto_id`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_mensuales`
--


--
-- Table structure for table `ctactegastos_tiposdegastos`
--

CREATE TABLE `ctactegastos_tiposdegastos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_tiposdegastos`
--

INSERT INTO `ctactegastos_tiposdegastos` VALUES (1,NULL,'Oficina',NULL,NULL,NULL),(2,NULL,'Personales',NULL,NULL,NULL),(3,NULL,'Tarjeta VISA',NULL,NULL,NULL),(4,NULL,'Tarjeta Mastercard',NULL,NULL,NULL),(5,NULL,'Debito Automatico',NULL,NULL,NULL),(6,NULL,'American Express',NULL,NULL,NULL),(7,NULL,'Tarjeta Shopping',NULL,NULL,NULL),(8,NULL,'Tarjeta Cencosud',NULL,NULL,NULL),(9,NULL,'Tarjeta Coto',NULL,NULL,NULL),(10,NULL,'Tarjeta Nativa',NULL,NULL,NULL);

--
-- Table structure for table `cursos`
--

CREATE TABLE `cursos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `fecha` date DEFAULT NULL,
  `hora` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `profesor` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cant_clases` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `duracion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adjuntos` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_zoom` longtext COLLATE utf8mb4_unicode_ci,
  `cod_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contraseña_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_youtube` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `materiales` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos`
--


--
-- Table structure for table `cursos_detail`
--

CREATE TABLE `cursos_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `field_name1` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `celular` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cursos_detail_curso_id_foreign` (`curso_id`),
  CONSTRAINT `cursos_detail_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos_detail`
--


--
-- Table structure for table `data_types`
--

CREATE TABLE `data_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` int(10) unsigned NOT NULL,
  `class_description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `data_types_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_types`
--

INSERT INTO `data_types` VALUES (1,'Comprobantes XLS',1,'Importación','XLS','data/imports/receipts/xls',NULL,NULL),(2,'CITI-Ventas',1,'Importación','TXT','data/imports/receipts/CitiVentas',NULL,NULL),(3,'CITI Compras',2,'Exportación','TXT','data/exports/receipts/citi',NULL,NULL),(4,'CITI Ventas',2,'Exportación','TXT','data/exports/receipts/CitiVentasExport',NULL,NULL),(5,'Convenio Multilateral',2,'Exportación','TXT','data/exports/receipts/convenio',NULL,NULL),(6,'Libro IVA Digital',2,'Exportación','TXT','data/exports/receipts/libro_iva_digital',NULL,'2019-11-20 21:43:44'),(7,'Mis Comprobantes',1,'Importacion','','data/imports/receipts/mis_comprobantes',NULL,NULL),(8,'Consulta AFIP',3,'AFIP','','data/afip/index','2019-12-06 14:49:55','2019-12-06 14:49:55');

--
-- Table structure for table `dc_estados`
--

CREATE TABLE `dc_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_estados`
--

INSERT INTO `dc_estados` VALUES (1,NULL,'BORRADOR',1,NULL,'2023-08-07 00:16:24',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-07 00:16:24',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:26:57',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-07 00:16:24','2023-08-07 00:16:24'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-07 00:16:24','2023-08-07 00:16:24');

--
-- Table structure for table `dc_estados_decisiones`
--

CREATE TABLE `dc_estados_decisiones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_estados_decisiones_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  CONSTRAINT `dc_estados_decisiones_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_estados_decisiones`
--

INSERT INTO `dc_estados_decisiones` VALUES (1,NULL,3,'Pendiente',1,NULL,NULL,NULL),(2,NULL,3,'Aprobado',1,NULL,NULL,NULL),(3,NULL,3,'Rechazado',1,NULL,NULL,NULL),(4,NULL,3,'Cancelado',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_firmas`
--

CREATE TABLE `dc_firmas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `show_firmante_dc` tinyint(1) NOT NULL DEFAULT '0',
  `show_create_dc` tinyint(1) NOT NULL DEFAULT '0',
  `faltan_firmas` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas`
--

INSERT INTO `dc_firmas` VALUES (1,NULL,'NO',1,1,0,1,NULL,'2023-08-07 00:16:25',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-07 00:16:25',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-07 00:16:25',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-07 00:16:25','2023-08-07 00:16:25',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:25:32','2023-10-12 08:25:32',NULL);

--
-- Table structure for table `dc_firmas_ordenes`
--

CREATE TABLE `dc_firmas_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `user_id_que_firma` int(10) unsigned NOT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_firmas_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_firmas_ordenes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_firmas_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  CONSTRAINT `dc_firmas_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_firmas_ordenes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas_ordenes`
--


--
-- Table structure for table `dc_firmas_reglas`
--

CREATE TABLE `dc_firmas_reglas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL,
  `grupos_users_ids` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_firmas_reglas_person_id_foreign` (`person_id`),
  KEY `dc_firmas_reglas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_firmas_reglas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_firmas_reglas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_firmas_reglas`
--


--
-- Table structure for table `dc_orden_de_pago`
--

CREATE TABLE `dc_orden_de_pago` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-09-28 16:43:54',
  `dc_orden_id` bigint(20) unsigned NOT NULL DEFAULT '10',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `request` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_person_id_foreign` (`person_id`),
  KEY `dc_orden_de_pago_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_orden_de_pago_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_orden_de_pago_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_orden_de_pago_dc_estado_id_foreign` (`dc_estado_id`),
  CONSTRAINT `dc_orden_de_pago_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_orden_de_pago_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_orden_de_pago_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago`
--


--
-- Table structure for table `dc_orden_de_pago_cheques`
--

CREATE TABLE `dc_orden_de_pago_cheques` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `ctacte_cheque_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` (`ctacte_cheque_id`),
  CONSTRAINT `dc_orden_de_pago_cheques_ctacte_cheque_id_foreign` FOREIGN KEY (`ctacte_cheque_id`) REFERENCES `ctacte_cheques` (`id`),
  CONSTRAINT `dc_orden_de_pago_cheques_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago_cheques`
--


--
-- Table structure for table `dc_orden_de_pago_receipts`
--

CREATE TABLE `dc_orden_de_pago_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_de_pago_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` (`dc_orden_de_pago_id`),
  KEY `dc_orden_de_pago_receipts_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_orden_de_pago_receipts_dc_orden_de_pago_id_foreign` FOREIGN KEY (`dc_orden_de_pago_id`) REFERENCES `dc_orden_de_pago` (`id`),
  CONSTRAINT `dc_orden_de_pago_receipts_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_de_pago_receipts`
--


--
-- Table structure for table `dc_orden_files`
--

CREATE TABLE `dc_orden_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `file` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_orden_files_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_orden_files_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_orden_files`
--


--
-- Table structure for table `dc_ordenes`
--

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `sucursal` int(11) NOT NULL DEFAULT '1',
  `numero` int(11) NOT NULL,
  `numero_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `fecha_asignacion` datetime DEFAULT NULL,
  `fecha_cumplido` datetime DEFAULT NULL,
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `forma_de_entrega_id` int(10) unsigned DEFAULT NULL,
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '1.00',
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `facturada` decimal(16,2) NOT NULL DEFAULT '0.00',
  `is_pagada` tinyint(1) NOT NULL,
  `garantia` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mant_oferta` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comen_para_cliente` text COLLATE utf8mb4_unicode_ci,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_ov_origen_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_cobranza_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_factura_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_ov_status_venta_id` bigint(20) unsigned DEFAULT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `dc_estado_decision_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `is_multiples_ot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `is_completado` tinyint(1) NOT NULL DEFAULT '0',
  `is_credit` tinyint(1) DEFAULT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  KEY `dc_ordenes_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `dc_ordenes_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_moneda_id_foreign` (`moneda_id`),
  KEY `dc_ordenes_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `dc_ordenes_syj_empleado_id_foreign` (`syj_empleado_id`),
  KEY `dc_ordenes_dc_estado_decision_id_foreign` (`dc_estado_decision_id`),
  KEY `dc_ordenes_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  KEY `dc_ordenes_dc_ov_status_venta_id_foreign` (`dc_ov_status_venta_id`),
  KEY `dc_ordenes_dc_ov_status_entrega_id_foreign` (`dc_ov_status_entrega_id`),
  KEY `dc_ordenes_dc_ov_status_factura_id_foreign` (`dc_ov_status_factura_id`),
  KEY `dc_ordenes_dc_ov_status_cobranza_id_foreign` (`dc_ov_status_cobranza_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_decision_id_foreign` FOREIGN KEY (`dc_estado_decision_id`) REFERENCES `dc_estados_decisiones` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_cobranza_id_foreign` FOREIGN KEY (`dc_ov_status_cobranza_id`) REFERENCES `dc_ov_status_cobranza` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_entrega_id_foreign` FOREIGN KEY (`dc_ov_status_entrega_id`) REFERENCES `dc_ov_status_entrega` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_factura_id_foreign` FOREIGN KEY (`dc_ov_status_factura_id`) REFERENCES `dc_ov_status_factura` (`id`),
  CONSTRAINT `dc_ordenes_dc_ov_status_venta_id_foreign` FOREIGN KEY (`dc_ov_status_venta_id`) REFERENCES `dc_ov_status_venta` (`id`),
  CONSTRAINT `dc_ordenes_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `dc_ordenes_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes`
--


--
-- Table structure for table `dc_ordenes_compra_coti`
--

CREATE TABLE `dc_ordenes_compra_coti` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_coti_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_compra_coti_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_compra_coti_dc_orden_coti_id_foreign` (`dc_orden_coti_id`),
  CONSTRAINT `dc_ordenes_compra_coti_dc_orden_coti_id_foreign` FOREIGN KEY (`dc_orden_coti_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_compra_coti_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_compra_coti`
--


--
-- Table structure for table `dc_ordenes_compra_req`
--

CREATE TABLE `dc_ordenes_compra_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_compra_req_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_compra_req_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_compra_req_dc_orden_req_id_foreign` (`dc_orden_req_id`),
  KEY `dc_ordenes_compra_req_dc_orden_req_detail_id_foreign` (`dc_orden_req_detail_id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_req_detail_id_foreign` FOREIGN KEY (`dc_orden_req_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_compra_req_dc_orden_req_id_foreign` FOREIGN KEY (`dc_orden_req_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_compra_req`
--


--
-- Table structure for table `dc_ordenes_cotizacion_req`
--

CREATE TABLE `dc_ordenes_cotizacion_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_id` bigint(20) unsigned NOT NULL,
  `dc_orden_req_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_req_id_foreign` (`dc_orden_req_id`),
  KEY `dc_ordenes_cotizacion_req_dc_orden_req_detail_id_foreign` (`dc_orden_req_detail_id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_req_detail_id_foreign` FOREIGN KEY (`dc_orden_req_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_cotizacion_req_dc_orden_req_id_foreign` FOREIGN KEY (`dc_orden_req_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_cotizacion_req`
--


--
-- Table structure for table `dc_ordenes_details`
--

CREATE TABLE `dc_ordenes_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_origen_destino_id` bigint(20) unsigned DEFAULT NULL,
  `origendestinoable_id` int(10) unsigned DEFAULT NULL,
  `origendestinoable_type` text COLLATE utf8mb4_unicode_ci,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id_destino` bigint(20) unsigned DEFAULT NULL,
  `prod_variant_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_id_destino` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_details_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `dc_ordenes_details_system_tax_id_foreign` (`system_tax_id`),
  KEY `dc_ordenes_details_inv_producto_id_destino_foreign` (`inv_producto_id_destino`),
  KEY `dc_ordenes_details_dc_orden_origen_destino_id_foreign` (`dc_orden_origen_destino_id`),
  KEY `dc_ordenes_details_inv_deposito_id_foreign` (`inv_deposito_id`),
  KEY `dc_ordenes_details_inv_deposito_id_destino_foreign` (`inv_deposito_id_destino`),
  KEY `dc_ordenes_details_prod_variant_id_foreign` (`prod_variant_id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_origen_destino_id_foreign` FOREIGN KEY (`dc_orden_origen_destino_id`) REFERENCES `dc_ordenes_origen_destino` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_deposito_id_destino_foreign` FOREIGN KEY (`inv_deposito_id_destino`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_destino_foreign` FOREIGN KEY (`inv_producto_id_destino`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`) ON DELETE SET NULL,
  CONSTRAINT `dc_ordenes_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_details`
--


--
-- Table structure for table `dc_ordenes_facturada`
--

CREATE TABLE `dc_ordenes_facturada` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(11) DEFAULT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_facturada_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_facturada_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_facturada_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `dc_ordenes_facturada_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `dc_ordenes_facturada_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_facturada_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_facturada_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_facturada`
--


--
-- Table structure for table `dc_ordenes_ingreso_compra`
--

CREATE TABLE `dc_ordenes_ingreso_compra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  KEY `dc_ordenes_ingreso_compra_dc_orden_compra_detail_id_foreign` (`dc_orden_compra_detail_id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_compra_detail_id_foreign` FOREIGN KEY (`dc_orden_compra_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingreso_compra_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_ingreso_compra`
--


--
-- Table structure for table `dc_ordenes_ingxdev_rem_egr`
--

CREATE TABLE `dc_ordenes_ingxdev_rem_egr` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_egr_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` (`dc_orden_rem_egr_id`),
  KEY `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` (`dc_orden_rem_egr_detail_id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_detail_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_ingxdev_rem_egr_dc_orden_rem_egr_id_foreign` FOREIGN KEY (`dc_orden_rem_egr_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_ingxdev_rem_egr`
--


--
-- Table structure for table `dc_ordenes_logs`
--

CREATE TABLE `dc_ordenes_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `loggable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `loggable_id` bigint(20) unsigned NOT NULL,
  `related_id` bigint(20) unsigned DEFAULT NULL,
  `related_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_logs_loggable_type_loggable_id_index` (`loggable_type`,`loggable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_logs`
--


--
-- Table structure for table `dc_ordenes_origen_destino`
--

CREATE TABLE `dc_ordenes_origen_destino` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `modelo` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_deposito` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_origen_destino`
--

INSERT INTO `dc_ordenes_origen_destino` VALUES (1,NULL,'Orden de Trabajo','App\\Models\\Inventario\\InvOrdenTrabajo',0,1,NULL,NULL,NULL),(2,NULL,'Centro de Costos','App\\Models\\Inventario\\InvOrdenTrabajoHorasTipo',0,1,NULL,'2023-09-12 22:36:58',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:17:50',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:17:27',NULL);

--
-- Table structure for table `dc_ordenes_pdf_templates`
--

CREATE TABLE `dc_ordenes_pdf_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vista_blade` text COLLATE utf8mb4_unicode_ci,
  `pdf_base_path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tipo_plantilla` enum('blade','pdf_base') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'blade',
  `configuracion` json DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_person_tipo_template` (`person_id`,`dc_orden_tipo_id`),
  KEY `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  CONSTRAINT `dc_ordenes_pdf_templates_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_pdf_templates_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_pdf_templates`
--


--
-- Table structure for table `dc_ordenes_revocadas`
--

CREATE TABLE `dc_ordenes_revocadas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_revocadas_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `dc_ordenes_revocadas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_revocadas`
--


--
-- Table structure for table `dc_ordenes_servicio_compra`
--

CREATE TABLE `dc_ordenes_servicio_compra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_detail_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  KEY `dc_ordenes_servicio_compra_dc_orden_compra_detail_id_foreign` (`dc_orden_compra_detail_id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_compra_detail_id_foreign` FOREIGN KEY (`dc_orden_compra_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ordenes_servicio_compra_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_servicio_compra`
--


--
-- Table structure for table `dc_ordenes_tipos`
--

CREATE TABLE `dc_ordenes_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `usabilidad` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_tipos`
--

INSERT INTO `dc_ordenes_tipos` VALUES (1,NULL,'ORDEN DE COMPRAS',NULL,1,NULL,'2023-02-16 08:53:03',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2023-02-16 08:53:03',NULL),(3,NULL,'PRESUPUESTO',NULL,1,NULL,NULL,NULL),(4,NULL,'REQUERIMIENTO',NULL,1,NULL,NULL,NULL),(5,NULL,'REMITO DE INGRESO',NULL,1,NULL,'2023-06-12 23:36:54',NULL),(6,NULL,'REMITO DE EGRESO',NULL,1,NULL,NULL,NULL),(7,NULL,'REMITO INTERNO',NULL,1,NULL,NULL,NULL),(8,NULL,'REMITO DE INGRESO','Es lo mismo que un remito de ingreso, \n        pero los productosa ingresar provienen de una Orden de Compra',1,NULL,NULL,NULL),(9,NULL,'REMITO DE SERVICIO','Es un remito de Ingreso de un servicio que se\n        asigna directo a una OT',1,NULL,NULL,NULL),(10,NULL,'ORDEN DE PAGO',NULL,1,'2023-09-28 16:43:54','2023-09-28 16:43:54',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:49:22','2024-04-02 23:49:22',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:49:22','2024-04-02 23:49:22',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:49:22','2024-04-02 23:49:22',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:17:50','2024-05-07 20:17:50',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:54:56','2024-06-26 07:54:56',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2025-03-05 15:09:40','2025-03-05 15:09:40',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2025-03-05 15:09:43','2025-03-05 15:09:43',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2025-03-05 15:09:44','2025-03-05 15:09:44',NULL),(19,NULL,'Remito de Cliente','Se usa en las Ordenes de Venta para demostrar que se entrego mercaderia al cliente',1,NULL,NULL,NULL),(20,NULL,'Orden de Compra de Cliente','Es la OC que envia el cliente para que se le haga el pedido',1,NULL,NULL,NULL),(21,NULL,'Solicitud de Facturacion','Es un documento que se usa para que se pueda facturar',1,NULL,NULL,NULL),(22,NULL,'Ordenes de Compra','Es una OC para Empresas',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_cta_cte_cliente`
--

CREATE TABLE `dc_ov_cta_cte_cliente` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_cta_cte_cliente_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_cta_cte_cliente_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  CONSTRAINT `dc_ov_cta_cte_cliente_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `dc_ov_cta_cte_cliente_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_cta_cte_cliente`
--


--
-- Table structure for table `dc_ov_fact_electronicas`
--

CREATE TABLE `dc_ov_fact_electronicas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_fact_electronicas_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_fact_electronicas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `dc_ov_fact_electronicas_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_fact_electronicas_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_fact_electronicas`
--


--
-- Table structure for table `dc_ov_oc_presupuestos`
--

CREATE TABLE `dc_ov_oc_presupuestos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_presupuesto_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_oc_presupuestos_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_oc_presupuestos_dc_orden_presupuesto_id_foreign` (`dc_orden_presupuesto_id`),
  CONSTRAINT `dc_ov_oc_presupuestos_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_oc_presupuestos_dc_orden_presupuesto_id_foreign` FOREIGN KEY (`dc_orden_presupuesto_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_oc_presupuestos`
--


--
-- Table structure for table `dc_ov_ocs`
--

CREATE TABLE `dc_ov_ocs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_compra_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_ocs_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_ocs_dc_orden_compra_id_foreign` (`dc_orden_compra_id`),
  CONSTRAINT `dc_ov_ocs_dc_orden_compra_id_foreign` FOREIGN KEY (`dc_orden_compra_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_ocs_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_ocs`
--


--
-- Table structure for table `dc_ov_origenes`
--

CREATE TABLE `dc_ov_origenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_origenes`
--

INSERT INTO `dc_ov_origenes` VALUES (1,NULL,'Taller',1,NULL,NULL,NULL),(2,NULL,'Comercial',1,NULL,NULL,NULL),(3,NULL,'Repuestos',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_origenes_users`
--

CREATE TABLE `dc_ov_origenes_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `dc_ov_origen_id` bigint(20) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_origenes_users_dc_ov_origen_id_foreign` (`dc_ov_origen_id`),
  CONSTRAINT `dc_ov_origenes_users_dc_ov_origen_id_foreign` FOREIGN KEY (`dc_ov_origen_id`) REFERENCES `dc_ov_origenes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_origenes_users`
--


--
-- Table structure for table `dc_ov_ots`
--

CREATE TABLE `dc_ov_ots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `ot_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_ots_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_ots_ot_id_foreign` (`ot_id`),
  CONSTRAINT `dc_ov_ots_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_ots_ot_id_foreign` FOREIGN KEY (`ot_id`) REFERENCES `inv_orden_trabajos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_ots`
--


--
-- Table structure for table `dc_ov_pres_clientes`
--

CREATE TABLE `dc_ov_pres_clientes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_pres_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_pres_clientes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_pres_clientes_dc_orden_pres_id_foreign` (`dc_orden_pres_id`),
  CONSTRAINT `dc_ov_pres_clientes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_pres_clientes_dc_orden_pres_id_foreign` FOREIGN KEY (`dc_orden_pres_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_pres_clientes`
--


--
-- Table structure for table `dc_ov_rem_clientes`
--

CREATE TABLE `dc_ov_rem_clientes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_rem_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_rem_clientes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_rem_clientes_dc_orden_rem_id_foreign` (`dc_orden_rem_id`),
  CONSTRAINT `dc_ov_rem_clientes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_rem_clientes_dc_orden_rem_id_foreign` FOREIGN KEY (`dc_orden_rem_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_rem_clientes`
--


--
-- Table structure for table `dc_ov_remc_occ`
--

CREATE TABLE `dc_ov_remc_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_detail_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_id` bigint(20) unsigned DEFAULT NULL,
  `dc_occ_detail_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_remc_occ_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_remc_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_ov_remc_occ_dc_occ_id_foreign` (`dc_occ_id`),
  KEY `dc_ov_remc_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_ov_remc_occ_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_remc_occ`
--


--
-- Table structure for table `dc_ov_sol_facturacion`
--

CREATE TABLE `dc_ov_sol_facturacion` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_sol_facturacion_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ov_sol_facturacion_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ov_sol_facturacion_dc_sol_facturacion_id_foreign` (`dc_sol_facturacion_id`),
  CONSTRAINT `dc_ov_sol_facturacion_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ov_sol_facturacion_dc_sol_facturacion_id_foreign` FOREIGN KEY (`dc_sol_facturacion_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_sol_facturacion`
--


--
-- Table structure for table `dc_ov_status_cobranza`
--

CREATE TABLE `dc_ov_status_cobranza` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_cobranza`
--

INSERT INTO `dc_ov_status_cobranza` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Parcial',1,NULL,NULL,NULL),(3,NULL,'Completa',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_entrega`
--

CREATE TABLE `dc_ov_status_entrega` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_entrega`
--

INSERT INTO `dc_ov_status_entrega` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Parcial',1,NULL,NULL,NULL),(3,NULL,'Completa',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_factura`
--

CREATE TABLE `dc_ov_status_factura` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_factura`
--

INSERT INTO `dc_ov_status_factura` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Facturable',1,NULL,NULL,NULL),(3,NULL,'Facturado Parcialmente',1,NULL,NULL,NULL),(4,NULL,'Facturado Totalmente',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ov_status_venta`
--

CREATE TABLE `dc_ov_status_venta` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ov_status_venta`
--

INSERT INTO `dc_ov_status_venta` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Presupuesto',1,NULL,NULL,NULL),(3,NULL,'Venta',1,NULL,NULL,NULL),(4,NULL,'Rechazada',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_sol_fac_occ`
--

CREATE TABLE `dc_sol_fac_occ` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL COMMENT 'Solicitud Facturación (tipo 21)',
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de SF',
  `dc_occ_id` bigint(20) unsigned NOT NULL COMMENT 'OC Cliente (tipo 20)',
  `dc_occ_detail_id` bigint(20) unsigned NOT NULL COMMENT 'Detalle de OCC',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_sf` (`dc_orden_id`),
  KEY `idx_occ` (`dc_occ_id`),
  KEY `dc_sol_fac_occ_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `dc_sol_fac_occ_dc_occ_detail_id_foreign` (`dc_occ_detail_id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_detail_id_foreign` FOREIGN KEY (`dc_occ_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_occ_id_foreign` FOREIGN KEY (`dc_occ_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `dc_sol_fac_occ_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_sol_fac_occ`
--


--
-- Table structure for table `despachos`
--

CREATE TABLE `despachos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2025-04-28 16:09:17',
  `is_ponderacion_autom` tinyint(1) NOT NULL DEFAULT '1',
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `numero` int(10) unsigned DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_1` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_2` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_parte_3` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_person_id_foreign` (`person_id`),
  KEY `despachos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `despachos_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `despachos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `despachos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `despachos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos`
--


--
-- Table structure for table `despachos_cierres`
--

CREATE TABLE `despachos_cierres` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `costo_antes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cantidades` decimal(16,2) DEFAULT '0.00',
  `precio_x_cantidad` decimal(16,2) DEFAULT '0.00',
  `ratio` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `incremento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `incremento_x_cantidad` decimal(16,2) DEFAULT '0.00',
  `costo_despues` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `despachos_cierres_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_cierres_receipt_id_foreign` (`receipt_id`),
  KEY `despachos_cierres_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `despachos_cierres_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  KEY `despachos_cierres_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `despachos_cierres_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `despachos_cierres_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `despachos_cierres_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_cierres_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `despachos_cierres_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
