INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (8904,7525,8904,6389,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 19:20:55',NULL),(8905,7525,8905,6390,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 19:20:55',NULL),(8906,7525,8906,6391,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:23:32','2024-02-14 21:23:32'),(8907,7525,8907,6392,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:17:27','2024-02-14 21:17:27'),(8908,7525,8908,6393,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:15:50','2024-02-14 21:15:50'),(8909,7525,8909,6394,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:06:26','2024-02-14 21:06:26'),(8910,7525,8910,6395,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 19:20:55',NULL),(8911,7525,8911,6396,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-23 17:32:58','2024-02-23 17:32:58'),(8912,7525,8912,6397,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 19:20:55',NULL),(8913,7525,8913,6398,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 19:20:55',NULL),(8914,7525,8914,6399,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:11:32','2024-02-14 21:11:32'),(8915,7525,8915,6400,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:04:36','2024-02-14 21:04:36'),(8916,7525,8916,6401,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:27:22','2024-02-14 21:27:22'),(8917,7525,8917,6402,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 21:03:11','2024-02-14 21:03:11'),(8918,7525,8918,6403,NULL,0,NULL,'2024-02-14 19:20:55','2024-02-14 19:20:55',NULL),(8919,7525,8919,6404,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 21:09:40','2024-02-14 21:09:40'),(8920,7525,8920,6405,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 19:20:56',NULL),(8921,7525,8921,6406,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 19:20:56',NULL),(8922,7525,8922,6407,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 20:52:07','2024-02-14 20:52:07'),(8923,7525,8923,6408,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 21:27:00','2024-02-14 21:27:00'),(8924,7525,8924,6409,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 20:43:00','2024-02-14 20:43:00'),(8925,7525,8925,6410,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 20:30:43','2024-02-14 20:30:43'),(8926,7525,8926,6411,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 19:20:56',NULL),(8927,7525,8927,6412,NULL,0,NULL,'2024-02-14 19:20:56','2024-02-14 19:20:56',NULL),(8928,7525,8928,6371,NULL,0,NULL,'2024-02-14 19:27:07','2024-02-14 19:27:07',NULL),(8929,7525,8929,6370,NULL,0,NULL,'2024-02-14 19:27:59','2024-02-14 19:27:59',NULL),(8930,7525,8930,6374,NULL,0,NULL,'2024-02-14 19:28:23','2024-02-14 19:28:23',NULL),(8931,7525,8931,6375,NULL,0,NULL,'2024-02-14 19:28:44','2024-02-14 19:28:44',NULL),(8932,7525,8932,6373,NULL,0,NULL,'2024-02-14 19:28:58','2024-02-14 19:28:58',NULL),(8933,7525,8933,6372,NULL,0,NULL,'2024-02-14 19:29:20','2024-02-14 19:29:20',NULL),(8934,7525,8934,6376,NULL,0,NULL,'2024-02-14 19:29:47','2024-02-14 19:29:47',NULL),(8935,7525,8935,6368,NULL,0,NULL,'2024-02-14 19:32:21','2024-02-14 19:32:21',NULL),(8936,7525,8936,6377,NULL,0,NULL,'2024-02-14 19:42:27','2024-02-14 19:42:27',NULL),(8937,7525,8937,6378,NULL,0,NULL,'2024-02-14 19:43:16','2024-02-14 19:43:43','2024-02-14 19:43:43'),(8938,7525,8938,6378,NULL,0,NULL,'2024-02-14 19:43:43','2024-02-14 19:43:43',NULL),(8939,7525,8939,6369,NULL,0,NULL,'2024-02-14 19:44:10','2024-02-14 19:44:10',NULL),(8940,7525,8940,6410,NULL,0,NULL,'2024-02-14 20:30:43','2024-02-14 20:30:43',NULL),(8941,7525,8941,6413,NULL,0,NULL,'2024-02-14 20:35:31','2024-02-14 20:35:31',NULL),(8942,7525,8942,6414,NULL,0,NULL,'2024-02-14 20:36:34','2024-02-14 20:36:34',NULL),(8943,7525,8943,6409,NULL,0,NULL,'2024-02-14 20:43:00','2024-02-14 20:43:00',NULL),(8944,7525,8944,6415,NULL,0,NULL,'2024-02-14 20:46:43','2024-02-14 20:46:43',NULL),(8945,7525,8945,6416,NULL,0,NULL,'2024-02-14 20:47:51','2024-02-14 20:47:51',NULL),(8946,7525,8946,6417,NULL,0,NULL,'2024-02-14 20:50:20','2024-02-14 20:50:20',NULL),(8947,7525,8947,6407,NULL,0,NULL,'2024-02-14 20:52:07','2024-02-14 20:52:07',NULL),(8948,7525,8948,6418,NULL,0,NULL,'2024-02-14 20:54:45','2024-02-14 20:54:45',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (8949,7525,8949,6388,NULL,0,NULL,'2024-02-14 20:55:28','2024-02-14 20:55:28',NULL),(8950,7525,8950,6419,NULL,0,NULL,'2024-02-14 20:58:07','2024-02-14 20:58:07',NULL),(8951,7525,8951,6402,NULL,0,NULL,'2024-02-14 21:03:11','2024-02-14 21:03:11',NULL),(8952,7525,8952,6400,NULL,0,NULL,'2024-02-14 21:04:36','2024-02-14 21:04:36',NULL),(8953,7525,8953,6394,NULL,0,NULL,'2024-02-14 21:06:26','2024-02-23 17:33:39','2024-02-23 17:33:39'),(8954,7525,8954,6380,NULL,0,NULL,'2024-02-14 21:07:40','2024-02-14 21:07:40',NULL),(8955,7525,8955,6404,NULL,0,NULL,'2024-02-14 21:09:40','2024-02-14 21:09:40',NULL),(8956,7525,8956,6399,NULL,0,NULL,'2024-02-14 21:11:32','2024-02-14 21:11:32',NULL),(8957,7525,8957,6393,NULL,0,NULL,'2024-02-14 21:15:50','2024-02-14 21:15:50',NULL),(8958,7525,8958,6392,NULL,0,NULL,'2024-02-14 21:17:27','2024-02-14 21:17:27',NULL),(8959,7525,8959,6420,NULL,0,NULL,'2024-02-14 21:22:31','2024-02-14 21:22:31',NULL),(8960,7525,8960,6391,NULL,0,NULL,'2024-02-14 21:23:32','2024-02-14 21:23:32',NULL),(8961,7525,8961,6385,NULL,0,NULL,'2024-02-14 21:24:22','2024-02-14 21:24:22',NULL),(8962,7525,8962,6386,NULL,0,NULL,'2024-02-14 21:25:07','2024-02-14 21:25:07',NULL),(8963,7525,8963,6384,NULL,0,NULL,'2024-02-14 21:25:43','2024-02-14 21:25:43',NULL),(8964,7525,8964,6379,NULL,0,NULL,'2024-02-14 21:26:31','2024-02-14 21:26:31',NULL),(8965,7525,8965,6408,NULL,0,NULL,'2024-02-14 21:27:00','2024-02-14 21:27:00',NULL),(8966,7525,8966,6401,NULL,0,NULL,'2024-02-14 21:27:22','2024-02-14 21:27:22',NULL),(8967,7525,8967,6421,NULL,0,NULL,'2024-02-14 21:37:00','2024-02-14 21:58:46','2024-02-14 21:58:46'),(8968,7525,8968,6422,NULL,0,NULL,'2024-02-14 21:37:00','2024-02-14 22:01:33','2024-02-14 22:01:33'),(8969,7525,8969,6423,NULL,0,NULL,'2024-02-14 21:37:00','2024-02-14 21:59:45','2024-02-14 21:59:45'),(8970,7525,8970,6424,NULL,0,NULL,'2024-02-14 21:37:00','2024-02-14 22:02:13','2024-02-14 22:02:13'),(8971,7525,8971,6425,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-14 21:37:11',NULL),(8972,7525,8972,6426,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-15 02:24:09','2024-02-15 02:24:09'),(8973,7525,8973,6427,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-15 02:25:20','2024-02-15 02:25:20'),(8974,7525,8974,6428,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-14 21:37:11',NULL),(8975,7525,8975,6429,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-14 21:37:11',NULL),(8976,7525,8976,6430,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-15 02:26:11','2024-02-15 02:26:11'),(8977,7525,8977,6431,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-14 21:37:11',NULL),(8978,7525,8978,6432,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-14 21:37:11',NULL),(8979,7525,8979,6433,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-14 21:37:11',NULL),(8980,7525,8980,6434,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-24 19:07:52','2024-02-24 19:07:52'),(8981,7525,8981,6435,NULL,0,NULL,'2024-02-14 21:37:11','2024-02-15 02:28:06','2024-02-15 02:28:06'),(8982,7525,8982,6436,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8983,7525,8983,6437,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8984,7525,8984,6438,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8985,7525,8985,6439,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8986,7525,8986,6440,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8987,7525,8987,6441,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8988,7525,8988,6442,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 22:16:44','2024-02-14 22:16:44'),(8989,7525,8989,6443,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-24 19:06:45','2024-02-24 19:06:45'),(8990,7525,8990,6444,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-15 02:27:15','2024-02-15 02:27:15'),(8991,7525,8991,6445,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8992,7525,8992,6446,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8993,7525,8993,6447,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 22:18:55','2024-02-14 22:18:55');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (8994,7525,8994,6448,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-24 19:05:05','2024-02-24 19:05:05'),(8995,7525,8995,6449,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-14 21:37:12',NULL),(8996,7525,8996,6450,NULL,0,NULL,'2024-02-14 21:37:12','2024-02-15 02:28:26','2024-02-15 02:28:26'),(8997,7525,8997,6451,NULL,0,NULL,'2024-02-14 21:37:13','2024-02-14 21:37:13',NULL),(8998,7525,8998,6452,NULL,0,NULL,'2024-02-14 21:37:13','2024-02-14 22:21:43','2024-02-14 22:21:43'),(8999,7525,8999,6453,NULL,0,NULL,'2024-02-14 21:37:13','2024-02-15 02:22:54','2024-02-15 02:22:54'),(9000,7525,9000,6421,NULL,0,NULL,'2024-02-14 21:58:46','2024-02-14 21:58:46',NULL),(9001,7525,9001,6423,NULL,0,NULL,'2024-02-14 21:59:45','2024-02-14 21:59:45',NULL),(9002,7525,9002,6422,NULL,0,NULL,'2024-02-14 22:01:33','2024-02-14 22:01:33',NULL),(9003,7525,9003,6424,NULL,0,NULL,'2024-02-14 22:02:13','2024-02-14 22:02:13',NULL),(9004,7525,9004,6454,NULL,0,NULL,'2024-02-14 22:12:38','2024-02-14 22:12:38',NULL),(9005,7525,9005,6455,NULL,0,NULL,'2024-02-14 22:13:34','2024-02-14 22:13:34',NULL),(9006,7525,9006,6442,NULL,0,NULL,'2024-02-14 22:16:44','2024-02-14 22:19:44','2024-02-14 22:19:44'),(9007,7525,9007,6447,NULL,0,NULL,'2024-02-14 22:18:55','2024-02-14 22:18:55',NULL),(9008,7525,9008,6442,NULL,0,NULL,'2024-02-14 22:19:44','2024-02-14 22:19:44',NULL),(9009,7525,9009,6452,NULL,0,NULL,'2024-02-14 22:21:43','2024-02-14 22:21:43',NULL),(9010,7525,9010,6453,NULL,0,NULL,'2024-02-15 02:22:54','2024-02-15 02:22:54',NULL),(9011,7525,9011,6426,NULL,0,NULL,'2024-02-15 02:24:09','2024-02-15 02:24:09',NULL),(9012,7525,9012,6427,NULL,0,NULL,'2024-02-15 02:25:20','2024-02-15 02:25:20',NULL),(9013,7525,9013,6430,NULL,0,NULL,'2024-02-15 02:26:11','2024-02-15 02:26:11',NULL),(9014,7525,9014,6444,NULL,0,NULL,'2024-02-15 02:27:15','2024-02-15 02:27:15',NULL),(9015,7525,9015,6435,NULL,0,NULL,'2024-02-15 02:28:06','2024-02-15 02:28:06',NULL),(9016,7525,9016,6450,NULL,0,NULL,'2024-02-15 02:28:26','2024-02-15 02:28:26',NULL),(9017,7525,9017,6456,NULL,0,NULL,'2024-02-15 20:23:51','2024-02-15 20:27:58','2024-02-15 20:27:58'),(9018,7525,9018,6457,NULL,0,NULL,'2024-02-15 20:23:51','2024-02-15 20:28:17','2024-02-15 20:28:17'),(9019,7525,9019,6458,NULL,0,NULL,'2024-02-15 20:23:51','2024-02-15 20:29:37','2024-02-15 20:29:37'),(9020,7525,9020,6459,NULL,0,NULL,'2024-02-15 20:23:51','2024-02-15 20:28:32','2024-02-15 20:28:32'),(9021,7525,9021,6460,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:41:52','2024-02-15 20:41:52'),(9022,7525,9022,6461,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:41:28','2024-02-15 20:41:28'),(9023,7525,9023,6462,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:42:05','2024-02-15 20:42:05'),(9024,7525,9024,6463,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:40:44','2024-02-15 20:40:44'),(9025,7525,9025,6464,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:40:24','2024-02-15 20:40:24'),(9026,7525,9026,6465,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:41:06','2024-02-15 20:41:06'),(9027,7525,9027,6466,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:49:09','2024-02-15 20:49:09'),(9028,7525,9028,6467,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:39:58','2024-02-15 20:39:58'),(9029,7525,9029,6468,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:35:27','2024-02-15 20:35:27'),(9030,7525,9030,6469,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:24:05',NULL),(9031,7525,9031,6470,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:24:05',NULL),(9032,7525,9032,6471,NULL,0,NULL,'2024-02-15 20:24:05','2024-02-15 20:24:05',NULL),(9033,7525,9033,6472,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:39:08','2024-02-15 20:39:08'),(9034,7525,9034,6473,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:24:06',NULL),(9035,7525,9035,6474,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:38:32','2024-02-15 20:38:32'),(9036,7525,9036,6475,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:38:11','2024-02-15 20:38:11');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9037,7525,9037,6476,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:37:33','2024-02-15 20:37:33'),(9038,7525,9038,6477,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:24:06',NULL),(9039,7525,9039,6478,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:24:06',NULL),(9040,7525,9040,6479,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:50:24','2024-02-15 20:50:24'),(9041,7525,9041,6480,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:36:49','2024-02-15 20:36:49'),(9042,7525,9042,6481,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:36:26','2024-02-15 20:36:26'),(9043,7525,9043,6482,NULL,0,NULL,'2024-02-15 20:24:06','2024-02-15 20:24:06',NULL),(9044,7525,9044,6456,NULL,0,NULL,'2024-02-15 20:27:58','2024-02-15 20:27:58',NULL),(9045,7525,9045,6457,NULL,0,NULL,'2024-02-15 20:28:17','2024-02-15 20:28:17',NULL),(9046,7525,9046,6459,NULL,0,NULL,'2024-02-15 20:28:32','2024-02-15 20:28:32',NULL),(9047,7525,9047,6458,NULL,0,NULL,'2024-02-15 20:29:37','2024-02-15 20:29:37',NULL),(9048,7525,9048,6468,NULL,0,NULL,'2024-02-15 20:35:27','2024-02-15 20:35:27',NULL),(9049,7525,9049,6481,NULL,0,NULL,'2024-02-15 20:36:26','2024-02-15 20:36:26',NULL),(9050,7525,9050,6480,NULL,0,NULL,'2024-02-15 20:36:49','2024-02-15 20:36:49',NULL),(9051,7525,9051,6476,NULL,0,NULL,'2024-02-15 20:37:33','2024-02-15 20:37:33',NULL),(9052,7525,9052,6475,NULL,0,NULL,'2024-02-15 20:38:11','2024-02-15 20:38:11',NULL),(9053,7525,9053,6474,NULL,0,NULL,'2024-02-15 20:38:32','2024-02-15 20:38:32',NULL),(9054,7525,9054,6472,NULL,0,NULL,'2024-02-15 20:39:08','2024-02-15 20:39:08',NULL),(9055,7525,9055,6467,NULL,0,NULL,'2024-02-15 20:39:58','2024-02-15 20:39:58',NULL),(9056,7525,9056,6464,NULL,0,NULL,'2024-02-15 20:40:24','2024-02-15 20:40:24',NULL),(9057,7525,9057,6463,NULL,0,NULL,'2024-02-15 20:40:44','2024-02-15 20:40:44',NULL),(9058,7525,9058,6465,NULL,0,NULL,'2024-02-15 20:41:06','2024-02-15 20:41:06',NULL),(9059,7525,9059,6461,NULL,0,NULL,'2024-02-15 20:41:28','2024-02-15 20:41:28',NULL),(9060,7525,9060,6460,NULL,0,NULL,'2024-02-15 20:41:52','2024-02-15 20:41:52',NULL),(9061,7525,9061,6462,NULL,0,NULL,'2024-02-15 20:42:05','2024-02-15 20:42:05',NULL),(9062,7525,9062,6483,NULL,0,NULL,'2024-02-15 20:45:49','2024-02-15 20:45:49',NULL),(9063,7525,9063,6466,NULL,0,NULL,'2024-02-15 20:49:09','2024-02-15 20:49:09',NULL),(9064,7525,9064,6479,NULL,0,NULL,'2024-02-15 20:50:24','2024-02-15 20:50:24',NULL),(9065,7525,9065,6484,NULL,0,NULL,'2024-02-15 20:55:04','2024-02-15 20:55:04',NULL),(9066,7525,9066,6485,NULL,0,NULL,'2024-02-15 20:56:55','2024-02-15 20:56:55',NULL),(9067,7525,9067,6486,NULL,0,NULL,'2024-02-15 20:59:19','2024-02-15 20:59:19',NULL),(9068,7525,9068,6487,NULL,0,NULL,'2024-02-15 21:00:47','2024-02-15 21:00:47',NULL),(9069,7525,9069,6488,NULL,0,NULL,'2024-02-15 21:12:31','2024-02-15 21:21:54','2024-02-15 21:21:54'),(9070,7525,9070,6489,NULL,0,NULL,'2024-02-15 21:12:31','2024-02-15 21:21:28','2024-02-15 21:21:28'),(9071,7525,9071,6490,NULL,0,NULL,'2024-02-15 21:12:32','2024-02-15 21:22:11','2024-02-15 21:22:11'),(9072,7525,9072,6491,NULL,0,NULL,'2024-02-15 21:12:32','2024-02-15 21:20:41','2024-02-15 21:20:41'),(9073,7525,9073,6492,NULL,0,NULL,'2024-02-15 21:12:32','2024-02-15 21:20:00','2024-02-15 21:20:00'),(9074,7525,9074,6493,NULL,0,NULL,'2024-02-15 21:12:46','2024-02-15 21:12:46',NULL),(9075,7525,9075,6494,NULL,0,NULL,'2024-02-15 21:12:46','2024-02-15 21:41:46','2024-02-15 21:41:46'),(9076,7525,9076,6495,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9077,7525,9077,6496,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9078,7525,9078,6497,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 22:22:55','2024-02-15 22:22:55'),(9079,7525,9079,6498,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 22:24:26','2024-02-15 22:24:26'),(9080,7525,9080,6499,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9081,7525,9081,6500,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 22:13:18','2024-02-15 22:13:18');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9082,7525,9082,6501,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9083,7525,9083,6502,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:51:17','2024-02-15 21:51:17'),(9084,7525,9084,6503,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9085,7525,9085,6504,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:46:41','2024-02-15 21:46:41'),(9086,7525,9086,6505,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:40:34','2024-02-15 21:40:34'),(9087,7525,9087,6506,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:50:35','2024-02-15 21:50:35'),(9088,7525,9088,6507,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9089,7525,9089,6508,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:12:47',NULL),(9090,7525,9090,6509,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:43:02','2024-02-15 21:43:02'),(9091,7525,9091,6510,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:44:34','2024-02-15 21:44:34'),(9092,7525,9092,6511,NULL,0,NULL,'2024-02-15 21:12:47','2024-02-15 21:49:18','2024-02-15 21:49:18'),(9093,7525,9093,6512,NULL,0,NULL,'2024-02-15 21:12:48','2024-02-15 21:43:40','2024-02-15 21:43:40'),(9094,7525,9094,6513,NULL,0,NULL,'2024-02-15 21:12:48','2024-02-15 21:12:48',NULL),(9095,7525,9095,6492,NULL,0,NULL,'2024-02-15 21:20:00','2024-02-15 21:20:00',NULL),(9096,7525,9096,6491,NULL,0,NULL,'2024-02-15 21:20:41','2024-02-15 21:20:41',NULL),(9097,7525,9097,6489,NULL,0,NULL,'2024-02-15 21:21:28','2024-02-15 21:21:28',NULL),(9098,7525,9098,6488,NULL,0,NULL,'2024-02-15 21:21:54','2024-02-15 21:21:54',NULL),(9099,7525,9099,6490,NULL,0,NULL,'2024-02-15 21:22:11','2024-02-15 21:22:11',NULL),(9100,7525,9100,6505,NULL,0,NULL,'2024-02-15 21:40:34','2024-02-15 21:40:34',NULL),(9101,7525,9101,6494,NULL,0,NULL,'2024-02-15 21:41:46','2024-02-15 21:41:46',NULL),(9102,7525,9102,6509,NULL,0,NULL,'2024-02-15 21:43:02','2024-02-15 21:43:02',NULL),(9103,7525,9103,6512,NULL,0,NULL,'2024-02-15 21:43:40','2024-02-15 21:43:40',NULL),(9104,7525,9104,6510,NULL,0,NULL,'2024-02-15 21:44:34','2024-02-15 21:44:34',NULL),(9105,7525,9105,6504,NULL,0,NULL,'2024-02-15 21:46:41','2024-02-15 21:46:41',NULL),(9106,7525,9106,6511,NULL,0,NULL,'2024-02-15 21:49:18','2024-02-15 21:49:18',NULL),(9107,7525,9107,6506,NULL,0,NULL,'2024-02-15 21:50:35','2024-02-15 21:50:35',NULL),(9108,7525,9108,6502,NULL,0,NULL,'2024-02-15 21:51:17','2024-02-15 21:51:17',NULL),(9109,7525,9109,6514,NULL,0,NULL,'2024-02-15 22:12:10','2024-02-15 22:12:10',NULL),(9110,7525,9110,6500,NULL,0,NULL,'2024-02-15 22:13:18','2024-02-15 22:13:18',NULL),(9111,7525,9111,6515,NULL,0,NULL,'2024-02-15 22:15:27','2024-02-15 22:15:27',NULL),(9112,7525,9112,6516,NULL,0,NULL,'2024-02-15 22:18:29','2024-02-15 22:18:29',NULL),(9113,7525,9113,6497,NULL,0,NULL,'2024-02-15 22:22:55','2024-02-15 22:22:55',NULL),(9114,7525,9114,6498,NULL,0,NULL,'2024-02-15 22:24:26','2024-02-15 22:24:26',NULL),(9115,7525,9115,6517,NULL,0,NULL,'2024-02-16 13:54:06','2024-02-16 13:54:06',NULL),(9116,7525,9116,6518,NULL,0,NULL,'2024-02-16 13:54:06','2024-02-16 13:54:06',NULL),(9117,7525,9117,6519,NULL,0,NULL,'2024-02-16 13:54:19','2024-02-16 13:58:19','2024-02-16 13:58:19'),(9118,7525,9118,6520,NULL,0,NULL,'2024-02-16 13:54:19','2024-02-16 13:57:53','2024-02-16 13:57:53'),(9119,7525,9119,6521,NULL,0,NULL,'2024-02-16 13:54:19','2024-02-16 13:57:28','2024-02-16 13:57:28'),(9120,7525,9120,6522,NULL,0,NULL,'2024-02-16 13:54:19','2024-02-16 13:56:51','2024-02-16 13:56:51'),(9121,7525,9121,6523,NULL,0,NULL,'2024-02-16 13:54:19','2024-02-16 13:56:34','2024-02-16 13:56:34'),(9122,7525,9122,6523,NULL,0,NULL,'2024-02-16 13:56:34','2024-02-16 13:56:34',NULL),(9123,7525,9123,6522,NULL,0,NULL,'2024-02-16 13:56:51','2024-02-16 13:56:51',NULL),(9124,7525,9124,6521,NULL,0,NULL,'2024-02-16 13:57:28','2024-02-16 13:57:28',NULL),(9125,7525,9125,6520,NULL,0,NULL,'2024-02-16 13:57:53','2024-02-16 13:57:53',NULL),(9126,7525,9126,6519,NULL,0,NULL,'2024-02-16 13:58:19','2024-02-16 13:58:19',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9127,7525,9127,6166,NULL,0,NULL,'2024-02-16 14:03:26','2024-02-16 14:03:26',NULL),(9128,7525,9128,6159,NULL,0,NULL,'2024-02-16 14:07:09','2024-02-16 14:07:09',NULL),(9129,7525,9129,6524,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9130,7525,9130,6525,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9131,7525,9131,6526,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9132,7525,9132,6527,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9133,7525,9133,6528,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9134,7525,9134,6529,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9135,7525,9135,6530,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9136,7525,9136,6531,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9137,7525,9137,6532,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9138,7525,9138,6533,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9139,7525,9139,6534,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9140,7525,9140,6535,NULL,0,NULL,'2024-02-22 14:31:44','2024-02-22 14:31:44',NULL),(9141,7525,9141,6536,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9142,7525,9142,6537,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9143,7525,9143,6538,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9144,7525,9144,6539,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9145,7525,9145,6540,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9146,7525,9146,6541,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9147,7525,9147,6542,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9148,7525,9148,6543,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9149,7525,9149,6544,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9150,7525,9150,6545,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9151,7525,9151,6546,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9152,7525,9152,6547,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9153,7525,9153,6548,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9154,7525,9154,6549,NULL,0,NULL,'2024-02-22 14:31:45','2024-02-22 14:31:45',NULL),(9155,7525,9155,6274,NULL,0,NULL,'2024-02-23 12:39:04','2024-02-23 12:39:04',NULL),(9156,7525,9156,6212,NULL,0,NULL,'2024-02-23 12:40:28','2024-02-23 12:40:28',NULL),(9157,7525,9157,6219,NULL,0,NULL,'2024-02-23 12:41:44','2024-02-23 12:41:44',NULL),(9158,7525,9158,6228,NULL,0,NULL,'2024-02-23 12:43:09','2024-02-23 12:43:09',NULL),(9159,7525,9159,6238,NULL,0,NULL,'2024-02-23 12:44:36','2024-02-23 12:44:36',NULL),(9160,7525,9160,6244,NULL,0,NULL,'2024-02-23 12:46:26','2024-02-23 12:46:26',NULL),(9161,7525,9161,6213,NULL,0,NULL,'2024-02-23 12:47:29','2024-02-23 12:47:29',NULL),(9162,7525,9162,6220,NULL,0,NULL,'2024-02-23 12:49:32','2024-02-23 12:49:32',NULL),(9163,7525,9163,6221,NULL,0,NULL,'2024-02-23 13:03:49','2024-02-23 13:03:49',NULL),(9164,7525,9164,6222,NULL,0,NULL,'2024-02-23 13:04:17','2024-02-23 13:04:17',NULL),(9165,7525,9165,6223,NULL,0,NULL,'2024-02-23 13:04:52','2024-02-23 13:04:52',NULL),(9166,7525,9166,6230,NULL,0,NULL,'2024-02-23 13:07:04','2024-02-23 13:07:04',NULL),(9167,7525,9167,6229,NULL,0,NULL,'2024-02-23 13:07:22','2024-02-23 13:07:22',NULL),(9168,7525,9168,6250,NULL,0,NULL,'2024-02-23 13:10:17','2024-02-23 13:10:17',NULL),(9169,7525,9169,6255,NULL,0,NULL,'2024-02-23 13:10:56','2024-02-23 13:10:56',NULL),(9170,7525,9170,6185,NULL,0,NULL,'2024-02-23 14:30:45','2024-02-23 14:30:45',NULL),(9171,7525,9171,6195,NULL,0,NULL,'2024-02-23 14:31:15','2024-02-23 14:31:15',NULL),(9172,7525,9172,6196,NULL,0,NULL,'2024-02-23 14:31:57','2024-02-23 14:31:57',NULL),(9173,7525,9173,6200,NULL,0,NULL,'2024-02-23 14:34:09','2024-02-23 14:34:09',NULL),(9174,7525,9174,6290,NULL,0,NULL,'2024-02-23 16:51:24','2024-02-23 16:51:24',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9175,7525,9175,6279,NULL,0,NULL,'2024-02-23 16:52:06','2024-02-23 16:52:06',NULL),(9176,7525,9176,6280,NULL,0,NULL,'2024-02-23 16:52:19','2024-02-23 16:52:19',NULL),(9177,7525,9177,6281,NULL,0,NULL,'2024-02-23 16:52:36','2024-02-23 16:52:36',NULL),(9178,7525,9178,6286,NULL,0,NULL,'2024-02-23 16:53:14','2024-02-23 16:53:14',NULL),(9179,7525,9179,6387,NULL,0,NULL,'2024-02-23 17:31:41','2024-02-23 17:31:41',NULL),(9180,7525,9180,6396,NULL,0,NULL,'2024-02-23 17:32:58','2024-02-23 17:32:58',NULL),(9181,7525,9181,6394,NULL,0,NULL,'2024-02-23 17:33:39','2024-02-23 17:33:39',NULL),(9182,7525,9182,6552,NULL,0,NULL,'2024-02-23 21:36:44','2024-02-23 21:36:44',NULL),(9183,7525,9183,6553,NULL,0,NULL,'2024-02-23 21:39:39','2024-02-23 21:39:39',NULL),(9184,7525,9184,6554,NULL,0,NULL,'2024-02-23 21:52:49','2024-02-23 21:52:49',NULL),(9185,7525,9185,6555,NULL,0,NULL,'2024-02-23 21:55:21','2024-02-23 21:55:21',NULL),(9186,7525,9186,6556,NULL,0,NULL,'2024-02-23 21:58:26','2024-02-23 21:58:26',NULL),(9187,7525,9187,6557,NULL,0,NULL,'2024-02-23 22:00:23','2024-02-23 22:00:23',NULL),(9188,7525,9188,6558,NULL,0,NULL,'2024-02-23 22:01:50','2024-02-23 22:01:50',NULL),(9189,7525,9189,6559,NULL,0,NULL,'2024-02-23 22:03:03','2024-02-23 22:03:03',NULL),(9190,7525,9190,6560,NULL,0,NULL,'2024-02-23 22:05:00','2024-02-23 22:05:00',NULL),(9191,7525,9191,6561,NULL,0,NULL,'2024-02-23 22:06:39','2024-02-23 22:06:39',NULL),(9192,7525,9192,6562,NULL,0,NULL,'2024-02-23 22:08:11','2024-02-23 22:08:11',NULL),(9193,7525,9193,6563,NULL,0,NULL,'2024-02-23 22:10:03','2024-02-23 22:10:03',NULL),(9194,7525,9194,6564,NULL,0,NULL,'2024-02-24 17:37:45','2024-02-24 18:04:39','2024-02-24 18:04:39'),(9195,7525,9195,6564,NULL,0,NULL,'2024-02-24 18:04:39','2024-02-24 18:04:39',NULL),(9196,7525,9196,6448,NULL,0,NULL,'2024-02-24 19:05:05','2024-02-24 19:05:05',NULL),(9197,7525,9197,6443,NULL,0,NULL,'2024-02-24 19:06:45','2024-02-24 19:06:45',NULL),(9198,7525,9198,6434,NULL,0,NULL,'2024-02-24 19:07:52','2024-02-24 19:07:52',NULL),(9199,7525,9199,6330,NULL,0,NULL,'2024-02-24 19:34:43','2024-02-24 19:34:43',NULL),(9200,7525,9200,6331,NULL,0,NULL,'2024-02-24 19:35:09','2024-02-24 19:35:09',NULL),(9201,7525,9201,6335,NULL,0,NULL,'2024-02-24 19:35:37','2024-02-24 19:35:37',NULL),(9202,7525,9202,6566,NULL,0,NULL,'2024-02-24 22:08:24','2024-02-24 22:08:24',NULL),(9203,7525,9203,6567,NULL,0,NULL,'2024-03-09 01:40:38','2024-03-09 03:05:38','2024-03-09 03:05:38'),(9204,7525,9204,6568,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-25 14:40:31','2024-03-25 14:40:31'),(9205,7525,9205,6569,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 04:13:54','2024-03-09 04:13:54'),(9206,7525,9206,6570,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 01:40:39',NULL),(9207,7525,9207,6571,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 03:05:16','2024-03-09 03:05:16'),(9208,7525,9208,6572,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-25 15:53:02','2024-03-25 15:53:02'),(9209,7525,9209,6573,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 04:06:35','2024-03-09 04:06:35'),(9210,7525,9210,6574,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-25 14:41:48','2024-03-25 14:41:48'),(9211,7525,9211,6575,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-25 15:32:05','2024-03-25 15:32:05'),(9212,7525,9212,6576,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-25 15:31:38','2024-03-25 15:31:38'),(9213,7525,9213,6577,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 04:26:39','2024-03-09 04:26:39'),(9214,7525,9214,6578,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-25 15:31:16','2024-03-25 15:31:16'),(9215,7525,9215,6579,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 01:40:39',NULL),(9216,7525,9216,6580,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 03:15:56','2024-03-09 03:15:56'),(9217,7525,9217,6581,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 03:14:44','2024-03-09 03:14:44'),(9218,7525,9218,6582,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 04:25:19','2024-03-09 04:25:19'),(9219,7525,9219,6583,NULL,0,NULL,'2024-03-09 01:40:39','2024-03-09 01:40:39',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9220,7525,9220,6584,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 03:04:32','2024-03-09 03:04:32'),(9221,7525,9221,6585,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 03:04:17','2024-03-09 03:04:17'),(9222,7525,9222,6586,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 04:10:29','2024-03-09 04:10:29'),(9223,7525,9223,6587,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 01:40:40',NULL),(9224,7525,9224,6588,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 03:03:47','2024-03-09 03:03:47'),(9225,7525,9225,6589,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 01:40:40',NULL),(9226,7525,9226,6590,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 03:03:31','2024-03-09 03:03:31'),(9227,7525,9227,6591,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 04:22:30','2024-03-09 04:22:30'),(9228,7525,9228,6592,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 01:40:40',NULL),(9229,7525,9229,6593,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 04:20:45','2024-03-09 04:20:45'),(9230,7525,9230,6594,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-25 15:54:24','2024-03-25 15:54:24'),(9231,7525,9231,6595,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 04:10:59','2024-03-09 04:10:59'),(9232,7525,9232,6596,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 04:13:30','2024-03-09 04:13:30'),(9233,7525,9233,6597,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 04:07:44','2024-03-09 04:07:44'),(9234,7525,9234,6598,NULL,0,NULL,'2024-03-09 01:40:40','2024-03-09 01:40:40',NULL),(9235,7525,9235,6599,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-25 15:30:07','2024-03-25 15:30:07'),(9236,7525,9236,6600,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 03:02:55','2024-03-09 03:02:55'),(9237,7525,9237,6601,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 03:02:13','2024-03-09 03:02:13'),(9238,7525,9238,6602,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 03:09:34','2024-03-09 03:09:34'),(9239,7525,9239,6603,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 03:10:36','2024-03-09 03:10:36'),(9240,7525,9240,6604,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 03:21:39','2024-03-09 03:21:39'),(9241,7525,9241,6605,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 04:23:49','2024-03-09 04:23:49'),(9242,7525,9242,6606,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 03:20:30','2024-03-09 03:20:30'),(9243,7525,9243,6607,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-25 15:29:16','2024-03-25 15:29:16'),(9244,7525,9244,6608,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 04:08:40','2024-03-09 04:08:40'),(9245,7525,9245,6609,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 04:19:28','2024-03-09 04:19:28'),(9246,7525,9246,6610,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 01:40:41',NULL),(9247,7525,9247,6611,NULL,0,NULL,'2024-03-09 01:40:41','2024-03-09 04:18:17','2024-03-09 04:18:17'),(9248,7525,9248,6612,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:01:39','2024-03-09 03:01:39'),(9249,7525,9249,6613,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 01:40:42',NULL),(9250,7525,9250,6614,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:07:39','2024-03-09 03:07:39'),(9251,7525,9251,6615,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:01:54','2024-03-09 03:01:54'),(9252,7525,9252,6616,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 01:40:42',NULL),(9253,7525,9253,6617,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 01:40:42',NULL),(9254,7525,9254,6618,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:01:14','2024-03-09 03:01:14'),(9255,7525,9255,6619,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:00:52','2024-03-09 03:00:52'),(9256,7525,9256,6620,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 04:17:17','2024-03-09 04:17:17'),(9257,7525,9257,6621,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:00:31','2024-03-09 03:00:31'),(9258,7525,9258,6622,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:00:10','2024-03-09 03:00:10'),(9259,7525,9259,6623,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:18:15','2024-03-09 03:18:15'),(9260,7525,9260,6624,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 04:09:31','2024-03-09 04:09:31');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9261,7525,9261,6625,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 02:59:47','2024-03-09 02:59:47'),(9262,7525,9262,6626,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 01:40:42',NULL),(9263,7525,9263,6627,NULL,0,NULL,'2024-03-09 01:40:42','2024-03-09 03:22:17','2024-03-09 03:22:17'),(9264,7525,9264,6628,NULL,0,NULL,'2024-03-09 01:40:43','2024-03-09 03:22:40','2024-03-09 03:22:40'),(9265,7525,9265,6629,NULL,0,NULL,'2024-03-09 01:40:43','2024-03-09 04:15:51','2024-03-09 04:15:51'),(9266,7525,9266,6630,NULL,0,NULL,'2024-03-09 01:40:43','2024-03-09 01:40:43',NULL),(9267,7525,9267,6631,NULL,0,NULL,'2024-03-09 01:40:43','2024-03-09 04:13:07','2024-03-09 04:13:07'),(9268,7525,9268,6632,NULL,0,NULL,'2024-03-09 01:40:43','2024-03-09 01:40:43',NULL),(9269,7525,9269,6625,NULL,0,NULL,'2024-03-09 02:59:48','2024-03-09 02:59:48',NULL),(9270,7525,9270,6622,NULL,0,NULL,'2024-03-09 03:00:10','2024-03-09 03:00:10',NULL),(9271,7525,9271,6621,NULL,0,NULL,'2024-03-09 03:00:31','2024-03-09 03:00:31',NULL),(9272,7525,9272,6619,NULL,0,NULL,'2024-03-09 03:00:52','2024-03-09 03:00:52',NULL),(9273,7525,9273,6618,NULL,0,NULL,'2024-03-09 03:01:14','2024-03-25 16:24:23','2024-03-25 16:24:23'),(9274,7525,9274,6612,NULL,0,NULL,'2024-03-09 03:01:39','2024-03-09 03:01:39',NULL),(9275,7525,9275,6615,NULL,0,NULL,'2024-03-09 03:01:54','2024-03-09 03:01:54',NULL),(9276,7525,9276,6601,NULL,0,NULL,'2024-03-09 03:02:13','2024-03-09 03:02:13',NULL),(9277,7525,9277,6600,NULL,0,NULL,'2024-03-09 03:02:55','2024-03-09 03:02:55',NULL),(9278,7525,9278,6590,NULL,0,NULL,'2024-03-09 03:03:31','2024-03-09 03:03:31',NULL),(9279,7525,9279,6588,NULL,0,NULL,'2024-03-09 03:03:47','2024-03-09 03:03:47',NULL),(9280,7525,9280,6585,NULL,0,NULL,'2024-03-09 03:04:17','2024-03-09 03:04:17',NULL),(9281,7525,9281,6584,NULL,0,NULL,'2024-03-09 03:04:32','2024-03-09 03:04:32',NULL),(9282,7525,9282,6571,NULL,0,NULL,'2024-03-09 03:05:16','2024-03-09 03:05:16',NULL),(9283,7525,9283,6567,NULL,0,NULL,'2024-03-09 03:05:38','2024-03-09 03:05:38',NULL),(9284,7525,9284,6614,NULL,0,NULL,'2024-03-09 03:07:39','2024-03-09 03:07:39',NULL),(9285,7525,9285,6602,NULL,0,NULL,'2024-03-09 03:09:34','2024-03-09 03:09:34',NULL),(9286,7525,9286,6603,NULL,0,NULL,'2024-03-09 03:10:36','2024-03-09 03:10:36',NULL),(9287,7525,9287,6581,NULL,0,NULL,'2024-03-09 03:14:44','2024-03-09 03:14:44',NULL),(9288,7525,9288,6580,NULL,0,NULL,'2024-03-09 03:15:56','2024-03-09 03:15:56',NULL),(9289,7525,9289,6623,NULL,0,NULL,'2024-03-09 03:18:15','2024-03-09 03:18:15',NULL),(9290,7525,9290,6606,NULL,0,NULL,'2024-03-09 03:20:30','2024-03-09 03:20:30',NULL),(9291,7525,9291,6604,NULL,0,NULL,'2024-03-09 03:21:39','2024-03-09 03:21:39',NULL),(9292,7525,9292,6627,NULL,0,NULL,'2024-03-09 03:22:17','2024-03-09 03:22:17',NULL),(9293,7525,9293,6628,NULL,0,NULL,'2024-03-09 03:22:41','2024-03-09 03:22:41',NULL),(9294,7525,9294,6573,NULL,0,NULL,'2024-03-09 04:06:35','2024-03-09 04:06:35',NULL),(9295,7525,9295,6597,NULL,0,NULL,'2024-03-09 04:07:44','2024-03-09 04:07:44',NULL),(9296,7525,9296,6608,NULL,0,NULL,'2024-03-09 04:08:40','2024-03-09 04:08:40',NULL),(9297,7525,9297,6624,NULL,0,NULL,'2024-03-09 04:09:31','2024-03-09 04:09:31',NULL),(9298,7525,9298,6586,NULL,0,NULL,'2024-03-09 04:10:29','2024-03-09 04:10:29',NULL),(9299,7525,9299,6595,NULL,0,NULL,'2024-03-09 04:10:59','2024-03-09 04:10:59',NULL),(9300,7525,9300,6631,NULL,0,NULL,'2024-03-09 04:13:07','2024-03-09 04:13:07',NULL),(9301,7525,9301,6596,NULL,0,NULL,'2024-03-09 04:13:30','2024-03-09 04:13:30',NULL),(9302,7525,9302,6569,NULL,0,NULL,'2024-03-09 04:13:54','2024-03-09 04:13:54',NULL),(9303,7525,9303,6629,NULL,0,NULL,'2024-03-09 04:15:51','2024-03-25 13:13:08','2024-03-25 13:13:08'),(9304,7525,9304,6620,NULL,0,NULL,'2024-03-09 04:17:17','2024-03-09 04:17:17',NULL),(9305,7525,9305,6611,NULL,0,NULL,'2024-03-09 04:18:17','2024-03-09 04:18:17',NULL),(9306,7525,9306,6609,NULL,0,NULL,'2024-03-09 04:19:28','2024-03-09 04:19:28',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9307,7525,9307,6593,NULL,0,NULL,'2024-03-09 04:20:45','2024-03-09 04:20:45',NULL),(9308,7525,9308,6591,NULL,0,NULL,'2024-03-09 04:22:30','2024-03-09 04:22:30',NULL),(9309,7525,9309,6605,NULL,0,NULL,'2024-03-09 04:23:49','2024-03-09 04:23:49',NULL),(9310,7525,9310,6582,NULL,0,NULL,'2024-03-09 04:25:19','2024-03-09 04:25:19',NULL),(9311,7525,9311,6577,NULL,0,NULL,'2024-03-09 04:26:39','2024-03-09 04:26:39',NULL),(9312,7525,9312,6633,NULL,0,NULL,'2024-03-09 04:32:40','2024-03-09 04:32:40',NULL),(9313,7525,9313,6634,NULL,0,NULL,'2024-03-09 04:35:25','2024-03-09 04:35:25',NULL),(9314,7525,9314,6635,NULL,0,NULL,'2024-03-09 04:37:08','2024-03-09 04:37:08',NULL),(9315,7525,9315,6636,NULL,0,NULL,'2024-03-09 04:37:57','2024-03-09 04:37:57',NULL),(9316,7525,9316,6637,NULL,0,NULL,'2024-03-09 04:40:30','2024-03-09 04:40:30',NULL),(9317,7525,9317,6638,NULL,0,NULL,'2024-03-09 04:41:31','2024-03-09 04:41:31',NULL),(9318,7525,9318,6639,NULL,0,NULL,'2024-03-09 04:46:42','2024-03-09 04:46:42',NULL),(9319,7525,9319,6640,NULL,0,NULL,'2024-03-09 04:48:19','2024-03-09 04:48:19',NULL),(9320,7525,9320,6641,NULL,0,NULL,'2024-03-09 04:49:53','2024-03-09 04:49:53',NULL),(9321,7525,9321,6642,NULL,0,NULL,'2024-03-15 18:37:11','2024-03-15 18:37:11',NULL),(9322,7525,9322,6643,NULL,0,NULL,'2024-03-15 18:37:11','2024-03-15 18:37:11',NULL),(9323,7525,9323,6644,NULL,0,NULL,'2024-03-15 18:37:12','2024-03-15 18:37:12',NULL),(9324,7525,9324,6645,NULL,0,NULL,'2024-03-15 18:37:12','2024-03-15 18:37:12',NULL),(9325,7525,9325,6646,NULL,0,NULL,'2024-03-15 18:37:12','2024-03-15 18:37:12',NULL),(9326,7525,9326,6647,NULL,0,NULL,'2024-03-15 18:37:12','2024-03-15 18:37:12',NULL),(9327,7525,9327,6648,NULL,0,NULL,'2024-03-15 18:37:12','2024-03-15 18:37:12',NULL),(9328,7525,9328,6649,NULL,0,NULL,'2024-03-15 18:37:12','2024-03-15 18:37:12',NULL),(9329,7525,9329,6650,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9330,7525,9330,6651,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9331,7525,9331,6652,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9332,7525,9332,6653,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9333,7525,9333,6654,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-17 11:20:52','2024-03-17 11:20:52'),(9334,7525,9334,6655,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9335,7525,9335,6656,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9336,7525,9336,6657,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9337,7525,9337,6658,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9338,7525,9338,6659,NULL,0,NULL,'2024-03-15 18:37:31','2024-03-15 18:37:31',NULL),(9339,7525,9339,6660,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9340,7525,9340,6661,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:56:02','2024-03-15 18:56:02'),(9341,7525,9341,6662,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9342,7525,9342,6663,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9343,7525,9343,6664,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9344,7525,9344,6665,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9345,7525,9345,6666,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9346,7525,9346,6667,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9347,7525,9347,6668,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9348,7525,9348,6669,NULL,0,NULL,'2024-03-15 18:37:32','2024-03-15 18:37:32',NULL),(9349,7525,9349,6661,NULL,0,NULL,'2024-03-15 18:56:02','2024-03-15 18:56:02',NULL),(9350,7525,9350,6670,NULL,0,NULL,'2024-03-16 20:38:57','2024-03-16 20:42:23','2024-03-16 20:42:23'),(9351,7525,9351,6671,NULL,0,NULL,'2024-03-16 20:38:57','2024-03-16 20:42:41','2024-03-16 20:42:41'),(9352,7525,9352,6672,NULL,0,NULL,'2024-03-16 20:38:57','2024-03-16 20:42:11','2024-03-16 20:42:11');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9353,7525,9353,6673,NULL,0,NULL,'2024-03-16 20:38:58','2024-03-16 20:41:54','2024-03-16 20:41:54'),(9354,7525,9354,6674,NULL,0,NULL,'2024-03-16 20:38:58','2024-03-16 20:41:40','2024-03-16 20:41:40'),(9355,7525,9355,6675,NULL,0,NULL,'2024-03-16 20:38:58','2024-03-16 20:41:22','2024-03-16 20:41:22'),(9356,7525,9356,6676,NULL,0,NULL,'2024-03-16 20:38:58','2024-03-16 20:43:06','2024-03-16 20:43:06'),(9357,7525,9357,6677,NULL,0,NULL,'2024-03-16 20:38:58','2024-03-16 20:41:05','2024-03-16 20:41:05'),(9358,7525,9358,6678,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 21:21:31','2024-03-16 21:21:31'),(9359,7525,9359,6679,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 21:16:02','2024-03-16 21:16:02'),(9360,7525,9360,6680,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 20:39:07',NULL),(9361,7525,9361,6681,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 21:21:55','2024-03-16 21:21:55'),(9362,7525,9362,6682,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 20:39:07',NULL),(9363,7525,9363,6683,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 21:22:17','2024-03-16 21:22:17'),(9364,7525,9364,6684,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 20:39:07',NULL),(9365,7525,9365,6685,NULL,0,NULL,'2024-03-16 20:39:07','2024-03-16 20:39:07',NULL),(9366,7525,9366,6686,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9367,7525,9367,6687,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9368,7525,9368,6688,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9369,7525,9369,6689,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9370,7525,9370,6690,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9371,7525,9371,6691,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9372,7525,9372,6692,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9373,7525,9373,6693,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 21:25:11','2024-03-16 21:25:11'),(9374,7525,9374,6694,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 21:23:04','2024-03-16 21:23:04'),(9375,7525,9375,6695,NULL,0,NULL,'2024-03-16 20:39:08','2024-03-16 20:39:08',NULL),(9376,7525,9376,6677,NULL,0,NULL,'2024-03-16 20:41:05','2024-03-16 20:41:05',NULL),(9377,7525,9377,6675,NULL,0,NULL,'2024-03-16 20:41:22','2024-03-16 20:41:22',NULL),(9378,7525,9378,6674,NULL,0,NULL,'2024-03-16 20:41:40','2024-03-16 20:41:40',NULL),(9379,7525,9379,6673,NULL,0,NULL,'2024-03-16 20:41:54','2024-03-16 20:41:54',NULL),(9380,7525,9380,6672,NULL,0,NULL,'2024-03-16 20:42:11','2024-03-16 20:42:11',NULL),(9381,7525,9381,6670,NULL,0,NULL,'2024-03-16 20:42:23','2024-03-16 20:42:23',NULL),(9382,7525,9382,6671,NULL,0,NULL,'2024-03-16 20:42:41','2024-03-16 20:42:41',NULL),(9383,7525,9383,6676,NULL,0,NULL,'2024-03-16 20:43:06','2024-03-16 20:43:06',NULL),(9384,7525,9384,6696,NULL,0,NULL,'2024-03-16 20:47:19','2024-03-16 20:47:19',NULL),(9385,7525,9385,6697,NULL,0,NULL,'2024-03-16 20:48:43','2024-03-16 20:48:43',NULL),(9386,7525,9386,6698,NULL,0,NULL,'2024-03-16 20:50:43','2024-03-16 20:50:43',NULL),(9387,7525,9387,6699,NULL,0,NULL,'2024-03-16 20:55:10','2024-03-16 20:55:10',NULL),(9388,7525,9388,6700,NULL,0,NULL,'2024-03-16 21:02:54','2024-03-16 21:02:54',NULL),(9389,7525,9389,6701,NULL,0,NULL,'2024-03-16 21:06:29','2024-03-16 21:06:29',NULL),(9390,7525,9390,6679,NULL,0,NULL,'2024-03-16 21:16:02','2024-03-16 21:16:02',NULL),(9391,7525,9391,6702,NULL,0,NULL,'2024-03-16 21:19:00','2024-03-16 21:19:00',NULL),(9392,7525,9392,6703,NULL,0,NULL,'2024-03-16 21:20:42','2024-03-16 21:20:42',NULL),(9393,7525,9393,6678,NULL,0,NULL,'2024-03-16 21:21:31','2024-03-16 21:21:31',NULL),(9394,7525,9394,6681,NULL,0,NULL,'2024-03-16 21:21:55','2024-03-16 21:21:55',NULL),(9395,7525,9395,6683,NULL,0,NULL,'2024-03-16 21:22:17','2024-03-16 21:22:17',NULL),(9396,7525,9396,6694,NULL,0,NULL,'2024-03-16 21:23:04','2024-03-16 21:23:04',NULL),(9397,7525,9397,6693,NULL,0,NULL,'2024-03-16 21:25:11','2024-03-27 12:36:55','2024-03-27 12:36:55');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9398,7525,9398,6704,NULL,0,NULL,'2024-03-16 21:32:46','2024-03-17 21:18:09','2024-03-17 21:18:09'),(9399,7525,9399,6705,NULL,0,NULL,'2024-03-16 21:32:47','2024-03-17 21:17:28','2024-03-17 21:17:28'),(9400,7525,9400,6706,NULL,0,NULL,'2024-03-16 21:32:47','2024-03-17 21:17:49','2024-03-17 21:17:49'),(9401,7525,9401,6707,NULL,0,NULL,'2024-03-16 21:32:55','2024-03-17 21:48:30','2024-03-17 21:48:30'),(9402,7525,9402,6708,NULL,0,NULL,'2024-03-16 21:32:55','2024-03-16 21:32:55',NULL),(9403,7525,9403,6709,NULL,0,NULL,'2024-03-16 21:32:55','2024-03-16 21:32:55',NULL),(9404,7525,9404,6710,NULL,0,NULL,'2024-03-16 21:32:55','2024-03-16 21:32:55',NULL),(9405,7525,9405,6711,NULL,0,NULL,'2024-03-16 21:32:55','2024-03-16 21:32:55',NULL),(9406,7525,9406,6712,NULL,0,NULL,'2024-03-16 21:32:55','2024-03-27 17:46:29','2024-03-27 17:46:29'),(9407,7525,9407,6713,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-17 21:46:32','2024-03-17 21:46:32'),(9408,7525,9408,6714,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-17 21:44:52','2024-03-17 21:44:52'),(9409,7525,9409,6715,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-17 21:45:36','2024-03-17 21:45:36'),(9410,7525,9410,6716,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-16 21:32:56',NULL),(9411,7525,9411,6717,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-16 21:32:56',NULL),(9412,7525,9412,6718,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-17 21:43:57','2024-03-17 21:43:57'),(9413,7525,9413,6719,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-16 21:32:56',NULL),(9414,7525,9414,6720,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-16 21:32:56',NULL),(9415,7525,9415,6721,NULL,0,NULL,'2024-03-16 21:32:56','2024-03-17 21:49:13','2024-03-17 21:49:13'),(9416,7525,9416,6722,NULL,0,NULL,'2024-03-17 11:02:33','2024-03-17 11:02:33',NULL),(9417,7525,9417,6723,NULL,0,NULL,'2024-03-17 11:03:59','2024-03-17 11:03:59',NULL),(9418,7525,9418,6724,NULL,0,NULL,'2024-03-17 11:04:55','2024-03-17 11:04:55',NULL),(9419,7525,9419,6725,NULL,0,NULL,'2024-03-17 11:06:10','2024-03-17 11:06:10',NULL),(9420,7525,9420,6726,NULL,0,NULL,'2024-03-17 11:07:11','2024-03-17 11:07:11',NULL),(9421,7525,9421,6654,NULL,0,NULL,'2024-03-17 11:20:52','2024-03-17 11:21:21','2024-03-17 11:21:21'),(9422,7525,9422,6654,NULL,0,NULL,'2024-03-17 11:21:21','2024-03-17 11:21:21',NULL),(9423,7525,9423,6705,NULL,0,NULL,'2024-03-17 21:17:28','2024-03-17 21:17:28',NULL),(9424,7525,9424,6706,NULL,0,NULL,'2024-03-17 21:17:49','2024-03-17 21:17:49',NULL),(9425,7525,9425,6704,NULL,0,NULL,'2024-03-17 21:18:09','2024-03-17 21:18:09',NULL),(9426,7525,9426,6718,NULL,0,NULL,'2024-03-17 21:43:57','2024-03-17 21:43:57',NULL),(9427,7525,9427,6714,NULL,0,NULL,'2024-03-17 21:44:52','2024-03-17 21:44:52',NULL),(9428,7525,9428,6715,NULL,0,NULL,'2024-03-17 21:45:36','2024-03-17 21:45:36',NULL),(9429,7525,9429,6713,NULL,0,NULL,'2024-03-17 21:46:32','2024-03-17 21:46:32',NULL),(9430,7525,9430,6707,NULL,0,NULL,'2024-03-17 21:48:30','2024-03-17 21:48:30',NULL),(9431,7525,9431,6721,NULL,0,NULL,'2024-03-17 21:49:13','2024-03-17 21:49:13',NULL),(9432,7525,9432,6727,NULL,0,NULL,'2024-03-17 22:14:04','2024-03-17 22:17:01','2024-03-17 22:17:01'),(9433,7525,9433,6728,NULL,0,NULL,'2024-03-17 22:14:04','2024-03-17 22:16:26','2024-03-17 22:16:26'),(9434,7525,9434,6729,NULL,0,NULL,'2024-03-17 22:14:04','2024-03-17 22:16:48','2024-03-17 22:16:48'),(9435,7525,9435,6730,NULL,0,NULL,'2024-03-17 22:14:58','2024-03-17 22:46:43','2024-03-17 22:46:43'),(9436,7525,9436,6731,NULL,0,NULL,'2024-03-17 22:14:58','2024-03-17 22:45:57','2024-03-17 22:45:57'),(9437,7525,9437,6732,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:25:12','2024-03-17 23:25:12'),(9438,7525,9438,6733,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:21:31','2024-03-17 23:21:31'),(9439,7525,9439,6734,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:19:35','2024-03-17 23:19:35'),(9440,7525,9440,6735,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:26:00','2024-03-17 23:26:00');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9441,7525,9441,6736,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:20:29','2024-03-17 23:20:29'),(9442,7525,9442,6737,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:24:03','2024-03-17 23:24:03'),(9443,7525,9443,6738,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:20:00','2024-03-17 23:20:00'),(9444,7525,9444,6739,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:21:04','2024-03-17 23:21:04'),(9445,7525,9445,6740,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 22:14:59',NULL),(9446,7525,9446,6741,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 22:47:40','2024-03-17 22:47:40'),(9447,7525,9447,6742,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:22:23','2024-03-17 23:22:23'),(9448,7525,9448,6743,NULL,0,NULL,'2024-03-17 22:14:59','2024-03-17 23:22:57','2024-03-17 23:22:57'),(9449,7525,9449,6728,NULL,0,NULL,'2024-03-17 22:16:26','2024-03-17 22:16:26',NULL),(9450,7525,9450,6729,NULL,0,NULL,'2024-03-17 22:16:48','2024-03-17 22:16:48',NULL),(9451,7525,9451,6727,NULL,0,NULL,'2024-03-17 22:17:01','2024-03-17 22:17:01',NULL),(9452,7525,9452,6744,NULL,0,NULL,'2024-03-17 22:33:28','2024-03-17 22:33:28',NULL),(9453,7525,9453,6745,NULL,0,NULL,'2024-03-17 22:37:59','2024-03-17 22:37:59',NULL),(9454,7525,9454,6746,NULL,0,NULL,'2024-03-17 22:45:04','2024-03-17 22:45:04',NULL),(9455,7525,9455,6731,NULL,0,NULL,'2024-03-17 22:45:57','2024-03-17 22:45:57',NULL),(9456,7525,9456,6730,NULL,0,NULL,'2024-03-17 22:46:43','2024-03-17 22:46:43',NULL),(9457,7525,9457,6741,NULL,0,NULL,'2024-03-17 22:47:40','2024-03-17 22:47:40',NULL),(9458,7525,9458,6747,NULL,0,NULL,'2024-03-17 22:49:18','2024-03-17 22:49:18',NULL),(9459,7525,9459,6734,NULL,0,NULL,'2024-03-17 23:19:35','2024-03-17 23:19:35',NULL),(9460,7525,9460,6738,NULL,0,NULL,'2024-03-17 23:20:00','2024-03-17 23:20:00',NULL),(9461,7525,9461,6736,NULL,0,NULL,'2024-03-17 23:20:29','2024-03-17 23:20:29',NULL),(9462,7525,9462,6739,NULL,0,NULL,'2024-03-17 23:21:04','2024-03-17 23:21:04',NULL),(9463,7525,9463,6733,NULL,0,NULL,'2024-03-17 23:21:31','2024-03-17 23:21:31',NULL),(9464,7525,9464,6742,NULL,0,NULL,'2024-03-17 23:22:23','2024-03-17 23:22:23',NULL),(9465,7525,9465,6743,NULL,0,NULL,'2024-03-17 23:22:57','2024-03-17 23:22:57',NULL),(9466,7525,9466,6737,NULL,0,NULL,'2024-03-17 23:24:03','2024-03-17 23:24:03',NULL),(9467,7525,9467,6732,NULL,0,NULL,'2024-03-17 23:25:12','2024-03-17 23:25:12',NULL),(9468,7525,9468,6735,NULL,0,NULL,'2024-03-17 23:26:00','2024-03-17 23:26:00',NULL),(9469,7525,9469,6748,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:51:48','2024-03-17 23:51:48'),(9470,7525,9470,6749,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:51:02','2024-03-17 23:51:02'),(9471,7525,9471,6750,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:55:05','2024-03-17 23:55:05'),(9472,7525,9472,6751,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:53:29','2024-03-17 23:53:29'),(9473,7525,9473,6752,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:56:13','2024-03-17 23:56:13'),(9474,7525,9474,6753,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:57:41','2024-03-17 23:57:41'),(9475,7525,9475,6754,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-17 23:59:10','2024-03-17 23:59:10'),(9476,7525,9476,6755,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-18 00:00:44','2024-03-18 00:00:44'),(9477,7525,9477,6756,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-18 00:00:04','2024-03-18 00:00:04'),(9478,7525,9478,6757,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-18 00:02:28','2024-03-18 00:02:28'),(9479,7525,9479,6758,NULL,0,NULL,'2024-03-17 23:31:33','2024-03-18 00:01:36','2024-03-18 00:01:36'),(9480,8694,9480,6759,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:04:26','2024-03-24 02:04:26'),(9481,8694,9481,6760,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:10:24','2024-03-24 02:10:24'),(9482,8694,9482,6761,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:12:44','2024-03-24 02:12:44'),(9483,7525,9483,6762,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-17 23:31:45',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9484,7525,9484,6763,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-18 00:04:39','2024-03-18 00:04:39'),(9485,8694,9485,6764,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:15:04','2024-03-24 02:15:04'),(9486,7525,9486,6765,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-18 00:03:45','2024-03-18 00:03:45'),(9487,7525,9487,6766,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-17 23:31:45',NULL),(9488,8694,9488,6767,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:17:38','2024-03-24 02:17:38'),(9489,8694,9489,6768,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:19:26','2024-03-24 02:19:26'),(9490,7525,9490,6769,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-17 23:31:45',NULL),(9491,7525,9491,6770,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-17 23:31:45',NULL),(9492,8694,9492,6771,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-24 02:21:20','2024-03-24 02:21:20'),(9493,7525,9493,6772,NULL,0,NULL,'2024-03-17 23:31:45','2024-03-17 23:31:45',NULL),(9494,8694,9494,6773,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 02:23:20','2024-03-24 02:23:20'),(9495,8694,9495,6774,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 02:25:50','2024-03-24 02:25:50'),(9496,7525,9496,6775,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9497,7525,9497,6776,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9498,7525,9498,6777,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9499,8694,9499,6778,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 02:50:22','2024-03-24 02:50:22'),(9500,8694,9500,6779,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 01:06:40','2024-03-24 01:06:40'),(9501,7525,9501,6780,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9502,8694,9502,6781,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 02:59:47','2024-03-24 02:59:47'),(9503,8694,9503,6782,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 02:53:03','2024-03-24 02:53:03'),(9504,7525,9504,6783,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9505,7525,9505,6784,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9506,7525,9506,6785,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9507,8694,9507,6786,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-24 02:59:10','2024-03-24 02:59:10'),(9508,7525,9508,6787,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9509,7525,9509,6788,NULL,0,NULL,'2024-03-17 23:31:46','2024-03-17 23:31:46',NULL),(9510,7525,9510,6749,NULL,0,NULL,'2024-03-17 23:51:02','2024-03-17 23:51:02',NULL),(9511,7525,9511,6748,NULL,0,NULL,'2024-03-17 23:51:48','2024-03-17 23:51:48',NULL),(9512,7525,9512,6751,NULL,0,NULL,'2024-03-17 23:53:29','2024-03-17 23:53:29',NULL),(9513,7525,9513,6750,NULL,0,NULL,'2024-03-17 23:55:05','2024-03-17 23:55:05',NULL),(9514,7525,9514,6752,NULL,0,NULL,'2024-03-17 23:56:13','2024-03-17 23:56:13',NULL),(9515,7525,9515,6753,NULL,0,NULL,'2024-03-17 23:57:41','2024-03-17 23:57:41',NULL),(9516,7525,9516,6754,NULL,0,NULL,'2024-03-17 23:59:10','2024-03-17 23:59:10',NULL),(9517,7525,9517,6756,NULL,0,NULL,'2024-03-18 00:00:04','2024-03-18 00:00:04',NULL),(9518,7525,9518,6755,NULL,0,NULL,'2024-03-18 00:00:44','2024-03-18 00:00:44',NULL),(9519,7525,9519,6758,NULL,0,NULL,'2024-03-18 00:01:36','2024-03-18 00:01:36',NULL),(9520,7525,9520,6757,NULL,0,NULL,'2024-03-18 00:02:28','2024-03-18 00:02:28',NULL),(9521,7525,9521,6765,NULL,0,NULL,'2024-03-18 00:03:45','2024-03-18 00:03:45',NULL),(9522,7525,9522,6763,NULL,0,NULL,'2024-03-18 00:04:39','2024-03-18 00:04:39',NULL),(9523,8694,9523,6789,NULL,0,NULL,'2024-03-24 01:03:56','2024-03-24 01:03:56',NULL),(9524,8694,9524,6790,NULL,0,NULL,'2024-03-24 01:04:40','2024-03-24 01:04:40',NULL),(9525,8694,9525,6779,NULL,0,NULL,'2024-03-24 01:06:40','2024-03-24 01:06:40',NULL),(9526,8694,9526,6791,NULL,0,NULL,'2024-03-24 01:11:38','2024-03-24 01:11:38',NULL),(9527,8694,9527,6792,NULL,0,NULL,'2024-03-24 01:29:26','2024-03-24 01:29:26',NULL),(9528,8694,9528,6793,NULL,0,NULL,'2024-03-24 01:32:26','2024-03-24 01:32:26',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9529,8694,9529,6794,NULL,0,NULL,'2024-03-24 01:34:09','2024-03-24 01:34:09',NULL),(9530,8694,9530,6759,NULL,0,NULL,'2024-03-24 02:04:26','2024-03-24 02:04:26',NULL),(9531,8694,9531,6760,NULL,0,NULL,'2024-03-24 02:10:24','2024-03-24 02:10:24',NULL),(9532,8694,9532,6761,NULL,0,NULL,'2024-03-24 02:12:44','2024-03-24 02:12:44',NULL),(9533,8694,9533,6764,NULL,0,NULL,'2024-03-24 02:15:04','2024-03-24 02:15:04',NULL),(9534,8694,9534,6767,NULL,0,NULL,'2024-03-24 02:17:38','2024-03-24 02:17:38',NULL),(9535,8694,9535,6768,NULL,0,NULL,'2024-03-24 02:19:26','2024-03-24 02:19:26',NULL),(9536,8694,9536,6771,NULL,0,NULL,'2024-03-24 02:21:20','2024-03-24 02:21:20',NULL),(9537,8694,9537,6773,NULL,0,NULL,'2024-03-24 02:23:20','2024-03-24 02:23:20',NULL),(9538,8694,9538,6774,NULL,0,NULL,'2024-03-24 02:25:50','2024-03-24 02:25:50',NULL),(9539,8694,9539,6778,NULL,0,NULL,'2024-03-24 02:50:22','2024-03-24 02:50:22',NULL),(9540,8694,9540,6782,NULL,0,NULL,'2024-03-24 02:53:03','2024-03-24 02:53:03',NULL),(9541,8694,9541,6786,NULL,0,NULL,'2024-03-24 02:59:10','2024-03-24 02:59:10',NULL),(9542,8694,9542,6781,NULL,0,NULL,'2024-03-24 02:59:47','2024-03-24 02:59:47',NULL),(9543,7525,9543,6795,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9544,7525,9544,6796,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9545,7525,9545,6797,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9546,7525,9546,6798,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9547,7525,9547,6799,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9548,7525,9548,6800,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9549,7525,9549,6801,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9550,7525,9550,6802,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9551,7525,9551,6803,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9552,7525,9552,6804,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9553,7525,9553,6805,NULL,0,NULL,'2024-03-25 13:06:46','2024-03-25 13:06:46',NULL),(9554,7525,9554,6806,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9555,7525,9555,6807,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9556,7525,9556,6808,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9557,7525,9557,6809,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9558,7525,9558,6810,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9559,7525,9559,6811,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9560,7525,9560,6812,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9561,7525,9561,6813,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9562,7525,9562,6814,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9563,7525,9563,6815,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9564,7525,9564,6816,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9565,7525,9565,6817,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9566,7525,9566,6818,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9567,7525,9567,6819,NULL,0,NULL,'2024-03-25 13:06:47','2024-03-25 13:06:47',NULL),(9568,7525,9568,6629,NULL,0,NULL,'2024-03-25 13:13:08','2024-03-25 13:13:08',NULL),(9569,7525,9569,6568,NULL,0,NULL,'2024-03-25 14:40:31','2024-03-25 14:40:31',NULL),(9570,7525,9570,6574,NULL,0,NULL,'2024-03-25 14:41:48','2024-03-25 14:41:48',NULL),(9571,7525,9571,6607,NULL,0,NULL,'2024-03-25 15:29:16','2024-03-25 15:29:16',NULL),(9572,7525,9572,6599,NULL,0,NULL,'2024-03-25 15:30:07','2024-03-25 15:30:07',NULL),(9573,7525,9573,6578,NULL,0,NULL,'2024-03-25 15:31:16','2024-03-25 15:31:16',NULL),(9574,7525,9574,6576,NULL,0,NULL,'2024-03-25 15:31:38','2024-03-25 15:31:38',NULL),(9575,7525,9575,6575,NULL,0,NULL,'2024-03-25 15:32:05','2024-03-25 15:32:05',NULL),(9576,7525,9576,6572,NULL,0,NULL,'2024-03-25 15:53:02','2024-03-25 15:53:02',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9577,7525,9577,6594,NULL,0,NULL,'2024-03-25 15:54:24','2024-03-25 15:54:24',NULL),(9578,7525,9578,6618,NULL,0,NULL,'2024-03-25 16:24:23','2024-03-25 16:24:23',NULL),(9579,7525,9579,6821,NULL,0,NULL,'2024-03-26 21:14:11','2024-03-26 21:38:33','2024-03-26 21:38:33'),(9580,7525,9580,6822,NULL,0,NULL,'2024-03-26 21:14:11','2024-03-26 21:37:54','2024-03-26 21:37:54'),(9581,7525,9581,6823,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:38:13','2024-03-26 21:38:13'),(9582,7525,9582,6824,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:37:13','2024-03-26 21:37:13'),(9583,7525,9583,6825,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:37:31','2024-03-26 21:37:31'),(9584,7525,9584,6826,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:36:33','2024-03-26 21:36:33'),(9585,7525,9585,6827,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:36:49','2024-03-26 21:36:49'),(9586,7525,9586,6828,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:35:21','2024-03-26 21:35:21'),(9587,7525,9587,6829,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:35:57','2024-03-26 21:35:57'),(9588,7525,9588,6830,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:35:41','2024-03-26 21:35:41'),(9589,7525,9589,6831,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:34:25','2024-03-26 21:34:25'),(9590,7525,9590,6832,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:33:08','2024-03-26 21:33:08'),(9591,7525,9591,6833,NULL,0,NULL,'2024-03-26 21:14:12','2024-03-26 21:33:44','2024-03-26 21:33:44'),(9592,7525,9592,6834,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:34:03','2024-03-26 21:34:03'),(9593,7525,9593,6835,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:32:28','2024-03-26 21:32:28'),(9594,7525,9594,6836,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:32:06','2024-03-26 21:32:06'),(9595,7525,9595,6837,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:32:39','2024-03-26 21:32:39'),(9596,7525,9596,6838,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:31:43','2024-03-26 21:31:43'),(9597,7525,9597,6839,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:30:05','2024-03-26 21:30:05'),(9598,7525,9598,6840,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:30:41','2024-03-26 21:30:41'),(9599,7525,9599,6841,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:30:58','2024-03-26 21:30:58'),(9600,7525,9600,6842,NULL,0,NULL,'2024-03-26 21:14:13','2024-03-26 21:30:28','2024-03-26 21:30:28'),(9601,7525,9601,6843,NULL,0,NULL,'2024-03-26 21:14:28','2024-03-26 21:14:28',NULL),(9602,7525,9602,6844,NULL,0,NULL,'2024-03-26 21:14:28','2024-03-31 22:46:18','2024-03-31 22:46:18'),(9603,7525,9603,6845,NULL,0,NULL,'2024-03-26 21:14:28','2024-03-26 22:08:20','2024-03-26 22:08:20'),(9604,7525,9604,6846,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:11:41','2024-03-26 22:11:41'),(9605,7525,9605,6847,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:13:01','2024-03-26 22:13:01'),(9606,7525,9606,6848,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-31 22:49:10','2024-03-31 22:49:10'),(9607,7525,9607,6849,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 21:14:29',NULL),(9608,7525,9608,6850,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:06:50','2024-03-26 22:06:50'),(9609,7525,9609,6851,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:12:11','2024-03-26 22:12:11'),(9610,7525,9610,6852,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 21:14:29',NULL),(9611,7525,9611,6853,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:10:27','2024-03-26 22:10:27'),(9612,7525,9612,6854,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:11:04','2024-03-26 22:11:04'),(9613,7525,9613,6855,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:10:43','2024-03-26 22:10:43'),(9614,7525,9614,6856,NULL,0,NULL,'2024-03-26 21:14:29','2024-03-26 22:12:44','2024-03-26 22:12:44'),(9615,7525,9615,6839,NULL,0,NULL,'2024-03-26 21:30:05','2024-03-26 21:30:05',NULL),(9616,7525,9616,6842,NULL,0,NULL,'2024-03-26 21:30:28','2024-03-26 21:30:28',NULL),(9617,7525,9617,6840,NULL,0,NULL,'2024-03-26 21:30:41','2024-03-26 21:30:41',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9618,7525,9618,6841,NULL,0,NULL,'2024-03-26 21:30:58','2024-03-26 21:30:58',NULL),(9619,7525,9619,6838,NULL,0,NULL,'2024-03-26 21:31:43','2024-03-26 21:31:43',NULL),(9620,7525,9620,6836,NULL,0,NULL,'2024-03-26 21:32:06','2024-03-26 21:32:06',NULL),(9621,7525,9621,6835,NULL,0,NULL,'2024-03-26 21:32:28','2024-03-26 21:32:28',NULL),(9622,7525,9622,6837,NULL,0,NULL,'2024-03-26 21:32:39','2024-03-26 21:32:39',NULL),(9623,7525,9623,6832,NULL,0,NULL,'2024-03-26 21:33:08','2024-03-26 21:33:08',NULL),(9624,7525,9624,6833,NULL,0,NULL,'2024-03-26 21:33:44','2024-03-26 21:33:44',NULL),(9625,7525,9625,6834,NULL,0,NULL,'2024-03-26 21:34:03','2024-03-26 21:34:03',NULL),(9626,7525,9626,6831,NULL,0,NULL,'2024-03-26 21:34:25','2024-03-26 21:34:25',NULL),(9627,7525,9627,6828,NULL,0,NULL,'2024-03-26 21:35:21','2024-03-26 21:35:21',NULL),(9628,7525,9628,6830,NULL,0,NULL,'2024-03-26 21:35:41','2024-03-26 21:35:41',NULL),(9629,7525,9629,6829,NULL,0,NULL,'2024-03-26 21:35:57','2024-03-26 21:35:57',NULL),(9630,7525,9630,6826,NULL,0,NULL,'2024-03-26 21:36:33','2024-03-26 21:36:33',NULL),(9631,7525,9631,6827,NULL,0,NULL,'2024-03-26 21:36:49','2024-03-26 21:36:49',NULL),(9632,7525,9632,6824,NULL,0,NULL,'2024-03-26 21:37:13','2024-03-26 21:37:13',NULL),(9633,7525,9633,6825,NULL,0,NULL,'2024-03-26 21:37:31','2024-03-26 21:37:31',NULL),(9634,7525,9634,6822,NULL,0,NULL,'2024-03-26 21:37:54','2024-03-26 21:37:54',NULL),(9635,7525,9635,6823,NULL,0,NULL,'2024-03-26 21:38:13','2024-03-26 21:38:13',NULL),(9636,7525,9636,6821,NULL,0,NULL,'2024-03-26 21:38:33','2024-03-26 21:38:33',NULL),(9637,7525,9637,6850,NULL,0,NULL,'2024-03-26 22:06:50','2024-03-26 22:06:50',NULL),(9638,7525,9638,6845,NULL,0,NULL,'2024-03-26 22:08:20','2024-03-26 22:08:20',NULL),(9639,7525,9639,6853,NULL,0,NULL,'2024-03-26 22:10:27','2024-03-26 22:10:27',NULL),(9640,7525,9640,6855,NULL,0,NULL,'2024-03-26 22:10:43','2024-03-26 22:10:43',NULL),(9641,7525,9641,6854,NULL,0,NULL,'2024-03-26 22:11:04','2024-03-26 22:11:04',NULL),(9642,7525,9642,6846,NULL,0,NULL,'2024-03-26 22:11:41','2024-03-26 22:11:41',NULL),(9643,7525,9643,6851,NULL,0,NULL,'2024-03-26 22:12:11','2024-03-26 22:12:11',NULL),(9644,7525,9644,6856,NULL,0,NULL,'2024-03-26 22:12:44','2024-03-26 22:12:44',NULL),(9645,7525,9645,6847,NULL,0,NULL,'2024-03-26 22:13:01','2024-03-26 22:13:01',NULL),(9646,7525,9646,6693,NULL,0,NULL,'2024-03-27 12:36:55','2024-03-27 12:36:55',NULL),(9647,7525,9647,6857,NULL,0,NULL,'2024-03-27 13:03:24','2024-03-27 13:03:24',NULL),(9648,7525,9648,6858,NULL,0,NULL,'2024-03-27 13:03:41','2024-03-27 13:03:41',NULL),(9649,7525,9649,6859,NULL,0,NULL,'2024-03-27 13:03:41','2024-03-27 13:03:41',NULL),(9650,7525,9650,6860,NULL,0,NULL,'2024-03-27 13:03:41','2024-03-27 13:03:41',NULL),(9651,7525,9651,6861,NULL,0,NULL,'2024-03-27 13:03:41','2024-03-27 13:53:00','2024-03-27 13:53:00'),(9652,7525,9652,6862,NULL,0,NULL,'2024-03-27 13:03:41','2024-03-27 13:51:53','2024-03-27 13:51:53'),(9653,7525,9653,6863,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9654,7525,9654,6864,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:50:34','2024-03-27 13:50:34'),(9655,7525,9655,6865,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9656,7525,9656,6866,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9657,7525,9657,6867,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:49:16','2024-03-27 13:49:16'),(9658,7525,9658,6868,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9659,7525,9659,6869,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9660,7525,9660,6870,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9661,7525,9661,6871,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:48:16','2024-03-27 13:48:16'),(9662,7525,9662,6872,NULL,0,NULL,'2024-03-27 13:03:42','2024-03-27 13:03:42',NULL),(9663,7525,9663,6873,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:03:43',NULL),(9664,7525,9664,6874,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:03:43',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9665,7525,9665,6875,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:03:43',NULL),(9666,7525,9666,6876,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:03:43',NULL),(9667,7525,9667,6877,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:44:54','2024-03-27 13:44:54'),(9668,7525,9668,6878,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:44:27','2024-03-27 13:44:27'),(9669,7525,9669,6879,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:03:43',NULL),(9670,7525,9670,6880,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:41:52','2024-03-27 13:41:52'),(9671,7525,9671,6881,NULL,0,NULL,'2024-03-27 13:03:43','2024-03-27 13:03:43',NULL),(9672,7525,9672,6880,NULL,0,NULL,'2024-03-27 13:41:52','2024-03-27 13:41:52',NULL),(9673,7525,9673,6878,NULL,0,NULL,'2024-03-27 13:44:27','2024-03-27 13:44:27',NULL),(9674,7525,9674,6877,NULL,0,NULL,'2024-03-27 13:44:54','2024-03-27 13:44:54',NULL),(9675,7525,9675,6871,NULL,0,NULL,'2024-03-27 13:48:16','2024-03-27 13:48:16',NULL),(9676,7525,9676,6867,NULL,0,NULL,'2024-03-27 13:49:16','2024-03-27 13:49:16',NULL),(9677,7525,9677,6864,NULL,0,NULL,'2024-03-27 13:50:34','2024-03-27 13:50:34',NULL),(9678,7525,9678,6862,NULL,0,NULL,'2024-03-27 13:51:53','2024-03-27 13:51:53',NULL),(9679,7525,9679,6861,NULL,0,NULL,'2024-03-27 13:53:00','2024-03-27 13:53:00',NULL),(9680,7525,9680,6882,NULL,0,NULL,'2024-03-27 14:06:21','2024-03-27 14:06:21',NULL),(9681,7525,9681,6883,NULL,0,NULL,'2024-03-27 14:07:00','2024-03-27 14:07:00',NULL),(9682,7525,9682,6884,NULL,0,NULL,'2024-03-27 14:07:29','2024-03-27 14:07:29',NULL),(9683,7525,9683,6885,NULL,0,NULL,'2024-03-27 14:08:49','2024-03-27 14:08:49',NULL),(9684,7525,9684,6886,NULL,0,NULL,'2024-03-27 14:19:37','2024-03-27 14:19:37',NULL),(9685,7525,9685,6887,NULL,0,NULL,'2024-03-27 14:29:55','2024-03-27 14:29:55',NULL),(9686,7525,9686,6888,NULL,0,NULL,'2024-03-27 14:34:24','2024-03-27 14:34:24',NULL),(9687,7525,9687,6889,NULL,0,NULL,'2024-03-27 14:45:05','2024-03-27 14:45:05',NULL),(9688,7525,9688,6890,NULL,0,NULL,'2024-03-27 15:08:57','2024-03-27 15:08:57',NULL),(9689,7525,9689,6891,NULL,0,NULL,'2024-03-27 15:09:36','2024-03-27 15:09:36',NULL),(9690,7525,9690,6892,NULL,0,NULL,'2024-03-27 15:10:06','2024-03-27 15:10:06',NULL),(9691,7525,9691,6893,NULL,0,NULL,'2024-03-27 15:55:59','2024-03-27 15:55:59',NULL),(9692,7525,9692,6894,NULL,0,NULL,'2024-03-27 15:57:25','2024-03-27 15:57:25',NULL),(9693,7525,9693,6895,NULL,0,NULL,'2024-03-27 15:59:52','2024-03-27 15:59:52',NULL),(9694,7525,9694,6896,NULL,0,NULL,'2024-03-27 16:06:05','2024-03-27 16:06:05',NULL),(9695,7525,9695,6897,NULL,0,NULL,'2024-03-27 16:08:53','2024-03-27 16:08:53',NULL),(9696,7525,9696,6898,NULL,0,NULL,'2024-03-27 16:09:49','2024-03-27 16:09:49',NULL),(9697,7525,9697,6899,NULL,0,NULL,'2024-03-27 16:11:14','2024-03-27 16:11:14',NULL),(9698,7525,9698,6900,NULL,0,NULL,'2024-03-27 16:57:33','2024-03-27 16:57:33',NULL),(9699,7525,9699,6901,NULL,0,NULL,'2024-03-27 17:09:37','2024-03-27 17:09:37',NULL),(9700,7525,9700,6902,NULL,0,NULL,'2024-03-27 17:10:26','2024-03-27 17:10:26',NULL),(9701,7525,9701,6712,NULL,0,NULL,'2024-03-27 17:46:29','2024-03-27 17:51:07','2024-03-27 17:51:07'),(9702,7525,9702,6712,NULL,0,NULL,'2024-03-27 17:51:07','2024-03-27 17:51:07',NULL),(9703,8694,9703,6903,NULL,0,NULL,'2024-03-29 21:52:28','2024-03-29 21:52:28',NULL),(9704,8694,9704,6904,NULL,0,NULL,'2024-03-29 21:53:17','2024-03-29 21:53:17',NULL),(9705,8694,9705,6905,NULL,0,NULL,'2024-03-29 21:53:56','2024-03-29 21:53:56',NULL),(9706,8694,9706,6906,NULL,0,NULL,'2024-03-29 21:54:33','2024-03-29 21:54:33',NULL),(9707,8694,9707,6907,NULL,0,NULL,'2024-03-29 21:55:11','2024-03-29 21:55:11',NULL),(9708,8694,9708,6908,NULL,0,NULL,'2024-03-29 21:55:44','2024-03-29 21:55:44',NULL),(9709,8694,9709,6909,NULL,0,NULL,'2024-03-29 21:56:19','2024-03-29 21:56:19',NULL),(9710,8694,9710,6910,NULL,0,NULL,'2024-03-29 21:57:02','2024-03-29 21:57:02',NULL),(9711,8694,9711,6911,NULL,0,NULL,'2024-03-29 21:57:39','2024-03-29 21:57:39',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9712,8694,9712,6912,NULL,0,NULL,'2024-03-29 21:58:11','2024-03-29 21:58:11',NULL),(9713,8694,9713,6913,NULL,0,NULL,'2024-03-29 21:58:49','2024-03-29 21:58:49',NULL),(9714,8694,9714,6914,NULL,0,NULL,'2024-03-30 00:34:35','2024-03-30 00:34:35',NULL),(9715,8694,9715,6915,NULL,0,NULL,'2024-03-30 00:35:33','2024-03-30 00:35:33',NULL),(9716,8694,9716,6916,NULL,0,NULL,'2024-03-30 00:36:15','2024-03-30 00:36:15',NULL),(9717,8694,9717,6917,NULL,0,NULL,'2024-03-30 00:37:05','2024-03-30 00:37:05',NULL),(9718,8694,9718,6918,NULL,0,NULL,'2024-03-30 00:37:38','2024-03-30 00:37:38',NULL),(9719,8694,9719,6919,NULL,0,NULL,'2024-03-30 00:38:46','2024-03-30 00:38:46',NULL),(9720,8694,9720,6920,NULL,0,NULL,'2024-03-30 00:40:27','2024-03-30 00:40:27',NULL),(9721,8694,9721,6921,NULL,0,NULL,'2024-03-30 00:41:04','2024-03-30 00:41:04',NULL),(9722,8694,9722,6922,NULL,0,NULL,'2024-03-30 00:41:40','2024-03-30 00:41:40',NULL),(9723,8694,9723,6923,NULL,0,NULL,'2024-03-30 00:42:26','2024-03-30 00:42:26',NULL),(9724,8694,9724,6924,NULL,0,NULL,'2024-03-30 00:43:01','2024-03-30 00:43:01',NULL),(9725,8694,9725,6925,NULL,0,NULL,'2024-03-30 00:43:52','2024-03-30 00:43:52',NULL),(9726,8694,9726,6926,NULL,0,NULL,'2024-03-30 00:44:30','2024-03-30 00:44:30',NULL),(9727,8694,9727,6927,NULL,0,NULL,'2024-03-30 00:45:06','2024-03-30 00:45:06',NULL),(9728,8694,9728,6928,NULL,0,NULL,'2024-03-30 00:45:38','2024-03-30 00:45:38',NULL),(9729,8694,9729,6929,NULL,0,NULL,'2024-03-30 00:46:13','2024-03-30 00:46:13',NULL),(9730,8694,9730,6930,NULL,0,NULL,'2024-03-30 00:46:47','2024-03-30 00:46:47',NULL),(9731,8694,9731,6931,NULL,0,NULL,'2024-03-30 00:47:29','2024-03-30 00:47:29',NULL),(9732,8694,9732,6932,NULL,0,NULL,'2024-03-30 00:48:12','2024-03-30 00:48:12',NULL),(9733,8694,9733,6933,NULL,0,NULL,'2024-03-30 00:48:41','2024-03-30 00:48:41',NULL),(9734,8694,9734,6934,NULL,0,NULL,'2024-03-30 00:49:13','2024-03-30 00:49:13',NULL),(9735,8694,9735,6935,NULL,0,NULL,'2024-03-30 00:49:43','2024-03-30 00:49:43',NULL),(9736,8694,9736,6936,NULL,0,NULL,'2024-03-30 00:50:19','2024-03-30 00:50:19',NULL),(9737,8694,9737,6937,NULL,0,NULL,'2024-03-30 00:50:54','2024-03-30 00:50:54',NULL),(9738,8694,9738,6938,NULL,0,NULL,'2024-03-30 00:51:31','2024-03-30 00:51:31',NULL),(9739,8694,9739,6939,NULL,0,NULL,'2024-03-30 00:52:03','2024-03-30 00:52:03',NULL),(9740,8694,9740,6940,NULL,0,NULL,'2024-03-30 00:53:31','2024-03-30 00:53:31',NULL),(9741,8694,9741,6941,NULL,0,NULL,'2024-03-30 00:54:20','2024-03-30 00:54:20',NULL),(9742,8694,9742,6942,NULL,0,NULL,'2024-03-30 00:54:52','2024-03-30 00:54:52',NULL),(9743,8694,9743,6943,NULL,0,NULL,'2024-03-30 00:55:24','2024-03-30 00:55:24',NULL),(9744,8694,9744,6944,NULL,0,NULL,'2024-03-30 00:56:25','2024-03-30 00:56:25',NULL),(9745,8694,9745,6945,NULL,0,NULL,'2024-03-30 00:57:08','2024-03-30 00:57:08',NULL),(9746,8694,9746,6946,NULL,0,NULL,'2024-03-30 00:57:44','2024-03-30 00:57:44',NULL),(9747,8694,9747,6947,NULL,0,NULL,'2024-03-30 00:58:19','2024-03-30 00:58:19',NULL),(9748,8694,9748,6948,NULL,0,NULL,'2024-03-30 00:59:16','2024-03-30 00:59:16',NULL),(9749,8694,9749,6949,NULL,0,NULL,'2024-03-30 00:59:50','2024-03-30 00:59:50',NULL),(9750,8694,9750,6950,NULL,0,NULL,'2024-03-30 01:00:23','2024-03-30 01:00:23',NULL),(9751,8694,9751,6951,NULL,0,NULL,'2024-03-30 01:00:57','2024-03-30 01:00:57',NULL),(9752,8694,9752,6952,NULL,0,NULL,'2024-03-30 01:01:27','2024-03-30 01:01:27',NULL),(9753,8694,9753,6953,NULL,0,NULL,'2024-03-30 01:01:58','2024-03-30 01:01:58',NULL),(9754,8694,9754,6954,NULL,0,NULL,'2024-03-30 01:02:32','2024-03-30 01:02:32',NULL),(9755,8694,9755,6955,NULL,0,NULL,'2024-03-30 01:03:06','2024-03-30 01:03:06',NULL),(9756,8694,9756,6956,NULL,0,NULL,'2024-03-30 01:03:40','2024-03-30 01:03:40',NULL),(9757,8694,9757,6957,NULL,0,NULL,'2024-03-30 01:41:01','2024-03-30 02:30:53','2024-03-30 02:30:53'),(9758,8694,9758,6958,NULL,0,NULL,'2024-03-30 01:41:01','2024-03-30 02:31:10','2024-03-30 02:31:10');
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9759,8694,9759,6959,NULL,0,NULL,'2024-03-30 01:41:01','2024-03-30 02:29:31','2024-03-30 02:29:31'),(9760,8694,9760,6960,NULL,0,NULL,'2024-03-30 01:41:02','2024-03-30 02:29:46','2024-03-30 02:29:46'),(9761,8694,9761,6961,NULL,0,NULL,'2024-03-30 01:41:02','2024-03-30 02:30:07','2024-03-30 02:30:07'),(9762,8694,9762,6962,NULL,0,NULL,'2024-03-30 01:41:02','2024-03-30 02:31:42','2024-03-30 02:31:42'),(9763,8694,9763,6963,NULL,0,NULL,'2024-03-30 01:41:02','2024-03-30 02:32:00','2024-03-30 02:32:00'),(9764,8694,9764,6964,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-31 21:48:12','2024-03-31 21:48:12'),(9765,8694,9765,6965,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9766,8694,9766,6966,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9767,8694,9767,6967,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9768,8694,9768,6968,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-31 21:47:30','2024-03-31 21:47:30'),(9769,7525,9769,6969,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-31 23:44:15','2024-03-31 23:44:15'),(9770,8694,9770,6970,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-31 21:51:11','2024-03-31 21:51:11'),(9771,8694,9771,6971,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9772,8694,9772,6972,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9773,8694,9773,6973,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-31 22:04:32','2024-03-31 22:04:32'),(9774,8694,9774,6974,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9775,8694,9775,6975,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-31 21:57:54','2024-03-31 21:57:54'),(9776,8694,9776,6976,NULL,0,NULL,'2024-03-30 01:41:26','2024-03-30 01:41:26',NULL),(9777,8694,9777,6977,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-30 01:41:27',NULL),(9778,8694,9778,6978,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:54:33','2024-03-31 21:54:33'),(9779,8694,9779,6979,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:59:53','2024-03-31 21:59:53'),(9780,8694,9780,6980,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:52:49','2024-03-31 21:52:49'),(9781,8694,9781,6981,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:55:36','2024-03-31 21:55:36'),(9782,8694,9782,6982,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:53:53','2024-03-31 21:53:53'),(9783,8694,9783,6983,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 22:01:47','2024-03-31 22:01:47'),(9784,8694,9784,6984,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-30 01:41:27',NULL),(9785,8694,9785,6985,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-30 01:41:27',NULL),(9786,8694,9786,6986,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:55:50','2024-03-31 21:55:50'),(9787,8694,9787,6987,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:46:17','2024-03-31 21:46:17'),(9788,8694,9788,6988,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:51:40','2024-03-31 21:51:40'),(9789,8694,9789,6989,NULL,0,NULL,'2024-03-30 01:41:27','2024-03-31 21:57:16','2024-03-31 21:57:16'),(9790,8694,9790,6990,NULL,0,NULL,'2024-03-30 01:41:28','2024-03-30 01:41:28',NULL),(9791,8694,9791,6991,NULL,0,NULL,'2024-03-30 01:41:28','2024-03-30 01:41:28',NULL),(9792,8694,9792,6992,NULL,0,NULL,'2024-03-30 01:41:28','2024-03-30 01:41:28',NULL),(9793,8694,9793,6959,NULL,0,NULL,'2024-03-30 02:29:31','2024-03-30 02:29:31',NULL),(9794,8694,9794,6960,NULL,0,NULL,'2024-03-30 02:29:46','2024-03-30 02:29:46',NULL),(9795,8694,9795,6961,NULL,0,NULL,'2024-03-30 02:30:07','2024-03-30 02:30:07',NULL),(9796,8694,9796,6957,NULL,0,NULL,'2024-03-30 02:30:53','2024-03-30 02:30:53',NULL),(9797,8694,9797,6958,NULL,0,NULL,'2024-03-30 02:31:10','2024-03-30 02:31:10',NULL),(9798,8694,9798,6962,NULL,0,NULL,'2024-03-30 02:31:42','2024-03-30 02:31:42',NULL),(9799,8694,9799,6963,NULL,0,NULL,'2024-03-30 02:32:00','2024-03-30 02:32:00',NULL),(9800,8694,9800,6993,NULL,0,NULL,'2024-03-31 21:44:16','2024-03-31 21:44:16',NULL),(9801,8694,9801,6987,NULL,0,NULL,'2024-03-31 21:46:17','2024-03-31 21:46:17',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9802,8694,9802,6968,NULL,0,NULL,'2024-03-31 21:47:30','2024-03-31 21:47:30',NULL),(9803,8694,9803,6964,NULL,0,NULL,'2024-03-31 21:48:12','2024-03-31 21:48:12',NULL),(9804,8694,9804,6994,NULL,0,NULL,'2024-03-31 21:50:25','2024-03-31 21:50:25',NULL),(9805,8694,9805,6970,NULL,0,NULL,'2024-03-31 21:51:11','2024-03-31 21:51:11',NULL),(9806,8694,9806,6988,NULL,0,NULL,'2024-03-31 21:51:40','2024-03-31 21:51:40',NULL),(9807,8694,9807,6980,NULL,0,NULL,'2024-03-31 21:52:49','2024-03-31 21:52:49',NULL),(9808,8694,9808,6982,NULL,0,NULL,'2024-03-31 21:53:53','2024-03-31 21:53:53',NULL),(9809,8694,9809,6978,NULL,0,NULL,'2024-03-31 21:54:33','2024-03-31 21:54:33',NULL),(9810,8694,9810,6981,NULL,0,NULL,'2024-03-31 21:55:36','2024-03-31 21:55:36',NULL),(9811,8694,9811,6986,NULL,0,NULL,'2024-03-31 21:55:50','2024-03-31 21:55:50',NULL),(9812,8694,9812,6989,NULL,0,NULL,'2024-03-31 21:57:16','2024-03-31 21:57:16',NULL),(9813,8694,9813,6975,NULL,0,NULL,'2024-03-31 21:57:54','2024-03-31 21:57:54',NULL),(9814,8694,9814,6979,NULL,0,NULL,'2024-03-31 21:59:53','2024-03-31 21:59:53',NULL),(9815,8694,9815,6983,NULL,0,NULL,'2024-03-31 22:01:47','2024-03-31 22:01:47',NULL),(9816,8694,9816,6973,NULL,0,NULL,'2024-03-31 22:04:32','2024-03-31 22:04:32',NULL),(9817,7525,9817,6844,NULL,0,NULL,'2024-03-31 22:46:18','2024-03-31 22:46:18',NULL),(9818,7525,9818,6848,NULL,0,NULL,'2024-03-31 22:49:10','2024-03-31 22:49:10',NULL),(9819,7525,9819,6969,NULL,0,NULL,'2024-03-31 23:44:15','2024-03-31 23:44:15',NULL),(9820,7525,9820,6996,NULL,0,NULL,'2024-04-19 10:01:05','2024-04-19 10:01:05',NULL),(9821,7525,9821,6997,NULL,0,NULL,'2024-04-19 10:01:05','2024-04-19 10:01:05',NULL),(9822,7525,9822,6998,NULL,0,NULL,'2024-04-19 10:01:05','2024-04-19 10:01:05',NULL),(9823,7525,9823,6999,NULL,0,NULL,'2024-04-19 10:01:05','2024-04-19 10:01:05',NULL),(9824,7525,9824,7000,NULL,0,NULL,'2024-04-19 10:01:06','2024-04-19 10:01:06',NULL),(9825,7525,9825,7001,NULL,0,NULL,'2024-04-19 10:01:06','2024-04-19 10:01:06',NULL),(9826,7525,9826,7002,NULL,0,NULL,'2024-04-19 10:01:06','2024-04-19 10:01:06',NULL),(9827,7525,9827,7003,NULL,0,NULL,'2024-04-19 10:01:06','2024-04-19 10:01:06',NULL),(9828,7525,9828,7004,NULL,0,NULL,'2024-04-19 10:01:06','2024-04-19 10:01:06',NULL),(9829,7525,9829,7005,NULL,0,NULL,'2024-04-19 10:01:06','2024-04-19 10:01:06',NULL),(9830,7525,9830,7006,NULL,0,NULL,'2024-04-19 10:01:07','2024-04-19 10:01:07',NULL),(9831,7525,9831,7007,NULL,0,NULL,'2024-04-19 10:01:07','2024-04-19 10:01:07',NULL),(9832,7525,9832,7008,NULL,0,NULL,'2024-04-19 10:01:07','2024-04-19 10:01:07',NULL),(9833,7525,9833,7009,NULL,0,NULL,'2024-04-19 10:01:07','2024-04-19 10:01:07',NULL),(9834,7525,9834,7010,NULL,0,NULL,'2024-04-19 10:01:07','2024-04-19 10:01:07',NULL),(9835,7525,9835,7011,NULL,0,NULL,'2024-04-19 10:01:07','2024-04-19 10:01:07',NULL),(9836,7525,9836,7012,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9837,7525,9837,7013,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9838,7525,9838,7014,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9839,7525,9839,7015,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9840,7525,9840,7016,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9841,7525,9841,7017,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9842,7525,9842,7018,NULL,0,NULL,'2024-04-19 10:01:08','2024-04-19 10:01:08',NULL),(9843,7525,9843,7019,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL),(9844,7525,9844,7020,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL),(9845,7525,9845,7021,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL),(9846,7525,9846,7022,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL),(9847,7525,9847,7023,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL),(9848,7525,9848,7024,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL),(9849,7525,9849,7025,NULL,0,NULL,'2024-04-19 10:01:09','2024-04-19 10:01:09',NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (9850,7525,9850,7026,NULL,0,NULL,'2024-04-19 10:01:27','2024-04-19 10:01:27',NULL),(9851,7525,9851,7027,NULL,0,NULL,'2024-04-19 10:01:27','2024-04-19 10:01:27',NULL),(9852,7525,9852,7028,NULL,0,NULL,'2024-04-19 10:01:27','2024-04-19 10:01:27',NULL),(9853,7525,9853,7029,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9854,7525,9854,7030,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9855,7525,9855,7031,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9856,7525,9856,7032,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9857,7525,9857,7033,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9858,7525,9858,7034,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9859,7525,9859,7035,NULL,0,NULL,'2024-04-19 10:01:28','2024-04-19 10:01:28',NULL),(9860,7525,9860,7036,NULL,0,NULL,'2024-04-19 10:01:29','2024-04-19 10:01:29',NULL),(9861,7525,9861,7037,NULL,0,NULL,'2024-04-19 10:01:29','2024-04-19 10:01:29',NULL),(9862,7525,9862,7038,NULL,0,NULL,'2024-04-19 10:01:29','2024-04-19 10:01:29',NULL),(9863,7525,9863,7039,NULL,0,NULL,'2024-04-19 10:11:52','2024-04-19 10:11:52',NULL),(9864,7525,9864,7040,NULL,0,NULL,'2024-04-19 10:13:38','2024-04-19 10:13:38',NULL),(9865,7525,9865,7041,NULL,0,NULL,'2024-04-19 10:14:40','2024-04-19 10:14:40',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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 20:58:27',NULL),(5,NULL,'PERCEPCIONES EFECTUADAS',1,NULL,'2024-05-26 20:58:27',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=757 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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:13:12','2023-03-20 23:13:12'),(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:13:12','2023-03-20 23:13:12'),(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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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 07:53:57',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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 07:53:57',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:49',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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:01:50',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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-06 23:55:42',NULL),(2,NULL,'TERMINADO',1,NULL,'2023-08-06 23:55:42',NULL),(3,NULL,'ELIMINADO',1,NULL,'2023-08-13 09:16:19',NULL),(4,NULL,'PAGADO',1,NULL,'2023-08-06 23:55:42','2023-08-06 23:55:42'),(5,NULL,'CONCILIADO',1,NULL,'2023-08-06 23:55:42','2023-08-06 23:55:42');

--
-- 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-06 23:55:42',NULL),(2,NULL,'RECHAZADO',1,1,0,1,NULL,'2023-08-06 23:55:42',NULL),(3,NULL,'ACEPTADO',1,0,0,1,NULL,'2023-08-06 23:55:42',NULL),(4,NULL,'FALTAN FIRMAS',0,0,1,1,'2023-08-06 23:55:42','2023-08-06 23:55:42',NULL),(5,NULL,'EMITIDO',1,0,0,1,'2023-10-12 08:05:28','2023-10-12 08:05:28',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:29:27',
  `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:17:30',NULL),(3,NULL,'Deposito','App\\Models\\Inventario\\InvDeposito',1,1,NULL,'2024-05-07 20:11:44',NULL),(4,NULL,'Empleado','App\\Models\\SyJEmpleado',0,0,NULL,'2023-07-03 22:08:07',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,'2022-09-09 16:51:34',NULL),(2,NULL,'ORDEN DE VENTAS',NULL,1,NULL,'2022-09-09 16:51:34',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:26:48',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:29:27','2023-09-28 16:29:27',NULL),(11,NULL,'ANULACION REQUERIMIENTOS',NULL,1,'2024-04-02 23:06:53','2024-04-02 23:06:53',NULL),(12,NULL,'ANULACION COMPRAS PRODUCTOS',NULL,1,'2024-04-02 23:06:53','2024-04-02 23:06:53',NULL),(13,NULL,'ANULACION COMPRAS SERVICIOS',NULL,1,'2024-04-02 23:06:53','2024-04-02 23:06:53',NULL),(14,NULL,'REMITO DE GASTO',NULL,1,'2024-05-07 20:11:44','2024-05-07 20:11:44',NULL),(15,NULL,'COTIZACIONES',NULL,1,'2024-06-26 07:53:05','2024-06-26 07:53:05',NULL),(16,NULL,'REMITO INGRESO-DEVOLUCION',NULL,1,'2024-09-02 13:17:24','2024-09-02 13:17:24',NULL),(17,NULL,'REMITO EGRESO-DEVOLUCION',NULL,1,'2024-10-17 08:50:54','2024-10-17 08:50:54',NULL),(18,NULL,'REMITO','Es un remito de servicio, que no tiene ni ingreso ni egreso',1,'2024-12-03 21:45:35','2024-12-03 21:45:35',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:06:29',
  `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;

--
-- Dumping data for table `despachos_cierres`
--


--
-- Table structure for table `despachos_details`
--

CREATE TABLE `despachos_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `despacho_parte_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `porcentaje_ponderacion` decimal(8,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_details_despacho_id_foreign` (`despacho_id`),
  KEY `despachos_details_despacho_parte_id_foreign` (`despacho_parte_id`),
  KEY `despachos_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `despachos_details_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`),
  CONSTRAINT `despachos_details_despacho_parte_id_foreign` FOREIGN KEY (`despacho_parte_id`) REFERENCES `despachos_partes` (`id`),
  CONSTRAINT `despachos_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_details`
--


--
-- Table structure for table `despachos_files`
--

CREATE TABLE `despachos_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `despacho_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` 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`),
  KEY `despachos_files_despacho_id_foreign` (`despacho_id`),
  CONSTRAINT `despachos_files_despacho_id_foreign` FOREIGN KEY (`despacho_id`) REFERENCES `despachos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_files`
