INSERT INTO `periods` VALUES (58654,NULL,'2080-11',2080,11,'2080-11-01','2080-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58655,NULL,'2080-12',2080,12,'2080-12-01','2080-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58659,NULL,'2081-01',2081,1,'2081-01-01','2081-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58660,NULL,'2081-02',2081,2,'2081-02-01','2081-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58661,NULL,'2081-03',2081,3,'2081-03-01','2081-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58662,NULL,'2081-04',2081,4,'2081-04-01','2081-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58663,NULL,'2081-05',2081,5,'2081-05-01','2081-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58664,NULL,'2081-06',2081,6,'2081-06-01','2081-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58665,NULL,'2081-07',2081,7,'2081-07-01','2081-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58666,NULL,'2081-08',2081,8,'2081-08-01','2081-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58667,NULL,'2081-09',2081,9,'2081-09-01','2081-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58668,NULL,'2081-10',2081,10,'2081-10-01','2081-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58669,NULL,'2081-11',2081,11,'2081-11-01','2081-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58670,NULL,'2081-12',2081,12,'2081-12-01','2081-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58674,NULL,'2082-01',2082,1,'2082-01-01','2082-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58675,NULL,'2082-02',2082,2,'2082-02-01','2082-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58676,NULL,'2082-03',2082,3,'2082-03-01','2082-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58677,NULL,'2082-04',2082,4,'2082-04-01','2082-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58678,NULL,'2082-05',2082,5,'2082-05-01','2082-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58679,NULL,'2082-06',2082,6,'2082-06-01','2082-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58680,NULL,'2082-07',2082,7,'2082-07-01','2082-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58681,NULL,'2082-08',2082,8,'2082-08-01','2082-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58682,NULL,'2082-09',2082,9,'2082-09-01','2082-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58683,NULL,'2082-10',2082,10,'2082-10-01','2082-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58684,NULL,'2082-11',2082,11,'2082-11-01','2082-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58685,NULL,'2082-12',2082,12,'2082-12-01','2082-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58689,NULL,'2083-01',2083,1,'2083-01-01','2083-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58690,NULL,'2083-02',2083,2,'2083-02-01','2083-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58691,NULL,'2083-03',2083,3,'2083-03-01','2083-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58692,NULL,'2083-04',2083,4,'2083-04-01','2083-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58693,NULL,'2083-05',2083,5,'2083-05-01','2083-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58694,NULL,'2083-06',2083,6,'2083-06-01','2083-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58695,NULL,'2083-07',2083,7,'2083-07-01','2083-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58696,NULL,'2083-08',2083,8,'2083-08-01','2083-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58697,NULL,'2083-09',2083,9,'2083-09-01','2083-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58698,NULL,'2083-10',2083,10,'2083-10-01','2083-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58699,NULL,'2083-11',2083,11,'2083-11-01','2083-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58700,NULL,'2083-12',2083,12,'2083-12-01','2083-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58704,NULL,'2084-01',2084,1,'2084-01-01','2084-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58705,NULL,'2084-02',2084,2,'2084-02-01','2084-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58706,NULL,'2084-03',2084,3,'2084-03-01','2084-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58707,NULL,'2084-04',2084,4,'2084-04-01','2084-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58708,NULL,'2084-05',2084,5,'2084-05-01','2084-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58709,NULL,'2084-06',2084,6,'2084-06-01','2084-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58710,NULL,'2084-07',2084,7,'2084-07-01','2084-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58711,NULL,'2084-08',2084,8,'2084-08-01','2084-08-31',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (58712,NULL,'2084-09',2084,9,'2084-09-01','2084-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58713,NULL,'2084-10',2084,10,'2084-10-01','2084-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58714,NULL,'2084-11',2084,11,'2084-11-01','2084-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58715,NULL,'2084-12',2084,12,'2084-12-01','2084-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58719,NULL,'2085-01',2085,1,'2085-01-01','2085-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58720,NULL,'2085-02',2085,2,'2085-02-01','2085-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58721,NULL,'2085-03',2085,3,'2085-03-01','2085-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58722,NULL,'2085-04',2085,4,'2085-04-01','2085-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58723,NULL,'2085-05',2085,5,'2085-05-01','2085-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58724,NULL,'2085-06',2085,6,'2085-06-01','2085-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58725,NULL,'2085-07',2085,7,'2085-07-01','2085-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58726,NULL,'2085-08',2085,8,'2085-08-01','2085-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58727,NULL,'2085-09',2085,9,'2085-09-01','2085-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58728,NULL,'2085-10',2085,10,'2085-10-01','2085-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58729,NULL,'2085-11',2085,11,'2085-11-01','2085-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58730,NULL,'2085-12',2085,12,'2085-12-01','2085-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58734,NULL,'2086-01',2086,1,'2086-01-01','2086-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58735,NULL,'2086-02',2086,2,'2086-02-01','2086-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58736,NULL,'2086-03',2086,3,'2086-03-01','2086-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58737,NULL,'2086-04',2086,4,'2086-04-01','2086-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58738,NULL,'2086-05',2086,5,'2086-05-01','2086-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58739,NULL,'2086-06',2086,6,'2086-06-01','2086-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58740,NULL,'2086-07',2086,7,'2086-07-01','2086-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58741,NULL,'2086-08',2086,8,'2086-08-01','2086-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58742,NULL,'2086-09',2086,9,'2086-09-01','2086-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58743,NULL,'2086-10',2086,10,'2086-10-01','2086-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58744,NULL,'2086-11',2086,11,'2086-11-01','2086-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58745,NULL,'2086-12',2086,12,'2086-12-01','2086-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58749,NULL,'2087-01',2087,1,'2087-01-01','2087-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58750,NULL,'2087-02',2087,2,'2087-02-01','2087-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58751,NULL,'2087-03',2087,3,'2087-03-01','2087-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58752,NULL,'2087-04',2087,4,'2087-04-01','2087-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58753,NULL,'2087-05',2087,5,'2087-05-01','2087-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58754,NULL,'2087-06',2087,6,'2087-06-01','2087-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58755,NULL,'2087-07',2087,7,'2087-07-01','2087-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58756,NULL,'2087-08',2087,8,'2087-08-01','2087-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58757,NULL,'2087-09',2087,9,'2087-09-01','2087-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58758,NULL,'2087-10',2087,10,'2087-10-01','2087-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58759,NULL,'2087-11',2087,11,'2087-11-01','2087-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58760,NULL,'2087-12',2087,12,'2087-12-01','2087-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58764,NULL,'2088-01',2088,1,'2088-01-01','2088-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58765,NULL,'2088-02',2088,2,'2088-02-01','2088-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58766,NULL,'2088-03',2088,3,'2088-03-01','2088-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58767,NULL,'2088-04',2088,4,'2088-04-01','2088-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58768,NULL,'2088-05',2088,5,'2088-05-01','2088-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58769,NULL,'2088-06',2088,6,'2088-06-01','2088-06-30',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (58770,NULL,'2088-07',2088,7,'2088-07-01','2088-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58771,NULL,'2088-08',2088,8,'2088-08-01','2088-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58772,NULL,'2088-09',2088,9,'2088-09-01','2088-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58773,NULL,'2088-10',2088,10,'2088-10-01','2088-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58774,NULL,'2088-11',2088,11,'2088-11-01','2088-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58775,NULL,'2088-12',2088,12,'2088-12-01','2088-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58779,NULL,'2089-01',2089,1,'2089-01-01','2089-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58780,NULL,'2089-02',2089,2,'2089-02-01','2089-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58781,NULL,'2089-03',2089,3,'2089-03-01','2089-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58782,NULL,'2089-04',2089,4,'2089-04-01','2089-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58783,NULL,'2089-05',2089,5,'2089-05-01','2089-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58784,NULL,'2089-06',2089,6,'2089-06-01','2089-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58785,NULL,'2089-07',2089,7,'2089-07-01','2089-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58786,NULL,'2089-08',2089,8,'2089-08-01','2089-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58787,NULL,'2089-09',2089,9,'2089-09-01','2089-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58788,NULL,'2089-10',2089,10,'2089-10-01','2089-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58789,NULL,'2089-11',2089,11,'2089-11-01','2089-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58790,NULL,'2089-12',2089,12,'2089-12-01','2089-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58794,NULL,'2090-01',2090,1,'2090-01-01','2090-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58795,NULL,'2090-02',2090,2,'2090-02-01','2090-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58796,NULL,'2090-03',2090,3,'2090-03-01','2090-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58797,NULL,'2090-04',2090,4,'2090-04-01','2090-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58798,NULL,'2090-05',2090,5,'2090-05-01','2090-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58799,NULL,'2090-06',2090,6,'2090-06-01','2090-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58800,NULL,'2090-07',2090,7,'2090-07-01','2090-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58801,NULL,'2090-08',2090,8,'2090-08-01','2090-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58802,NULL,'2090-09',2090,9,'2090-09-01','2090-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58803,NULL,'2090-10',2090,10,'2090-10-01','2090-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58804,NULL,'2090-11',2090,11,'2090-11-01','2090-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58805,NULL,'2090-12',2090,12,'2090-12-01','2090-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58809,NULL,'2091-01',2091,1,'2091-01-01','2091-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58810,NULL,'2091-02',2091,2,'2091-02-01','2091-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58811,NULL,'2091-03',2091,3,'2091-03-01','2091-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58812,NULL,'2091-04',2091,4,'2091-04-01','2091-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58813,NULL,'2091-05',2091,5,'2091-05-01','2091-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58814,NULL,'2091-06',2091,6,'2091-06-01','2091-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58815,NULL,'2091-07',2091,7,'2091-07-01','2091-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58816,NULL,'2091-08',2091,8,'2091-08-01','2091-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58817,NULL,'2091-09',2091,9,'2091-09-01','2091-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58818,NULL,'2091-10',2091,10,'2091-10-01','2091-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58819,NULL,'2091-11',2091,11,'2091-11-01','2091-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58820,NULL,'2091-12',2091,12,'2091-12-01','2091-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58824,NULL,'2092-01',2092,1,'2092-01-01','2092-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58825,NULL,'2092-02',2092,2,'2092-02-01','2092-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58826,NULL,'2092-03',2092,3,'2092-03-01','2092-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58827,NULL,'2092-04',2092,4,'2092-04-01','2092-04-30',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (58828,NULL,'2092-05',2092,5,'2092-05-01','2092-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58829,NULL,'2092-06',2092,6,'2092-06-01','2092-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58830,NULL,'2092-07',2092,7,'2092-07-01','2092-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58831,NULL,'2092-08',2092,8,'2092-08-01','2092-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58832,NULL,'2092-09',2092,9,'2092-09-01','2092-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58833,NULL,'2092-10',2092,10,'2092-10-01','2092-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58834,NULL,'2092-11',2092,11,'2092-11-01','2092-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58835,NULL,'2092-12',2092,12,'2092-12-01','2092-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58839,NULL,'2093-01',2093,1,'2093-01-01','2093-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58840,NULL,'2093-02',2093,2,'2093-02-01','2093-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58841,NULL,'2093-03',2093,3,'2093-03-01','2093-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58842,NULL,'2093-04',2093,4,'2093-04-01','2093-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58843,NULL,'2093-05',2093,5,'2093-05-01','2093-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58844,NULL,'2093-06',2093,6,'2093-06-01','2093-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58845,NULL,'2093-07',2093,7,'2093-07-01','2093-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58846,NULL,'2093-08',2093,8,'2093-08-01','2093-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58847,NULL,'2093-09',2093,9,'2093-09-01','2093-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58848,NULL,'2093-10',2093,10,'2093-10-01','2093-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58849,NULL,'2093-11',2093,11,'2093-11-01','2093-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58850,NULL,'2093-12',2093,12,'2093-12-01','2093-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58854,NULL,'2094-01',2094,1,'2094-01-01','2094-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58855,NULL,'2094-02',2094,2,'2094-02-01','2094-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58856,NULL,'2094-03',2094,3,'2094-03-01','2094-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58857,NULL,'2094-04',2094,4,'2094-04-01','2094-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58858,NULL,'2094-05',2094,5,'2094-05-01','2094-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58859,NULL,'2094-06',2094,6,'2094-06-01','2094-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58860,NULL,'2094-07',2094,7,'2094-07-01','2094-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58861,NULL,'2094-08',2094,8,'2094-08-01','2094-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58862,NULL,'2094-09',2094,9,'2094-09-01','2094-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58863,NULL,'2094-10',2094,10,'2094-10-01','2094-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58864,NULL,'2094-11',2094,11,'2094-11-01','2094-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58865,NULL,'2094-12',2094,12,'2094-12-01','2094-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58869,NULL,'2095-01',2095,1,'2095-01-01','2095-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58870,NULL,'2095-02',2095,2,'2095-02-01','2095-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58871,NULL,'2095-03',2095,3,'2095-03-01','2095-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58872,NULL,'2095-04',2095,4,'2095-04-01','2095-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58873,NULL,'2095-05',2095,5,'2095-05-01','2095-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58874,NULL,'2095-06',2095,6,'2095-06-01','2095-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58875,NULL,'2095-07',2095,7,'2095-07-01','2095-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58876,NULL,'2095-08',2095,8,'2095-08-01','2095-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58877,NULL,'2095-09',2095,9,'2095-09-01','2095-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58878,NULL,'2095-10',2095,10,'2095-10-01','2095-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58879,NULL,'2095-11',2095,11,'2095-11-01','2095-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58880,NULL,'2095-12',2095,12,'2095-12-01','2095-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58884,NULL,'2096-01',2096,1,'2096-01-01','2096-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58885,NULL,'2096-02',2096,2,'2096-02-01','2096-02-28',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (58886,NULL,'2096-03',2096,3,'2096-03-01','2096-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58887,NULL,'2096-04',2096,4,'2096-04-01','2096-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58888,NULL,'2096-05',2096,5,'2096-05-01','2096-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58889,NULL,'2096-06',2096,6,'2096-06-01','2096-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58890,NULL,'2096-07',2096,7,'2096-07-01','2096-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58891,NULL,'2096-08',2096,8,'2096-08-01','2096-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58892,NULL,'2096-09',2096,9,'2096-09-01','2096-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58893,NULL,'2096-10',2096,10,'2096-10-01','2096-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58894,NULL,'2096-11',2096,11,'2096-11-01','2096-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58895,NULL,'2096-12',2096,12,'2096-12-01','2096-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58899,NULL,'2097-01',2097,1,'2097-01-01','2097-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58900,NULL,'2097-02',2097,2,'2097-02-01','2097-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58901,NULL,'2097-03',2097,3,'2097-03-01','2097-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58902,NULL,'2097-04',2097,4,'2097-04-01','2097-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58903,NULL,'2097-05',2097,5,'2097-05-01','2097-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58904,NULL,'2097-06',2097,6,'2097-06-01','2097-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58905,NULL,'2097-07',2097,7,'2097-07-01','2097-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58906,NULL,'2097-08',2097,8,'2097-08-01','2097-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58907,NULL,'2097-09',2097,9,'2097-09-01','2097-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58908,NULL,'2097-10',2097,10,'2097-10-01','2097-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58909,NULL,'2097-11',2097,11,'2097-11-01','2097-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58910,NULL,'2097-12',2097,12,'2097-12-01','2097-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58914,NULL,'2098-01',2098,1,'2098-01-01','2098-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58915,NULL,'2098-02',2098,2,'2098-02-01','2098-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58916,NULL,'2098-03',2098,3,'2098-03-01','2098-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58917,NULL,'2098-04',2098,4,'2098-04-01','2098-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58918,NULL,'2098-05',2098,5,'2098-05-01','2098-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58919,NULL,'2098-06',2098,6,'2098-06-01','2098-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58920,NULL,'2098-07',2098,7,'2098-07-01','2098-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58921,NULL,'2098-08',2098,8,'2098-08-01','2098-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58922,NULL,'2098-09',2098,9,'2098-09-01','2098-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58923,NULL,'2098-10',2098,10,'2098-10-01','2098-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58924,NULL,'2098-11',2098,11,'2098-11-01','2098-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58925,NULL,'2098-12',2098,12,'2098-12-01','2098-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58929,NULL,'2099-01',2099,1,'2099-01-01','2099-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58930,NULL,'2099-02',2099,2,'2099-02-01','2099-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58931,NULL,'2099-03',2099,3,'2099-03-01','2099-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58932,NULL,'2099-04',2099,4,'2099-04-01','2099-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58933,NULL,'2099-05',2099,5,'2099-05-01','2099-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58934,NULL,'2099-06',2099,6,'2099-06-01','2099-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58935,NULL,'2099-07',2099,7,'2099-07-01','2099-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58936,NULL,'2099-08',2099,8,'2099-08-01','2099-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58937,NULL,'2099-09',2099,9,'2099-09-01','2099-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58938,NULL,'2099-10',2099,10,'2099-10-01','2099-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58939,NULL,'2099-11',2099,11,'2099-11-01','2099-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58940,NULL,'2099-12',2099,12,'2099-12-01','2099-12-31',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (58944,NULL,'2100-01',2100,1,'2100-01-01','2100-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58945,NULL,'2100-02',2100,2,'2100-02-01','2100-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58946,NULL,'2100-03',2100,3,'2100-03-01','2100-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58947,NULL,'2100-04',2100,4,'2100-04-01','2100-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58948,NULL,'2100-05',2100,5,'2100-05-01','2100-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58949,NULL,'2100-06',2100,6,'2100-06-01','2100-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58950,NULL,'2100-07',2100,7,'2100-07-01','2100-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58951,NULL,'2100-08',2100,8,'2100-08-01','2100-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58952,NULL,'2100-09',2100,9,'2100-09-01','2100-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58953,NULL,'2100-10',2100,10,'2100-10-01','2100-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58954,NULL,'2100-11',2100,11,'2100-11-01','2100-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58955,NULL,'2100-12',2100,12,'2100-12-01','2100-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58959,NULL,'2101-01',2101,1,'2101-01-01','2101-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58960,NULL,'2101-02',2101,2,'2101-02-01','2101-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58961,NULL,'2101-03',2101,3,'2101-03-01','2101-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58962,NULL,'2101-04',2101,4,'2101-04-01','2101-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58963,NULL,'2101-05',2101,5,'2101-05-01','2101-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58964,NULL,'2101-06',2101,6,'2101-06-01','2101-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58965,NULL,'2101-07',2101,7,'2101-07-01','2101-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58966,NULL,'2101-08',2101,8,'2101-08-01','2101-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58967,NULL,'2101-09',2101,9,'2101-09-01','2101-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58968,NULL,'2101-10',2101,10,'2101-10-01','2101-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58969,NULL,'2101-11',2101,11,'2101-11-01','2101-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58970,NULL,'2101-12',2101,12,'2101-12-01','2101-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58974,NULL,'2102-01',2102,1,'2102-01-01','2102-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58975,NULL,'2102-02',2102,2,'2102-02-01','2102-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58976,NULL,'2102-03',2102,3,'2102-03-01','2102-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58977,NULL,'2102-04',2102,4,'2102-04-01','2102-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58978,NULL,'2102-05',2102,5,'2102-05-01','2102-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58979,NULL,'2102-06',2102,6,'2102-06-01','2102-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58980,NULL,'2102-07',2102,7,'2102-07-01','2102-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58981,NULL,'2102-08',2102,8,'2102-08-01','2102-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58982,NULL,'2102-09',2102,9,'2102-09-01','2102-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58983,NULL,'2102-10',2102,10,'2102-10-01','2102-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58984,NULL,'2102-11',2102,11,'2102-11-01','2102-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58985,NULL,'2102-12',2102,12,'2102-12-01','2102-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58989,NULL,'2103-01',2103,1,'2103-01-01','2103-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58990,NULL,'2103-02',2103,2,'2103-02-01','2103-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(58991,NULL,'2103-03',2103,3,'2103-03-01','2103-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58992,NULL,'2103-04',2103,4,'2103-04-01','2103-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58993,NULL,'2103-05',2103,5,'2103-05-01','2103-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58994,NULL,'2103-06',2103,6,'2103-06-01','2103-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58995,NULL,'2103-07',2103,7,'2103-07-01','2103-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58996,NULL,'2103-08',2103,8,'2103-08-01','2103-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(58997,NULL,'2103-09',2103,9,'2103-09-01','2103-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(58998,NULL,'2103-10',2103,10,'2103-10-01','2103-10-31',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (58999,NULL,'2103-11',2103,11,'2103-11-01','2103-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59000,NULL,'2103-12',2103,12,'2103-12-01','2103-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59004,NULL,'2104-01',2104,1,'2104-01-01','2104-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59005,NULL,'2104-02',2104,2,'2104-02-01','2104-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59006,NULL,'2104-03',2104,3,'2104-03-01','2104-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59007,NULL,'2104-04',2104,4,'2104-04-01','2104-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59008,NULL,'2104-05',2104,5,'2104-05-01','2104-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59009,NULL,'2104-06',2104,6,'2104-06-01','2104-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59010,NULL,'2104-07',2104,7,'2104-07-01','2104-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59011,NULL,'2104-08',2104,8,'2104-08-01','2104-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59012,NULL,'2104-09',2104,9,'2104-09-01','2104-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59013,NULL,'2104-10',2104,10,'2104-10-01','2104-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59014,NULL,'2104-11',2104,11,'2104-11-01','2104-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59015,NULL,'2104-12',2104,12,'2104-12-01','2104-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59019,NULL,'2105-01',2105,1,'2105-01-01','2105-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59020,NULL,'2105-02',2105,2,'2105-02-01','2105-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59021,NULL,'2105-03',2105,3,'2105-03-01','2105-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59022,NULL,'2105-04',2105,4,'2105-04-01','2105-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59023,NULL,'2105-05',2105,5,'2105-05-01','2105-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59024,NULL,'2105-06',2105,6,'2105-06-01','2105-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59025,NULL,'2105-07',2105,7,'2105-07-01','2105-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59026,NULL,'2105-08',2105,8,'2105-08-01','2105-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59027,NULL,'2105-09',2105,9,'2105-09-01','2105-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59028,NULL,'2105-10',2105,10,'2105-10-01','2105-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59029,NULL,'2105-11',2105,11,'2105-11-01','2105-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59030,NULL,'2105-12',2105,12,'2105-12-01','2105-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59034,NULL,'2106-01',2106,1,'2106-01-01','2106-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59035,NULL,'2106-02',2106,2,'2106-02-01','2106-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59036,NULL,'2106-03',2106,3,'2106-03-01','2106-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59037,NULL,'2106-04',2106,4,'2106-04-01','2106-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59038,NULL,'2106-05',2106,5,'2106-05-01','2106-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59039,NULL,'2106-06',2106,6,'2106-06-01','2106-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59040,NULL,'2106-07',2106,7,'2106-07-01','2106-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59041,NULL,'2106-08',2106,8,'2106-08-01','2106-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59042,NULL,'2106-09',2106,9,'2106-09-01','2106-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59043,NULL,'2106-10',2106,10,'2106-10-01','2106-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59044,NULL,'2106-11',2106,11,'2106-11-01','2106-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59045,NULL,'2106-12',2106,12,'2106-12-01','2106-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59049,NULL,'2107-01',2107,1,'2107-01-01','2107-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59050,NULL,'2107-02',2107,2,'2107-02-01','2107-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59051,NULL,'2107-03',2107,3,'2107-03-01','2107-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59052,NULL,'2107-04',2107,4,'2107-04-01','2107-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59053,NULL,'2107-05',2107,5,'2107-05-01','2107-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59054,NULL,'2107-06',2107,6,'2107-06-01','2107-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59055,NULL,'2107-07',2107,7,'2107-07-01','2107-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59056,NULL,'2107-08',2107,8,'2107-08-01','2107-08-31',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (59057,NULL,'2107-09',2107,9,'2107-09-01','2107-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59058,NULL,'2107-10',2107,10,'2107-10-01','2107-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59059,NULL,'2107-11',2107,11,'2107-11-01','2107-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59060,NULL,'2107-12',2107,12,'2107-12-01','2107-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59064,NULL,'2108-01',2108,1,'2108-01-01','2108-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59065,NULL,'2108-02',2108,2,'2108-02-01','2108-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59066,NULL,'2108-03',2108,3,'2108-03-01','2108-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59067,NULL,'2108-04',2108,4,'2108-04-01','2108-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59068,NULL,'2108-05',2108,5,'2108-05-01','2108-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59069,NULL,'2108-06',2108,6,'2108-06-01','2108-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59070,NULL,'2108-07',2108,7,'2108-07-01','2108-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59071,NULL,'2108-08',2108,8,'2108-08-01','2108-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59072,NULL,'2108-09',2108,9,'2108-09-01','2108-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59073,NULL,'2108-10',2108,10,'2108-10-01','2108-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59074,NULL,'2108-11',2108,11,'2108-11-01','2108-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59075,NULL,'2108-12',2108,12,'2108-12-01','2108-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59079,NULL,'2109-01',2109,1,'2109-01-01','2109-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59080,NULL,'2109-02',2109,2,'2109-02-01','2109-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59081,NULL,'2109-03',2109,3,'2109-03-01','2109-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59082,NULL,'2109-04',2109,4,'2109-04-01','2109-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59083,NULL,'2109-05',2109,5,'2109-05-01','2109-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59084,NULL,'2109-06',2109,6,'2109-06-01','2109-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59085,NULL,'2109-07',2109,7,'2109-07-01','2109-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59086,NULL,'2109-08',2109,8,'2109-08-01','2109-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59087,NULL,'2109-09',2109,9,'2109-09-01','2109-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59088,NULL,'2109-10',2109,10,'2109-10-01','2109-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59089,NULL,'2109-11',2109,11,'2109-11-01','2109-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59090,NULL,'2109-12',2109,12,'2109-12-01','2109-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59094,NULL,'2110-01',2110,1,'2110-01-01','2110-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59095,NULL,'2110-02',2110,2,'2110-02-01','2110-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59096,NULL,'2110-03',2110,3,'2110-03-01','2110-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59097,NULL,'2110-04',2110,4,'2110-04-01','2110-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59098,NULL,'2110-05',2110,5,'2110-05-01','2110-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59099,NULL,'2110-06',2110,6,'2110-06-01','2110-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59100,NULL,'2110-07',2110,7,'2110-07-01','2110-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59101,NULL,'2110-08',2110,8,'2110-08-01','2110-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59102,NULL,'2110-09',2110,9,'2110-09-01','2110-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59103,NULL,'2110-10',2110,10,'2110-10-01','2110-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59104,NULL,'2110-11',2110,11,'2110-11-01','2110-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59105,NULL,'2110-12',2110,12,'2110-12-01','2110-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59109,NULL,'2111-01',2111,1,'2111-01-01','2111-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59110,NULL,'2111-02',2111,2,'2111-02-01','2111-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59111,NULL,'2111-03',2111,3,'2111-03-01','2111-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59112,NULL,'2111-04',2111,4,'2111-04-01','2111-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59113,NULL,'2111-05',2111,5,'2111-05-01','2111-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59114,NULL,'2111-06',2111,6,'2111-06-01','2111-06-30',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (59115,NULL,'2111-07',2111,7,'2111-07-01','2111-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59116,NULL,'2111-08',2111,8,'2111-08-01','2111-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59117,NULL,'2111-09',2111,9,'2111-09-01','2111-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59118,NULL,'2111-10',2111,10,'2111-10-01','2111-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59119,NULL,'2111-11',2111,11,'2111-11-01','2111-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59120,NULL,'2111-12',2111,12,'2111-12-01','2111-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59124,NULL,'2112-01',2112,1,'2112-01-01','2112-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59125,NULL,'2112-02',2112,2,'2112-02-01','2112-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59126,NULL,'2112-03',2112,3,'2112-03-01','2112-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59127,NULL,'2112-04',2112,4,'2112-04-01','2112-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59128,NULL,'2112-05',2112,5,'2112-05-01','2112-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59129,NULL,'2112-06',2112,6,'2112-06-01','2112-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59130,NULL,'2112-07',2112,7,'2112-07-01','2112-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59131,NULL,'2112-08',2112,8,'2112-08-01','2112-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59132,NULL,'2112-09',2112,9,'2112-09-01','2112-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59133,NULL,'2112-10',2112,10,'2112-10-01','2112-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59134,NULL,'2112-11',2112,11,'2112-11-01','2112-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59135,NULL,'2112-12',2112,12,'2112-12-01','2112-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59139,NULL,'2113-01',2113,1,'2113-01-01','2113-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59140,NULL,'2113-02',2113,2,'2113-02-01','2113-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59141,NULL,'2113-03',2113,3,'2113-03-01','2113-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59142,NULL,'2113-04',2113,4,'2113-04-01','2113-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59143,NULL,'2113-05',2113,5,'2113-05-01','2113-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59144,NULL,'2113-06',2113,6,'2113-06-01','2113-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59145,NULL,'2113-07',2113,7,'2113-07-01','2113-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59146,NULL,'2113-08',2113,8,'2113-08-01','2113-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59147,NULL,'2113-09',2113,9,'2113-09-01','2113-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59148,NULL,'2113-10',2113,10,'2113-10-01','2113-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59149,NULL,'2113-11',2113,11,'2113-11-01','2113-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59150,NULL,'2113-12',2113,12,'2113-12-01','2113-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59154,NULL,'2114-01',2114,1,'2114-01-01','2114-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59155,NULL,'2114-02',2114,2,'2114-02-01','2114-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59156,NULL,'2114-03',2114,3,'2114-03-01','2114-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59157,NULL,'2114-04',2114,4,'2114-04-01','2114-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59158,NULL,'2114-05',2114,5,'2114-05-01','2114-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59159,NULL,'2114-06',2114,6,'2114-06-01','2114-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59160,NULL,'2114-07',2114,7,'2114-07-01','2114-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59161,NULL,'2114-08',2114,8,'2114-08-01','2114-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59162,NULL,'2114-09',2114,9,'2114-09-01','2114-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59163,NULL,'2114-10',2114,10,'2114-10-01','2114-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59164,NULL,'2114-11',2114,11,'2114-11-01','2114-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59165,NULL,'2114-12',2114,12,'2114-12-01','2114-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59169,NULL,'2115-01',2115,1,'2115-01-01','2115-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59170,NULL,'2115-02',2115,2,'2115-02-01','2115-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59171,NULL,'2115-03',2115,3,'2115-03-01','2115-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59172,NULL,'2115-04',2115,4,'2115-04-01','2115-04-30',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (59173,NULL,'2115-05',2115,5,'2115-05-01','2115-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59174,NULL,'2115-06',2115,6,'2115-06-01','2115-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59175,NULL,'2115-07',2115,7,'2115-07-01','2115-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59176,NULL,'2115-08',2115,8,'2115-08-01','2115-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59177,NULL,'2115-09',2115,9,'2115-09-01','2115-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59178,NULL,'2115-10',2115,10,'2115-10-01','2115-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59179,NULL,'2115-11',2115,11,'2115-11-01','2115-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59180,NULL,'2115-12',2115,12,'2115-12-01','2115-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59184,NULL,'2116-01',2116,1,'2116-01-01','2116-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59185,NULL,'2116-02',2116,2,'2116-02-01','2116-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59186,NULL,'2116-03',2116,3,'2116-03-01','2116-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59187,NULL,'2116-04',2116,4,'2116-04-01','2116-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59188,NULL,'2116-05',2116,5,'2116-05-01','2116-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59189,NULL,'2116-06',2116,6,'2116-06-01','2116-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59190,NULL,'2116-07',2116,7,'2116-07-01','2116-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59191,NULL,'2116-08',2116,8,'2116-08-01','2116-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59192,NULL,'2116-09',2116,9,'2116-09-01','2116-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59193,NULL,'2116-10',2116,10,'2116-10-01','2116-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59194,NULL,'2116-11',2116,11,'2116-11-01','2116-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59195,NULL,'2116-12',2116,12,'2116-12-01','2116-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59199,NULL,'2117-01',2117,1,'2117-01-01','2117-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59200,NULL,'2117-02',2117,2,'2117-02-01','2117-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59201,NULL,'2117-03',2117,3,'2117-03-01','2117-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59202,NULL,'2117-04',2117,4,'2117-04-01','2117-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59203,NULL,'2117-05',2117,5,'2117-05-01','2117-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59204,NULL,'2117-06',2117,6,'2117-06-01','2117-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59205,NULL,'2117-07',2117,7,'2117-07-01','2117-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59206,NULL,'2117-08',2117,8,'2117-08-01','2117-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59207,NULL,'2117-09',2117,9,'2117-09-01','2117-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59208,NULL,'2117-10',2117,10,'2117-10-01','2117-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59209,NULL,'2117-11',2117,11,'2117-11-01','2117-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59210,NULL,'2117-12',2117,12,'2117-12-01','2117-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59214,NULL,'2118-01',2118,1,'2118-01-01','2118-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59215,NULL,'2118-02',2118,2,'2118-02-01','2118-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59216,NULL,'2118-03',2118,3,'2118-03-01','2118-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59217,NULL,'2118-04',2118,4,'2118-04-01','2118-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59218,NULL,'2118-05',2118,5,'2118-05-01','2118-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59219,NULL,'2118-06',2118,6,'2118-06-01','2118-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59220,NULL,'2118-07',2118,7,'2118-07-01','2118-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59221,NULL,'2118-08',2118,8,'2118-08-01','2118-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59222,NULL,'2118-09',2118,9,'2118-09-01','2118-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59223,NULL,'2118-10',2118,10,'2118-10-01','2118-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59224,NULL,'2118-11',2118,11,'2118-11-01','2118-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59225,NULL,'2118-12',2118,12,'2118-12-01','2118-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59229,NULL,'2119-01',2119,1,'2119-01-01','2119-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59230,NULL,'2119-02',2119,2,'2119-02-01','2119-02-28',NULL,NULL,40760,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (59231,NULL,'2119-03',2119,3,'2119-03-01','2119-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59232,NULL,'2119-04',2119,4,'2119-04-01','2119-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59233,NULL,'2119-05',2119,5,'2119-05-01','2119-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59234,NULL,'2119-06',2119,6,'2119-06-01','2119-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59235,NULL,'2119-07',2119,7,'2119-07-01','2119-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59236,NULL,'2119-08',2119,8,'2119-08-01','2119-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59237,NULL,'2119-09',2119,9,'2119-09-01','2119-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59238,NULL,'2119-10',2119,10,'2119-10-01','2119-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59239,NULL,'2119-11',2119,11,'2119-11-01','2119-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59240,NULL,'2119-12',2119,12,'2119-12-01','2119-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59244,NULL,'2120-01',2120,1,'2120-01-01','2120-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59245,NULL,'2120-02',2120,2,'2120-02-01','2120-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59246,NULL,'2120-03',2120,3,'2120-03-01','2120-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59247,NULL,'2120-04',2120,4,'2120-04-01','2120-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59248,NULL,'2120-05',2120,5,'2120-05-01','2120-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59249,NULL,'2120-06',2120,6,'2120-06-01','2120-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59250,NULL,'2120-07',2120,7,'2120-07-01','2120-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59251,NULL,'2120-08',2120,8,'2120-08-01','2120-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59252,NULL,'2120-09',2120,9,'2120-09-01','2120-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59253,NULL,'2120-10',2120,10,'2120-10-01','2120-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59254,NULL,'2120-11',2120,11,'2120-11-01','2120-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59255,NULL,'2120-12',2120,12,'2120-12-01','2120-12-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59259,NULL,'2121-01',2121,1,'2121-01-01','2121-01-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59260,NULL,'2121-02',2121,2,'2121-02-01','2121-02-28',NULL,NULL,40760,0,NULL,1,0,0,1),(59261,NULL,'2121-03',2121,3,'2121-03-01','2121-03-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59262,NULL,'2121-04',2121,4,'2121-04-01','2121-04-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59263,NULL,'2121-05',2121,5,'2121-05-01','2121-05-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59264,NULL,'2121-06',2121,6,'2121-06-01','2121-06-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59265,NULL,'2121-07',2121,7,'2121-07-01','2121-07-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59266,NULL,'2121-08',2121,8,'2121-08-01','2121-08-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59267,NULL,'2121-09',2121,9,'2121-09-01','2121-09-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59268,NULL,'2121-10',2121,10,'2121-10-01','2121-10-31',NULL,NULL,40760,0,NULL,1,0,0,1),(59269,NULL,'2121-11',2121,11,'2121-11-01','2121-11-30',NULL,NULL,40760,0,NULL,1,0,0,1),(59270,NULL,'2121-12',2121,12,'2121-12-01','2121-12-31',NULL,NULL,40760,0,NULL,1,0,0,1);

--
-- Table structure for table `person_activities`
--

CREATE TABLE `person_activities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `activity_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_activities_person_id_foreign` (`person_id`),
  KEY `person_activities_activity_id_foreign` (`activity_id`),
  CONSTRAINT `person_activities_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_activities_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=151 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_activities`
--

INSERT INTO `person_activities` VALUES (2,1,40719,1,1,'2020-10-24 12:25:57','2020-10-24 12:26:00',NULL),(145,1215,40724,267,1,'2021-08-15 09:43:50','2021-08-15 09:43:50',NULL),(149,1215,40760,820,1,'2021-08-15 10:01:35','2021-08-15 10:01:35',NULL),(150,1215,40759,337,1,'2021-08-15 10:04:14','2021-08-15 10:04:14',NULL);

--
-- Table structure for table `person_configurations`
--

CREATE TABLE `person_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `settle_calc_by_coef` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `active` int(10) unsigned DEFAULT NULL,
  `enviarMail` int(11) DEFAULT '1',
  `honorario` decimal(16,2) DEFAULT '0.00',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `month_close` int(10) unsigned DEFAULT NULL,
  `iva_condition_id` int(10) unsigned DEFAULT NULL,
  `obligation_sell` int(10) unsigned DEFAULT NULL,
  `obligation_buy` int(10) unsigned DEFAULT NULL,
  `obligation_iva` int(10) unsigned DEFAULT NULL,
  `obligation_electronic_receipt` int(10) unsigned DEFAULT NULL,
  `obligation_iibb` int(10) unsigned DEFAULT NULL,
  `obligation_other_taxes` int(10) unsigned DEFAULT NULL,
  `liquidation_start_period` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `obligation_salaries` int(10) unsigned DEFAULT NULL,
  `empleada_domestica` tinyint(1) NOT NULL DEFAULT '0',
  `prorratear_iva` tinyint(1) NOT NULL DEFAULT '0',
  `is_itc` tinyint(1) NOT NULL DEFAULT '0',
  `priority_order` int(10) unsigned DEFAULT NULL,
  `person_id_administrador` int(11) DEFAULT NULL,
  `person_id_titular` int(11) DEFAULT NULL,
  `logo_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `certificado_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `llave_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `access_electronic_receipt` int(10) unsigned DEFAULT '0',
  `ruta_logo_fa` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inicio_actividades` date DEFAULT NULL,
  `iibb` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fe_leyenda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iva` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iva_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iibb` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iibb_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_configurations_person_id_foreign` (`person_id`),
  KEY `person_configurations_period_id_foreign` (`period_id`),
  KEY `person_configurations_zone_id_foreign` (`zone_id`),
  KEY `person_configurations_iva_condition_id_foreign` (`iva_condition_id`),
  KEY `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `person_configurations_iva_condition_id_foreign` FOREIGN KEY (`iva_condition_id`) REFERENCES `iva_conditions` (`id`),
  CONSTRAINT `person_configurations_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `person_configurations_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_configurations_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_configurations`
--

INSERT INTO `person_configurations` VALUES (2,1215,40719,NULL,NULL,0,'2020-10-24 12:25:57','2021-09-21 10:46:30',2,1,20.00,NULL,12,1,NULL,NULL,NULL,NULL,1,NULL,'2020-1',NULL,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL),(3,1215,40724,NULL,NULL,0,'2021-01-31 18:00:02','2021-08-15 09:43:50',1,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2020-01',1,1,0,0,2,40724,40724,NULL,NULL,NULL,0,NULL,'2017-11-01','20135870030',NULL,0,NULL,0,NULL,NULL),(37,1215,40759,NULL,NULL,0,'2021-08-15 09:46:42','2021-09-21 10:46:30',2,0,0.00,NULL,4,2,1,1,1,1,4,NULL,'2016-05',1,0,0,0,1,40760,40759,NULL,NULL,NULL,0,NULL,'2013-11-01',NULL,NULL,0,NULL,0,NULL,NULL),(38,1215,40760,NULL,NULL,0,'2021-08-15 10:01:35','2021-09-21 10:46:30',2,0,0.00,NULL,12,3,0,0,0,0,1,NULL,'2016-05',0,0,0,0,NULL,40760,40760,NULL,NULL,NULL,0,NULL,'0000-00-00',NULL,NULL,0,NULL,0,NULL,NULL);

--
-- Table structure for table `person_liquidators`
--

CREATE TABLE `person_liquidators` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `liquidator_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 `person_liquidators_person_id_foreign` (`person_id`),
  KEY `person_liquidators_liquidator_id_foreign` (`liquidator_id`),
  CONSTRAINT `person_liquidators_liquidator_id_foreign` FOREIGN KEY (`liquidator_id`) REFERENCES `liquidators` (`id`),
  CONSTRAINT `person_liquidators_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_liquidators`
--

INSERT INTO `person_liquidators` VALUES (6,1215,40724,5,'2021-08-15 09:43:50','2021-08-15 09:43:50',NULL);

--
-- Table structure for table `person_pay_methods`
--

CREATE TABLE `person_pay_methods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `pay_method_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 `person_pay_methods_person_id_foreign` (`person_id`),
  KEY `person_pay_methods_pay_method_id_foreign` (`pay_method_id`),
  CONSTRAINT `person_pay_methods_pay_method_id_foreign` FOREIGN KEY (`pay_method_id`) REFERENCES `pay_methods` (`id`),
  CONSTRAINT `person_pay_methods_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pay_methods`
--

INSERT INTO `person_pay_methods` VALUES (2,1215,40724,2,'2021-08-15 09:43:50','2021-08-15 09:43:50',NULL),(5,1215,40759,2,'2021-08-15 10:04:14','2021-08-15 10:04:14',NULL);

--
-- Table structure for table `person_relationeds`
--

CREATE TABLE `person_relationeds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `cliente_relationed_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 `person_relationeds_person_id_foreign` (`person_id`),
  KEY `person_relationeds_client_id_foreign` (`client_id`),
  KEY `person_relationeds_cliente_relationed_id_foreign` (`cliente_relationed_id`),
  CONSTRAINT `person_relationeds_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_cliente_relationed_id_foreign` FOREIGN KEY (`cliente_relationed_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_relationeds`
--


--
-- Table structure for table `person_types`
--

CREATE TABLE `person_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `description` varchar(180) 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 `person_types_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_types`
--

INSERT INTO `person_types` VALUES (1,NULL,'Persona Humana',NULL,NULL,NULL),(2,NULL,'Persona Juridica',NULL,NULL,NULL);

--
-- Table structure for table `person_zone_actividad`
--

CREATE TABLE `person_zone_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `actividad_id` int(10) unsigned NOT NULL,
  `calculo_iibb` int(11) NOT NULL,
  `coef` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `alicuota` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `cm_articulo_regimen_id` int(10) unsigned NOT NULL DEFAULT '1',
  `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 `person_zone_actividad_person_id_foreign` (`person_id`),
  KEY `person_zone_actividad_zone_id_foreign` (`zone_id`),
  KEY `person_zone_actividad_actividad_id_foreign` (`actividad_id`),
  KEY `person_zone_actividad_cm_articulo_regimen_id_foreign` (`cm_articulo_regimen_id`),
  CONSTRAINT `person_zone_actividad_actividad_id_foreign` FOREIGN KEY (`actividad_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_zone_actividad_cm_articulo_regimen_id_foreign` FOREIGN KEY (`cm_articulo_regimen_id`) REFERENCES `cm_articulos_regimenes` (`id`),
  CONSTRAINT `person_zone_actividad_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zone_actividad_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=120 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zone_actividad`
--

INSERT INTO `person_zone_actividad` VALUES (1,NULL,40719,22,1,0,0.00000,0.00000,1,1,'2020-10-24 12:26:00','2020-10-24 12:26:00',NULL),(108,1215,40724,23,267,1,0.00000,0.00000,1,1,'2021-08-15 09:43:50','2021-08-15 09:43:50',NULL),(109,1215,40724,18,267,1,0.00000,0.00000,1,1,'2021-08-15 09:43:50','2021-08-15 09:43:50',NULL),(110,1215,40724,22,267,1,0.00000,0.00000,1,1,'2021-08-15 09:43:50','2021-08-15 09:43:50',NULL),(117,1215,40760,23,820,1,0.00000,0.00000,1,1,'2021-08-15 10:01:35','2021-08-15 10:01:35',NULL),(118,1215,40759,23,337,1,0.93150,1.50000,1,1,'2021-08-15 10:04:14','2021-08-15 10:04:14',NULL),(119,1215,40759,18,337,1,0.06850,4.50000,1,1,'2021-08-15 10:04:14','2021-08-15 10:04:14',NULL);

--
-- Table structure for table `person_zones`
--

CREATE TABLE `person_zones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `sifere_coef` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `iibb_aliquot` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `zone_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `iibb_perception_id` int(10) unsigned DEFAULT NULL,
  `retention_id` int(10) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_zones_zone_id_foreign` (`zone_id`),
  KEY `person_zones_person_id_foreign` (`person_id`),
  CONSTRAINT `person_zones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zones_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zones`
--

INSERT INTO `person_zones` VALUES (1,NULL,0.0000,0.0000,22,1,NULL,NULL,NULL,'2020-10-24 12:25:57','2020-10-24 12:26:00',40719,NULL),(79,1215,0.0000,0.0000,23,1,NULL,NULL,NULL,'2021-08-15 09:43:50','2021-08-15 09:43:50',40724,NULL),(80,1215,0.0000,0.0000,18,0,NULL,NULL,NULL,'2021-08-15 09:43:50','2021-08-15 09:43:50',40724,NULL),(81,1215,0.0000,0.0000,22,0,NULL,NULL,NULL,'2021-08-15 09:43:50','2021-08-15 09:43:50',40724,NULL),(88,1215,0.0000,0.0000,23,1,NULL,NULL,NULL,'2021-08-15 10:01:35','2021-08-15 10:01:35',40760,NULL),(89,1215,0.0000,0.0000,23,1,NULL,NULL,NULL,'2021-08-15 10:04:14','2021-08-15 10:04:14',40759,NULL),(90,1215,0.0000,0.0000,18,0,NULL,NULL,NULL,'2021-08-15 10:04:14','2021-08-15 10:04:14',40759,NULL);

--
-- Table structure for table `persons`
--

CREATE TABLE `persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `field_name1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_name2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cond_frente_al_iva_id` int(10) unsigned DEFAULT NULL,
  `country_id` int(10) unsigned DEFAULT NULL,
  `state_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_type_id` int(10) unsigned DEFAULT NULL,
  `fa_iva_condition_id` int(10) unsigned DEFAULT NULL,
  `fa_codigo_postal` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `document_UNIQUE` (`document`),
  KEY `persons_zone_id_foreign` (`zone_id`),
  KEY `persons_person_type_id_foreign` (`person_type_id`),
  KEY `persons_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `persons_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `persons_cond_frente_al_iva_id_foreign` (`cond_frente_al_iva_id`),
  CONSTRAINT `persons_cond_frente_al_iva_id_foreign` FOREIGN KEY (`cond_frente_al_iva_id`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `persons_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `persons_person_type_id_foreign` FOREIGN KEY (`person_type_id`) REFERENCES `person_types` (`id`),
  CONSTRAINT `persons_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `persons_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40977 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons`
--

INSERT INTO `persons` VALUES (3,NULL,'Larzabal Hernan',NULL,'cuit','20-28468190-9',NULL,NULL,22,22,NULL,NULL,'2018-05-12 20:55:07','2018-05-14 01:54:15',1,NULL,1,NULL,NULL,NULL,NULL),(40717,NULL,'Taxes Software',NULL,'cuit','30-71625124-8',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL),(40718,NULL,'Consumidor Final',NULL,'cuit','20-11111111-2',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40719,1,'Armellini Luciana',NULL,'cuit','27-26938421-8',NULL,NULL,NULL,NULL,NULL,NULL,'2020-10-24 18:25:36','2020-10-24 18:25:36',NULL,NULL,1,NULL,NULL,NULL,NULL),(40724,1215,'Bonaventura Gustavo Ruben',NULL,'cuit','20-13587003-0',NULL,NULL,NULL,NULL,NULL,NULL,'2021-01-31 18:00:02','2021-01-31 18:00:02',1,'urquiza 73',1,NULL,NULL,NULL,NULL),(40725,1215,'Cessr',NULL,'cuit','20-26197093-8',NULL,NULL,23,23,14,NULL,'2021-02-01 05:03:58','2021-02-01 05:03:58',NULL,NULL,1,NULL,NULL,NULL,NULL),(40759,1215,'INGENIERO FRANCO FERRARO SRL',NULL,'cuit','30-70962924-3',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-15 09:46:36','2021-08-15 09:47:49',NULL,'Olleros 807',2,NULL,NULL,NULL,NULL),(40760,1215,'FRANCO FERRARO',NULL,'cuit','20-26388996-8',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-15 10:01:30','2021-08-15 10:01:30',NULL,NULL,1,NULL,NULL,NULL,NULL),(40894,1215,'Operadora de Estaciones de Servicios SA',NULL,'cuit','30-67877449-5',NULL,NULL,23,23,NULL,NULL,'2021-08-15 20:42:49','2021-08-15 20:42:49',NULL,NULL,2,NULL,NULL,NULL,NULL),(40895,1215,'Emprendimientos del Litoral SA',NULL,'cuit','30-70997734-9',NULL,NULL,18,18,NULL,NULL,'2021-08-15 20:44:17','2021-08-15 20:44:17',NULL,NULL,2,NULL,NULL,NULL,NULL),(40896,1215,'Rogiro Aceros SA',NULL,'cuit','30-55466811-5',NULL,NULL,18,18,57,NULL,'2021-08-15 20:48:31','2021-08-15 20:48:31',NULL,NULL,2,NULL,NULL,NULL,NULL),(40897,1215,'Pintureria Arco Iris',NULL,'cuit','20-04695717-3',NULL,NULL,23,23,57,NULL,'2021-08-15 20:50:42','2021-08-15 20:50:42',NULL,NULL,1,NULL,NULL,NULL,NULL),(40898,1215,'Andino Desagotadora SA',NULL,'cuit','30-71018461-1',NULL,NULL,23,23,57,NULL,'2021-08-15 20:52:45','2021-08-15 20:52:45',NULL,NULL,2,NULL,NULL,NULL,NULL),(40899,1215,'Dunlop Argentina SA',NULL,'cuit','30-57871936-5',NULL,NULL,23,23,57,NULL,'2021-08-15 20:54:54','2021-08-15 20:54:54',NULL,NULL,2,NULL,NULL,NULL,NULL),(40900,1215,'Via Cargo de Va Bariloche SA',NULL,'cuit','30-64392215-7',NULL,NULL,23,23,57,NULL,'2021-08-15 20:58:18','2021-08-15 20:58:18',NULL,NULL,2,NULL,NULL,NULL,NULL),(40901,1215,'GNC de la costa',NULL,'cuit','30-70894857-4',NULL,NULL,23,23,57,NULL,'2021-08-15 21:12:30','2021-08-15 21:12:30',NULL,NULL,2,NULL,NULL,NULL,NULL),(40902,1215,'Aceros Cufer',NULL,'cuit','33-63966545-9',NULL,NULL,18,18,57,NULL,'2021-08-15 21:25:55','2021-08-15 21:25:55',NULL,NULL,2,NULL,NULL,NULL,NULL),(40903,1215,'Ruedas EB SRL',NULL,'cuit','30-68552303-1',NULL,NULL,23,23,57,NULL,'2021-08-15 21:28:03','2021-08-15 21:28:03',NULL,NULL,2,NULL,NULL,NULL,NULL),(40904,1215,'Galea srl',NULL,'cuit','30-70719457-6',NULL,NULL,18,18,57,NULL,'2021-08-15 21:31:26','2021-08-15 21:31:26',NULL,NULL,2,NULL,NULL,NULL,NULL),(40905,1215,'Ferraro Materiales SRL',NULL,'cuit','30-71237952-5',NULL,NULL,23,23,57,NULL,'2021-08-15 21:32:57','2021-08-15 21:32:57',NULL,NULL,2,NULL,NULL,NULL,NULL),(40906,1215,'Alfonso Sabbatini Eq Hidralicos',NULL,'cuit','30-70963699-1',NULL,NULL,23,23,57,NULL,'2021-08-15 21:35:40','2021-08-15 21:35:40',NULL,NULL,2,NULL,NULL,NULL,NULL),(40907,1215,'Biferbul Autopartes',NULL,'cuit','20-28578680-1',NULL,NULL,18,18,57,NULL,'2021-08-15 21:36:30','2021-08-15 21:36:30',NULL,NULL,1,NULL,NULL,NULL,NULL),(40908,1215,'Larrauri Neumticos SA',NULL,'cuit','30-56579428-7',NULL,NULL,18,18,57,NULL,'2021-08-15 21:37:43','2021-08-15 21:37:43',NULL,NULL,2,NULL,NULL,NULL,NULL),(40909,1215,'Mazzeo Jos Mara',NULL,'cuit','20-17646965-0',NULL,NULL,23,23,57,NULL,'2021-08-15 21:39:05','2021-08-15 21:39:05',NULL,NULL,1,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40910,1215,'IngOscar Bonelli SA',NULL,'cuit','30-58675391-2',NULL,NULL,23,23,57,NULL,'2021-08-15 21:40:13','2021-08-15 21:40:13',NULL,NULL,2,NULL,NULL,NULL,NULL),(40911,1215,'Agustn Berasategui e Hijos SRL',NULL,'cuit','30-68549075-3',NULL,NULL,18,18,57,NULL,'2021-08-15 21:45:53','2021-08-15 21:45:53',NULL,NULL,2,NULL,NULL,NULL,NULL),(40912,1215,'Polyrep SA',NULL,'cuit','30-70961676-1',NULL,NULL,18,18,57,NULL,'2021-08-15 21:47:15','2021-08-15 21:47:15',NULL,NULL,2,NULL,NULL,NULL,NULL),(40913,1215,'Electroluz de Giacometti Mara Esther',NULL,'cuit','27-03307391-2',NULL,NULL,23,23,57,NULL,'2021-08-15 21:50:45','2021-08-15 21:50:45',NULL,NULL,1,NULL,NULL,NULL,NULL),(40914,1215,'FA Rodamientos SA',NULL,'cuit','30-71083786-0',NULL,NULL,23,23,57,NULL,'2021-08-15 21:52:29','2021-08-15 21:52:29',NULL,NULL,2,NULL,NULL,NULL,NULL),(40915,1215,'Bulonera Rossi SRL',NULL,'cuit','30-70953209-6',NULL,NULL,23,23,57,NULL,'2021-08-15 21:57:58','2021-08-15 21:57:58',NULL,NULL,2,NULL,NULL,NULL,NULL),(40916,1215,'La Herramental SRL',NULL,'cuit','30-61348280-2',NULL,NULL,18,18,57,NULL,'2021-08-15 21:59:04','2021-08-15 21:59:04',NULL,NULL,2,NULL,NULL,NULL,NULL),(40917,1215,'Credifin Express',NULL,'cuit','30-70861995-3',NULL,NULL,18,18,57,NULL,'2021-08-15 22:02:00','2021-08-15 22:02:00',NULL,NULL,2,NULL,NULL,NULL,NULL),(40918,1215,'Buspack Express',NULL,'cuit','30-70721568-9',NULL,NULL,23,23,57,NULL,'2021-08-15 22:06:55','2021-08-15 22:06:55',NULL,NULL,2,NULL,NULL,NULL,NULL),(40919,1215,'Sistemas y servicios de Rodolfo Chiffi',NULL,'cuit','20-11375664-1',NULL,NULL,22,22,57,NULL,'2021-08-15 22:17:01','2021-08-15 22:17:01',NULL,NULL,1,NULL,NULL,NULL,NULL),(40920,1215,'Gatter Jorge Ricardo',NULL,'cuit','20-08415146-8',NULL,NULL,5,5,57,NULL,'2021-08-15 22:24:16','2021-08-15 22:24:16',NULL,NULL,1,NULL,NULL,NULL,NULL),(40921,1215,'Bordon Ral Orlando',NULL,'cuit','23-08499760-9',NULL,NULL,23,23,57,NULL,'2021-08-15 22:44:19','2021-08-15 22:44:19',NULL,NULL,1,NULL,NULL,NULL,NULL),(40922,1215,'Ayebrain SRL',NULL,'cuit','30-71055564-4',NULL,NULL,23,23,57,NULL,'2021-08-15 22:47:42','2021-08-15 22:47:42',NULL,NULL,2,NULL,NULL,NULL,NULL),(40923,1215,'Scor dina SA',NULL,'cuit','30-51854908-8',NULL,NULL,22,22,57,NULL,'2021-08-15 22:49:33','2021-08-15 22:49:33',NULL,NULL,2,NULL,NULL,NULL,NULL),(40924,1215,'Electro Integral SA',NULL,'cuit','30-66707651-6',NULL,NULL,23,23,57,NULL,'2021-08-15 22:54:20','2021-08-15 22:54:20',NULL,NULL,2,NULL,NULL,NULL,NULL),(40925,1215,'JS Metalrgica SA',NULL,'cuit','30-52252565-7',NULL,NULL,18,18,57,NULL,'2021-08-15 23:11:43','2021-08-15 23:11:43',NULL,NULL,2,NULL,NULL,NULL,NULL),(40926,1215,'Semillera La Agrcola de Gentili',NULL,'cuit','20-06134585-0',NULL,NULL,18,18,57,NULL,'2021-08-15 23:32:10','2021-08-15 23:32:10',NULL,NULL,1,NULL,NULL,NULL,NULL),(40927,1215,'Matservice de Serenelli',NULL,'cuit','20-14373613-0',NULL,NULL,23,23,57,NULL,'2021-08-15 23:41:53','2021-08-15 23:41:53',NULL,NULL,1,NULL,NULL,NULL,NULL),(40928,1215,'Ferreri Antonio',NULL,'cuit','20-12028135-7',NULL,NULL,23,23,58,NULL,'2021-08-15 23:46:20','2021-08-15 23:46:20',NULL,NULL,1,NULL,NULL,NULL,NULL),(40929,1215,'Tecno Plst de EJManchado',NULL,'cuit','20-13167666-3',NULL,NULL,18,18,57,NULL,'2021-08-16 00:03:00','2021-08-16 00:03:00',NULL,NULL,1,NULL,NULL,NULL,NULL),(40930,1215,'Avimot SA',NULL,'cuit','30-70802899-8',NULL,NULL,23,23,14,NULL,'2021-08-16 00:31:44','2021-08-16 00:31:44',NULL,NULL,2,NULL,NULL,NULL,NULL),(40931,1215,'COOPERATIVA AGRICOLA GANADERA DE RAUCH LTDA',NULL,'cuit','30-51190420-6',NULL,NULL,23,23,14,NULL,'2021-08-16 00:37:05','2021-08-16 00:37:05',NULL,NULL,2,NULL,NULL,NULL,NULL),(40932,1215,'Tevez Lucio Daro',NULL,'cuit','20-23066808-7',NULL,NULL,23,23,14,NULL,'2021-08-16 00:38:41','2021-08-16 00:38:41',NULL,NULL,1,NULL,NULL,NULL,NULL),(40933,1215,'INDUSTRIAS METALICAS MORENO SA',NULL,'cuit','30-71216182-1',NULL,NULL,23,23,14,NULL,'2021-08-16 00:40:28','2021-08-16 00:40:28',NULL,NULL,2,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40934,1215,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA ARGENTINA SAU',NULL,'cuit','30-70944784-6',NULL,NULL,23,23,14,NULL,'2021-08-16 00:45:21','2021-08-16 00:45:21',NULL,NULL,2,NULL,NULL,NULL,NULL),(40935,1215,'INDUSTRIAS METALURGICAS DE SAN NICOLAS LEVAL S A',NULL,'cuit','30-54692978-3',NULL,NULL,23,23,14,NULL,'2021-08-16 00:49:05','2021-08-16 00:49:05',NULL,NULL,1,NULL,NULL,NULL,NULL),(40936,1215,'Servicios Limsa SRL',NULL,'cuit','30-70747213-4',NULL,NULL,23,23,14,NULL,'2021-08-16 08:00:32','2021-08-16 08:00:32',NULL,NULL,2,NULL,NULL,NULL,NULL),(40937,1215,'Bondi Juan Carlos',NULL,'cuit','20-16672537-3',NULL,NULL,23,23,14,NULL,'2021-08-16 08:02:23','2021-08-16 08:02:23',NULL,NULL,1,NULL,NULL,NULL,NULL),(40938,1215,'Bortolo Diego Sebastin',NULL,'cuit','20-26088470-1',NULL,NULL,23,23,14,NULL,'2021-08-16 08:04:34','2021-08-16 08:04:34',NULL,NULL,1,NULL,NULL,NULL,NULL),(40939,1215,'Anania Pedro',NULL,'cuit','20-93129651-6',NULL,NULL,23,23,14,NULL,'2021-08-16 08:06:14','2021-08-16 08:06:14',NULL,NULL,1,NULL,NULL,NULL,NULL),(40940,1215,'Trame SRL',NULL,'cuit','30-71035736-2',NULL,NULL,23,23,14,NULL,'2021-08-16 08:07:21','2021-08-16 08:07:21',NULL,NULL,2,NULL,NULL,NULL,NULL),(40941,1215,'Pisano Mara Teresa Rosa',NULL,'cuit','27-10594746-7',NULL,NULL,23,23,14,NULL,'2021-08-16 08:13:15','2021-08-16 08:13:15',NULL,NULL,1,NULL,NULL,NULL,NULL),(40942,1215,'Penna Miguel Alberto',NULL,'cuit','20-17336719-9',NULL,NULL,23,23,14,NULL,'2021-08-16 08:17:51','2021-08-16 08:17:51',NULL,NULL,1,NULL,NULL,NULL,NULL),(40943,1215,'Tendidos Sur SRL',NULL,'cuit','30-71253869-0',NULL,NULL,23,23,14,NULL,'2021-08-16 08:18:56','2021-08-16 08:18:56',NULL,NULL,2,NULL,NULL,NULL,NULL),(40944,1215,'Weimann Walter Miguel',NULL,'cuit','23-21737712-9',NULL,NULL,23,23,14,NULL,'2021-08-16 08:20:34','2021-08-16 08:20:34',NULL,NULL,1,NULL,NULL,NULL,NULL),(40945,1215,'Bezerra David Ezequiel',NULL,'cuit','20-26944277-9',NULL,NULL,23,23,14,NULL,'2021-08-16 08:22:03','2021-08-16 08:22:03',NULL,NULL,1,NULL,NULL,NULL,NULL),(40946,1215,'Navarro SA',NULL,'cuit','30-70701267-2',NULL,NULL,23,23,14,NULL,'2021-08-16 08:24:37','2021-08-16 08:24:37',NULL,NULL,2,NULL,NULL,NULL,NULL),(40947,1215,'Spahn Miguel Angel',NULL,'cuit','20-27833904-2',NULL,NULL,23,23,14,NULL,'2021-08-16 10:25:22','2021-08-16 10:25:22',NULL,NULL,1,NULL,NULL,NULL,NULL),(40948,1215,'Depsito Ober SRL',NULL,'cuit','30-71582531-3',NULL,NULL,23,23,14,NULL,'2021-08-16 10:28:15','2021-08-16 10:28:15',NULL,NULL,2,NULL,NULL,NULL,NULL),(40949,1215,'Salvador Palao SA',NULL,'cuit','33-55170370-9',NULL,NULL,23,23,14,NULL,'2021-08-16 10:30:21','2021-08-16 10:30:21',NULL,NULL,2,NULL,NULL,NULL,NULL),(40950,1215,'Empresarios del parque Industrial Norte',NULL,'cuit','33-71679389-9',NULL,NULL,23,23,14,NULL,'2021-08-16 10:31:41','2021-08-16 10:31:41',NULL,NULL,2,NULL,NULL,NULL,NULL),(40951,1215,'Vaz Alberto Matas',NULL,'cuit','20-27121301-9',NULL,NULL,23,23,57,NULL,'2021-08-16 10:44:31','2021-08-16 10:44:31',NULL,NULL,1,NULL,NULL,NULL,NULL),(40952,1215,'Gases Sudamericanos',NULL,'cuit','30-70917323-1',NULL,NULL,23,23,57,NULL,'2021-08-16 10:57:20','2021-08-16 10:57:20',NULL,NULL,2,NULL,NULL,NULL,NULL),(40953,1215,'Orrigo Federico Leandro',NULL,'cuit','20-30448042-5',NULL,NULL,23,23,57,NULL,'2021-08-16 11:01:32','2021-08-16 11:01:32',NULL,NULL,1,NULL,NULL,NULL,NULL),(40954,1215,'Tubos Renard SA',NULL,'cuit','30-70930824-2',NULL,NULL,23,23,57,NULL,'2021-08-16 11:06:51','2021-08-16 11:06:51',NULL,NULL,2,NULL,NULL,NULL,NULL),(40955,1215,'MD-TRANSPORTE Y LOGISTICA SA',NULL,'cuit','30-71173121-7',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 10:19:14','2021-08-19 10:19:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40956,1215,'TASACIONES INTEGRALES S A',NULL,'cuit','30-67776869-6',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 10:19:15','2021-08-19 10:19:15',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40957,1215,'SERYVEN S R L',NULL,'cuit','30-69085248-5',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 10:19:15','2021-08-19 10:19:15',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40958,1215,'BREMBO ARGENTINA SA EN LIQUIDACION',NULL,'cuit','30-50371952-1',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 10:19:15','2021-08-19 10:19:15',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40959,1215,'SCHNEIDER ERNESTO RODOLFO',NULL,'cuit','20-12359897-1',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40960,1215,'A S TURTURICI S A',NULL,'cuit','30-69536142-0',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40961,1215,'VERION I C S A',NULL,'cuit','30-70045451-3',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40962,1215,'CHAPUIS JUAN MAURICIO',NULL,'cuit','20-17733236-5',NULL,NULL,NULL,NULL,NULL,NULL,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40963,1215,'Ferreteria Savio',NULL,'cuit','20-06304522-6',NULL,NULL,23,23,57,NULL,'2021-08-19 13:18:35','2021-08-19 13:18:35',NULL,NULL,1,NULL,NULL,NULL,NULL),(40970,1215,'Municipalidad de Ramallo',NULL,'cuit','30-67295030-5',NULL,NULL,23,23,14,3,'2021-08-23 23:38:39','2021-08-23 23:38:39',NULL,NULL,2,NULL,NULL,NULL,NULL),(40971,1215,'IRRIGACION Y ASPERSION SRL',NULL,'cuit','30-71119472-6',NULL,NULL,23,23,14,1,'2021-08-23 23:42:17','2021-08-23 23:42:17',NULL,NULL,2,NULL,NULL,NULL,NULL),(40972,1215,'Navarro Marcos Emanuel',NULL,'cuit','20-30311856-0',NULL,NULL,23,23,14,1,'2021-08-23 23:46:08','2021-08-23 23:46:08',NULL,NULL,2,NULL,NULL,NULL,NULL),(40975,1215,'ORLANDI INDUSTRIAL Y COMERCIAL S A',NULL,'cuit','30-69092936-4',NULL,NULL,23,23,14,1,'2021-08-23 23:57:54','2021-08-23 23:57:54',NULL,NULL,2,NULL,NULL,NULL,NULL),(40976,1215,'GOROZ JUAN ALBERTO',NULL,'cuit','20-24325123-1',NULL,NULL,23,23,14,1,'2021-08-24 00:04:36','2021-08-24 00:04:36',NULL,NULL,1,NULL,NULL,NULL,NULL);

--
-- Table structure for table `persons_datos`
--

CREATE TABLE `persons_datos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dato_1` longtext COLLATE utf8mb4_unicode_ci,
  `dato_2` longtext COLLATE utf8mb4_unicode_ci,
  `dato_3` longtext COLLATE utf8mb4_unicode_ci,
  `dato_4` longtext COLLATE utf8mb4_unicode_ci,
  `dato_5` 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 `persons_datos_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_datos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_datos`
--


--
-- Table structure for table `presupuesto_config`
--

CREATE TABLE `presupuesto_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `presupuesto_config_person_id_foreign` (`person_id`),
  CONSTRAINT `presupuesto_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuesto_config`
--

INSERT INTO `presupuesto_config` VALUES (1,1215,40759,0,'2021-08-15 09:52:43','2021-08-15 09:52:43',NULL);

--
-- Table structure for table `presupuestos`
--

CREATE TABLE `presupuestos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-23',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '7',
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `texto` longtext COLLATE utf8mb4_unicode_ci,
  `iva_si_no` tinyint(1) NOT NULL DEFAULT '0',
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` 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 `presupuestos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `presupuestos_person_id_foreign` (`person_id`),
  KEY `presupuestos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `presupuestos_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `presupuestos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `presupuestos_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 `presupuestos`
--


--
-- Table structure for table `querys`
--

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

--
-- Dumping data for table `querys`
--

INSERT INTO `querys` VALUES (1,NULL,'Factura Electronica Masiva Productos',1,'2022-02-01 17:53:16','2022-02-01 17:53:16',NULL);

--
-- Table structure for table `querys_details`
--

CREATE TABLE `querys_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `query_id` bigint(20) unsigned NOT NULL,
  `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 `querys_details_query_id_foreign` (`query_id`),
  KEY `querys_details_person_id_foreign` (`person_id`),
  CONSTRAINT `querys_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `querys_details_query_id_foreign` FOREIGN KEY (`query_id`) REFERENCES `querys` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys_details`
--


--
-- Table structure for table `queue_proceso_resultado`
--

CREATE TABLE `queue_proceso_resultado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `queue_proceso_id` int(10) unsigned DEFAULT NULL,
  `resultado` 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 `queue_proceso_resultado_queue_proceso_id_foreign` (`queue_proceso_id`),
  CONSTRAINT `queue_proceso_resultado_queue_proceso_id_foreign` FOREIGN KEY (`queue_proceso_id`) REFERENCES `queue_procesos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_proceso_resultado`
--


--
-- Table structure for table `queue_procesos`
--

CREATE TABLE `queue_procesos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text 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=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_procesos`
--

INSERT INTO `queue_procesos` VALUES (1,NULL,'Importar - Excel',NULL,NULL,NULL),(2,NULL,'Importar - Mis Comprobantes',NULL,NULL,NULL),(3,NULL,'Importar - Portal IVA','2022-03-16 00:37:46','2022-03-16 00:37:46',NULL),(4,NULL,'Importar - Archivos PEM F8011','2022-07-10 22:59:23','2022-07-10 22:59:23',NULL);

--
-- Table structure for table `receipt_taxes`
--

CREATE TABLE `receipt_taxes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `tax_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `taxable_iibb` int(11) NOT NULL DEFAULT '0',
  `iva_iibb` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_taxes_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `receipt_taxes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=429 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_taxes`
--

INSERT INTO `receipt_taxes` VALUES (1,1215,1,2,859.27,180.45,2,1,'2021-08-15 20:42:58','2021-08-15 20:42:58',NULL),(2,1215,1,7,260.28,0.00,2,1,'2021-08-15 20:42:58','2021-08-15 20:42:58',NULL),(3,1215,2,2,502.00,105.42,2,1,'2021-08-15 20:47:09','2021-08-15 20:47:09',NULL),(4,1215,3,2,34451.00,7234.71,2,1,'2021-08-15 20:49:14','2021-08-15 20:49:14',NULL),(5,1215,4,2,9756.86,2048.94,2,1,'2021-08-15 20:49:57','2021-08-15 20:49:57',NULL),(6,1215,5,2,1.88,0.39,2,1,'2021-08-15 20:51:14','2021-08-15 20:51:14',NULL),(7,1215,6,2,1500.00,315.00,2,1,'2021-08-15 20:53:48','2021-08-15 20:53:48',NULL),(8,1215,6,1005,22.50,0.00,2,2,'2021-08-15 20:53:48','2021-08-15 20:53:48',NULL),(11,1215,8,2,434.71,91.29,2,1,'2021-08-15 20:58:26','2021-08-15 20:58:26',NULL),(12,1215,9,2,641.25,134.66,2,1,'2021-08-15 21:13:37','2021-08-15 21:13:37',NULL),(13,1215,9,7,254.07,0.00,2,1,'2021-08-15 21:13:37','2021-08-15 21:13:37',NULL),(14,1215,9,1005,9.61,0.00,2,2,'2021-08-15 21:13:37','2021-08-15 21:13:37',NULL),(17,1215,11,2,1200.00,252.00,2,1,'2021-08-15 21:17:07','2021-08-15 21:17:07',NULL),(18,1215,11,1005,18.00,0.00,2,2,'2021-08-15 21:17:07','2021-08-15 21:17:07',NULL),(19,1215,12,2,14415.61,3027.28,2,1,'2021-08-15 21:26:40','2021-08-15 21:26:40',NULL),(20,1215,13,2,8545.48,1794.55,2,1,'2021-08-15 21:28:27','2021-08-15 21:28:27',NULL),(21,1215,14,2,18496.52,3884.27,2,1,'2021-08-15 21:29:39','2021-08-15 21:29:39',NULL),(22,1215,15,2,4101.65,861.35,2,1,'2021-08-15 21:30:43','2021-08-15 21:30:43',NULL),(23,1215,15,1005,61.52,0.00,2,2,'2021-08-15 21:30:43','2021-08-15 21:30:43',NULL),(24,1215,16,2,29349.06,6163.30,2,1,'2021-08-15 21:32:04','2021-08-15 21:32:04',NULL),(25,1215,17,2,134349.47,28213.39,2,1,'2021-08-15 21:33:46','2021-08-15 21:33:46',NULL),(26,1215,17,1005,2015.24,0.00,2,2,'2021-08-15 21:33:46','2021-08-15 21:33:46',NULL),(27,1215,18,2,12201.65,2562.35,2,1,'2021-08-15 21:34:38','2021-08-15 21:34:38',NULL),(28,1215,18,1005,183.02,0.00,2,2,'2021-08-15 21:34:38','2021-08-15 21:34:38',NULL),(29,1215,19,2,3173.09,666.35,2,1,'2021-08-15 21:36:53','2021-08-15 21:36:53',NULL),(30,1215,20,2,8264.46,1735.54,2,1,'2021-08-15 21:38:08','2021-08-15 21:38:08',NULL),(31,1215,21,2,5290.91,1111.09,2,1,'2021-08-15 21:39:35','2021-08-15 21:39:35',NULL),(33,1215,22,2,14592.12,3064.35,2,1,'2021-08-15 21:42:17','2021-08-15 21:42:17',NULL),(34,1215,22,1005,218.88,0.00,2,2,'2021-08-15 21:42:17','2021-08-15 21:42:17',NULL),(35,1215,23,2,6482.09,1361.24,2,1,'2021-08-15 21:45:04','2021-08-15 21:45:04',NULL),(36,1215,24,2,6518.00,1368.78,2,1,'2021-08-15 21:46:26','2021-08-15 21:46:26',NULL),(37,1215,25,2,2925.70,614.40,2,1,'2021-08-15 21:47:40','2021-08-15 21:47:40',NULL),(38,1215,26,2,815.72,171.30,2,1,'2021-08-15 21:53:43','2021-08-15 21:53:43',NULL),(39,1215,26,1005,48.94,0.00,2,2,'2021-08-15 21:53:43','2021-08-15 21:53:43',NULL),(40,1215,27,2,1850.91,388.69,2,1,'2021-08-15 21:54:30','2021-08-15 21:54:30',NULL),(41,1215,28,2,1253.14,263.16,2,1,'2021-08-15 21:56:04','2021-08-15 21:56:04',NULL),(42,1215,29,2,2343.18,492.07,2,1,'2021-08-15 21:56:29','2021-08-15 21:56:29',NULL),(44,1215,31,2,318.64,66.91,2,1,'2021-08-15 21:57:22','2021-08-15 21:57:22',NULL),(45,1215,32,2,160.00,33.60,2,1,'2021-08-15 21:58:21','2021-08-15 21:58:21',NULL),(52,1215,38,2,153.06,32.14,2,1,'2021-08-15 22:07:16','2021-08-15 22:07:16',NULL),(54,1215,40,2,477.60,100.30,2,1,'2021-08-15 22:11:38','2021-08-15 22:11:38',NULL),(57,1215,42,2,26563.71,5578.38,2,1,'2021-08-15 22:17:36','2021-08-15 22:17:36',NULL),(64,1215,48,2,6716.60,1410.49,2,1,'2021-08-15 22:22:07','2021-08-15 22:22:07',NULL),(76,1215,59,2,642.74,134.98,2,1,'2021-08-15 22:48:27','2021-08-15 22:48:27',NULL),(77,1215,59,1005,252.44,0.00,2,2,'2021-08-15 22:48:27','2021-08-15 22:48:27',NULL),(78,1215,60,2,7284.50,1529.75,2,1,'2021-08-15 22:50:27','2021-08-15 22:50:27',NULL),(79,1215,60,1005,109.27,0.00,2,2,'2021-08-15 22:50:27','2021-08-15 22:50:27',NULL),(80,1215,61,2,5962.81,1252.19,2,1,'2021-08-15 22:52:18','2021-08-15 22:52:18',NULL);
INSERT INTO `receipt_taxes` VALUES (81,1215,61,1005,89.44,0.00,2,2,'2021-08-15 22:52:18','2021-08-15 22:52:18',NULL),(82,1215,62,2,4050.41,850.59,2,1,'2021-08-15 22:53:32','2021-08-15 22:53:32',NULL),(83,1215,62,1005,60.76,0.00,2,2,'2021-08-15 22:53:32','2021-08-15 22:53:32',NULL),(84,1215,63,2,17972.75,3774.28,2,1,'2021-08-15 22:55:03','2021-08-15 22:55:03',NULL),(85,1215,63,1005,269.59,0.00,2,2,'2021-08-15 22:55:03','2021-08-15 22:55:03',NULL),(86,1215,64,2,5052.86,1061.10,2,1,'2021-08-15 22:56:54','2021-08-15 22:56:54',NULL),(87,1215,65,2,13892.88,2917.50,2,1,'2021-08-15 22:58:39','2021-08-15 22:58:39',NULL),(88,1215,66,2,9638.77,2024.14,2,1,'2021-08-15 23:12:39','2021-08-15 23:12:39',NULL),(89,1215,66,1026,128.48,0.00,2,2,'2021-08-15 23:12:39','2021-08-15 23:12:39',NULL),(94,1215,69,2,33501.30,7035.27,2,1,'2021-08-15 23:18:33','2021-08-15 23:18:33',NULL),(95,1215,70,2,54694.53,11485.85,2,1,'2021-08-15 23:19:51','2021-08-15 23:19:51',NULL),(96,1215,71,2,40523.93,8510.03,2,1,'2021-08-15 23:20:30','2021-08-15 23:20:30',NULL),(98,1215,72,2,60459.68,12696.53,2,1,'2021-08-15 23:22:22','2021-08-15 23:22:22',NULL),(99,1215,73,2,2486.78,522.22,2,1,'2021-08-15 23:23:35','2021-08-15 23:23:35',NULL),(100,1215,73,1005,7.46,0.00,2,2,'2021-08-15 23:23:35','2021-08-15 23:23:35',NULL),(101,1215,74,2,4030.42,846.39,2,1,'2021-08-15 23:24:36','2021-08-15 23:24:36',NULL),(102,1215,74,1005,60.46,0.00,2,2,'2021-08-15 23:24:36','2021-08-15 23:24:36',NULL),(103,1215,75,2,2124.17,446.08,2,1,'2021-08-15 23:25:26','2021-08-15 23:25:26',NULL),(106,1215,76,2,3787.50,795.38,2,1,'2021-08-15 23:27:03','2021-08-15 23:27:03',NULL),(107,1215,77,2,2573.48,540.43,2,1,'2021-08-15 23:28:33','2021-08-15 23:28:33',NULL),(108,1215,77,1005,38.60,0.00,2,2,'2021-08-15 23:28:33','2021-08-15 23:28:33',NULL),(109,1215,78,2,1129.17,237.13,2,1,'2021-08-15 23:29:14','2021-08-15 23:29:14',NULL),(110,1215,79,2,920.43,193.29,2,1,'2021-08-15 23:30:06','2021-08-15 23:30:06',NULL),(111,1215,79,1005,13.81,0.00,2,2,'2021-08-15 23:30:06','2021-08-15 23:30:06',NULL),(112,1215,80,2,1032.55,216.84,2,1,'2021-08-15 23:30:34','2021-08-15 23:30:34',NULL),(113,1215,80,1005,15.49,0.00,2,2,'2021-08-15 23:30:34','2021-08-15 23:30:34',NULL),(114,1215,81,2,576.72,121.11,2,1,'2021-08-15 23:31:15','2021-08-15 23:31:15',NULL),(115,1215,82,2,685.95,144.05,2,1,'2021-08-15 23:32:32','2021-08-15 23:32:32',NULL),(118,1215,84,2,694.21,145.78,2,1,'2021-08-15 23:37:49','2021-08-15 23:37:49',NULL),(121,1215,86,2,6353.72,1334.28,2,1,'2021-08-15 23:39:46','2021-08-15 23:39:46',NULL),(122,1215,86,1005,95.31,0.00,2,2,'2021-08-15 23:39:46','2021-08-15 23:39:46',NULL),(124,1215,87,2,1557.50,327.08,2,1,'2021-08-15 23:40:45','2021-08-15 23:40:45',NULL),(125,1215,88,2,600.83,126.17,2,1,'2021-08-15 23:42:25','2021-08-15 23:42:25',NULL),(126,1215,89,2,9110.00,1913.10,2,1,'2021-08-15 23:43:08','2021-08-15 23:43:08',NULL),(127,1215,90,2,810.60,170.23,2,1,'2021-08-15 23:43:29','2021-08-15 23:43:29',NULL),(129,1215,92,2,1909.09,400.91,2,1,'2021-08-15 23:47:12','2021-08-15 23:47:12',NULL),(130,1215,93,2,1104.50,231.95,2,1,'2021-08-15 23:47:53','2021-08-15 23:47:53',NULL),(131,1215,94,2,3397.50,713.48,2,1,'2021-08-15 23:48:13','2021-08-15 23:48:13',NULL),(138,1215,98,2,15081.88,3167.19,2,1,'2021-08-15 23:52:55','2021-08-15 23:52:55',NULL),(139,1215,99,2,7336.90,1540.75,2,1,'2021-08-15 23:57:12','2021-08-15 23:57:12',NULL),(140,1215,100,2,31067.41,6524.16,2,1,'2021-08-15 23:58:10','2021-08-15 23:58:10',NULL),(141,1215,101,2,14777.01,3103.17,2,1,'2021-08-15 23:58:41','2021-08-15 23:58:41',NULL),(142,1215,102,2,1812.00,380.52,2,1,'2021-08-15 23:59:27','2021-08-15 23:59:27',NULL),(143,1215,103,2,793.39,166.61,2,1,'2021-08-16 00:00:17','2021-08-16 00:00:17',NULL),(144,1215,104,2,860.00,180.60,2,1,'2021-08-16 00:00:58','2021-08-16 00:00:58',NULL),(145,1215,105,2,1529.50,321.20,2,1,'2021-08-16 00:01:48','2021-08-16 00:01:48',NULL),(146,1215,106,2,2237.00,469.77,2,1,'2021-08-16 00:02:11','2021-08-16 00:02:11',NULL);
INSERT INTO `receipt_taxes` VALUES (147,1215,107,2,1727.88,362.85,2,1,'2021-08-16 00:04:16','2021-08-16 00:04:16',NULL),(150,1215,109,2,2237.00,469.77,2,1,'2021-08-16 00:10:33','2021-08-16 00:10:33',NULL),(151,1215,110,2,221.80,46.58,2,1,'2021-08-16 00:11:32','2021-08-16 00:11:32',NULL),(152,1215,110,1005,11.09,0.00,2,2,'2021-08-16 00:11:32','2021-08-16 00:11:32',NULL),(154,1215,112,2,17800.00,3738.00,2,1,'2021-08-16 00:29:07','2021-08-16 00:29:07',NULL),(155,1215,113,1,192220.00,20183.10,2,1,'2021-08-16 00:33:31','2021-08-16 00:33:31',NULL),(156,1215,114,2,1780.00,373.80,2,1,'2021-08-16 00:34:30','2021-08-16 00:34:30',NULL),(157,1215,115,2,7500.00,1575.00,2,1,'2021-08-16 00:37:39','2021-08-16 00:37:39',NULL),(158,1215,116,1,355294.12,37305.88,2,1,'2021-08-16 00:39:42','2021-08-16 00:39:42',NULL),(159,1215,117,1,274027.15,28772.85,2,1,'2021-08-16 00:41:50','2021-08-16 00:41:50',NULL),(160,1215,118,1,311493.21,32706.79,2,1,'2021-08-16 00:48:15','2021-08-16 00:48:15',NULL),(161,1215,119,1,352036.20,36963.80,2,1,'2021-08-16 07:59:32','2021-08-16 07:59:32',NULL),(162,1215,120,1,200000.00,21000.00,2,1,'2021-08-16 08:01:13','2021-08-16 08:01:13',NULL),(163,1215,121,1,11221.72,1178.28,2,1,'2021-08-16 08:02:59','2021-08-16 08:02:59',NULL),(164,1215,122,2,27000.00,5670.00,2,1,'2021-08-16 08:03:40','2021-08-16 08:03:40',NULL),(167,1215,125,1,416289.59,43710.41,2,1,'2021-08-16 08:06:44','2021-08-16 08:06:44',NULL),(168,1215,126,1,796380.10,83619.91,2,1,'2021-08-16 08:08:21','2021-08-16 08:08:21',NULL),(169,1215,127,1,298000.00,31290.00,2,1,'2021-08-16 08:16:53','2021-08-16 08:16:53',NULL),(170,1215,128,1,420814.48,44185.52,2,1,'2021-08-16 08:18:09','2021-08-16 08:18:09',NULL),(173,1215,131,1,257918.55,27081.45,2,1,'2021-08-16 08:22:24','2021-08-16 08:22:24',NULL),(174,1215,132,1,196200.00,20601.00,2,1,'2021-08-16 08:24:04','2021-08-16 08:24:04',NULL),(175,1215,133,1,407239.82,42760.18,2,1,'2021-08-16 08:24:54','2021-08-16 08:24:54',NULL),(177,1215,130,2,8347.11,1752.89,2,1,'2021-08-16 08:25:43','2021-08-16 08:25:43',NULL),(178,1215,123,2,694.22,145.79,2,1,'2021-08-16 08:46:39','2021-08-16 08:46:39',NULL),(179,1215,129,2,37600.00,7896.00,2,1,'2021-08-16 08:51:46','2021-08-16 08:51:46',NULL),(180,1215,134,1,3065158.37,321841.63,2,1,'2021-08-16 10:27:28','2021-08-16 10:27:28',NULL),(181,1215,135,1,904977.38,95022.62,2,1,'2021-08-16 10:28:46','2021-08-16 10:28:46',NULL),(184,1215,138,2,36025.43,7565.34,2,1,'2021-08-16 10:30:51','2021-08-16 10:30:51',NULL),(186,1215,140,8,23152.87,0.00,2,1,'2021-08-16 10:35:28','2021-08-16 10:35:28',NULL),(187,1215,141,2,27613.22,5798.78,2,1,'2021-08-16 10:36:33','2021-08-16 10:36:33',NULL),(188,1215,142,2,7680.00,1612.80,2,1,'2021-08-16 10:44:56','2021-08-16 10:44:56',NULL),(189,1215,143,2,46032.49,9666.82,2,1,'2021-08-16 10:54:22','2021-08-16 10:54:22',NULL),(190,1215,144,2,256611.00,53888.31,2,1,'2021-08-16 10:55:23','2021-08-16 10:55:23',NULL),(191,1215,145,2,11180.00,2347.80,2,1,'2021-08-16 10:56:32','2021-08-16 10:56:32',NULL),(192,1215,146,2,8230.00,1728.30,2,1,'2021-08-16 10:57:57','2021-08-16 10:57:57',NULL),(193,1215,147,2,248237.64,52129.90,2,1,'2021-08-16 10:58:45','2021-08-16 10:58:45',NULL),(194,1215,148,1,1396500.00,146632.50,2,1,'2021-08-16 11:03:22','2021-08-16 11:03:22',NULL),(195,1215,149,2,7239.67,1520.33,2,1,'2021-08-16 11:05:01','2021-08-16 11:05:01',NULL),(196,1215,150,2,5020.00,1054.20,2,1,'2021-08-16 11:05:50','2021-08-16 11:05:50',NULL),(197,1215,151,2,297304.86,62434.02,2,1,'2021-08-16 11:07:33','2021-08-16 11:07:33',NULL),(198,1215,153,2,10892.40,2287.40,2,1,'2021-08-19 10:04:36','2021-08-19 10:04:36',NULL),(204,1215,158,2,9110.00,1913.10,2,1,'2021-08-19 10:04:36','2021-08-19 10:04:36',NULL),(208,1215,162,2,14691.28,3085.17,2,1,'2021-08-19 10:04:37','2021-08-19 10:04:37',NULL),(209,1215,161,2,1952.17,409.96,2,1,'2021-08-19 10:14:05','2021-08-19 10:14:05',NULL),(236,1215,180,2,33566.15,7048.89,2,1,'2021-08-19 10:19:15','2021-08-19 10:19:15',NULL);
INSERT INTO `receipt_taxes` VALUES (244,1215,182,2,9412.00,1976.52,2,1,'2021-08-19 10:34:06','2021-08-19 10:34:06',NULL),(245,1215,182,7,611.78,0.00,2,1,'2021-08-19 10:34:06','2021-08-19 10:34:06',NULL),(250,1215,181,2,5752.90,1208.11,2,1,'2021-08-19 10:37:59','2021-08-19 10:37:59',NULL),(251,1215,179,1,775.23,81.40,2,1,'2021-08-19 10:38:25','2021-08-19 10:38:25',NULL),(257,1215,176,2,4000.00,840.00,2,1,'2021-08-19 10:40:28','2021-08-19 10:40:28',NULL),(259,1215,173,2,6240.33,1310.47,2,1,'2021-08-19 10:41:56','2021-08-19 10:41:56',NULL),(260,1215,172,7,1154.76,0.00,2,1,'2021-08-19 10:43:15','2021-08-19 10:43:15',NULL),(261,1215,170,2,1151.31,241.78,2,1,'2021-08-19 10:44:05','2021-08-19 10:44:05',NULL),(262,1215,170,7,3.45,0.00,2,1,'2021-08-19 10:44:05','2021-08-19 10:44:05',NULL),(263,1215,163,2,26267.31,5516.14,2,1,'2021-08-19 10:51:52','2021-08-19 10:51:52',NULL),(268,1215,165,2,3083.00,647.43,2,1,'2021-08-19 10:56:26','2021-08-19 10:56:26',NULL),(269,1215,178,2,4709.62,989.02,2,1,'2021-08-19 11:04:12','2021-08-19 11:04:12',NULL),(270,1215,178,7,14.12,0.00,2,1,'2021-08-19 11:04:12','2021-08-19 11:04:12',NULL),(271,1215,168,2,33.57,7.05,2,1,'2021-08-19 11:06:42','2021-08-19 11:06:42',NULL),(272,1215,160,2,6.81,1.43,2,1,'2021-08-19 11:15:25','2021-08-19 11:15:25',NULL),(273,1215,183,2,23760.00,4989.60,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(274,1215,183,7,71.28,0.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(275,1215,184,2,49309.60,10355.02,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(276,1215,184,7,147.92,0.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(277,1215,185,2,3700.41,777.09,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(278,1215,185,7,11.11,0.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(279,1215,186,2,853.72,179.28,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(280,1215,186,7,2.56,0.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(281,1215,187,2,8845.52,1857.56,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(282,1215,188,2,35775.59,7512.87,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(283,1215,189,2,1132.50,237.82,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(284,1215,190,2,2592.00,544.32,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(285,1215,191,2,3792.00,796.32,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(286,1215,192,2,1850.54,388.62,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(287,1215,193,2,6657.00,1397.97,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(288,1215,194,2,239.52,50.30,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(289,1215,195,2,2202.00,462.42,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(290,1215,196,2,6900.00,1449.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(291,1215,197,2,9672.39,2031.20,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(292,1215,197,7,120.90,0.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(293,1215,198,6,43288.46,0.00,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(294,1215,199,2,2655.00,557.54,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(295,1215,200,2,17984.44,3776.73,2,1,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(296,1215,201,5,4947.22,42.00,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(297,1215,201,7,14.84,0.00,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(298,1215,202,2,1366.50,286.96,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(299,1215,203,2,3680.00,772.80,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(300,1215,204,2,3181.99,668.22,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(301,1215,205,2,8842.80,1856.99,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(302,1215,206,2,15363.56,3226.35,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(303,1215,207,2,2120.00,445.20,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(304,1215,208,2,131.12,27.54,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL);
INSERT INTO `receipt_taxes` VALUES (305,1215,209,2,4077.00,856.17,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(306,1215,210,2,5189.76,1089.85,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(307,1215,211,2,2982.00,626.22,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(308,1215,212,2,1590.00,333.90,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(309,1215,213,2,36544.76,7674.40,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(310,1215,214,2,871.35,182.98,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(311,1215,214,7,2.62,0.00,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(312,1215,215,2,13393.23,2812.58,2,1,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(313,1215,216,2,24900.25,5229.05,2,1,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(314,1215,217,2,9412.00,1976.52,2,1,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(315,1215,217,7,611.78,0.00,2,1,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(316,1215,218,2,9412.00,1976.52,2,1,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(317,1215,218,7,611.78,0.00,2,1,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(318,1215,219,2,2265.00,475.64,2,1,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(327,1215,226,2,10651.55,2236.83,2,1,'2021-08-19 11:30:52','2021-08-19 11:30:52',NULL),(328,1215,226,7,532.57,0.00,2,1,'2021-08-19 11:30:52','2021-08-19 11:30:52',NULL),(329,1215,227,6,0.00,0.00,2,1,'2021-08-19 11:30:52','2021-08-19 11:30:52',NULL),(330,1215,227,7,181.00,0.00,2,1,'2021-08-19 11:30:52','2021-08-19 11:30:52',NULL),(331,1215,228,2,4075.50,855.86,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(332,1215,228,7,203.77,0.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(333,1215,229,2,8200.00,1722.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(334,1215,230,2,2202.00,462.42,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(335,1215,231,2,2764.45,580.54,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(336,1215,231,7,138.22,0.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(337,1215,232,2,66274.03,13917.54,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(338,1215,233,2,3414.30,717.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(339,1215,234,2,111.12,23.34,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(340,1215,235,2,5197.62,1091.50,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(341,1215,235,7,64.97,0.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(342,1215,236,2,4077.00,856.16,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(343,1215,237,2,10275.22,2157.80,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(344,1215,238,2,290.48,61.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(345,1215,239,2,15237.77,3199.93,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(346,1215,240,2,18806.45,3949.35,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(347,1215,241,2,4060.00,852.60,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(348,1215,242,2,231.61,48.64,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(349,1215,242,7,11.58,0.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(350,1215,243,2,2237.00,469.77,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(351,1215,244,2,5609.52,1178.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(352,1215,245,2,27776.88,5833.14,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(353,1215,245,7,1388.84,0.00,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(354,1215,246,2,156.32,32.83,2,1,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(355,1215,247,2,5292.00,1111.32,2,1,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL),(356,1215,248,2,502.05,105.43,2,1,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL),(357,1215,249,2,400.00,84.00,2,1,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL),(358,1215,249,7,600.00,0.00,2,1,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL),(359,1215,250,2,5274.00,1107.54,2,1,'2021-08-19 13:17:08','2021-08-19 13:17:08',NULL);
INSERT INTO `receipt_taxes` VALUES (360,1215,251,2,5130.11,1077.32,2,1,'2021-08-19 13:18:57','2021-08-19 13:18:57',NULL),(361,1215,252,2,5400.12,1134.03,2,1,'2021-08-19 13:19:35','2021-08-19 13:19:35',NULL),(362,1215,253,2,10835.00,2275.35,2,1,'2021-08-19 13:22:06','2021-08-19 13:22:06',NULL),(363,1215,253,1005,32.50,0.00,2,2,'2021-08-19 13:22:06','2021-08-19 13:22:06',NULL),(364,1215,254,2,7142.95,1500.02,2,1,'2021-08-19 13:23:06','2021-08-19 13:23:06',NULL),(365,1215,254,1005,41.43,0.00,2,2,'2021-08-19 13:23:06','2021-08-19 13:23:06',NULL),(366,1215,255,2,31953.12,6710.16,2,1,'2021-08-19 13:24:10','2021-08-19 13:24:10',NULL),(367,1215,256,2,4908.50,1030.79,2,1,'2021-08-19 13:31:03','2021-08-19 13:31:03',NULL),(368,1215,257,2,148.24,31.13,2,1,'2021-08-19 13:36:31','2021-08-19 13:36:31',NULL),(369,1215,257,1005,64.97,0.00,2,2,'2021-08-19 13:36:31','2021-08-19 13:36:31',NULL),(371,1215,177,2,6570.32,1379.77,2,1,'2021-08-19 13:44:56','2021-08-19 13:44:56',NULL),(372,1215,177,7,19.71,0.00,2,1,'2021-08-19 13:44:56','2021-08-19 13:44:56',NULL),(373,1215,167,2,8065.76,1693.81,2,1,'2021-08-19 13:45:33','2021-08-19 13:45:33',NULL),(375,1215,174,2,6541.02,1373.61,2,1,'2021-08-19 13:47:45','2021-08-19 13:47:45',NULL),(376,1215,154,2,3204.35,672.91,2,1,'2021-08-19 13:48:30','2021-08-19 13:48:30',NULL),(377,1215,169,2,5274.00,1107.54,2,1,'2021-08-19 13:48:55','2021-08-19 13:48:55',NULL),(378,1215,156,2,1734.27,364.20,2,1,'2021-08-19 13:49:14','2021-08-19 13:49:14',NULL),(379,1215,157,2,4799.00,1007.79,2,1,'2021-08-19 13:55:02','2021-08-19 13:55:02',NULL),(380,1215,159,2,4850.56,1018.62,2,1,'2021-08-19 13:56:41','2021-08-19 13:56:41',NULL),(381,1215,164,2,107.44,22.56,2,1,'2021-08-19 13:57:44','2021-08-19 13:57:44',NULL),(383,1215,96,2,157.02,32.97,2,1,'2021-08-19 14:07:18','2021-08-19 14:07:18',NULL),(384,1215,68,2,8387.73,1761.42,2,1,'2021-08-19 14:08:24','2021-08-19 14:08:24',NULL),(385,1215,68,1005,419.39,0.00,2,2,'2021-08-19 14:08:24','2021-08-19 14:08:24',NULL),(386,1215,97,2,8173.06,1716.34,2,1,'2021-08-19 14:10:22','2021-08-19 14:10:22',NULL),(387,1215,97,1005,408.65,0.00,2,2,'2021-08-19 14:10:22','2021-08-19 14:10:22',NULL),(388,1215,108,2,116.00,24.36,2,1,'2021-08-19 14:12:56','2021-08-19 14:12:56',NULL),(389,1215,108,1005,7.01,0.00,2,2,'2021-08-19 14:12:56','2021-08-19 14:12:56',NULL),(390,1215,111,2,122.11,25.64,2,1,'2021-08-19 14:13:49','2021-08-19 14:13:49',NULL),(392,1215,95,2,1152.04,241.93,2,1,'2021-08-19 14:24:29','2021-08-19 14:24:29',NULL),(393,1215,95,1005,17.28,0.00,2,2,'2021-08-19 14:24:29','2021-08-19 14:24:29',NULL),(394,1215,67,2,10819.44,2272.08,2,1,'2021-08-19 14:31:50','2021-08-19 14:31:50',NULL),(395,1215,67,1005,540.97,0.00,2,2,'2021-08-19 14:31:50','2021-08-19 14:31:50',NULL),(396,1215,85,2,850.00,178.50,2,1,'2021-08-19 14:32:43','2021-08-19 14:32:43',NULL),(397,1215,85,1005,12.75,0.00,2,2,'2021-08-19 14:32:43','2021-08-19 14:32:43',NULL),(400,1215,258,2,1311.00,275.31,2,1,'2021-08-19 14:41:06','2021-08-19 14:41:06',NULL),(401,1215,58,2,33977.26,7135.22,2,1,'2021-08-19 14:51:02','2021-08-19 14:51:02',NULL),(402,1215,58,1005,509.66,0.00,2,2,'2021-08-19 14:51:02','2021-08-19 14:51:02',NULL),(403,1215,57,2,5409.18,1135.93,2,1,'2021-08-19 14:51:41','2021-08-19 14:51:41',NULL),(404,1215,56,2,1830.45,384.39,2,1,'2021-08-19 14:52:35','2021-08-19 14:52:35',NULL),(412,1215,83,2,571.84,120.09,2,1,'2021-08-19 15:22:39','2021-08-19 15:22:39',NULL),(413,1215,83,7,228.08,0.00,2,1,'2021-08-19 15:22:39','2021-08-19 15:22:39',NULL),(414,1215,166,2,240.82,50.57,2,1,'2021-08-19 15:23:09','2021-08-19 15:23:09',NULL),(415,1215,91,2,272.73,57.27,2,1,'2021-08-19 15:23:29','2021-08-19 15:23:29',NULL),(416,1215,7,2,5405.79,1135.22,2,1,'2021-08-19 15:26:02','2021-08-19 15:26:02',NULL),(417,1215,7,1005,81.09,0.00,2,2,'2021-08-19 15:26:02','2021-08-19 15:26:02',NULL),(418,1215,259,2,8500.00,1785.00,2,1,'2021-08-23 23:39:54','2021-08-23 23:39:54',NULL),(419,1215,260,1,3873303.17,406696.83,2,1,'2021-08-23 23:44:22','2021-08-23 23:44:22',NULL);
INSERT INTO `receipt_taxes` VALUES (421,1215,262,1,2624434.39,275565.61,2,1,'2021-08-23 23:47:14','2021-08-23 23:47:14',NULL),(422,1215,263,1,2624434.39,275565.61,2,1,'2021-08-23 23:48:26','2021-08-23 23:48:26',NULL),(423,1215,264,2,142500.00,29925.00,2,1,'2021-08-23 23:58:58','2021-08-23 23:58:58',NULL),(424,1215,265,1,1809954.75,190045.25,2,1,'2021-08-24 00:01:37','2021-08-24 00:01:37',NULL),(425,1215,266,1,904977.38,95022.62,2,1,'2021-08-24 00:02:45','2021-08-24 00:02:45',NULL),(426,1215,267,1,904977.38,95022.62,2,1,'2021-08-24 00:03:33','2021-08-24 00:03:33',NULL),(427,1215,268,1,1271493.21,133506.79,2,1,'2021-08-24 00:05:22','2021-08-24 00:05:22',NULL),(428,1215,269,1,904977.38,95022.62,2,1,'2021-08-24 00:07:35','2021-08-24 00:07:35',NULL);

--
-- Table structure for table `receipt_types`
--

CREATE TABLE `receipt_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit` int(11) DEFAULT '0',
  `agroup_iva_module` int(10) unsigned DEFAULT NULL,
  `sell_no_taxabled` int(11) DEFAULT '0',
  `buy_no_taxabled` int(11) DEFAULT '0',
  `iva_condition_id` int(11) DEFAULT NULL,
  `is_fce_pyme` tinyint(1) NOT NULL DEFAULT '0',
  `afip_comprobante_id` int(11) DEFAULT NULL,
  `tipo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `letra` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facta_electronica` int(10) unsigned NOT NULL DEFAULT '0',
  `is_stock_lpg` tinyint(1) NOT NULL DEFAULT '0',
  `show_from_total` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_types`
--

INSERT INTO `receipt_types` VALUES (1,NULL,NULL,'2019-07-29 22:19:32','Factura A','1',0,1,0,0,2,0,1,'Factura','A',1,0,0,NULL),(2,NULL,NULL,'2019-07-29 22:19:32','Nota de débito A','2',0,1,0,0,2,0,2,'Nota de Débito','A',1,0,0,NULL),(3,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito A','3',1,NULL,0,0,2,0,3,'Nota de Crédito','A',1,0,0,NULL),(4,NULL,NULL,'2020-10-24 12:26:00','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2020-10-24 12:26:00','Nota de débito B','7',0,2,0,1,2,0,7,'Nota de Débito','B',1,0,1,NULL),(6,NULL,NULL,'2020-10-24 12:26:00','Nota de crédito B','8',1,NULL,0,1,2,0,8,'Nota de Crédito','B',1,0,1,NULL),(7,NULL,NULL,'2019-07-29 22:19:32','Factura C','11',0,0,1,1,1,0,11,'Factura','C',1,0,0,NULL),(8,NULL,NULL,'2019-07-29 22:19:32','Nota de débito C','12',0,0,1,1,1,0,12,'Nota de Débito','C',1,0,0,NULL),(9,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito C','13',1,NULL,1,1,1,0,13,'Nota de Crédito','C',1,0,0,NULL),(10,NULL,NULL,NULL,'RECIBO A','4',0,1,0,0,2,0,4,'RECIBO','A',0,0,0,NULL),(11,NULL,NULL,'2020-10-24 12:26:00','RECIBO B','9',0,2,0,1,2,0,9,'RECIBO','B',0,0,1,NULL),(12,NULL,NULL,NULL,'RECIBO C','15',0,0,1,1,1,0,15,'RECIBO','C',0,0,0,NULL),(13,NULL,NULL,'2020-02-27 02:46:40','Factura E','19',0,0,1,0,2,0,19,'Factura','E',0,0,0,NULL),(14,NULL,NULL,'2020-02-27 02:46:40','Nota de débito E','20',0,0,1,0,2,0,20,'Nota de Débito','E',0,0,0,NULL),(15,NULL,NULL,'2020-02-27 02:46:40','Nota de Crédito E','21',1,NULL,1,0,2,0,21,'Nota de Crédito','E',0,0,0,NULL),(16,NULL,NULL,'2021-09-16 15:46:51','Factura M','51',0,1,0,0,2,0,51,'Factura','M',1,0,0,NULL),(17,NULL,NULL,'2020-02-27 02:46:40','Despacho de Importacion','66',0,NULL,0,0,0,0,66,NULL,NULL,0,0,0,NULL),(18,NULL,NULL,'2021-09-16 15:46:51','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',1,0,0,NULL),(19,NULL,NULL,'2021-09-16 15:46:51','Nota de Debito M','52',1,1,0,0,2,0,52,'Nota de Débito','M',1,0,0,NULL),(20,NULL,NULL,NULL,'Recibo M','54',0,1,0,0,2,0,54,'RECIBO','M',0,0,0,NULL),(21,NULL,NULL,NULL,'Recibo E',NULL,1,0,1,0,2,0,NULL,'RECIBO','E',0,0,0,NULL),(22,NULL,'2019-05-14 21:22:16','2020-10-24 12:26:00','Liquidacion Primaria de Granos','33',0,1,0,0,2,0,33,'Liquidacion Primaria de Granos','A',0,1,0,NULL),(23,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A','201',0,1,0,0,2,1,201,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(24,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A','202',0,1,0,0,2,1,202,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(25,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A','203',1,NULL,0,0,2,1,203,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(26,NULL,'2019-11-05 19:00:05','2020-10-24 12:26:00','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B','206',0,2,0,1,2,1,206,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(27,NULL,'2019-11-05 19:00:05','2020-10-24 12:26:00','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B','207',0,2,0,1,2,1,207,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(28,NULL,'2019-11-05 19:00:05','2020-10-24 12:26:00','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B','208',1,NULL,0,1,2,1,208,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(29,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','211',0,0,1,1,1,1,211,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(30,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C','212',0,0,1,1,1,1,212,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(31,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','213',1,NULL,1,1,1,1,213,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL);
INSERT INTO `receipt_types` VALUES (32,NULL,'2020-01-28 01:59:55','2020-10-24 12:26:00','Tique (Informe Diario Z)','83',0,2,0,0,2,0,83,'Cierre Diario Informe Z','Z',0,0,1,NULL),(33,NULL,'2020-02-19 04:48:11','2020-02-19 04:48:11','Comprobantes de Compra de Bienes No Registrables a Consumidores Finales','49',0,1,0,0,2,0,49,'Comprobantes de Compra de Bienes No Registrables','a Consumidores Finales',0,0,0,NULL),(34,NULL,'2020-10-24 12:25:58','2022-08-17 11:21:52','Cuenta de Venta y Líquido Producto A','60',0,1,0,0,2,1,60,'Cuentas de Venta y Liquido Producto A','A',1,0,0,NULL),(35,NULL,'2020-10-24 12:25:58','2022-08-17 11:21:52','Cuenta de Venta y Líquido Producto B','61',0,2,0,1,2,1,61,'Cuentas de Venta y Liquido Producto B','B',1,0,1,NULL),(36,NULL,'2020-10-24 12:25:58','2020-10-24 12:26:00','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2020-10-24 12:25:58','2020-10-24 12:26:00','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2020-10-24 12:26:00','2020-11-19 18:54:32','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2020-10-24 12:26:00','2020-11-19 18:54:32','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2020-10-24 12:26:00','2021-03-23 16:02:51','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF','99',0,1,1,1,1,1,99,'OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF ','OTROS',0,0,0,NULL),(41,NULL,'2020-10-24 12:26:00','2020-10-24 12:26:00','Liquidacion de Compra A - Sector Pecuario','183',0,1,0,0,2,0,183,'Liquidacion de Compra','A',0,0,0,NULL),(42,NULL,'2020-10-24 12:26:00','2020-10-24 12:26:00','Liquidacion de Compra B - Sector Pecuario','185',0,2,0,1,2,0,185,'Liquidacion de Compra','B',0,0,1,NULL),(43,NULL,'2020-10-24 12:26:01','2020-11-19 18:54:32','Liquidacion de Venta Directa A - Sector Pecuario','190',0,1,0,0,2,1,190,'Liquidacion de Venta Directa','A',0,0,0,NULL),(44,NULL,'2020-10-24 12:26:01','2020-11-19 18:54:32','Liquidacion de Venta Directa B - Sector Pecuario','191',0,2,0,1,2,1,191,'Liquidacion de Venta Directa','B',0,0,0,NULL),(45,NULL,'2020-11-05 13:07:02','2020-11-19 18:54:32','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2020-11-05 13:07:02','2020-11-19 18:54:32','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2020-11-05 13:07:02','2020-11-19 18:54:32','Liquidacion de Servicios Publicos Clase A','17',0,1,0,0,2,1,17,'Liquidacion de Servicios Publicos Clase A','LSPCA',0,0,0,NULL),(48,NULL,'2021-03-04 14:30:36','2021-03-04 14:30:36','Liquidacion de Servicios Publicos Clase B','18',0,2,0,1,2,1,18,'Liquidacion de Servicios Publicos Clase B','LSPCA',1,0,0,NULL),(49,NULL,NULL,NULL,'Factura Clase T','195',0,1,0,0,2,0,195,'Factura Clase T','T',0,0,0,NULL),(50,NULL,NULL,NULL,'Nota de Debito Clase T','196',0,1,0,0,2,0,196,'Factura Clase T','T',0,0,0,NULL),(51,NULL,NULL,NULL,'Nota de Credito Clase T','197',1,NULL,0,0,2,0,197,'Factura Clase T','T',0,0,0,NULL),(52,NULL,NULL,'2022-08-17 11:21:52','Cuenta de Venta y Líquido Producto A - Sector Pecuario','180',0,1,0,0,2,0,180,'Cuenta de Venta y Líquido Producto A','A',0,0,0,NULL),(53,NULL,NULL,'2022-08-17 11:21:52','Cuenta de Venta y Líquido Producto B - Sector Pecuario','182',0,2,0,1,2,0,182,'Cuenta de Venta y Líquido Producto B','B',0,0,0,NULL),(54,NULL,NULL,NULL,'Liquidación de Compra A','183',0,1,0,0,2,0,183,'Liquidación de Compra A ','A',0,0,0,NULL),(55,NULL,NULL,NULL,'Liquidación de Compra B','185',0,2,0,1,2,0,185,'Liquidación de Compra B ','B',0,0,0,NULL),(56,NULL,NULL,NULL,'Liquidación de Compra Directa A','186',0,1,0,0,2,0,186,'Liquidación de Compra Directa A','A',0,0,0,NULL),(57,NULL,NULL,NULL,'Liquidación de Compra Directa B','188',0,2,0,1,2,0,188,'Liquidación de Compra Directa B ','B',0,0,0,NULL);
INSERT INTO `receipt_types` VALUES (58,NULL,NULL,NULL,'Liquidación de Compra Directa C','189',0,0,1,1,1,0,189,'Liquidación de Compra Directa C ','C',0,0,0,NULL),(59,NULL,NULL,NULL,'Liquidación de Venta Directa A','190',0,1,0,0,2,0,190,'Liquidación de Venta Directa A','A',0,0,0,NULL),(60,NULL,NULL,NULL,'Liquidación de Venta Directa B','191',0,2,0,1,2,0,191,'Liquidación de Venta Directa B ','B',0,0,0,NULL),(61,NULL,NULL,NULL,'Tique Factura C','109',0,0,0,1,1,0,109,NULL,'C',1,0,0,NULL),(62,NULL,NULL,NULL,'Tique Nota de Débito A','115',0,1,0,0,2,0,115,'Tique Nota de Débito A','A',1,0,0,NULL),(63,NULL,NULL,NULL,'Tique Nota de Crédito C','114',1,0,1,1,1,0,114,'Tique Nota de Crédito C','C',1,0,0,NULL);

--
-- Table structure for table `receipts`
--

CREATE TABLE `receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `comprobanteAfip` int(11) DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `conta_centro_costo_id` bigint(20) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned NOT NULL DEFAULT '1',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `person_id_owner` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `number` int(8) unsigned zerofill DEFAULT NULL,
  `hasta` int(8) unsigned zerofill DEFAULT NULL,
  `reference` int(11) DEFAULT NULL,
  `receipt_date` date DEFAULT NULL,
  `expiration_date` date DEFAULT NULL,
  `code_ticket` int(4) unsigned zerofill DEFAULT NULL,
  `status_id` int(10) unsigned DEFAULT NULL,
  `tax_account_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `file` 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 `receipts_type_id_foreign` (`type_id`),
  KEY `receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `receipts_tax_account_id_foreign` (`tax_account_id`),
  KEY `receipts_zone_id_foreign` (`zone_id`),
  KEY `receipts_activity_id_foreign` (`activity_id`),
  KEY `receipts_retention_type_id_foreign` (`retention_type_id`),
  KEY `receipts_status_id_foreign` (`status_id`),
  KEY `receipts_person_id_owner_foreign` (`person_id_owner`),
  KEY `receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `receipts_period_id_foreign` (`period_id`),
  KEY `receipts_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `receipts_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `receipts_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `receipts_conta_centro_costo_id_foreign` (`conta_centro_costo_id`),
  KEY `receipts_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `receipts_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `receipts_conta_centro_costo_id_foreign` FOREIGN KEY (`conta_centro_costo_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `receipts_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipts_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `receipts_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `receipts_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `receipts_person_id_owner_foreign` FOREIGN KEY (`person_id_owner`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `receipts_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `receipts_status_id_foreign` FOREIGN KEY (`status_id`) REFERENCES `status` (`id`),
  CONSTRAINT `receipts_tax_account_id_foreign` FOREIGN KEY (`tax_account_id`) REFERENCES `tax_accounts` (`id`),
  CONSTRAINT `receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `receipts_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=271 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipts`
--

INSERT INTO `receipts` VALUES (1,1215,2,38,NULL,NULL,56112,23,217,NULL,337,1,NULL,NULL,40759,40894,00110535,00110535,NULL,'2016-04-27','2016-04-27',3215,1,NULL,1300.00,NULL,'2021-08-15 20:42:58','2021-08-15 20:42:58',NULL),(2,1215,2,38,NULL,NULL,56112,18,217,NULL,337,1,NULL,NULL,40759,40895,00001695,00001695,NULL,'2017-04-27','2017-04-27',0002,1,NULL,607.42,NULL,'2021-08-15 20:47:09','2021-08-15 20:47:09',NULL),(3,1215,2,38,NULL,NULL,56112,18,217,NULL,337,1,NULL,NULL,40759,40896,00072911,00072911,NULL,'2017-04-18','2017-04-18',0101,1,NULL,41685.71,NULL,'2021-08-15 20:49:14','2021-08-15 20:49:14',NULL),(4,1215,2,38,NULL,NULL,56112,18,217,NULL,337,1,NULL,NULL,40759,40896,00072912,00072912,NULL,'2017-04-18','2017-04-18',0101,1,NULL,11805.80,NULL,'2021-08-15 20:49:57','2021-08-15 20:49:57',NULL),(5,1215,2,1,NULL,NULL,56112,23,217,NULL,337,1,NULL,NULL,40759,40897,00013618,00013618,NULL,'2017-04-05','2017-04-05',0004,1,NULL,2.27,NULL,'2021-08-15 20:51:14','2021-08-15 20:51:14',NULL),(6,1215,2,1,NULL,NULL,56112,23,217,NULL,337,3,NULL,NULL,40759,40898,00003365,00003365,NULL,'2017-04-21','2017-04-21',0004,1,NULL,1837.50,NULL,'2021-08-15 20:53:48','2021-08-15 20:53:48',NULL),(7,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40899,00031221,00031221,NULL,'2017-04-14','2017-04-14',0004,1,NULL,6622.10,NULL,'2021-08-15 20:55:34','2021-08-19 15:26:02',NULL),(8,1215,2,1,NULL,NULL,56112,23,217,NULL,337,3,NULL,NULL,40759,40900,00000049,00000049,NULL,'2017-04-05','2017-04-05',6387,1,NULL,526.00,NULL,'2021-08-15 20:58:26','2021-08-15 20:58:26',NULL),(9,1215,2,36,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40901,00028517,00028517,NULL,'2017-03-24','2017-03-24',0006,1,NULL,1039.59,NULL,'2021-08-15 21:13:37','2021-08-15 21:13:37',NULL),(10,1215,2,38,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40901,00008781,00008781,NULL,'2016-05-28','2016-05-28',0006,1,NULL,1300.02,NULL,'2021-08-15 21:15:03','2021-08-19 15:09:23','2021-08-19 15:09:23'),(11,1215,2,1,NULL,NULL,56111,23,217,NULL,337,3,NULL,NULL,40759,40898,00003280,00003280,NULL,'2017-03-23','2017-03-23',0004,1,NULL,1470.00,NULL,'2021-08-15 21:17:07','2021-08-15 21:17:07',NULL),(12,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40902,00005529,00005529,NULL,'2017-03-23','2017-03-23',0005,1,NULL,17442.89,NULL,'2021-08-15 21:26:40','2021-08-15 21:26:40',NULL),(13,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40903,00002506,00002506,NULL,'2017-03-21','2017-03-21',0005,1,NULL,10340.03,NULL,'2021-08-15 21:28:27','2021-08-15 21:28:27',NULL),(14,1215,2,1,NULL,NULL,56111,18,217,NULL,337,1,NULL,NULL,40759,40896,00070943,00070943,NULL,'2017-03-18','2017-03-18',0101,1,NULL,22380.79,NULL,'2021-08-15 21:29:39','2021-08-15 21:29:39',NULL),(15,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40899,00030998,00030998,NULL,'2017-03-29','2017-03-29',0004,1,NULL,5024.52,NULL,'2021-08-15 21:30:43','2021-08-15 21:30:43',NULL),(16,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40904,00025227,00025227,NULL,'2017-03-18','2017-03-18',0011,1,NULL,35512.36,NULL,'2021-08-15 21:32:04','2021-08-15 21:32:04',NULL),(17,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40905,00002557,00002557,NULL,'2017-03-23','2017-03-23',0002,1,NULL,164578.10,NULL,'2021-08-15 21:33:46','2021-08-15 21:33:46',NULL),(18,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40899,00030898,00030898,NULL,'2017-03-16','2017-03-16',0004,1,NULL,14947.02,NULL,'2021-08-15 21:34:38','2021-08-15 21:34:38',NULL),(19,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40907,00002874,00002874,NULL,'2017-03-29','2017-03-29',0003,1,NULL,3839.44,NULL,'2021-08-15 21:36:53','2021-08-15 21:36:53',NULL),(20,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40908,00008581,00008581,NULL,'2017-03-15','2017-03-15',0016,1,NULL,10000.00,NULL,'2021-08-15 21:38:08','2021-08-15 21:38:08',NULL);
INSERT INTO `receipts` VALUES (21,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40909,00002261,00002261,NULL,'2017-03-29','2017-03-29',0002,1,NULL,6402.00,NULL,'2021-08-15 21:39:35','2021-08-15 21:39:35',NULL),(22,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40910,00011384,00011384,NULL,'2017-03-15','2017-03-15',0003,1,NULL,17875.35,NULL,'2021-08-15 21:40:35','2021-08-15 21:42:17',NULL),(23,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40906,00011108,00011108,NULL,'2017-03-01','2017-03-01',0004,1,NULL,7843.33,NULL,'2021-08-15 21:45:04','2021-08-15 21:45:04',NULL),(24,1215,2,1,NULL,NULL,56111,18,217,NULL,337,1,NULL,NULL,40759,40911,00002035,00002035,NULL,'2017-03-10','2017-03-10',0002,1,NULL,7886.78,NULL,'2021-08-15 21:46:26','2021-08-15 21:46:26',NULL),(25,1215,2,1,NULL,NULL,56111,18,217,NULL,337,1,NULL,NULL,40759,40912,00013553,00013553,NULL,'2017-03-10','2017-03-10',0003,1,NULL,3540.10,NULL,'2021-08-15 21:47:40','2021-08-15 21:47:40',NULL),(26,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40914,00036417,00036417,NULL,'2017-03-27','2017-03-27',0001,1,NULL,1035.96,NULL,'2021-08-15 21:53:43','2021-08-15 21:53:43',NULL),(27,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40897,00013595,00013595,NULL,'2017-03-31','2017-03-31',0004,1,NULL,2239.60,NULL,'2021-08-15 21:54:30','2021-08-15 21:54:30',NULL),(28,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40913,00000237,00000237,NULL,'2017-03-21','2017-03-21',0003,1,NULL,1516.30,NULL,'2021-08-15 21:56:04','2021-08-15 21:56:04',NULL),(29,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40913,00000239,00000239,NULL,'2017-03-22','2017-03-22',0003,1,NULL,2835.25,NULL,'2021-08-15 21:56:29','2021-08-15 21:56:29',NULL),(30,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40913,00000240,00000240,NULL,'2017-03-22','2017-03-22',0003,1,NULL,1041.45,NULL,'2021-08-15 21:57:00','2021-08-19 15:10:26','2021-08-19 15:10:26'),(31,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40913,00000241,00000241,NULL,'2017-03-22','2017-03-22',0003,1,NULL,385.55,NULL,'2021-08-15 21:57:22','2021-08-15 21:57:22',NULL),(32,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40915,00001449,00001449,NULL,'2017-03-04','2017-03-04',0002,1,NULL,193.60,NULL,'2021-08-15 21:58:21','2021-08-15 21:58:21',NULL),(33,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40916,00023474,00023474,NULL,'2017-03-13','2017-03-13',0003,1,NULL,3306.93,NULL,'2021-08-15 21:59:26','2021-08-19 15:10:36','2021-08-19 15:10:36'),(34,1215,2,1,NULL,NULL,56111,18,217,NULL,337,1,NULL,NULL,40759,40895,00023474,00023474,NULL,'2017-03-28','2017-03-28',0003,1,NULL,2615.54,NULL,'2021-08-15 22:01:11','2021-08-19 15:10:42','2021-08-19 15:10:42'),(35,1215,2,1,NULL,NULL,56111,18,217,NULL,337,1,NULL,NULL,40759,40917,00010196,00010196,NULL,'2017-03-01','2017-03-01',1133,1,NULL,233.15,NULL,'2021-08-15 22:02:23','2021-08-19 15:10:51','2021-08-19 15:10:51'),(36,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40897,00013526,00013526,NULL,'2017-03-16','2017-03-16',0004,1,NULL,1930.00,NULL,'2021-08-15 22:03:04','2021-08-19 15:11:09','2021-08-19 15:11:09'),(37,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40899,00031051,00031051,NULL,'2017-03-30','2017-03-30',0004,1,NULL,2214.11,NULL,'2021-08-15 22:03:52','2021-08-19 15:11:13','2021-08-19 15:11:13'),(38,1215,2,1,NULL,NULL,56111,23,217,NULL,337,1,NULL,NULL,40759,40918,00002498,00002498,NULL,'2017-03-30','2017-03-30',6040,1,NULL,185.20,NULL,'2021-08-15 22:07:16','2021-08-15 22:07:16',NULL),(39,1215,2,1,NULL,NULL,56110,23,217,NULL,337,1,NULL,NULL,40759,40917,00007559,00007559,NULL,'2017-02-23','2017-02-23',1122,1,NULL,297.91,NULL,'2021-08-15 22:08:33','2021-08-19 14:57:38','2021-08-19 14:57:38'),(40,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40916,00023284,00023284,NULL,'2017-02-17','2017-02-17',0003,1,NULL,577.90,NULL,'2021-08-15 22:11:38','2021-08-15 22:11:38',NULL);
INSERT INTO `receipts` VALUES (41,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40899,00030743,00030743,NULL,'2017-02-24','2017-02-24',0004,1,NULL,8062.52,NULL,'2021-08-15 22:12:46','2021-08-19 14:57:16','2021-08-19 14:57:16'),(42,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40919,00001635,00001635,NULL,'2017-02-09','2017-02-09',0002,1,NULL,32142.09,NULL,'2021-08-15 22:17:36','2021-08-15 22:17:36',NULL),(43,1215,2,1,NULL,NULL,56110,23,217,NULL,337,1,NULL,NULL,40759,40898,00003185,00003185,NULL,'2017-02-22','2017-02-22',0004,1,NULL,1470.00,NULL,'2021-08-15 22:18:27','2021-08-19 14:57:04','2021-08-19 14:57:04'),(44,1215,2,1,NULL,NULL,56110,23,217,NULL,337,3,NULL,NULL,40759,40918,00002236,00002236,NULL,'2017-02-17','2017-02-17',6040,1,NULL,148.20,NULL,'2021-08-15 22:19:11','2021-08-19 14:56:52','2021-08-19 14:56:52'),(45,1215,2,1,NULL,NULL,56110,18,217,NULL,337,3,NULL,NULL,40759,40916,00023181,00023181,NULL,'2017-02-08','2017-02-08',0003,1,NULL,2305.05,NULL,'2021-08-15 22:20:08','2021-08-19 14:56:45','2021-08-19 14:56:45'),(46,1215,2,1,NULL,NULL,56110,18,217,NULL,337,3,NULL,NULL,40759,40916,00023158,00023158,NULL,'2017-02-06','2017-02-06',0003,1,NULL,5020.41,NULL,'2021-08-15 22:20:37','2021-08-19 14:56:39','2021-08-19 14:56:39'),(47,1215,2,1,NULL,NULL,56110,23,217,NULL,337,1,NULL,NULL,40759,40915,00001369,00001369,NULL,'2017-02-17','2017-02-17',0002,1,NULL,877.25,NULL,'2021-08-15 22:21:21','2021-08-19 14:56:32','2021-08-19 14:56:32'),(48,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40895,00001408,00001408,NULL,'2017-02-20','2017-02-20',0002,1,NULL,8127.09,NULL,'2021-08-15 22:22:07','2021-08-15 22:22:07',NULL),(49,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40919,00001634,00001634,NULL,'2017-02-09','2017-02-09',0002,1,NULL,9498.50,NULL,'2021-08-15 22:22:58','2021-08-19 14:56:13','2021-08-19 14:56:13'),(50,1215,2,1,NULL,NULL,56110,23,217,NULL,337,1,NULL,NULL,40759,40920,00001035,00001035,NULL,'2016-02-15','2016-02-15',0003,1,NULL,3245.34,NULL,'2021-08-15 22:24:55','2021-08-19 14:56:04','2021-08-19 14:56:04'),(51,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40902,00005300,00005300,NULL,'2017-02-22','2017-02-22',0005,1,NULL,13875.36,NULL,'2021-08-15 22:27:08','2021-08-19 14:55:41','2021-08-19 14:55:41'),(52,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40912,00013081,00013081,NULL,'2017-02-06','2017-02-06',0003,1,NULL,5602.34,NULL,'2021-08-15 22:28:03','2021-08-19 14:55:17','2021-08-19 14:55:17'),(53,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40911,00001936,00001936,NULL,'2017-02-06','2017-02-06',0002,1,NULL,13659.38,NULL,'2021-08-15 22:30:45','2021-08-19 14:55:06','2021-08-19 14:55:06'),(54,1215,2,1,NULL,NULL,56110,23,217,NULL,337,1,NULL,NULL,40759,40897,00013390,00013390,NULL,'2017-02-16','2017-02-16',0004,1,NULL,4355.75,NULL,'2021-08-15 22:40:41','2021-08-19 15:04:20','2021-08-19 15:04:20'),(55,1215,2,1,NULL,NULL,56110,18,217,NULL,337,1,NULL,NULL,40759,40895,00001361,00001361,NULL,'2017-02-10','2017-02-10',0002,1,NULL,4203.78,NULL,'2021-08-15 22:42:21','2021-08-19 14:54:15','2021-08-19 14:54:15'),(56,1215,2,1,NULL,NULL,56124,18,217,NULL,337,1,NULL,NULL,40759,40902,00005255,00005255,NULL,'2017-02-15','2017-02-15',0005,1,NULL,2214.84,NULL,'2021-08-15 22:43:06','2021-08-19 14:52:35',NULL),(57,1215,2,1,NULL,NULL,56124,18,217,NULL,337,1,NULL,NULL,40759,40921,00000326,00000326,NULL,'2017-02-20','2017-02-20',0002,1,NULL,6545.11,NULL,'2021-08-15 22:44:42','2021-08-19 14:51:41',NULL),(58,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40905,00002405,00002405,NULL,'2017-02-09','2017-02-09',0002,1,NULL,41622.14,NULL,'2021-08-15 22:45:53','2021-08-19 14:51:02',NULL),(59,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40922,00017940,00017940,NULL,'2017-01-16','2017-01-16',0002,1,NULL,1030.16,NULL,'2021-08-15 22:48:27','2021-08-15 22:48:27',NULL);
INSERT INTO `receipts` VALUES (60,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40923,00041792,00041792,NULL,'2017-01-27','2017-01-27',0009,1,NULL,8923.51,NULL,'2021-08-15 22:50:27','2021-08-15 22:50:27',NULL),(61,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40899,00030019,00030019,NULL,'2016-12-27','2016-12-27',0004,1,NULL,7304.44,NULL,'2021-08-15 22:52:18','2021-08-15 22:52:18',NULL),(62,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40899,00029903,00029903,NULL,'2016-12-16','2016-12-16',0004,1,NULL,4961.76,NULL,'2021-08-15 22:53:32','2021-08-15 22:53:32',NULL),(63,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40924,00006919,00006919,NULL,'2016-12-28','2016-12-28',0006,1,NULL,22016.62,NULL,'2021-08-15 22:55:03','2021-08-15 22:55:03',NULL),(64,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40897,00012975,00012975,NULL,'2016-11-24','2016-11-24',0004,1,NULL,6113.96,NULL,'2021-08-15 22:56:54','2021-08-15 22:56:54',NULL),(65,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40919,00001257,00001257,NULL,'2016-11-11','2016-11-11',0002,1,NULL,16810.38,NULL,'2021-08-15 22:58:39','2021-08-15 22:58:39',NULL),(66,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40925,00035374,00035374,NULL,'2016-11-22','2016-11-22',0020,1,NULL,11791.39,NULL,'2021-08-15 23:12:38','2021-08-15 23:12:38',NULL),(67,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40910,00007706,00007706,NULL,'2016-11-15','2016-11-15',0003,1,NULL,13632.49,NULL,'2021-08-15 23:16:35','2021-08-19 14:31:50',NULL),(68,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40910,00007707,00007707,NULL,'2016-11-15','2016-11-15',0003,1,NULL,10568.54,NULL,'2021-08-15 23:17:06','2021-08-19 14:08:24',NULL),(69,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40910,00010747,00010747,NULL,'2016-11-02','2016-11-02',0004,1,NULL,40536.57,NULL,'2021-08-15 23:18:33','2021-08-15 23:18:33',NULL),(70,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40896,00064024,00064024,NULL,'2016-11-22','2016-11-22',0101,1,NULL,66180.38,NULL,'2021-08-15 23:19:51','2021-08-15 23:19:51',NULL),(71,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40896,00067711,00067711,NULL,'2017-01-21','2017-01-21',0101,1,NULL,49033.96,NULL,'2021-08-15 23:20:30','2021-08-15 23:20:30',NULL),(72,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40902,00004965,00004965,NULL,'2017-01-12','2017-01-12',0005,1,NULL,73156.21,NULL,'2021-08-15 23:21:15','2021-08-15 23:22:22',NULL),(73,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40899,00028953,00028953,NULL,'2016-09-15','2016-09-15',0004,1,NULL,3016.46,NULL,'2021-08-15 23:23:35','2021-08-15 23:23:35',NULL),(74,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40905,00002331,00002331,NULL,'2017-01-10','2017-01-10',0002,1,NULL,4937.27,NULL,'2021-08-15 23:24:36','2021-08-15 23:24:36',NULL),(75,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40912,00010765,00010765,NULL,'2016-09-15','2016-09-15',0003,1,NULL,2570.25,NULL,'2021-08-15 23:25:26','2021-08-15 23:25:26',NULL),(76,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40895,00000396,00000396,NULL,'2016-09-12','2016-09-12',0002,1,NULL,4582.88,NULL,'2021-08-15 23:26:05','2021-08-15 23:27:03',NULL),(77,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40910,00009359,00009359,NULL,'2017-01-09','2017-01-09',0003,1,NULL,3152.51,NULL,'2021-08-15 23:28:33','2021-08-15 23:28:33',NULL),(78,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40902,00000436,00000436,NULL,'2017-01-12','2017-01-12',0005,1,NULL,1366.30,NULL,'2021-08-15 23:29:14','2021-08-15 23:29:14',NULL),(79,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40924,00007105,00007105,NULL,'2017-01-12','2017-01-12',0006,1,NULL,1127.53,NULL,'2021-08-15 23:30:06','2021-08-15 23:30:06',NULL);
INSERT INTO `receipts` VALUES (80,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40924,00006999,00006999,NULL,'2017-01-04','2017-01-04',0006,1,NULL,1264.88,NULL,'2021-08-15 23:30:34','2021-08-15 23:30:34',NULL),(81,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40924,00001517,00001517,NULL,'2017-01-13','2017-01-13',0007,1,NULL,697.83,NULL,'2021-08-15 23:31:15','2021-08-15 23:31:15',NULL),(82,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40926,00005810,00005810,NULL,'2017-01-18','2017-01-18',0004,1,NULL,830.00,NULL,'2021-08-15 23:32:32','2021-08-15 23:32:32',NULL),(83,1215,2,1,NULL,NULL,56112,23,217,NULL,337,1,NULL,NULL,40759,40901,00024270,00024270,NULL,'2017-01-08','2017-01-08',0006,1,NULL,920.01,NULL,'2021-08-15 23:33:37','2021-08-19 15:22:39',NULL),(84,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40926,00005801,00005801,NULL,'2017-01-17','2017-01-17',0004,1,NULL,839.99,NULL,'2021-08-15 23:37:49','2021-08-15 23:37:49',NULL),(85,1215,2,1,NULL,NULL,56124,23,217,NULL,337,3,NULL,NULL,40759,40898,00003091,00003091,NULL,'2017-01-19','2017-01-19',0004,1,NULL,1041.25,NULL,'2021-08-15 23:38:36','2021-08-19 14:32:43',NULL),(86,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40899,00030453,00030453,NULL,'2017-01-30','2017-01-30',0004,1,NULL,7783.31,NULL,'2021-08-15 23:39:46','2021-08-15 23:39:46',NULL),(87,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40895,00001179,00001179,NULL,'2017-01-17','2017-01-17',0002,1,NULL,1884.57,NULL,'2021-08-15 23:40:19','2021-08-15 23:40:45',NULL),(88,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40927,00005752,00005752,NULL,'2017-01-30','2017-01-30',0005,1,NULL,727.00,NULL,'2021-08-15 23:42:25','2021-08-15 23:42:25',NULL),(89,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40895,00001286,00001286,NULL,'2017-01-31','2017-01-31',0002,1,NULL,11023.10,NULL,'2021-08-15 23:43:08','2021-08-15 23:43:08',NULL),(90,1215,2,1,NULL,NULL,56109,23,217,NULL,337,1,NULL,NULL,40759,40895,00001243,00001243,NULL,'2017-01-26','2017-01-26',0002,1,NULL,980.83,NULL,'2021-08-15 23:43:29','2021-08-15 23:43:29',NULL),(91,1215,2,1,NULL,NULL,56112,23,217,NULL,337,1,NULL,NULL,40759,40909,00006193,00006193,NULL,'2016-06-30','2016-06-30',0004,1,NULL,330.00,NULL,'2021-08-15 23:45:32','2021-08-19 15:23:29',NULL),(92,1215,2,1,NULL,NULL,56101,23,217,NULL,337,1,NULL,NULL,40759,40928,00014538,00014538,NULL,'2016-12-05','2016-12-05',0005,1,NULL,2310.00,NULL,'2021-08-15 23:47:12','2021-08-15 23:47:12',NULL),(93,1215,2,1,NULL,NULL,56101,23,217,NULL,337,1,NULL,NULL,40759,40895,00001011,00001011,NULL,'2016-12-20','2016-12-20',0002,1,NULL,1336.44,NULL,'2021-08-15 23:47:53','2021-08-15 23:47:53',NULL),(94,1215,2,1,NULL,NULL,56101,23,217,NULL,337,1,NULL,NULL,40759,40895,00000973,00000973,NULL,'2016-12-13','2016-12-13',0002,1,NULL,4110.98,NULL,'2021-08-15 23:48:13','2021-08-15 23:48:13',NULL),(95,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40905,00002258,00002258,NULL,'2016-12-06','2016-12-06',0002,1,NULL,1411.25,NULL,'2021-08-15 23:49:15','2021-08-19 14:24:29',NULL),(96,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40917,00003336,00003336,NULL,'2016-11-22','2016-11-22',1151,1,NULL,189.99,NULL,'2021-08-15 23:50:13','2021-08-19 14:07:18',NULL),(97,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40899,00029748,00029748,NULL,'2016-11-29','2016-11-29',0004,1,NULL,10298.05,NULL,'2021-08-15 23:52:05','2021-08-19 14:10:22',NULL),(98,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40902,00004428,00004428,NULL,'2016-11-14','2016-11-14',0005,1,NULL,18249.07,NULL,'2021-08-15 23:52:55','2021-08-15 23:52:55',NULL),(99,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40913,00000033,00000033,NULL,'2016-11-25','2016-11-25',0003,1,NULL,8877.65,NULL,'2021-08-15 23:57:12','2021-08-15 23:57:12',NULL);
INSERT INTO `receipts` VALUES (100,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40902,00004429,00004429,NULL,'2016-11-14','2016-11-14',0005,1,NULL,37591.57,NULL,'2021-08-15 23:58:10','2021-08-15 23:58:10',NULL),(101,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40902,00004430,00004430,NULL,'2016-11-14','2016-11-14',0005,1,NULL,17880.18,NULL,'2021-08-15 23:58:41','2021-08-15 23:58:41',NULL),(102,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40895,00000919,00000919,NULL,'2016-11-30','2016-11-30',0002,1,NULL,2192.52,NULL,'2021-08-15 23:59:27','2021-08-15 23:59:27',NULL),(103,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40926,00005496,00005496,NULL,'2016-11-15','2016-11-15',0004,1,NULL,960.00,NULL,'2021-08-16 00:00:17','2021-08-16 00:00:17',NULL),(104,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40921,00000207,00000207,NULL,'2016-11-29','2016-11-29',0002,1,NULL,1040.60,NULL,'2021-08-16 00:00:58','2021-08-16 00:00:58',NULL),(105,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40895,00000868,00000868,NULL,'2016-11-22','2016-11-22',0002,1,NULL,1850.69,NULL,'2021-08-16 00:01:48','2021-08-16 00:01:48',NULL),(106,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40895,00000772,00000772,NULL,'2016-11-08','2016-11-08',0002,1,NULL,2706.77,NULL,'2021-08-16 00:02:11','2021-08-16 00:02:11',NULL),(107,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40929,00003133,00003133,NULL,'2016-11-22','2016-11-22',0002,1,NULL,2090.73,NULL,'2021-08-16 00:04:16','2021-08-16 00:04:16',NULL),(108,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40914,00035056,00035056,NULL,'2016-11-22','2016-11-22',0001,1,NULL,147.37,NULL,'2021-08-16 00:05:38','2021-08-19 14:12:56',NULL),(109,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40895,00000826,00000826,NULL,'2016-11-15','2016-11-15',0002,1,NULL,2706.77,NULL,'2021-08-16 00:10:33','2021-08-16 00:10:33',NULL),(110,1215,2,1,NULL,NULL,56100,23,217,NULL,337,1,NULL,NULL,40759,40905,00002179,00002179,NULL,'2016-11-10','2016-11-10',0002,1,NULL,279.47,NULL,'2021-08-16 00:11:32','2021-08-16 00:11:32',NULL),(111,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40913,00000035,00000035,NULL,'2016-11-25','2016-11-25',0003,1,NULL,147.75,NULL,'2021-08-16 00:12:15','2021-08-19 14:13:49',NULL),(112,1215,1,1,NULL,NULL,56094,23,NULL,NULL,337,1,NULL,NULL,40759,40910,00000046,00000046,NULL,'2016-05-04','2016-05-04',0002,1,NULL,21538.00,NULL,'2021-08-16 00:29:07','2021-08-16 00:29:07',NULL),(113,1215,1,1,NULL,NULL,56095,23,NULL,NULL,337,1,NULL,NULL,40759,40930,00000047,00000047,NULL,'2016-06-15','2016-06-15',0002,1,NULL,212403.10,NULL,'2021-08-16 00:33:31','2021-08-16 00:33:31',NULL),(114,1215,1,3,NULL,NULL,56095,23,NULL,NULL,337,1,NULL,NULL,40759,40910,00000003,00000003,NULL,'2016-06-24','2016-06-24',0002,1,NULL,2153.80,NULL,'2021-08-16 00:34:30','2021-08-16 00:34:30',NULL),(115,1215,1,1,NULL,NULL,56096,23,NULL,NULL,337,1,NULL,NULL,40759,40931,00000048,00000048,NULL,'2016-07-19','2016-07-19',0002,1,NULL,9075.00,NULL,'2021-08-16 00:37:39','2021-08-16 00:37:39',NULL),(116,1215,1,1,NULL,NULL,56096,23,NULL,NULL,337,1,NULL,NULL,40759,40932,00000049,00000049,NULL,'2016-07-27','2016-07-27',0002,1,NULL,392600.00,NULL,'2021-08-16 00:39:42','2021-08-16 00:39:42',NULL),(117,1215,1,1,NULL,NULL,56096,23,NULL,NULL,337,1,NULL,NULL,40759,40933,00000050,00000050,NULL,'2016-07-28','2016-07-28',0002,1,NULL,302800.00,NULL,'2021-08-16 00:41:50','2021-08-16 00:41:50',NULL),(118,1215,1,1,NULL,NULL,56097,23,NULL,NULL,337,1,NULL,NULL,40759,40934,00000051,00000051,NULL,'2016-08-24','2016-08-24',0002,1,NULL,344200.00,NULL,'2021-08-16 00:48:15','2021-08-16 00:48:15',NULL),(119,1215,1,1,NULL,NULL,56097,23,NULL,NULL,337,1,NULL,NULL,40759,40935,00000052,00000052,NULL,'2016-08-31','2016-08-31',0002,1,NULL,389000.00,NULL,'2021-08-16 07:59:32','2021-08-16 07:59:32',NULL);
INSERT INTO `receipts` VALUES (120,1215,1,1,NULL,NULL,56099,23,NULL,NULL,337,1,NULL,NULL,40759,40936,00000053,00000053,NULL,'2016-10-27','2016-10-27',0002,1,NULL,221000.00,NULL,'2021-08-16 08:01:13','2021-08-16 08:01:13',NULL),(121,1215,1,1,NULL,NULL,56100,23,NULL,NULL,337,1,NULL,NULL,40759,40937,00000054,00000054,NULL,'2016-11-18','2016-11-18',0002,1,NULL,12400.00,NULL,'2021-08-16 08:02:59','2021-08-16 08:02:59',NULL),(122,1215,1,1,NULL,NULL,56100,23,NULL,NULL,337,1,NULL,NULL,40759,40937,00000055,00000055,NULL,'2016-11-21','2016-11-21',0002,1,NULL,32670.00,NULL,'2021-08-16 08:03:40','2021-08-16 08:03:40',NULL),(123,1215,1,1,NULL,NULL,56101,23,NULL,NULL,337,1,NULL,NULL,40759,40938,00000056,00000056,NULL,'2016-12-15','2016-12-15',0002,1,NULL,840.01,NULL,'2021-08-16 08:05:01','2021-08-16 08:46:39',NULL),(124,1215,1,1,NULL,NULL,56101,23,NULL,NULL,337,1,NULL,NULL,40759,40938,00000056,00000056,NULL,'2016-11-15','2016-11-15',0002,1,NULL,840.01,NULL,'2021-08-16 08:05:07','2021-08-16 08:46:14','2021-08-16 08:46:14'),(125,1215,1,1,NULL,NULL,56101,23,NULL,NULL,337,1,NULL,NULL,40759,40939,00000057,00000057,NULL,'2016-11-21','2016-11-21',0002,1,NULL,460000.00,NULL,'2021-08-16 08:06:44','2021-08-16 08:06:44',NULL),(126,1215,1,1,NULL,NULL,56101,23,NULL,NULL,337,1,NULL,NULL,40759,40940,00000058,00000058,NULL,'2016-11-23','2016-11-23',0002,1,NULL,880000.01,NULL,'2021-08-16 08:08:18','2021-08-16 08:08:18',NULL),(127,1215,1,1,NULL,NULL,56101,23,NULL,NULL,337,1,NULL,NULL,40759,40941,00000059,00000059,NULL,'2016-11-24','2016-11-24',0002,1,NULL,329290.00,NULL,'2021-08-16 08:16:53','2021-08-16 08:16:53',NULL),(128,1215,1,1,NULL,NULL,56101,23,NULL,NULL,337,1,NULL,NULL,40759,40942,00000060,00000060,NULL,'2016-11-29','2016-11-29',0002,1,NULL,465000.00,NULL,'2021-08-16 08:18:09','2021-08-16 08:18:09',NULL),(129,1215,1,1,NULL,NULL,56110,23,NULL,NULL,337,1,NULL,NULL,40759,40943,00000061,00000061,NULL,'2017-02-14','2017-02-14',0002,1,NULL,45496.00,NULL,'2021-08-16 08:19:46','2021-08-16 08:25:24',NULL),(130,1215,1,1,NULL,NULL,56110,23,NULL,NULL,337,1,NULL,NULL,40759,40944,00000062,00000062,NULL,'2017-02-14','2017-02-14',0002,1,NULL,10100.00,NULL,'2021-08-16 08:21:02','2021-08-16 08:25:43',NULL),(131,1215,1,1,NULL,NULL,56110,23,NULL,NULL,337,1,NULL,NULL,40759,40945,00000063,00000063,NULL,'2017-02-20','2017-02-20',0002,1,NULL,285000.00,NULL,'2021-08-16 08:22:24','2021-08-16 08:22:24',NULL),(132,1215,1,1,NULL,NULL,56111,23,NULL,NULL,337,1,NULL,NULL,40759,40940,00000064,00000064,NULL,'2017-03-02','2017-03-02',0002,1,NULL,216801.00,NULL,'2021-08-16 08:24:04','2021-08-16 08:24:04',NULL),(133,1215,1,1,NULL,NULL,56111,23,NULL,NULL,337,1,NULL,NULL,40759,40946,00000065,00000065,NULL,'2017-03-04','2017-03-04',0002,1,NULL,450000.00,NULL,'2021-08-16 08:24:54','2021-08-16 08:24:54',NULL),(134,1215,1,1,NULL,NULL,56173,23,NULL,NULL,337,1,NULL,NULL,40759,40947,00000029,00000029,NULL,'2021-05-18','2021-05-18',0004,1,NULL,3387000.00,NULL,'2021-08-16 10:27:28','2021-08-16 10:27:28',NULL),(135,1215,1,1,NULL,NULL,56173,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000127,00000127,NULL,'2021-05-19','2021-05-19',0002,1,NULL,1000000.00,NULL,'2021-08-16 10:28:44','2021-08-16 10:28:44',NULL),(136,1215,1,1,NULL,NULL,56173,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000127,00000127,NULL,'2021-05-19','2021-05-19',0002,1,NULL,1000000.00,NULL,'2021-08-16 10:28:50','2021-08-16 23:53:15','2021-08-16 23:53:15'),(138,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40949,00002267,00002267,NULL,'2021-05-07','2021-05-07',0008,1,NULL,43590.77,NULL,'2021-08-16 10:30:51','2021-08-16 10:30:51',NULL),(139,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40950,00000271,00000271,NULL,'2021-05-07','2021-05-07',0001,1,NULL,23152.87,NULL,'2021-08-16 10:32:32','2021-08-16 10:32:56','2021-08-16 10:32:56'),(140,1215,2,7,NULL,NULL,56173,23,217,NULL,337,3,NULL,NULL,40759,40950,00000171,00000171,NULL,'2021-05-07','2021-05-07',0001,1,NULL,23152.87,NULL,'2021-08-16 10:35:28','2021-08-16 10:35:28',NULL);
INSERT INTO `receipts` VALUES (141,1215,2,1,NULL,NULL,56173,23,217,NULL,337,3,NULL,NULL,40759,40908,00029278,00029278,NULL,'2021-05-08','2021-05-08',0016,1,NULL,33412.00,NULL,'2021-08-16 10:36:33','2021-08-16 10:36:33',NULL),(142,1215,2,1,NULL,NULL,56173,23,217,NULL,337,3,NULL,NULL,40759,40951,00002122,00002122,NULL,'2021-05-10','2021-05-10',0005,1,NULL,9292.80,NULL,'2021-08-16 10:44:56','2021-08-16 10:44:56',NULL),(143,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40902,00014276,00014276,NULL,'2021-05-10','2021-05-10',0005,1,NULL,55699.31,NULL,'2021-08-16 10:54:22','2021-08-16 10:54:22',NULL),(144,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40935,00003098,00003098,NULL,'2021-05-14','2021-05-14',0003,1,NULL,310499.31,NULL,'2021-08-16 10:55:23','2021-08-16 10:55:23',NULL),(145,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40911,00006119,00006119,NULL,'2021-05-21','2021-05-21',0002,1,NULL,13527.80,NULL,'2021-08-16 10:56:32','2021-08-16 10:56:32',NULL),(146,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40952,00003765,00003765,NULL,'2021-05-25','2021-05-25',0006,1,NULL,9958.30,NULL,'2021-08-16 10:57:57','2021-08-16 10:57:57',NULL),(147,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40904,00038632,00038632,NULL,'2021-05-26','2021-05-26',0011,1,NULL,300367.54,NULL,'2021-08-16 10:58:45','2021-08-16 10:58:45',NULL),(148,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40953,00000072,00000072,NULL,'2021-05-27','2021-05-27',0004,1,NULL,1543132.50,NULL,'2021-08-16 11:03:22','2021-08-16 11:03:22',NULL),(149,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40899,00012174,00012174,NULL,'2021-05-27','2021-05-27',0006,1,NULL,8760.00,NULL,'2021-08-16 11:05:01','2021-08-16 11:05:01',NULL),(150,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40952,00003895,00003895,NULL,'2021-05-31','2021-05-31',0006,1,NULL,6074.20,NULL,'2021-08-16 11:05:50','2021-08-16 11:05:50',NULL),(151,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40954,00018779,00018779,NULL,'2021-05-31','2021-05-31',0004,1,NULL,359738.88,NULL,'2021-08-16 11:07:33','2021-08-16 11:07:33',NULL),(152,1215,2,1,NULL,NULL,56173,23,217,NULL,337,1,NULL,NULL,40759,40954,00018779,00018779,NULL,'2021-05-31','2021-05-31',0004,1,NULL,359738.88,NULL,'2021-08-16 11:07:35','2021-08-17 00:13:16','2021-08-17 00:13:16'),(153,1215,2,1,NULL,NULL,56094,23,57,NULL,337,1,NULL,NULL,40759,40911,00001076,NULL,NULL,'2016-05-06','2016-05-06',0002,1,NULL,13179.80,NULL,'2021-08-19 10:04:36','2021-08-19 10:04:36',NULL),(154,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40920,00001258,00001258,NULL,'2016-05-06','2016-05-06',0003,1,NULL,3877.26,NULL,'2021-08-19 10:04:36','2021-08-19 13:48:30',NULL),(155,1215,2,2,NULL,NULL,56094,23,14,NULL,337,1,NULL,NULL,40759,40935,00000010,NULL,NULL,'2016-05-09','2016-05-09',0004,1,NULL,98613.90,NULL,'2021-08-19 10:04:36','2021-08-19 10:15:46','2021-08-19 10:15:46'),(156,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40897,00000649,00000649,NULL,'2016-05-11','2016-05-11',0009,1,NULL,2098.47,NULL,'2021-08-19 10:04:36','2021-08-19 13:49:14',NULL),(157,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40911,00001100,00001100,NULL,'2016-05-12','2016-05-12',0002,1,NULL,5806.79,NULL,'2021-08-19 10:04:36','2021-08-19 13:55:02',NULL),(158,1215,2,1,NULL,NULL,56094,23,57,NULL,337,1,NULL,NULL,40759,40916,00020683,NULL,NULL,'2016-05-19','2016-05-19',0003,1,NULL,11023.10,NULL,'2021-08-19 10:04:36','2021-08-19 10:04:36',NULL),(159,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40906,00010319,00010319,NULL,'2016-05-20','2016-05-20',0004,1,NULL,5869.18,NULL,'2021-08-19 10:04:36','2021-08-19 13:56:40',NULL),(160,1215,2,1,NULL,NULL,56094,23,217,NULL,337,1,NULL,NULL,40759,40917,00002562,00002562,NULL,'2016-05-20','2016-05-20',1133,1,NULL,8.24,NULL,'2021-08-19 10:04:37','2021-08-19 11:15:25',NULL);
INSERT INTO `receipts` VALUES (161,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40907,00001371,00001371,NULL,'2016-05-23','2016-05-23',0003,1,NULL,2362.13,NULL,'2021-08-19 10:04:37','2021-08-19 10:14:05',NULL),(162,1215,2,1,NULL,NULL,56094,23,57,NULL,337,1,NULL,NULL,40759,40919,00000330,NULL,NULL,'2016-05-31','2016-05-31',0002,1,NULL,17776.45,NULL,'2021-08-19 10:04:37','2021-08-19 10:04:37',NULL),(163,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40896,00053113,00053113,NULL,'2016-06-03','2016-06-03',0101,1,NULL,31783.45,NULL,'2021-08-19 10:19:14','2021-08-19 10:51:52',NULL),(164,1215,2,1,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40955,00000285,00000285,NULL,'2016-06-03','2016-06-03',0573,1,NULL,130.00,NULL,'2021-08-19 10:19:14','2021-08-19 13:57:44',NULL),(165,1215,2,1,NULL,NULL,56095,23,217,NULL,337,1,NULL,NULL,40759,40911,00001185,00001185,NULL,'2016-06-06','2016-06-06',0002,1,NULL,3730.43,NULL,'2021-08-19 10:19:15','2021-08-19 10:56:26',NULL),(166,1215,2,1,NULL,NULL,56112,23,217,NULL,337,1,NULL,NULL,40759,40917,00002930,00002930,NULL,'2016-06-06','2016-06-06',1133,1,NULL,291.39,NULL,'2021-08-19 10:19:15','2021-08-19 15:23:09',NULL),(167,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40906,00010365,00010365,NULL,'2016-06-08','2016-06-08',0004,1,NULL,9759.57,NULL,'2021-08-19 10:19:15','2021-08-19 13:45:33',NULL),(168,1215,2,1,NULL,NULL,56095,23,123,NULL,337,1,NULL,NULL,40759,40917,00003003,00003003,NULL,'2016-06-08','2016-06-08',1133,1,NULL,40.62,NULL,'2021-08-19 10:19:15','2021-08-19 11:06:42',NULL),(169,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40911,00001201,00001201,NULL,'2016-06-09','2016-06-09',0002,1,NULL,6381.54,NULL,'2021-08-19 10:19:15','2021-08-19 13:48:55',NULL),(170,1215,2,2,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40935,00000012,00000012,NULL,'2016-06-21','2016-06-21',0004,1,NULL,1396.54,NULL,'2021-08-19 10:19:15','2021-08-19 10:44:05',NULL),(171,1215,2,3,NULL,NULL,56095,23,14,NULL,337,1,NULL,NULL,40759,40935,00000008,NULL,NULL,'2016-06-21','2016-06-21',0004,1,NULL,1154.76,NULL,'2021-08-19 10:19:15','2021-08-19 10:43:52','2021-08-19 10:43:52'),(172,1215,2,2,NULL,NULL,56124,23,217,NULL,337,1,NULL,NULL,40759,40935,00000011,00000011,NULL,'2016-06-21','2016-06-21',0004,1,NULL,1154.76,NULL,'2021-08-19 10:19:15','2021-08-19 10:43:15',NULL),(173,1215,2,1,NULL,NULL,56097,23,217,NULL,337,1,NULL,NULL,40759,40902,00003247,00003247,NULL,'2016-06-21','2016-06-21',0005,1,NULL,7550.80,NULL,'2021-08-19 10:19:15','2021-08-19 10:41:56',NULL),(174,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40902,00003248,00003248,NULL,'2016-06-21','2016-06-21',0005,1,NULL,7914.63,NULL,'2021-08-19 10:19:15','2021-08-19 13:47:45',NULL),(175,1215,2,10,NULL,NULL,56095,23,217,NULL,337,1,NULL,NULL,40759,40956,00000577,NULL,NULL,'2016-06-24','2016-06-24',0002,1,NULL,4840.00,NULL,'2021-08-19 10:19:15','2021-08-19 10:33:01','2021-08-19 10:33:01'),(176,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40956,00000703,00000703,NULL,'2016-06-24','2016-06-24',0002,1,NULL,4840.00,NULL,'2021-08-19 10:19:15','2021-08-19 10:40:28',NULL),(177,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40910,00000229,00000229,NULL,'2016-06-27','2016-06-27',0004,1,NULL,7969.80,NULL,'2021-08-19 10:19:15','2021-08-19 13:44:56',NULL),(178,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40910,00002891,00002891,NULL,'2016-06-27','2016-06-27',0003,1,NULL,5712.76,NULL,'2021-08-19 10:19:15','2021-08-19 11:04:12',NULL),(179,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40957,00002704,00002704,NULL,'2016-06-27','2016-06-27',0005,1,NULL,856.63,NULL,'2021-08-19 10:19:15','2021-08-19 10:38:25',NULL),(180,1215,2,1,NULL,NULL,56095,23,57,NULL,337,1,NULL,NULL,40759,40896,00054473,NULL,NULL,'2016-06-29','2016-06-29',0101,1,NULL,40615.04,NULL,'2021-08-19 10:19:15','2021-08-19 10:19:15',NULL);
INSERT INTO `receipts` VALUES (181,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40896,00054472,00054472,NULL,'2016-06-29','2016-06-29',0101,1,NULL,6961.01,NULL,'2021-08-19 10:19:15','2021-08-19 10:37:59',NULL),(182,1215,2,2,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40958,00000432,00000432,NULL,'2016-06-30','2016-06-30',0006,1,NULL,12000.30,NULL,'2021-08-19 10:19:15','2021-08-19 10:34:06',NULL),(183,1215,2,1,NULL,NULL,56099,23,14,NULL,337,1,NULL,NULL,40759,40935,00000561,NULL,NULL,'2016-07-01','2016-07-01',0003,1,NULL,28820.88,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(184,1215,2,1,NULL,NULL,56099,23,14,NULL,337,1,NULL,NULL,40759,40935,00000562,NULL,NULL,'2016-07-01','2016-07-01',0003,1,NULL,59812.54,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(185,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40910,00003204,NULL,NULL,'2016-07-05','2016-07-05',0003,1,NULL,4488.61,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(186,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40910,00003442,NULL,NULL,'2016-07-12','2016-07-12',0003,1,NULL,1035.56,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(187,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40896,00055449,NULL,NULL,'2016-07-15','2016-07-15',0101,1,NULL,10703.08,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(188,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40904,00023559,NULL,NULL,'2016-07-15','2016-07-15',0011,1,NULL,43288.46,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(189,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000029,NULL,NULL,'2016-07-21','2016-07-21',0002,1,NULL,1370.32,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(190,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000028,NULL,NULL,'2016-07-21','2016-07-21',0002,1,NULL,3136.32,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(191,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40959,00001987,NULL,NULL,'2016-07-25','2016-07-25',0002,1,NULL,4588.32,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(192,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40920,00001509,NULL,NULL,'2016-07-25','2016-07-25',0003,1,NULL,2239.16,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(193,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40911,00001341,NULL,NULL,'2016-07-26','2016-07-26',0002,1,NULL,8054.97,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(194,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40917,00001810,NULL,NULL,'2016-07-26','2016-07-26',1162,1,NULL,289.82,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(195,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000093,NULL,NULL,'2016-07-27','2016-07-27',0002,1,NULL,2664.42,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(196,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40960,00018741,NULL,NULL,'2016-07-27','2016-07-27',0101,1,NULL,8349.00,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(197,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40925,00033606,NULL,NULL,'2016-07-28','2016-07-28',0020,1,NULL,11824.49,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(198,1215,2,2,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40896,00009435,NULL,NULL,'2016-07-29','2016-07-29',0101,1,NULL,43288.46,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(199,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000129,NULL,NULL,'2016-07-29','2016-07-29',0002,1,NULL,3212.54,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(200,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40896,00056357,NULL,NULL,'2016-07-30','2016-07-30',0101,1,NULL,21761.17,NULL,'2021-08-19 11:23:57','2021-08-19 11:23:57',NULL),(201,1215,2,2,NULL,NULL,56099,23,14,NULL,337,1,NULL,NULL,40759,40935,00000008,NULL,NULL,'2016-08-01','2016-08-01',0003,1,NULL,5004.06,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL);
INSERT INTO `receipts` VALUES (202,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000164,NULL,NULL,'2016-08-08','2016-08-08',0002,1,NULL,1653.46,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(203,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40916,00021459,NULL,NULL,'2016-08-11','2016-08-11',0003,1,NULL,4452.80,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(204,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40902,00003643,NULL,NULL,'2016-08-11','2016-08-11',0005,1,NULL,3850.21,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(205,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40902,00003644,NULL,NULL,'2016-08-11','2016-08-11',0005,1,NULL,10699.79,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(206,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40902,00003642,NULL,NULL,'2016-08-11','2016-08-11',0005,1,NULL,18589.91,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(207,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40906,00010519,NULL,NULL,'2016-08-12','2016-08-12',0004,1,NULL,2565.20,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(208,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40917,00004780,NULL,NULL,'2016-08-17','2016-08-17',1133,1,NULL,158.66,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(209,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000239,NULL,NULL,'2016-08-18','2016-08-18',0002,1,NULL,4933.17,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(210,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40906,00010542,NULL,NULL,'2016-08-22','2016-08-22',0004,1,NULL,6279.61,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(211,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000273,NULL,NULL,'2016-08-24','2016-08-24',0002,1,NULL,3608.22,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(212,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40911,00001441,NULL,NULL,'2016-08-26','2016-08-26',0002,1,NULL,1923.90,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(213,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40919,00000810,NULL,NULL,'2016-08-29','2016-08-29',0002,1,NULL,44219.16,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(214,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40910,00005240,NULL,NULL,'2016-08-29','2016-08-29',0003,1,NULL,1056.95,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(215,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40896,00058211,NULL,NULL,'2016-08-30','2016-08-30',0101,1,NULL,16205.81,NULL,'2021-08-19 11:24:59','2021-08-19 11:24:59',NULL),(216,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40904,00023861,NULL,NULL,'2016-08-30','2016-08-30',0011,1,NULL,30129.30,NULL,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(217,1215,2,3,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40958,00000319,NULL,NULL,'2016-08-31','2016-08-31',0006,1,NULL,12000.30,NULL,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(218,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40958,00003414,NULL,NULL,'2016-08-31','2016-08-31',0006,1,NULL,12000.30,NULL,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(219,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000340,NULL,NULL,'2016-08-31','2016-08-31',0002,1,NULL,2740.64,NULL,'2021-08-19 11:25:00','2021-08-19 11:25:00',NULL),(226,1215,2,1,NULL,NULL,56099,23,14,NULL,337,1,NULL,NULL,40759,40935,00000693,NULL,NULL,'2016-10-03','2016-10-03',0003,1,NULL,13420.95,NULL,'2021-08-19 11:30:52','2021-08-19 11:30:52',NULL),(227,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40906,00010663,NULL,NULL,'2016-10-06','2016-10-06',0004,1,NULL,181.00,NULL,'2021-08-19 11:30:52','2021-08-19 11:30:52',NULL),(228,1215,2,1,NULL,NULL,56099,23,14,NULL,337,1,NULL,NULL,40759,40935,00000706,NULL,NULL,'2016-10-07','2016-10-07',0003,1,NULL,5135.13,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL);
INSERT INTO `receipts` VALUES (229,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40960,00019511,NULL,NULL,'2016-10-08','2016-10-08',0101,1,NULL,9922.00,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(230,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000577,NULL,NULL,'2016-10-12','2016-10-12',0002,1,NULL,2664.42,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(231,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40910,00006709,NULL,NULL,'2016-10-14','2016-10-14',0003,1,NULL,3483.21,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(232,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40902,00004179,NULL,NULL,'2016-10-14','2016-10-14',0005,1,NULL,80191.57,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(233,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40907,00002076,NULL,NULL,'2016-10-18','2016-10-18',0003,1,NULL,4131.30,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(234,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40907,00002077,NULL,NULL,'2016-10-18','2016-10-18',0003,1,NULL,134.46,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(235,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40925,00034828,NULL,NULL,'2016-10-18','2016-10-18',0020,1,NULL,6354.09,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(236,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000623,NULL,NULL,'2016-10-18','2016-10-18',0002,1,NULL,4933.16,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(237,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40906,00010707,NULL,NULL,'2016-10-20','2016-10-20',0004,1,NULL,12433.02,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(238,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40917,00006728,NULL,NULL,'2016-10-20','2016-10-20',1133,1,NULL,351.48,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(239,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40896,00061737,NULL,NULL,'2016-10-20','2016-10-20',0101,1,NULL,18437.70,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(240,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40904,00024248,NULL,NULL,'2016-10-20','2016-10-20',0011,1,NULL,22755.80,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(241,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40919,00001149,NULL,NULL,'2016-10-24','2016-10-24',0002,1,NULL,4912.60,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(242,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40910,00000950,NULL,NULL,'2016-10-25','2016-10-25',0004,1,NULL,291.83,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(243,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40895,00000680,NULL,NULL,'2016-10-25','2016-10-25',0002,1,NULL,2706.77,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(244,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40906,00010724,NULL,NULL,'2016-10-27','2016-10-27',0004,1,NULL,6787.52,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(245,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40961,00023698,NULL,NULL,'2016-10-27','2016-10-27',0013,1,NULL,34998.86,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(246,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40917,00006951,NULL,NULL,'2016-10-27','2016-10-27',1133,1,NULL,189.15,NULL,'2021-08-19 11:30:53','2021-08-19 11:30:53',NULL),(247,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40911,00001663,NULL,NULL,'2016-10-28','2016-10-28',0002,1,NULL,6403.32,NULL,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL),(248,1215,2,1,NULL,NULL,56099,23,57,NULL,337,1,NULL,NULL,40759,40918,00001516,NULL,NULL,'2016-10-29','2016-10-29',6040,1,NULL,607.48,NULL,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL),(249,1215,2,10,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40962,00000541,NULL,NULL,'2016-10-31','2016-10-31',0002,1,NULL,1084.00,NULL,'2021-08-19 11:30:54','2021-08-19 11:30:54',NULL);
INSERT INTO `receipts` VALUES (250,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40911,00012201,00012201,NULL,'2016-06-09','2016-06-09',0002,1,NULL,6381.54,NULL,'2021-08-19 13:17:08','2021-08-19 13:17:08',NULL),(251,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40963,00000095,00000095,NULL,'2016-06-22','2016-06-22',0003,1,NULL,6207.43,NULL,'2021-08-19 13:18:57','2021-08-19 13:18:57',NULL),(252,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40963,00000094,00000094,NULL,'2016-06-22','2016-06-22',0003,1,NULL,6534.15,NULL,'2021-08-19 13:19:35','2021-08-19 13:19:35',NULL),(253,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40911,00028476,00028476,NULL,'2016-07-29','2016-07-29',0004,1,NULL,13142.85,NULL,'2021-08-19 13:22:06','2021-08-19 13:22:06',NULL),(254,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40910,00000632,00000632,NULL,'2016-09-20','2016-09-20',0004,1,NULL,8684.40,NULL,'2021-08-19 13:23:06','2021-08-19 13:23:06',NULL),(255,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40896,00060048,00060048,NULL,'2016-09-24','2016-09-24',0101,1,NULL,38663.28,NULL,'2021-08-19 13:24:10','2021-08-19 13:24:10',NULL),(256,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40897,00001271,00001271,NULL,'2016-09-29','2016-09-29',0004,1,NULL,5939.29,NULL,'2021-08-19 13:31:03','2021-08-19 13:31:03',NULL),(257,1215,2,1,NULL,NULL,56099,23,217,NULL,337,1,NULL,NULL,40759,40899,00029457,00029457,NULL,'2016-10-29','2016-10-29',0004,1,NULL,244.34,NULL,'2021-08-19 13:36:31','2021-08-19 13:36:31',NULL),(258,1215,2,3,NULL,NULL,56110,23,217,NULL,337,1,NULL,NULL,40759,40895,00000030,00000030,NULL,'2017-02-20','2017-02-20',0002,1,NULL,1586.31,NULL,'2021-08-19 14:41:06','2021-08-19 14:41:06',NULL),(259,1215,1,4,NULL,NULL,56169,23,NULL,NULL,337,1,NULL,NULL,40759,40970,00000003,00000003,NULL,'2021-01-14','2021-01-14',0002,1,NULL,10285.00,NULL,'2021-08-23 23:39:54','2021-08-23 23:39:54',NULL),(260,1215,1,1,NULL,NULL,56171,23,NULL,NULL,337,1,NULL,NULL,40759,40971,00000027,00000027,NULL,'2021-03-22','2021-03-22',0004,1,NULL,4280000.00,NULL,'2021-08-23 23:44:22','2021-08-23 23:44:22',NULL),(261,1215,1,1,NULL,NULL,56171,23,NULL,NULL,337,1,NULL,NULL,40759,40971,00000027,00000027,NULL,'2021-03-22','2021-03-22',0004,1,NULL,4280000.00,NULL,'2021-08-23 23:44:22','2021-08-23 23:44:44','2021-08-23 23:44:44'),(262,1215,1,1,NULL,NULL,56172,23,NULL,NULL,337,1,NULL,NULL,40759,40972,00000028,00000028,NULL,'2021-04-01','2021-04-01',0004,1,NULL,2900000.00,NULL,'2021-08-23 23:47:14','2021-08-23 23:47:14',NULL),(263,1215,1,3,NULL,NULL,56172,23,NULL,NULL,337,1,NULL,NULL,40759,40972,00000003,00000003,NULL,'2021-04-30','2021-04-30',0004,1,NULL,2900000.00,NULL,'2021-08-23 23:48:26','2021-08-23 23:48:26',NULL),(264,1215,1,1,NULL,NULL,56174,23,NULL,NULL,337,1,NULL,NULL,40759,40975,00000128,00000128,NULL,'2021-06-01','2021-06-01',0002,1,NULL,172425.00,NULL,'2021-08-23 23:58:58','2021-08-23 23:58:58',NULL),(265,1215,1,1,NULL,NULL,56174,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000030,00000030,NULL,'2021-06-15','2021-06-15',0004,1,NULL,2000000.00,NULL,'2021-08-24 00:01:37','2021-08-24 00:01:37',NULL),(266,1215,1,3,NULL,NULL,56174,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000022,00000022,NULL,'2021-06-15','2021-06-15',0002,1,NULL,1000000.00,NULL,'2021-08-24 00:02:45','2021-08-24 00:02:45',NULL),(267,1215,1,1,NULL,NULL,56174,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000031,00000031,NULL,'2021-06-17','2021-06-17',0004,1,NULL,1000000.00,NULL,'2021-08-24 00:03:33','2021-08-24 00:03:33',NULL),(268,1215,1,1,NULL,NULL,56174,23,NULL,NULL,337,1,NULL,NULL,40759,40976,00000032,00000032,NULL,'2021-06-30','2021-06-30',0004,1,NULL,1405000.00,NULL,'2021-08-24 00:05:22','2021-08-24 00:05:22',NULL),(269,1215,1,1,NULL,NULL,56175,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000033,00000033,NULL,'2021-07-20','2021-07-20',0004,1,NULL,1000000.00,NULL,'2021-08-24 00:07:35','2021-08-24 00:07:35',NULL);
INSERT INTO `receipts` VALUES (270,1215,1,1,NULL,NULL,56175,23,NULL,NULL,337,1,NULL,NULL,40759,40948,00000033,00000033,NULL,'2021-07-20','2021-07-20',0004,1,NULL,1000000.00,NULL,'2021-08-24 00:07:35','2021-08-24 00:07:42','2021-08-24 00:07:42');

--
-- Table structure for table `recibo_config`
--

CREATE TABLE `recibo_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recibo_config_person_id_foreign` (`person_id`),
  CONSTRAINT `recibo_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibo_config`
--

INSERT INTO `recibo_config` VALUES (1,1215,40759,0,'2021-08-15 09:52:43','2021-08-15 09:52:43',NULL);

--
-- Table structure for table `recibos`
--

CREATE TABLE `recibos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-13',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `ret_ganancias` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iibb` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_internos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_municipales` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_otros_tributos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` 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 `recibos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `recibos_person_id_foreign` (`person_id`),
  KEY `recibos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `recibos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `recibos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `recibos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `recibos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `recibos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibos`
--


--
-- Table structure for table `remito_config`
--

CREATE TABLE `remito_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `remito_config_person_id_foreign` (`person_id`),
  CONSTRAINT `remito_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remito_config`
--

INSERT INTO `remito_config` VALUES (1,1215,40759,0,'2021-08-15 09:52:43','2021-08-15 09:52:43',NULL);

--
-- Table structure for table `remitos`
--

CREATE TABLE `remitos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2020-05-25',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `comentario` 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 `remitos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `remitos_person_id_foreign` (`person_id`),
  KEY `remitos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `remitos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `remitos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `remitos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `remitos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `remitos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remitos`
--


--
-- Table structure for table `reportes`
--

CREATE TABLE `reportes` (
  `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 `reportes_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reportes`
--

INSERT INTO `reportes` VALUES (1,'Comprobantes',1,'informes','','reportes/informes/comprobantes/comprobantes',NULL,NULL),(3,'Liquidaciones IIBB',1,'informes','','reportes/informes/iibb/iibb',NULL,NULL),(4,'Tablero de Control',3,'tablero','','reportes/tableroControl/index',NULL,NULL),(5,'Liquidaciones IVA',1,'informes','','reportes/informes/iva/iva',NULL,NULL),(6,'Obligaciones Anuales',1,'informes','','reportes/informes/obligaciones_anuales/index','2019-11-29 18:37:49','2019-11-29 18:37:49'),(7,'Estado CUITs',1,'informes','','reportes/informes/control_cuits/index','2019-12-09 00:50:43','2019-12-09 00:50:43');

--
-- Table structure for table `retention_types`
--

CREATE TABLE `retention_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apply_to` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'iibb',
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `retention_types_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `retention_types_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retention_types`
--

INSERT INTO `retention_types` VALUES (1,NULL,NULL,'Retenciones de Ganancias','ganancias','GAN',NULL,23),(2,NULL,NULL,'Retenciones de SUSS','sus','SUSS',NULL,162),(3,NULL,NULL,'Retenciones de IVA','iva','Ret IVA',NULL,25),(4,NULL,'2020-10-24 12:26:00','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2020-10-24 12:26:00','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2020-10-24 12:26:00','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2020-10-24 12:26:00','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2020-10-24 12:26:00','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2020-10-24 12:26:00','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2020-10-24 12:26:00','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2020-10-24 12:26:00','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2020-10-24 12:26:00','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2020-10-24 12:26:00','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2020-10-24 12:26:00','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2020-10-24 12:26:00','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2020-10-24 12:26:00','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2020-10-24 12:26:00','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2020-10-24 12:26:00','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2020-10-24 12:26:00','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2020-10-24 12:26:00','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2020-10-24 12:26:00','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2020-10-24 12:26:00','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2020-10-24 12:26:00','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2020-10-24 12:26:00','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2020-10-24 12:26:00','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2020-10-24 12:26:00','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2020-10-24 12:26:00','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2020-10-24 12:26:00','Retencion IIBB de Tucuman','iibb',NULL,21,275);

--
-- Table structure for table `retentions`
--

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

--
-- Dumping data for table `retentions`
--


--
-- Table structure for table `sexo`
--

CREATE TABLE `sexo` (
  `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 `sexo_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sexo`
--

INSERT INTO `sexo` VALUES (1,NULL,'Masculino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Femenino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `sicore_alicuotas`
--

CREATE TABLE `sicore_alicuotas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `desde` int(10) unsigned NOT NULL,
  `hasta` int(10) unsigned NOT NULL,
  `impuesto` int(10) unsigned NOT NULL,
  `mas_porcentaje` decimal(8,2) unsigned NOT NULL,
  `excedente` int(11) 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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_alicuotas`
--

INSERT INTO `sicore_alicuotas` VALUES (1,NULL,2022,0,8000,0,0.00,0,NULL,NULL,NULL),(2,NULL,2022,8000,16000,400,9.00,8000,NULL,NULL,NULL),(3,NULL,2022,16000,24000,1120,12.00,16000,NULL,NULL,NULL),(4,NULL,2022,24000,32000,2080,15.00,24000,NULL,NULL,NULL),(5,NULL,2022,32000,48000,3280,19.00,32000,NULL,NULL,NULL),(6,NULL,2022,48000,64000,6320,23.00,48000,NULL,NULL,NULL),(7,NULL,2022,64000,96000,10000,27.00,64000,NULL,NULL,NULL),(8,NULL,2022,96000,999999,18640,31.00,96000,NULL,NULL,NULL);

--
-- Table structure for table `sicore_comprobantes`
--

CREATE TABLE `sicore_comprobantes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci 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`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_comprobantes`
--

INSERT INTO `sicore_comprobantes` VALUES (1,'1','FACTURAS A',1,NULL,NULL,NULL),(2,'2','NOTAS DE DEBITO A',1,NULL,NULL,NULL),(3,'3','NOTAS DE CREDITO A',1,NULL,NULL,NULL),(4,'4','RECIBOS A',1,NULL,NULL,NULL),(5,'5','NOTAS DE VENTA AL CONTADO A',1,NULL,NULL,NULL),(6,'6','FACTURAS B',1,NULL,NULL,NULL),(7,'7','NOTAS DE DEBITO B',1,NULL,NULL,NULL),(8,'8','NOTAS DE CREDITO B',1,NULL,NULL,NULL),(9,'9','RECIBOS B',1,NULL,NULL,NULL),(10,'10','NOTAS DE VENTA AL CONTADO B',1,NULL,NULL,NULL),(11,'11','FACTURAS C',1,NULL,NULL,NULL),(12,'12','NOTAS DE DEBITO C',1,NULL,NULL,NULL),(13,'13','NOTAS DE CREDITO C',1,NULL,NULL,NULL),(14,'15','RECIBOS C',1,NULL,NULL,NULL),(15,'16','NOTAS DE VENTA AL CONTADO C',1,NULL,NULL,NULL),(16,'17','LIQUIDACION DE SERVICIOS PUBLICOS CLASE A',1,NULL,NULL,NULL),(17,'18','LIQUIDACION DE SERVICIOS PUBLICOS CLASE B',1,NULL,NULL,NULL),(18,'19','FACTURAS DE EXPORTACION',1,NULL,NULL,NULL),(19,'20','NOTAS DE DEBITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(20,'21','NOTAS DE CREDITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(21,'22','FACTURAS - PERMISO EXPORTACION SIMPLIFICADO - DTO. 855/97',1,NULL,NULL,NULL),(22,'23','COMPROBANTES “A” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(23,'24','COMPROBANTES “A” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(24,'25','COMPROBANTES “B” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(25,'26','COMPROBANTES “B” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(26,'27','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(27,'28','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(28,'29','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(29,'30','COMPROBANTES DE COMPRA DE BIENES USADOS',1,NULL,NULL,NULL),(30,'31','MANDATO - CONSIGNACION',1,NULL,NULL,NULL),(31,'32','COMPROBANTES PARA RECICLAR MATERIALES',1,NULL,NULL,NULL),(32,'33','LIQUIDACION PRIMARIA DE GRANOS',1,NULL,NULL,NULL),(33,'34','COMPROBANTES A DEL APARTADO A  INCISO F)  R.G. N°  1415',1,NULL,NULL,NULL),(34,'35','COMPROBANTES B DEL ANEXO I, APARTADO A, INC. F), R.G. N° 1415',1,NULL,NULL,NULL),(35,'36','COMPROBANTES C DEL Anexo I, Apartado A, INC.F), R.G. N° 1415',1,NULL,NULL,NULL),(36,'37','NOTAS DE DEBITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(37,'38','NOTAS DE CREDITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(38,'39','OTROS COMPROBANTES A QUE CUMPLEN CON LA R G  1415',1,NULL,NULL,NULL),(39,'40','OTROS COMPROBANTES B QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(40,'41','OTROS COMPROBANTES C QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(41,'43','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(42,'44','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(43,'45','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(44,'46','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(45,'47','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(46,'48','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(47,'49','COMPROBANTES DE COMPRA DE BIENES NO REGISTRABLES A CONSUMIDORES FINALES',1,NULL,NULL,NULL),(48,'50','RECIBO FACTURA A  REGIMEN DE FACTURA DE CREDITO ',1,NULL,NULL,NULL),(49,'51','FACTURAS M',1,NULL,NULL,NULL),(50,'52','NOTAS DE DEBITO M',1,NULL,NULL,NULL),(51,'53','NOTAS DE CREDITO M',1,NULL,NULL,NULL),(52,'54','RECIBOS M',1,NULL,NULL,NULL),(53,'55','NOTAS DE VENTA AL CONTADO M',1,NULL,NULL,NULL),(54,'56','COMPROBANTES M DEL ANEXO I  APARTADO A  INC F) R.G. N° 1415',1,NULL,NULL,NULL),(55,'57','OTROS COMPROBANTES M QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(56,'58','CUENTAS DE VENTA Y LIQUIDO PRODUCTO M',1,NULL,NULL,NULL),(57,'59','LIQUIDACIONES M',1,NULL,NULL,NULL);
INSERT INTO `sicore_comprobantes` VALUES (58,'60','CUENTAS DE VENTA Y LIQUIDO PRODUCTO A',1,NULL,NULL,NULL),(59,'61','CUENTAS DE VENTA Y LIQUIDO PRODUCTO B',1,NULL,NULL,NULL),(60,'63','LIQUIDACIONES A',1,NULL,NULL,NULL),(61,'64','LIQUIDACIONES B',1,NULL,NULL,NULL),(62,'66','DESPACHO DE IMPORTACION',1,NULL,NULL,NULL),(63,'68','LIQUIDACION C',1,NULL,NULL,NULL),(64,'70','RECIBOS FACTURA DE CREDITO',1,NULL,NULL,NULL),(65,'80','INFORME DIARIO DE CIERRE (ZETA) - CONTROLADORES FISCALES',1,NULL,NULL,NULL),(66,'81','TIQUE FACTURA A   ',1,NULL,NULL,NULL),(67,'82','TIQUE FACTURA B',1,NULL,NULL,NULL),(68,'83','TIQUE',1,NULL,NULL,NULL),(69,'88','REMITO ELECTRONICO',1,NULL,NULL,NULL),(70,'89','RESUMEN DE DATOS',1,NULL,NULL,NULL),(71,'90','OTROS COMPROBANTES - DOCUMENTOS EXCEPTUADOS - NOTAS DE CREDITO',1,NULL,NULL,NULL),(72,'91','REMITOS R',1,NULL,NULL,NULL),(73,'99','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF',1,NULL,NULL,NULL),(74,'110','TIQUE NOTA DE CREDITO ',1,NULL,NULL,NULL),(75,'111','TIQUE FACTURA C',1,NULL,NULL,NULL),(76,'112','TIQUE NOTA DE CREDITO A',1,NULL,NULL,NULL),(77,'113','TIQUE NOTA DE CREDITO B',1,NULL,NULL,NULL),(78,'114','TIQUE NOTA DE CREDITO C',1,NULL,NULL,NULL),(79,'115','TIQUE NOTA DE DEBITO A',1,NULL,NULL,NULL),(80,'116','TIQUE NOTA DE DEBITO B',1,NULL,NULL,NULL),(81,'117','TIQUE NOTA DE DEBITO C',1,NULL,NULL,NULL),(82,'118','TIQUE FACTURA M',1,NULL,NULL,NULL),(83,'119','TIQUE NOTA DE CREDITO M',1,NULL,NULL,NULL),(84,'120','TIQUE NOTA DE DEBITO M',1,NULL,NULL,NULL),(85,'201','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(86,'202','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(87,'203','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(88,'206','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(89,'207','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(90,'208','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(91,'211','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(92,'212','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(93,'213','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(94,'331','LIQUIDACION SECUNDARIA DE GRANOS',1,NULL,NULL,NULL),(95,'332','CERTIFICACION ELECTRONICA (GRANOS)',1,NULL,NULL,NULL),(96,'995','REMITO ELECTRÓNICO CÁRNICO ',1,NULL,NULL,NULL);

--
-- Table structure for table `sicore_details`
--

CREATE TABLE `sicore_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2022-04-20',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL DEFAULT '1',
  `sicore_regimen_id` bigint(20) unsigned NOT NULL,
  `sicore_comprobante_id` bigint(20) unsigned NOT NULL,
  `comprobante_numero` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `neto_grav_acum_mens` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_acum_mes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `monto_no_sujeto_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tasa_aplicable` decimal(16,2) NOT NULL DEFAULT '0.00',
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retencion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` 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 `sicore_details_person_id_foreign` (`person_id`),
  KEY `sicore_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `sicore_details_period_id_foreign` (`period_id`),
  KEY `sicore_details_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  KEY `sicore_details_sicore_comprobante_id_foreign` (`sicore_comprobante_id`),
  CONSTRAINT `sicore_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `sicore_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sicore_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `sicore_details_sicore_comprobante_id_foreign` FOREIGN KEY (`sicore_comprobante_id`) REFERENCES `sicore_comprobantes` (`id`),
  CONSTRAINT `sicore_details_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_details`
--


--
-- Table structure for table `sicore_regimenes`
--

CREATE TABLE `sicore_regimenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cod_regimen` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `anexo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ret_min_ins` int(11) NOT NULL,
  `porcent_ins` decimal(8,2) NOT NULL,
  `porcent_no_ins` decimal(8,2) NOT NULL,
  `monto_no_sujeto_ret` int(11) 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=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_regimenes`
--

INSERT INTO `sicore_regimenes` VALUES (1,NULL,'19','Anexo II,  inc. a) pto. 1)','Intereses  por operaciones realizadas en entidades financieras. Ley N° 21.526 y sus modificaciones o agentes de bolsa o mercado abierto.',0,3.00,10.00,0,1,NULL,NULL,NULL),(2,NULL,'21','Anexo II , inc. a) pto. 2)','Intereses originados en operaciones no comprendidas en el punto 1.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(3,NULL,'30','Anexo II, inc. b) pto. 1)','Alquileres o arrendamientos de bienes muebles.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(4,NULL,'31','Anexo II, inc. b) pto. 2)','Bienes Inmuebles Urbanos, incluidos los efectuados bajo la modalidad de leasing –incluye suburbanos.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(5,NULL,'32','Anexo II, inc. b) pto. 3)','Bienes Inmuebles Rurales, incluidos los efectuados bajo la modalidad de leasing –incluye subrurales-.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(6,NULL,'35','Anexo II, inc. c)','Regalías.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(7,NULL,'43','Anexo II, inc. d)','Interés accionario,  excedentes y retornos distribuidos entre asociados, cooperativas -excepto consumo-.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(8,NULL,'51','Anexo II, inc. e)','Obligaciones de no hacer, o por abandono o no ejercicio de una actividad.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(9,NULL,'78','Anexo II, inc. f)','Enajenación de bienes muebles y bienes de cambio.',0,2.00,10.00,224000,1,NULL,NULL,NULL),(10,NULL,'86','Anexo II, inc. g)','Transferencia  temporaria o definitiva de derechos de llave, marcas, patentes de invención, regalías, concesiones y similares.',0,2.00,10.00,224000,1,NULL,NULL,NULL),(11,NULL,'94','Anexo II, inc. i)','Locaciones de obra y/o servicios no ejecutados en relación de dependencia no mencionados expresamente en otros incisos.',0,2.00,28.00,67170,1,NULL,NULL,NULL),(12,NULL,'95','Anexo ll, inc. l)','Operaciones de transporte de carga  nacional e internacional.',0,0.25,28.00,67170,1,NULL,NULL,NULL),(13,NULL,'53','Anexo ll, inc. m)','Operaciones realizadas  por intermedio  de mercados de  cereales a término que se resuelvan en el  curso del término (arbitrajes) y de mercados de futuros y opciones.',0,0.50,2.00,0,1,NULL,NULL,NULL),(14,NULL,'55','Anexo ll, inc. n)','Distribución de películas. Transmisión de programación. Televisión vía satelital.',0,0.50,2.00,0,1,NULL,NULL,NULL),(15,NULL,'111','Anexo ll, inc. ñ)','Cualquier  otra cesión  o locación de derechos, excepto las que correspondan a operaciones realizadas por intermedio de  mercados  de cereales  a término que se resuelvan en el curso del térm',0,0.50,2.00,0,1,NULL,NULL,NULL),(16,NULL,'112','Anexo ll, inc. o)','Beneficios provenientes del cumplimiento de los requisitos de los planes de seguro de retiro privados administrados por entidades sujetas al control de la Superintendencia de Seguros de la Na',0,3.00,3.00,16830,1,NULL,NULL,NULL),(17,NULL,'113','Anexo ll, inc. p)','Rescates -totales o parciales- por desistimiento de los planes de seguro de retiro a que se refiere el inciso o), excepto que sea de aplicación lo normado en el artículo 101 de la Ley de Impu',0,3.00,3.00,16830,1,NULL,NULL,NULL),(18,NULL,'779','Anexo ll, inc. q)','Subsidios abonados por los Estados Nacional, provinciales, municipales o el Gobierno de la Ciudad Autónoma de Buenos Ares, en concepto de enajenación de bienes muebles y bienes de cambio, en ',0,2.00,10.00,76140,1,NULL,NULL,NULL),(19,NULL,'780','Anexo ll, inc. r)','Subsidios abonados por los Estados Nacional, provinciales, municipales o el Gobierno de la Ciudad Autónoma de Buenos Aires, en concepto de locaciones de obra y/o servicios, no ejecutados en r',0,2.00,28.00,31460,1,NULL,NULL,NULL),(20,NULL,'110','Anexo II, inc. h)','Explotación de derechos de autor (Ley N° 11.723).',0,0.00,28.00,10000,1,NULL,NULL,NULL);
INSERT INTO `sicore_regimenes` VALUES (21,NULL,'25','Anexo II, inc. j)','Comisiones u otras retribuciones derivadas de la actividad de comisionista, rematador, consignatario y demás auxiliares de comercio a que se refiere el inciso c) del artículo 49 de la Ley de ',0,0.00,28.00,16830,1,NULL,NULL,NULL),(22,NULL,'116','Anexo ll, inc. k)','Honorarios de director de sociedades anónimas, síndico, fiduciario, consejero de sociedades cooperativas, integrante de consejos de vigilancia y socios administradores de las sociedades de re',0,0.00,28.00,67170,1,NULL,NULL,NULL),(23,NULL,'116','Anexo ll, inc. k)','Profesionales liberales, oficios, albacea, mandatario, gestor de negocio.',0,0.00,28.00,16830,1,NULL,NULL,NULL),(24,NULL,'124','Anexo ll, inc. k)','Corredor, viajante de comercio y despachante de aduana.',0,0.00,28.00,16830,1,NULL,NULL,NULL);

--
-- Table structure for table `solicitantes_certificado`
--

CREATE TABLE `solicitantes_certificado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mail` varchar(191) COLLATE utf8mb4_unicode_ci NOT 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`),
  KEY `solicitantes_certificado_curso_id_foreign` (`curso_id`),
  CONSTRAINT `solicitantes_certificado_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `solicitantes_certificado`
--


--
-- Table structure for table `status`
--

CREATE TABLE `status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `receipt_type_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `status_receipt_type_id_foreign` (`receipt_type_id`),
  CONSTRAINT `status_receipt_type_id_foreign` FOREIGN KEY (`receipt_type_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status`
--

INSERT INTO `status` VALUES (1,'Activo',NULL,NULL,NULL),(2,'Anulado',NULL,NULL,NULL),(3,'Liquidado',NULL,NULL,NULL);

--
-- Table structure for table `suscrip_modulos`
--

CREATE TABLE `suscrip_modulos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `descripcion` 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 AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_modulos`
--

INSERT INTO `suscrip_modulos` VALUES (1,0,'Administración',1,NULL,NULL,NULL),(2,0,'Sueldos',1,NULL,NULL,NULL),(3,0,'Impuestos',1,NULL,NULL,NULL),(4,0,'Contabilidad',1,NULL,NULL,NULL),(5,0,'Factura Electrónica',1,NULL,NULL,NULL),(6,0,'Tesorería',1,NULL,NULL,NULL),(7,0,'Del Contador',1,NULL,NULL,NULL);

--
-- Table structure for table `suscrip_planes`
--

CREATE TABLE `suscrip_planes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` decimal(16,2) 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=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_planes`
--

INSERT INTO `suscrip_planes` VALUES (1,0,'GRATIS',0.00,1,NULL,NULL,NULL),(2,0,'BASICO',1000.00,1,NULL,NULL,NULL),(3,0,'MEDIO',2500.00,1,NULL,NULL,NULL),(4,0,'FULL',4000.00,1,NULL,NULL,NULL);

--
-- Table structure for table `suscrip_planes_detail`
--

CREATE TABLE `suscrip_planes_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `suscrip_plan_id` int(10) unsigned NOT NULL,
  `suscrip_modulo_id` int(10) unsigned NOT NULL,
  `permitido` tinyint(1) NOT NULL DEFAULT '1',
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `icono` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `numero` 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`),
  KEY `suscrip_planes_detail_suscrip_plan_id_foreign` (`suscrip_plan_id`),
  KEY `suscrip_planes_detail_suscrip_modulo_id_foreign` (`suscrip_modulo_id`),
  CONSTRAINT `suscrip_planes_detail_suscrip_modulo_id_foreign` FOREIGN KEY (`suscrip_modulo_id`) REFERENCES `suscrip_modulos` (`id`),
  CONSTRAINT `suscrip_planes_detail_suscrip_plan_id_foreign` FOREIGN KEY (`suscrip_plan_id`) REFERENCES `suscrip_planes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_planes_detail`
--

INSERT INTO `suscrip_planes_detail` VALUES (1,0,1,1,1,'CUITs para operar','','1',1,NULL,NULL,NULL),(2,0,1,1,0,'Usuarios para tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(3,0,1,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(4,0,1,1,0,'Enviar estado de deudas impositivas','fa fa-times-circle','',1,NULL,NULL,NULL),(5,0,1,1,0,'Enviar vencimientos y honorarios de tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(6,0,2,1,1,'CUITs para operar','','30',1,NULL,NULL,NULL),(7,0,2,1,1,'Usuarios para tus clientes','fa fa-check-circle','5',1,NULL,NULL,NULL),(8,0,2,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(9,0,2,1,0,'Enviar estado de deudas impositivas','fa fa-times-circle','',1,NULL,NULL,NULL),(10,0,2,1,0,'Enviar vencimientos y honorarios de tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(11,0,3,1,1,'CUITs para operar','','100',1,NULL,NULL,NULL),(12,0,3,1,1,'Usuarios para tus clientes','fa fa-check-circle','15',1,NULL,NULL,NULL),(13,0,3,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(14,0,3,1,1,'Enviar estado de deudas impositivas','fa fa-check-circle','',1,NULL,NULL,NULL),(15,0,3,1,1,'Enviar vencimientos y honorarios de tus clientes','fa fa-check-circle','',1,NULL,NULL,NULL),(16,0,4,1,1,'CUITs para operar','','200',1,NULL,NULL,NULL),(17,0,4,1,1,'Usuarios para tus clientes','fa fa-check-circle','30',1,NULL,NULL,NULL),(18,0,4,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(19,0,4,1,1,'Enviar estado de deudas impositivas','fa fa-check-circle','',1,NULL,NULL,NULL),(20,0,4,1,1,'Enviar vencimientos y honorarios de tus clientes','fa fa-check-circle','',1,NULL,NULL,NULL),(21,0,1,2,1,'Total de Legajos','','10',1,NULL,NULL,NULL),(22,0,1,2,0,'Creacion de convenios colectivos de trabajo','fa fa-times-circle','',1,NULL,NULL,NULL),(23,0,1,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(24,0,1,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(25,0,2,2,1,'Total de Legajos','','50',1,NULL,NULL,NULL),(26,0,2,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(27,0,2,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(28,0,2,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(29,0,3,2,1,'Total de Legajos','','200',1,NULL,NULL,NULL),(30,0,3,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(31,0,3,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(32,0,3,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(33,0,4,2,1,'Total de Legajos','','200',1,NULL,NULL,NULL),(34,0,4,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(35,0,4,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(36,0,4,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(37,0,1,3,1,'Cant. Comprobantes','','100',1,NULL,NULL,NULL),(38,0,1,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(39,0,1,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(40,0,1,3,0,'Ventanilla Electronica','fa fa-times-circle','',1,NULL,NULL,NULL),(41,0,2,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(42,0,2,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(43,0,2,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(44,0,2,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(45,0,3,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(46,0,3,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(47,0,3,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(48,0,3,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL);
INSERT INTO `suscrip_planes_detail` VALUES (49,0,4,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(50,0,4,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(51,0,4,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(52,0,4,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(53,0,1,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(54,0,1,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(55,0,1,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(56,0,1,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(57,0,2,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(58,0,2,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(59,0,2,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(60,0,2,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(61,0,3,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(62,0,3,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(63,0,3,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(64,0,3,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(65,0,4,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(66,0,4,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(67,0,4,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(68,0,4,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(69,0,1,5,0,'Facturacion Electronica','fa fa-times-circle','',1,NULL,NULL,NULL),(70,0,1,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(71,0,1,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(72,0,1,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(73,0,2,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(74,0,2,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(75,0,2,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(76,0,2,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(77,0,3,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(78,0,3,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(79,0,3,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(80,0,3,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(81,0,4,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(82,0,4,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(83,0,4,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(84,0,4,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_actividad`
--

CREATE TABLE `syj_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` int(10) 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`),
  UNIQUE KEY `syj_actividad_codigo_afip_unique` (`codigo_afip`),
  UNIQUE KEY `syj_actividad_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_actividad`
--

INSERT INTO `syj_actividad` VALUES (1,NULL,0,'Zona de Desastre. Decreto 1386/01',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(2,NULL,1,'Produccion Primaria excepto actividad agropec',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(3,NULL,2,'Produccion de bienes sin comercializacion',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(4,NULL,3,'Construccion de inmuebles',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(5,NULL,4,'Turismo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(6,NULL,5,'Investigacion Cientifica y Tecnologica',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(7,NULL,6,'Administracion Publica CON OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(8,NULL,7,'Enseñanza Privada L.13047 no comp.en D 137/05',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(9,NULL,8,'Servicio Domestico',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(10,NULL,9,'Servicios energeticos Res.MTESS 268 y 824/09',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(11,NULL,10,'UNIVERSIDADES PRIVADAS.Personal No Doc. D112',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(12,NULL,11,'Personal Permanente Disc.Emp.de Ss.Eventuales',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(13,NULL,12,'PIT-Programas Intensivos de Trabajo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(14,NULL,13,'Personal embarcado',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(15,NULL,14,'Personal embarcado Dec 1255 S/ res SSS 18/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(16,NULL,15,'LRT- Direct. SA,municipios,org cent y desc,Em',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(17,NULL,16,'No oblig con el SIJP(colegios,reciproc prev y',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(18,NULL,17,'Oblig.al SIJP-sin Obra Social Nac(Adm Pub y',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(19,NULL,18,'Prov incorp al SIJP sin obra social con ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(20,NULL,19,'Provincia incorp al SIJP sin obra social sin',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(21,NULL,20,'Ley Nº 24.331 Zona Franca',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(22,NULL,21,'D Nº1024/93 Empr del Est,Org y Entes Pub c/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(23,NULL,22,'D Nº1024/93 Empr del Est,Org y Entes Pub s/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(24,NULL,23,'ILT para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(25,NULL,24,'ILPPP o ILPPD para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(26,NULL,25,'ILPTP para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(27,NULL,26,'ILT para actividad 22',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(28,NULL,27,'Servicio exterior Ley Nº22731',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(29,NULL,28,'ILPTP para actividad 22',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(30,NULL,29,'Pers embarc Dec 1255 S/res SSS 18/99 c/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(31,NULL,30,'AFA Dec Nº1212/03 Aportante Autonomo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(32,NULL,31,'Trabajador Rural de la Armada Argentina Ley 2',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(33,NULL,32,'CSJN Corte Supr de Justicia, Magist Prov, Rev',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(34,NULL,33,'Representante Gremial en uso de licencia',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(35,NULL,34,'Docentes est nacionales CON OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(36,NULL,35,'Docentes est nacionales SIN OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(37,NULL,36,'Inv cientif tecnolog docente univ est nac c/O',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(38,NULL,37,'Inv cientif tecnolog docente univ est nac s/O',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);
INSERT INTO `syj_actividad` VALUES (39,NULL,38,'Docentes privados Res 71/99 SSS Dec 137/05',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(40,NULL,39,'No Docentes Privados Res 71/99 SSS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(41,NULL,40,'Industria del software Ley Nº 25922',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(42,NULL,41,'Trabajador de la Const Ley 25345 art 36',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(43,NULL,42,'Asignaciones Familiares y FNE con OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(44,NULL,43,'Asignaciones Familiares y FNE sin OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(45,NULL,44,'Ley Nº 24061 Dto 249/92',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(46,NULL,45,'Prov incorp al SIJP c/OS Nac con ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(47,NULL,46,'Prov incorp al SIJP con OS Nacional sin ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(48,NULL,47,'Ley Nº 15223 con Obra Social',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(49,NULL,48,'Regimen nacional sin Obra Social nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(50,NULL,49,'Actividades no clasificadas',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(51,NULL,50,'POLICIA DE LA RIOJA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(52,NULL,51,'POLICIA DE JUJUY',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(53,NULL,52,'POLICIA DE TUCUMAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(54,NULL,53,'POLICIA DE CATAMARCA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(55,NULL,54,'POLICIA DE RIO NEGRO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(56,NULL,55,'POLICIA DE MENDOZA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(57,NULL,56,'POLICIA DE SANTIAGO DEL ESTERO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(58,NULL,57,'POLICIA DE SALTA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(59,NULL,58,'POLICIA DE SAN JUAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(60,NULL,59,'POLICIA DE SAN LUIS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(61,NULL,60,'SERVICIO PENITENCIARIO DE SAN LUIS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(62,NULL,61,'POLICIA METROPOLITANA DEL GOB DE LA CABA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(63,NULL,62,'Personal sin estado policial POLICIA METROP',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(64,NULL,63,'SERVICIO PENITENCIARIO DE LA RIOJA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(65,NULL,64,'SERVICIO PENITENCIARIO DE JUJUY',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(66,NULL,65,'SERVICIO PENITENCIARIO DE TUCUMAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(67,NULL,66,'SERVICIO PENITENCIARIO DE CATAMARCA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(68,NULL,67,'SERVICIO PENITENCIARIO DE RIO NEGRO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(69,NULL,68,'SERVICO PENITENCIARIO DE MENDOZA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(70,NULL,69,'Legisladores Nacionales(diputados y senadores',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(71,NULL,70,'SERVICIO PENITENCIARIO DE SANTIAGO DEL ESTERO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(72,NULL,71,'SERVICIO PENITENCIARIO DE SALTA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(73,NULL,72,'SERVICIO PENITENCIARIO DE SAN JUAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(74,NULL,73,'ILT p/actividad 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(75,NULL,74,'ILPPP o ILPPD p/actividad 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(76,NULL,75,'Docente de Prov incorp SIJP s/OS Nac c/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(77,NULL,76,'Docente de Prov incorp SIJP s/OS Nac s/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(78,NULL,77,'Docente de Prov incorp SIJP c/OS Nac c/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);
INSERT INTO `syj_actividad` VALUES (79,NULL,78,'Invest cient tecnolog docente univ Prov inc S',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(80,NULL,79,'Invest cientif tecnolog Prov incorp al SIJP c',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(81,NULL,80,'ILPTP p/activ 01 02 03 04 05 11 13 49 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(82,NULL,81,'Funcionarios del PJ y otros Ley Nº24018',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(83,NULL,82,'Funcionarios del PE y otros Ley Nº 24018',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(84,NULL,83,'Presidente de la Nacion y Vicep de la Nacion',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(85,NULL,84,'Docentes Privados Res 71/99 SSS D 137/05 s/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(86,NULL,85,'Magistrados Prov,Revisores de Cta-docentes',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(87,NULL,86,'Decreto 1474/2007 actividad minera',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(88,NULL,87,'Ley 26508 docentes univ c/OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(89,NULL,88,'Ley 26508 docentes univ s/OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(90,NULL,89,'ILPTP p/actividad 97',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(91,NULL,90,'ILT o ILPPP o ILPTP p/actividad 15',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(92,NULL,91,'Regimen previsional propio. OS L.23660 y 2471',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(93,NULL,92,'Res 71/99 SSS y otros',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(94,NULL,93,'UNIV PRIVADAS Personal Docente D 1123/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(95,NULL,94,'Decreto 953/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(96,NULL,95,'Ley Nº 15223 sin Obra Social',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(97,NULL,96,'Pers Perm Disc Serv Event Alcanz p/Dto96/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(98,NULL,97,'Trabajador Agrario Ley 25191',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(99,NULL,98,'Zona de Desastre Dec Nº1386/01 Act Agropecuar',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(100,NULL,99,'Trabajador Agrario (excluido Ley 26727)',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(101,NULL,100,'CSJN Corte Supr de Justicia, Magistrados provinciales, Revisores de Cta sin ART',1,NULL,NULL,NULL),(102,NULL,101,'Magistrados provinciales, Revisores de Cta -docentes sin ART',1,NULL,NULL,NULL),(103,NULL,102,'Zona de Desastre Decreto N° 1386/01. Actividad Agropecuaria Ley N° 25191',1,NULL,NULL,NULL),(104,NULL,103,'Trabajador Agrario Ley 23808 y otros regímenes',1,NULL,NULL,NULL),(105,NULL,104,'Zona de Desastre Decreto N° 1386/01. Actividad Agropecuaria Ley N° 23808 y otros regímenes',1,NULL,NULL,NULL),(106,NULL,105,'Dto. 637/13. Personal civil de las Fuerzas Armadas y de Seguridad excepto personal civil docente perteneciente a otra OS',1,NULL,NULL,NULL),(107,NULL,106,'Administración Pública CON OBRA SOCIAL 23660 (con PAMI) Tipo de empleador especial',1,NULL,NULL,NULL),(108,NULL,107,'Serv. energéticos Res. MTESS 268 y 824/09 Empr del Estado, Org. y Entes Públicos (Dto. 1024/93) s/OS, c/FNE s/ As. Fs.',1,NULL,NULL,NULL),(109,NULL,108,'Serv. energéticos Res. MTESS 268 y 824/09 Emp. del estado y Org. y Entes públicos ( Dto. 1024/93) con OS y FNE sin As. Fs.',1,NULL,NULL,NULL),(110,NULL,109,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias (sin PAMI y sin OS)',1,NULL,NULL,NULL),(111,NULL,110,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias con OS',1,NULL,NULL,NULL),(112,NULL,111,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias (sin PAMI y sin OS) sin ART',1,NULL,NULL,NULL),(113,NULL,112,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias con OS sin ART',1,NULL,NULL,NULL),(114,NULL,113,'Policía Federal del Gobierno de la Ciudad de Buenos Aires',1,NULL,NULL,NULL);
INSERT INTO `syj_actividad` VALUES (115,NULL,117,'Obligados al SIJP -sin Obra Social Nacional (Adm Pub y otros) y SIN PAMI - Tipo de empleador especial',1,NULL,NULL,NULL),(116,NULL,119,'Detracción especial - Ley Nº 27430 - Textiles',1,NULL,NULL,NULL),(117,NULL,120,'Detracción Ampliada - Dcto. 128/2019',1,NULL,NULL,NULL),(118,NULL,122,'Trabajador Agrario. Ley 26727 - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(119,NULL,123,'Trabajador Agrario Ley 25191 - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(120,NULL,124,'Trabajador Agrario Ley 23808 y otros regímenes - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(121,NULL,125,'Actividades no clasificadas-Detracción Ampliada - Dcto. 688/2019 - Dcto. 34/2021 - Dcto 242/2021',1,NULL,NULL,NULL),(122,NULL,126,'Ley Nº 15223 con obra social-Detracción Ampliada - Dcto. 688/2019  -  Dcto. 34/2021 -  Dcto 242/2021',1,NULL,NULL,NULL),(123,NULL,127,'Actividades no clasificadas - Sector Salud Dcto. 34/2021  -  Dcto 242/2021',1,NULL,NULL,NULL),(124,NULL,128,'Ley Nº 15223 con obra social - Sector Salud Dcto. 34/2021  -  Dcto 242/2021',1,NULL,NULL,NULL),(125,NULL,129,'Actividades no clasificadas-Detracción Ampliada - Dcto. 688/2019',1,NULL,NULL,NULL),(126,NULL,130,'Ley Nº 15223 con obra social-Detracción Ampliada - Dcto. 688/2019.',1,NULL,NULL,NULL),(127,NULL,131,'Regimen previsional propio.  Obra Social L.23660 Y FNE',1,NULL,NULL,NULL),(128,NULL,132,'Economía del conocimiento - Ley 27.506. Art. 8',1,NULL,NULL,NULL),(129,NULL,133,'Economía del conocimiento - Ley 27.506. Art. 9',1,NULL,NULL,NULL),(130,NULL,901,'Poder judicial (sin ART)',1,NULL,NULL,NULL),(131,NULL,902,'Poder judicial (con ART)',1,NULL,NULL,NULL),(132,NULL,903,'Poder Legislativo (sin ART)',1,NULL,NULL,NULL),(133,NULL,904,'Poder Legislativo (con ART)',1,NULL,NULL,NULL),(134,NULL,905,'Empleo público en Gral. (sin ART)',1,NULL,NULL,NULL),(135,NULL,906,'Empleo público en Gral. (con ART)',1,NULL,NULL,NULL),(136,NULL,907,'Docente (sin ART)',1,NULL,NULL,NULL),(137,NULL,908,'Docente (con ART)',1,NULL,NULL,NULL),(138,NULL,909,'Fuerza de seguridad (sin ART)',1,NULL,NULL,NULL),(139,NULL,910,'Fuerza de seguridad (con ART)',1,NULL,NULL,NULL),(140,NULL,911,'No clasificados (sin ART)',1,NULL,NULL,NULL),(141,NULL,912,'No clasificados (con ART)',1,NULL,NULL,NULL),(142,NULL,913,'Prestadores de servicios (monotributo y/o autónomos)',1,NULL,NULL,NULL),(143,NULL,920,'No obligados al SIPA - informativo (sin ART)',1,NULL,NULL,NULL),(144,NULL,921,'No obligados al SIPA - informativo (con ART)',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_alicuota_aporte_contribucion`
--

CREATE TABLE `syj_alicuota_aporte_contribucion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apsijp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `apinssjp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `aposoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `apadosoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `alicvales` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `cosijp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coasigfam` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `cofne` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coinssjp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coosoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `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 `syj_alicuota_aporte_contribucion_codigo_afip_unique` (`codigo_afip`),
  UNIQUE KEY `syj_alicuota_aporte_contribucion_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_alicuota_aporte_contribucion`
--

INSERT INTO `syj_alicuota_aporte_contribucion` VALUES (1,NULL,0,'Administracion Publica',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,2.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(2,NULL,1,'Decreto 814/01, art 2, inc. B',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(3,NULL,2,'Servicios Eventuales art. 2, inc. B',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(4,NULL,3,'Provincias u otros',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,2.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(5,NULL,4,'Decreto 814/01 art 2, inc. A',11.000000,3.000000,3.000000,1.500000,0.000000,12.710000,5.560000,1.110000,1.620000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(6,NULL,5,'Servicios Eventuales art 2, inc. A',11.000000,3.000000,3.000000,1.500000,0.000000,12.710000,5.560000,1.110000,1.620000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(7,NULL,7,'Enseñanza Privada',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,0.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(8,NULL,8,'Decreto Nº 1212/03 AFA CLUBES',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);

--
-- Table structure for table `syj_cargos`
--

CREATE TABLE `syj_cargos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` 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`),
  KEY `syj_cargos_person_id_foreign` (`person_id`),
  CONSTRAINT `syj_cargos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_cargos`
--


--
-- Table structure for table `syj_centros_costos`
--

CREATE TABLE `syj_centros_costos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` 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`),
  KEY `syj_centros_costos_person_id_foreign` (`person_id`),
  CONSTRAINT `syj_centros_costos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_centros_costos`
--


--
-- Table structure for table `syj_clase_tipo_liquidacion`
--

CREATE TABLE `syj_clase_tipo_liquidacion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` 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 AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_clase_tipo_liquidacion`
--

INSERT INTO `syj_clase_tipo_liquidacion` VALUES (1,NULL,'Mensual',1,NULL,NULL,NULL),(2,NULL,'Quincenal',1,NULL,NULL,NULL),(3,NULL,'Vacaciones',1,NULL,NULL,NULL),(4,NULL,'Aguinaldo',1,NULL,NULL,NULL),(5,NULL,'Final',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_concepto_alcance`
--

CREATE TABLE `syj_concepto_alcance` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` 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 AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_alcance`
--

INSERT INTO `syj_concepto_alcance` VALUES (1,NULL,'General',1,'2020-05-28 20:55:25','2020-05-28 20:55:25',NULL),(2,NULL,'Por empleado',1,'2020-05-28 20:55:25','2020-05-28 20:55:25',NULL);

--
-- Table structure for table `syj_concepto_asoc_cant`
--

CREATE TABLE `syj_concepto_asoc_cant` (
  `user_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_asociado_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  KEY `syj_concepto_asoc_cant_syj_concepto_id_foreign` (`syj_concepto_id`),
  KEY `syj_concepto_asoc_cant_syj_concepto_asociado_id_foreign` (`syj_concepto_asociado_id`),
  CONSTRAINT `syj_concepto_asoc_cant_syj_concepto_asociado_id_foreign` FOREIGN KEY (`syj_concepto_asociado_id`) REFERENCES `syj_conceptos` (`id`),
  CONSTRAINT `syj_concepto_asoc_cant_syj_concepto_id_foreign` FOREIGN KEY (`syj_concepto_id`) REFERENCES `syj_conceptos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_cant`
--

INSERT INTO `syj_concepto_asoc_cant` VALUES (1,316,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,325,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,329,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,329,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,329,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,328,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,326,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,327,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1646,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,1652,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1653,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,1654,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1655,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1656,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1656,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1656,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1720,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,1726,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1727,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,1728,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1729,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1730,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1730,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1730,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1874,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,1880,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1881,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,1882,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,1883,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1884,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1884,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1884,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1955,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,1961,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1962,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,1963,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,1964,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1965,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1965,320,'2020-05-06 12:35:45','2020-05-06 12:35:45');
INSERT INTO `syj_concepto_asoc_cant` VALUES (88,1965,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2031,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2037,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2038,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2039,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2040,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2041,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2041,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2041,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2108,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2114,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2115,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2116,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2117,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2118,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2118,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2118,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2189,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2195,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2196,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2197,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2198,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2199,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2199,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2199,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2264,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2270,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2271,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2272,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2273,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2274,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2274,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2274,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2345,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2351,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2352,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2353,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2354,301,'2020-05-06 12:51:31','2020-05-06 12:51:31');
INSERT INTO `syj_concepto_asoc_cant` VALUES (88,2355,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2355,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2355,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2429,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2435,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2436,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2437,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2438,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2439,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2439,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2439,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2508,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2514,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2515,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2516,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2517,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2518,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2518,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2518,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2583,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2589,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2590,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2591,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2592,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2593,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2593,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2593,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2738,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2744,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2745,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2746,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2747,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2748,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2748,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2748,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3374,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,3380,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3381,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05');
INSERT INTO `syj_concepto_asoc_cant` VALUES (1,3382,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,3383,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,3384,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3384,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3384,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1215,3465,3451,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3493,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3494,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3495,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3445,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3452,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3497,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3471,3456,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3472,3508,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3473,3508,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3474,3452,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3475,3467,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3475,3466,'2021-08-19 08:44:38','2021-08-19 08:44:38'),(1215,3475,3469,'2021-08-19 08:44:38','2021-08-19 08:44:38');

--
-- Table structure for table `syj_concepto_asoc_columna`
--

CREATE TABLE `syj_concepto_asoc_columna` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `columna` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