--


--
-- Table structure for table `despachos_partes`
--

CREATE TABLE `despachos_partes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(255) 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 AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `despachos_partes`
--

INSERT INTO `despachos_partes` VALUES (1,NULL,'Facturas del Proveedor',1,NULL,NULL,NULL),(2,NULL,'Despachos de Importacion',1,NULL,NULL,NULL),(3,NULL,'Facturas de Logistica',1,NULL,NULL,NULL);

--
-- Table structure for table `deudas_impositivas`
--

CREATE TABLE `deudas_impositivas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `vto_impuesto_id` int(10) unsigned NOT NULL,
  `periodo_deuda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` 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 `deudas_impositivas_vto_impuesto_id_foreign` (`vto_impuesto_id`),
  KEY `deudas_impositivas_person_id_foreign` (`person_id`),
  CONSTRAINT `deudas_impositivas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `deudas_impositivas_vto_impuesto_id_foreign` FOREIGN KEY (`vto_impuesto_id`) REFERENCES `vto_impuestos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `deudas_impositivas`
--


--
-- Table structure for table `ejer_anteriores`
--

CREATE TABLE `ejer_anteriores` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `anio` int(11) NOT NULL,
  `ventas` decimal(16,2) DEFAULT NULL,
  `compras` decimal(16,2) DEFAULT NULL,
  `sueldos` decimal(16,2) DEFAULT NULL,
  `impuesto` decimal(16,2) DEFAULT NULL,
  `apagar` decimal(16,2) DEFAULT NULL,
  `afavor` decimal(16,2) DEFAULT NULL,
  `comentario` 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`),
  KEY `ejer_anteriores_person_id_foreign` (`person_id`),
  CONSTRAINT `ejer_anteriores_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ejer_anteriores`
--


--
-- Table structure for table `estado_civil`
--

CREATE TABLE `estado_civil` (
  `id` int(10) 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`),
  UNIQUE KEY `estado_civil_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `estado_civil`
--

INSERT INTO `estado_civil` VALUES (1,NULL,'Separado Legal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Separado de Hecho',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(3,NULL,'Divorciado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(4,NULL,'Convivencia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(5,NULL,'Soltero',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(6,NULL,'Casado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(7,NULL,'Viudo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `fa_masiva`
--

CREATE TABLE `fa_masiva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(11) NOT NULL,
  `user_id` 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva`
--


--
-- Table structure for table `fa_masiva_detalle`
--

CREATE TABLE `fa_masiva_detalle` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fa_masiva_id` int(11) NOT NULL,
  `cliente_id` int(11) NOT NULL,
  `tipo_comprobante_id` int(10) unsigned NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL DEFAULT '22',
  `activity_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `concepto_id` int(10) unsigned NOT NULL DEFAULT '1',
  `taxable_iibb` int(10) unsigned NOT NULL DEFAULT '2',
  `renglon1` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe1` decimal(20,2) DEFAULT NULL,
  `renglon2` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe2` decimal(20,2) DEFAULT NULL,
  `renglon3` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe3` decimal(20,2) DEFAULT NULL,
  `punto_venta_id` int(11) DEFAULT NULL,
  `fecha_comprobante` date DEFAULT NULL,
  `fecha_facturado_desde` date DEFAULT NULL,
  `fecha_facturado_hasta` date DEFAULT NULL,
  `fecha_vencimiento_pago` 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 `fa_masiva_detalle_concepto_id_foreign` (`concepto_id`),
  KEY `fa_masiva_detalle_system_tax_id_foreign` (`system_tax_id`),
  KEY `fa_masiva_detalle_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  KEY `fa_masiva_detalle_zone_id_foreign` (`zone_id`),
  KEY `fa_masiva_detalle_tipo_comprobante_id_foreign` (`tipo_comprobante_id`),
  KEY `fa_masiva_detalle_activity_id_foreign` (`activity_id`),
  CONSTRAINT `fa_masiva_detalle_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `fa_masiva_detalle_concepto_id_foreign` FOREIGN KEY (`concepto_id`) REFERENCES `fact_elec_conceptos_afip` (`id`),
  CONSTRAINT `fa_masiva_detalle_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `fa_masiva_detalle_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`),
  CONSTRAINT `fa_masiva_detalle_tipo_comprobante_id_foreign` FOREIGN KEY (`tipo_comprobante_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `fa_masiva_detalle_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva_detalle`
--


--
-- Table structure for table `fa_masiva_stock`
--

CREATE TABLE `fa_masiva_stock` (
  `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,
  `data` 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 `fa_masiva_stock_person_id_foreign` (`person_id`),
  KEY `fa_masiva_stock_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `fa_masiva_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fa_masiva_stock_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 `fa_masiva_stock`
--


--
-- Table structure for table `fac_elec_cond_frente_iva`
--

CREATE TABLE `fac_elec_cond_frente_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) 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`),
  UNIQUE KEY `fac_elec_cond_frente_iva_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_cond_frente_iva`
--

INSERT INTO `fac_elec_cond_frente_iva` VALUES (1,'IVA Responsable Inscripto','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'IVA Sujeto Exento','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Consumidor Final','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Responsable Monotributo','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Proveedor del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Cliente del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'IVA Liberado - Ley Nº 19.640','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'IVA Responsable Inscripto - Agente de Percepción','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Monotributista Social','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'IVA No Alcanzado','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fac_elec_unidad_medidas`
--

CREATE TABLE `fac_elec_unidad_medidas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) 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`),
  UNIQUE KEY `fac_elec_unidad_medidas_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_unidad_medidas`
--

INSERT INTO `fac_elec_unidad_medidas` VALUES (1,'Grs','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'Kg','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Mts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Mts2','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Mts3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Lts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'1000 Kwh','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'Unidades','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Pares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'Doc','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(11,'Quilates','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(12,'Millares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(13,'Milimetros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(14,'Mm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(15,'Km','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(16,'Hectolitros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(17,'Cm','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(18,'Cm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
