-- Table structure for table `document_transports`
--

CREATE TABLE `document_transports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `seat_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `passenger_manifest` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `identity_document_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number_identity_document` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `passenger_fullname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `origin_district_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`origin_district_id`)),
  `origin_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `destinatation_district_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`destinatation_district_id`)),
  `destinatation_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `start_time` time DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `document_transports_document_id_foreign` (`document_id`),
  KEY `document_transports_identity_document_type_id_foreign` (`identity_document_type_id`),
  CONSTRAINT `document_transports_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `document_transports_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `document_transports`
--


--
-- Table structure for table `documentary_actions`
--

CREATE TABLE `documentary_actions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_actions`
--


--
-- Table structure for table `documentary_documents`
--

CREATE TABLE `documentary_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_documents`
--


--
-- Table structure for table `documentary_file_offices`
--

CREATE TABLE `documentary_file_offices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `documentary_file_id` int(10) unsigned NOT NULL,
  `documentary_office_id` int(10) unsigned NOT NULL,
  `documentary_action_id` int(10) unsigned NOT NULL DEFAULT 0,
  `status` enum('POR DERIVAR','POR RECIBIR','EN PROCESO','FINALIZADO','ARCHIVADO') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'POR DERIVAR',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `office_name` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Nombre de la etapa',
  `process_name` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Nombre del tramite',
  `documentary_process_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Tramite relacionado',
  `complete` int(11) NOT NULL DEFAULT 0 COMMENT 'Define si la etapa esta completa',
  `start_date` datetime DEFAULT NULL COMMENT 'Fecha de inicio',
  `end_date` datetime DEFAULT NULL COMMENT 'Fecha de finalizacion',
  `days` int(10) unsigned DEFAULT 0 COMMENT 'dias para el tramite',
  `observation` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `documentary_file_offices_documentary_file_id_foreign` (`documentary_file_id`),
  KEY `documentary_file_offices_documentary_office_id_foreign` (`documentary_office_id`),
  KEY `documentary_file_offices_documentary_action_id_foreign` (`documentary_action_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_file_offices`
--


--
-- Table structure for table `documentary_files`
--

CREATE TABLE `documentary_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `documentary_document_id` int(10) unsigned DEFAULT 0,
  `documentary_process_id` int(10) unsigned NOT NULL,
  `number` mediumtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` int(10) unsigned NOT NULL,
  `invoice` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_register` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `time_register` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `sender` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subject` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attached_file` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `observation` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('RECIBIDO','DERIVADO','FINALIZADO','ARCHIVADO') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RECIBIDO',
  `documentary_office_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Define el ultimo proceso',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `requirements` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_archive` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'define si el tramite es simplificado',
  `is_simplify` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'define si el tramite es simplificado',
  `documentary_guides_number_status_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Cuando es simplificado, se usará este status',
  `is_completed` tinyint(1) NOT NULL DEFAULT 0,
  `establishment_id` int(10) unsigned NOT NULL DEFAULT 0,
  `date_end` datetime DEFAULT NULL COMMENT 'Fecha de finalización',
  PRIMARY KEY (`id`),
  KEY `documentary_files_documentary_document_id_foreign` (`documentary_document_id`),
  KEY `documentary_files_documentary_process_id_foreign` (`documentary_process_id`),
  KEY `documentary_files_person_id_foreign` (`person_id`),
  KEY `documentary_files_user_id_foreign` (`user_id`),
  CONSTRAINT `documentary_files_documentary_process_id_foreign` FOREIGN KEY (`documentary_process_id`) REFERENCES `documentary_processes` (`id`) ON DELETE CASCADE,
  CONSTRAINT `documentary_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `documentary_files_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_files`
--


--
-- Table structure for table `documentary_files_archives`
--

CREATE TABLE `documentary_files_archives` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'usuario asociado',
  `documentary_file_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Solicitud asociada',
  `documentary_office_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'etapa asociada',
  `observation` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'observacion',
  `attached_file` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'etapa asociada',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `documentary_guides_number_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_files_archives`
--


--
-- Table structure for table `documentary_files_requirements`
--

CREATE TABLE `documentary_files_requirements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Nombre a mostrar',
  `file` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Define si tiene archivo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_files_requirements`
--


--
-- Table structure for table `documentary_guides_number`
--

CREATE TABLE `documentary_guides_number` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_file_id` int(10) unsigned DEFAULT 0 COMMENT 'Expediente relacionado',
  `doc_office_id` int(10) unsigned DEFAULT 0 COMMENT 'Etapa observada',
  `guide` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Especifica la guia',
  `origin` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Especifica la instucion',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `date_of_due` datetime DEFAULT NULL,
  `observation` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_take` datetime DEFAULT NULL COMMENT 'Fecha estimada de finalización',
  `date_end` datetime DEFAULT NULL COMMENT 'Fecha de finalización',
  `documentary_guides_number_status_id` int(10) unsigned DEFAULT 0 COMMENT 'relacionado con documentary_guides_number_status',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Responsable',
  `total_day` int(10) unsigned DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_guides_number`
--


--
-- Table structure for table `documentary_guides_number_status`
--

CREATE TABLE `documentary_guides_number_status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_guides_number_status`
--

INSERT INTO `documentary_guides_number_status` VALUES (1,'En Calificación',NULL),(2,'Concluidos',NULL),(3,'Observados',NULL),(4,'Archivados',NULL);

--
-- Table structure for table `documentary_observation`
--

CREATE TABLE `documentary_observation` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_file_id` int(10) unsigned DEFAULT 0 COMMENT 'Expediente relacionado',
  `observation` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Conjunto de etapas.',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_observation`
--


--
-- Table structure for table `documentary_offices`
--

CREATE TABLE `documentary_offices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `days` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `default` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_offices`
--

INSERT INTO `documentary_offices` VALUES (1,'Caja','',1,'2022-06-21 22:28:23','2022-06-21 22:28:23',0,0,NULL),(2,'Procesos','',1,'2022-06-21 22:28:23','2022-06-21 22:28:23',0,0,NULL),(3,'Seguimiento','',1,'2022-06-21 22:28:23','2022-06-21 22:28:23',0,0,NULL),(4,'Validacion','',1,'2022-06-21 22:28:23','2022-06-21 22:28:23',0,0,NULL);

--
-- Table structure for table `documentary_processes`
--

CREATE TABLE `documentary_processes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `price` decimal(10,5) NOT NULL DEFAULT 0.00000,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `documentary_offices` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'etapas que contiene',
  `documentary_offices_order` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_processes`
--


--
-- Table structure for table `documentary_processes_rel_file`
--

CREATE TABLE `documentary_processes_rel_file` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_processes_id` int(10) unsigned DEFAULT 0 COMMENT 'Requerimiento relacionado',
  `doc_file_id` int(10) unsigned DEFAULT 0 COMMENT 'Expediente relacionado',
  `doc_office_id` int(10) unsigned DEFAULT 0 COMMENT 'Etapa actual',
  `stages` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Conjunto de etapas.',
  `complete` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Define si se ha completado',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_processes_rel_file`
--


--
-- Table structure for table `documentary_processes_rel_off`
--

CREATE TABLE `documentary_processes_rel_off` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_processes_id` int(10) unsigned DEFAULT 0 COMMENT 'Requerimiento relacionado',
  `doc_offices_id` int(10) unsigned DEFAULT 0 COMMENT 'Proceso relacionado',
  `active` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Status de la relacion',
  `order` int(10) unsigned DEFAULT 1 COMMENT 'Establece el orden del proceso',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_processes_rel_off`
--


--
-- Table structure for table `documentary_processes_rel_req`
--

CREATE TABLE `documentary_processes_rel_req` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doc_processes_id` int(10) unsigned DEFAULT 0 COMMENT 'Requerimiento relacionado',
  `doc_files_requirements_id` int(10) unsigned DEFAULT 0 COMMENT 'Proceso relacionado',
  `active` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Status de la relacion',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documentary_processes_rel_req`
--


--
-- Table structure for table `download_tray`
--

CREATE TABLE `download_tray` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `format` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IN_PROCESS',
  `date_init` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `payload_request` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `download_tray_user_id_foreign` (`user_id`),
  CONSTRAINT `download_tray_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `download_tray`
--


--
-- Table structure for table `drivers`
--

CREATE TABLE `drivers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identity_document_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `license` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `telephone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `drivers_identity_document_type_id_foreign` (`identity_document_type_id`),
  KEY `drivers_number_index` (`number`),
  KEY `drivers_name_index` (`name`),
  CONSTRAINT `drivers_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `drivers`
--


--
-- Table structure for table `email_send_log`
--

CREATE TABLE `email_send_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `relation_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de modelo',
  `type` int(10) unsigned DEFAULT 0 COMMENT 'Tipo de relacion',
  `relation_model` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Modelo a relacion',
  `file_line` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Archivo qu elo llama',
  `sendit` tinyint(3) unsigned DEFAULT 1 COMMENT 'Booleano para envio de correo',
  `email` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Correo de destino',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `email_send_log`
--


--
-- Table structure for table `establishments`
--

CREATE TABLE `establishments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `country_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `department_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `province_id` char(4) COLLATE utf8mb4_unicode_ci NOT NULL,
  `district_id` char(6) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `telephone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `aditional_information` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `web_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trade_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_id` int(10) unsigned DEFAULT NULL,
  `logo` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `template_pdf` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'default',
  `has_igv_31556` tinyint(1) NOT NULL DEFAULT 0,
  `template_ticket_pdf` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'default',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `establishments_country_id_foreign` (`country_id`),
  KEY `establishments_department_id_foreign` (`department_id`),
  KEY `establishments_province_id_foreign` (`province_id`),
  KEY `establishments_district_id_foreign` (`district_id`),
  CONSTRAINT `establishments_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`),
  CONSTRAINT `establishments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
  CONSTRAINT `establishments_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
  CONSTRAINT `establishments_province_id_foreign` FOREIGN KEY (`province_id`) REFERENCES `provinces` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `establishments`
--

INSERT INTO `establishments` VALUES (1,'Oficina Principal','PE','01','0102','010201','Av héroes del cenepa 1175','clever10arevalo@gmail.com','949251171','0000',NULL,NULL,NULL,NULL,NULL,'default',0,'default',NULL,'2022-06-22 07:13:53');

--
-- Table structure for table `exchange_rates`
--

CREATE TABLE `exchange_rates` (
  `date` date NOT NULL,
  `sale_original` decimal(13,3) NOT NULL,
  `purchase_original` decimal(13,3) NOT NULL,
  `purchase` decimal(13,3) NOT NULL,
  `sale` decimal(13,3) NOT NULL,
  `date_original` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `exchange_rates`
--

INSERT INTO `exchange_rates` VALUES ('2022-06-23',3.731,3.724,3.724,3.731,'2022-06-23','2022-06-23 20:13:56','2022-06-23 20:13:56'),('2022-06-26',3.753,3.747,3.747,3.753,'2022-06-24','2022-06-26 17:17:37','2022-06-26 17:17:37'),('2022-06-27',3.782,3.774,3.774,3.782,'2022-06-25','2022-06-27 09:01:42','2022-06-27 09:01:42'),('2022-06-28',3.791,3.783,3.783,3.791,'2022-06-28','2022-06-28 12:48:24','2022-06-28 12:48:24'),('2022-06-30',3.788,3.770,3.770,3.788,'2022-06-29','2022-06-30 18:00:04','2022-06-30 18:00:04'),('2022-07-01',3.788,3.770,3.770,3.788,'2022-06-29','2022-07-01 09:04:38','2022-07-01 09:04:38'),('2022-07-05',3.839,3.827,3.827,3.839,'2022-07-05','2022-07-05 15:12:55','2022-07-05 15:12:55'),('2022-07-06',3.862,3.856,3.856,3.862,'2022-07-06','2022-07-06 09:41:41','2022-07-06 09:41:41'),('2022-07-07',3.888,3.878,3.878,3.888,'2022-07-07','2022-07-07 09:51:29','2022-07-07 09:51:29'),('2022-07-08',3.888,3.881,3.881,3.888,'2022-07-08','2022-07-08 10:41:00','2022-07-08 10:41:00'),('2022-07-09',3.888,3.881,3.881,3.888,'2022-07-08','2022-07-09 12:08:14','2022-07-09 12:08:14'),('2022-07-11',3.905,3.897,3.897,3.905,'2022-07-09','2022-07-11 13:54:06','2022-07-11 13:54:06'),('2022-07-12',3.939,3.928,3.928,3.939,'2022-07-12','2022-07-12 18:46:32','2022-07-12 18:46:32'),('2022-07-16',3.958,3.951,3.951,3.958,'2022-07-15','2022-07-16 17:31:34','2022-07-16 17:31:34'),('2022-07-18',3.906,3.884,3.884,3.906,'2022-07-16','2022-07-18 10:18:07','2022-07-18 10:18:07'),('2022-07-19',3.892,3.884,3.884,3.892,'2022-07-19','2022-07-19 16:31:32','2022-07-19 16:31:32'),('2022-07-20',3.892,3.884,3.884,3.892,'2022-07-19','2022-07-20 13:49:53','2022-07-20 13:49:53'),('2022-07-22',3.892,3.884,3.884,3.892,'2022-07-19','2022-07-22 15:03:45','2022-07-22 15:03:45'),('2022-07-26',3.919,3.910,3.910,3.919,'2022-07-26','2022-07-26 15:47:28','2022-07-26 15:47:28'),('2022-07-27',3.921,3.911,3.911,3.921,'2022-07-27','2022-07-27 15:20:16','2022-07-27 15:20:16'),('2022-07-28',3.925,3.916,3.916,3.925,'2022-07-28','2022-07-28 11:27:13','2022-07-28 11:27:13'),('2022-07-29',3.925,3.916,3.916,3.925,'2022-07-29','2022-07-29 14:24:56','2022-07-29 14:24:56'),('2022-07-30',3.925,3.916,3.916,3.925,'2022-07-30','2022-07-30 16:18:23','2022-07-30 16:18:23'),('2022-08-01',3.925,3.916,3.916,3.925,'2022-08-01','2022-08-01 12:45:15','2022-08-01 12:45:15'),('2022-08-02',3.897,3.885,3.885,3.897,'2022-08-02','2022-08-02 09:37:18','2022-08-02 09:37:18'),('2022-08-03',3.919,3.914,3.914,3.919,'2022-08-03','2022-08-03 12:40:49','2022-08-03 12:40:49'),('2022-08-04',3.920,3.914,3.914,3.920,'2022-08-04','2022-08-04 17:33:48','2022-08-04 17:33:48'),('2022-08-06',3.905,3.896,3.896,3.905,'2022-08-06','2022-08-06 16:55:43','2022-08-06 16:55:43'),('2022-08-08',3.905,3.896,3.896,3.905,'2022-08-08','2022-08-08 16:38:40','2022-08-08 16:38:40'),('2022-08-09',3.916,3.911,3.911,3.916,'2022-08-09','2022-08-09 10:57:06','2022-08-09 10:57:06'),('2022-08-10',3.932,3.927,3.927,3.932,'2022-08-10','2022-08-10 19:38:09','2022-08-10 19:38:09'),('2022-08-12',3.888,3.882,3.882,3.888,'2022-08-12','2022-08-12 20:30:14','2022-08-12 20:30:14'),('2022-08-13',3.865,3.859,3.859,3.865,'2022-08-13','2022-08-13 19:41:59','2022-08-13 19:41:59'),('2022-08-16',3.856,3.849,3.849,3.856,'2022-08-16','2022-08-16 19:46:22','2022-08-16 19:46:22'),('2022-08-17',3.860,3.858,3.858,3.860,'2022-08-17','2022-08-17 18:09:10','2022-08-17 18:09:10'),('2022-08-19',3.847,3.838,3.838,3.847,'2022-08-19','2022-08-19 10:51:23','2022-08-19 10:51:23'),('2022-08-20',3.857,3.850,3.850,3.857,'2022-08-20','2022-08-20 12:04:46','2022-08-20 12:04:46'),('2022-08-23',3.880,3.869,3.869,3.880,'2022-08-23','2022-08-23 19:07:17','2022-08-23 19:07:17'),('2022-08-26',3.861,3.849,3.849,3.861,'2022-08-26','2022-08-26 09:40:39','2022-08-26 09:40:39'),('2022-08-27',3.847,3.836,3.836,3.847,'2022-08-27','2022-08-27 09:21:30','2022-08-27 09:21:30'),('2022-08-29',3.847,3.836,3.836,3.847,'2022-08-29','2022-08-29 11:30:01','2022-08-29 11:30:01'),('2022-08-30',3.838,3.829,3.829,3.838,'2022-08-30','2022-08-30 10:19:17','2022-08-30 10:19:17'),('2022-08-31',3.838,3.829,3.829,3.838,'2022-08-31','2022-08-31 10:13:08','2022-08-31 10:13:08'),('2022-09-01',3.847,3.839,3.839,3.847,'2022-09-01','2022-09-01 16:50:13','2022-09-01 16:50:13'),('2022-09-02',3.865,3.859,3.859,3.865,'2022-09-02','2022-09-02 18:04:59','2022-09-02 18:04:59'),('2022-09-03',3.876,3.866,3.866,3.876,'2022-09-03','2022-09-03 15:33:32','2022-09-03 15:33:32'),('2022-09-05',3.876,3.866,3.866,3.876,'2022-09-05','2022-09-05 14:23:58','2022-09-05 14:23:58'),('2022-09-07',3.897,3.892,3.892,3.897,'2022-09-07','2022-09-07 11:15:39','2022-09-07 11:15:39'),('2022-09-08',3.896,3.891,3.891,3.896,'2022-09-08','2022-09-08 14:47:53','2022-09-08 14:47:53'),('2022-09-12',3.883,3.876,3.876,3.883,'2022-09-12','2022-09-12 19:01:20','2022-09-12 19:01:20'),('2022-09-13',3.859,3.852,3.852,3.859,'2022-09-13','2022-09-13 17:09:26','2022-09-13 17:09:26'),('2022-09-14',3.862,3.858,3.858,3.862,'2022-09-14','2022-09-14 10:33:07','2022-09-14 10:33:07'),('2022-09-15',3.875,3.870,3.870,3.875,'2022-09-15','2022-09-15 09:37:40','2022-09-15 09:37:40'),('2022-09-16',3.892,3.883,3.883,3.892,'2022-09-16','2022-09-16 10:36:04','2022-09-16 10:36:04'),('2022-09-21',3.883,3.877,3.877,3.883,'2022-09-21','2022-09-21 15:00:27','2022-09-21 15:00:27'),('2022-09-23',3.913,3.903,3.903,3.913,'2022-09-23','2022-09-23 11:36:34','2022-09-23 11:36:34'),('2022-09-26',3.911,3.906,3.906,3.911,'2022-09-26','2022-09-26 20:02:19','2022-09-26 20:02:19'),('2022-09-27',3.938,3.928,3.928,3.938,'2022-09-27','2022-09-27 16:47:01','2022-09-27 16:47:01'),('2022-09-29',3.952,3.947,3.947,3.952,'2022-09-29','2022-09-29 18:15:32','2022-09-29 18:15:32'),('2022-09-30',3.971,3.965,3.965,3.971,'2022-09-30','2022-09-30 19:59:02','2022-09-30 19:59:02'),('2022-10-01',3.984,3.978,3.978,3.984,'2022-10-01','2022-10-01 10:53:44','2022-10-01 10:53:44'),('2022-10-03',3.984,3.978,3.978,3.984,'2022-10-03','2022-10-03 19:04:20','2022-10-03 19:04:20'),('2022-10-05',3.955,3.948,3.948,3.955,'2022-10-05','2022-10-05 17:48:27','2022-10-05 17:48:27'),('2022-10-06',3.966,3.960,3.960,3.966,'2022-10-06','2022-10-06 15:28:33','2022-10-06 15:28:33'),('2022-10-11',3.967,3.959,3.959,3.967,'2022-10-11','2022-10-11 17:58:28','2022-10-11 17:58:28'),('2022-10-14',3.984,3.981,3.981,3.984,'2022-10-13','2022-10-14 16:54:54','2022-10-14 16:54:54'),('2022-10-15',3.984,3.981,3.981,3.984,'2022-10-13','2022-10-15 20:44:22','2022-10-15 20:44:22'),('2022-10-28',3.987,3.976,3.976,3.987,'2022-10-28','2022-10-28 17:37:20','2022-10-28 17:37:20'),('2022-10-31',3.978,3.970,3.970,3.978,'2022-10-31','2022-10-31 15:06:29','2022-10-31 15:06:29'),('2022-11-02',3.993,3.984,3.984,3.993,'2022-11-02','2022-11-02 19:44:42','2022-11-02 19:44:42'),('2022-11-04',3.973,3.965,3.965,3.973,'2022-11-04','2022-11-04 18:10:09','2022-11-04 18:10:09'),('2022-11-10',3.918,3.911,3.911,3.918,'2022-11-10','2022-11-10 13:55:20','2022-11-10 13:55:20'),('2022-11-12',3.860,3.854,3.854,3.860,'2022-11-12','2022-11-12 17:31:22','2022-11-12 17:31:22'),('2022-11-14',3.860,3.854,3.854,3.860,'2022-11-14','2022-11-14 09:32:09','2022-11-14 09:32:09'),('2022-11-21',3.841,3.827,3.827,3.841,'2022-11-21','2022-11-21 20:05:58','2022-11-21 20:05:58'),('2022-11-22',3.838,3.831,3.831,3.838,'2022-11-22','2022-11-22 17:23:00','2022-11-22 17:23:00'),('2022-11-23',3.846,3.842,3.842,3.846,'2022-11-23','2022-11-23 11:32:17','2022-11-23 11:32:17'),('2022-11-25',3.850,3.839,3.839,3.850,'2022-11-25','2022-11-25 12:17:15','2022-11-25 12:17:15'),('2022-11-30',3.847,3.840,3.840,3.847,'2022-11-30','2022-11-30 09:51:24','2022-11-30 09:51:24'),('2022-12-01',3.854,3.849,3.849,3.854,'2022-12-01','2022-12-01 14:50:03','2022-12-01 14:50:03'),('2022-12-05',3.835,3.826,3.826,3.835,'2022-12-05','2022-12-05 11:22:44','2022-12-05 11:22:44'),('2022-12-07',3.851,3.843,3.843,3.851,'2022-12-07','2022-12-07 12:53:19','2022-12-07 12:53:19'),('2022-12-10',3.851,3.830,3.830,3.851,'2022-12-10','2022-12-10 11:48:01','2022-12-10 11:48:01'),('2022-12-14',3.835,3.826,3.826,3.835,'2022-12-14','2022-12-14 17:13:26','2022-12-14 17:13:26'),('2022-12-15',3.841,3.831,3.831,3.841,'2022-12-15','2022-12-15 15:12:51','2022-12-15 15:12:51'),('2022-12-16',3.849,3.841,3.841,3.849,'2022-12-16','2022-12-16 12:50:33','2022-12-16 12:50:33'),('2022-12-17',3.853,3.842,3.842,3.853,'2022-12-17','2022-12-17 09:30:18','2022-12-17 09:30:18'),('2022-12-20',3.842,3.828,3.828,3.842,'2022-12-20','2022-12-20 20:23:26','2022-12-20 20:23:26'),('2022-12-21',3.839,3.826,3.826,3.839,'2022-12-21','2022-12-21 10:45:07','2022-12-21 10:45:07'),('2022-12-23',3.819,3.807,3.807,3.819,'2022-12-23','2022-12-23 09:40:12','2022-12-23 09:40:12'),('2022-12-24',3.827,3.809,3.809,3.827,'2022-12-24','2022-12-24 16:50:28','2022-12-24 16:50:28'),('2022-12-26',3.827,3.809,3.809,3.827,'2022-12-24','2022-12-26 16:32:25','2022-12-26 16:32:25'),('2022-12-30',3.818,3.809,3.809,3.818,'2022-12-30','2022-12-30 18:04:59','2022-12-30 18:04:59'),('2022-12-31',3.820,3.808,3.808,3.820,'2022-12-31','2022-12-31 17:22:14','2022-12-31 17:22:14'),('2023-01-02',3.820,3.808,3.808,3.820,'2022-12-31','2023-01-02 13:04:09','2023-01-02 13:04:09'),('2023-01-05',3.827,3.822,3.822,3.827,'2023-01-05','2023-01-05 11:27:49','2023-01-05 11:27:49'),('2023-01-09',3.806,3.800,3.800,3.806,'2023-01-07','2023-01-09 10:27:19','2023-01-09 10:27:19'),('2023-01-10',3.803,3.792,3.792,3.803,'2023-01-10','2023-01-10 10:38:13','2023-01-10 10:38:13'),('2023-01-11',3.806,3.802,3.802,3.806,'2023-01-11','2023-01-11 10:22:25','2023-01-11 10:22:25'),('2023-01-13',3.784,3.779,3.779,3.784,'2023-01-13','2023-01-13 15:09:39','2023-01-13 15:09:39'),('2023-01-14',3.806,3.802,3.802,3.806,'2023-01-14','2023-01-14 11:54:03','2023-01-14 11:54:03'),('2023-01-17',3.822,3.815,3.815,3.822,'2023-01-17','2023-01-17 10:12:25','2023-01-17 10:12:25'),('2023-01-18',3.842,3.837,3.837,3.842,'2023-01-18','2023-01-18 17:06:31','2023-01-18 17:06:31'),('2023-01-20',3.861,3.857,3.857,3.861,'2023-01-20','2023-01-20 15:10:13','2023-01-20 15:10:13'),('2023-01-23',3.859,3.852,3.852,3.859,'2023-01-21','2023-01-23 14:15:22','2023-01-23 14:15:22'),('2023-01-27',3.867,3.861,3.861,3.867,'2023-01-27','2023-01-27 17:56:31','2023-01-27 17:56:31'),('2023-01-30',3.829,3.824,3.824,3.829,'2023-01-28','2023-01-30 15:30:44','2023-01-30 15:30:44'),('2023-02-02',3.848,3.843,3.843,3.848,'2023-02-02','2023-02-02 18:18:18','2023-02-02 18:18:18'),('2023-02-06',3.847,3.843,3.843,3.847,'2023-02-04','2023-02-06 16:03:08','2023-02-06 16:03:08'),('2023-02-11',3.858,3.853,3.853,3.858,'2023-02-11','2023-02-11 18:02:21','2023-02-11 18:02:21'),('2023-02-13',3.858,3.853,3.853,3.858,'2023-02-11','2023-02-13 16:05:45','2023-02-13 16:05:45'),('2023-02-15',3.861,3.858,3.858,3.861,'2023-02-15','2023-02-15 17:26:36','2023-02-15 17:26:36'),('2023-02-16',3.865,3.858,3.858,3.865,'2023-02-16','2023-02-16 10:39:53','2023-02-16 10:39:53'),('2023-02-18',3.849,3.839,3.839,3.849,'2023-02-18','2023-02-18 12:21:13','2023-02-18 12:21:13'),('2023-02-20',3.849,3.839,3.839,3.849,'2023-02-18','2023-02-20 14:07:16','2023-02-20 14:07:16'),('2023-02-21',3.850,3.840,3.840,3.850,'2023-02-21','2023-02-21 13:28:43','2023-02-21 13:28:43'),('2023-02-23',3.827,3.821,3.821,3.827,'2023-02-23','2023-02-23 13:50:10','2023-02-23 13:50:10'),('2023-02-24',3.805,3.800,3.800,3.805,'2023-02-24','2023-02-24 11:03:34','2023-02-24 11:03:34'),('2023-02-25',3.820,3.810,3.810,3.820,'2023-02-25','2023-02-25 18:23:58','2023-02-25 18:23:58'),('2023-02-27',3.820,3.810,3.810,3.820,'2023-02-25','2023-02-27 11:56:03','2023-02-27 11:56:03'),('2023-02-28',3.816,3.811,3.811,3.816,'2023-02-28','2023-02-28 15:16:55','2023-02-28 15:16:55'),('2023-03-01',3.810,3.803,3.803,3.810,'2023-03-01','2023-03-01 10:57:25','2023-03-01 10:57:25');

--
-- Table structure for table `expense_items`
--

CREATE TABLE `expense_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `expense_id` int(10) unsigned NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `expense_items_expense_id_foreign` (`expense_id`),
  CONSTRAINT `expense_items_expense_id_foreign` FOREIGN KEY (`expense_id`) REFERENCES `expenses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_items`
--


--
-- Table structure for table `expense_method_types`
--

CREATE TABLE `expense_method_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_method_types`
--

INSERT INTO `expense_method_types` VALUES (1,'CAJA GENERAL',0),(2,'Tarjeta de crédito',1),(3,'Tarjeta de débito',1);

--
-- Table structure for table `expense_payments`
--

CREATE TABLE `expense_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `expense_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `expense_method_type_id` int(10) unsigned NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `expense_payments_expense_id_foreign` (`expense_id`),
  KEY `expense_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `expense_payments_expense_method_type_id_foreign` (`expense_method_type_id`),
  KEY `expense_payments_date_of_payment_index` (`date_of_payment`),
  CONSTRAINT `expense_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `expense_payments_expense_id_foreign` FOREIGN KEY (`expense_id`) REFERENCES `expenses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `expense_payments_expense_method_type_id_foreign` FOREIGN KEY (`expense_method_type_id`) REFERENCES `expense_method_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_payments`
--


--
-- Table structure for table `expense_reasons`
--

CREATE TABLE `expense_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_reasons`
--

INSERT INTO `expense_reasons` VALUES (1,'Varios'),(2,'Representación de la organización'),(3,'Trabajo de campo');

--
-- Table structure for table `expense_types`
--

CREATE TABLE `expense_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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;

--
-- Dumping data for table `expense_types`
--

INSERT INTO `expense_types` VALUES (1,'PLANILLA','2022-06-21 22:28:15','2022-06-21 22:28:15'),(2,'RECIBO POR HONORARIO','2022-06-21 22:28:15','2022-06-21 22:28:15'),(3,'SERVICIO PÚBLICO','2022-06-21 22:28:15','2022-06-21 22:28:15'),(4,'OTROS','2022-06-21 22:28:15','2022-06-21 22:28:15');

--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expense_type_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `supplier_id` int(10) unsigned NOT NULL,
  `expense_reason_id` int(10) unsigned NOT NULL DEFAULT 1,
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `supplier` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`supplier`)),
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `filename` 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 `expenses_filename_unique` (`filename`),
  KEY `expenses_user_id_foreign` (`user_id`),
  KEY `expenses_establishment_id_foreign` (`establishment_id`),
  KEY `expenses_supplier_id_foreign` (`supplier_id`),
  KEY `expenses_expense_type_id_foreign` (`expense_type_id`),
  KEY `expenses_currency_type_id_foreign` (`currency_type_id`),
  KEY `expenses_expense_reason_id_foreign` (`expense_reason_id`),
  KEY `expenses_soap_type_id_foreign` (`soap_type_id`),
  KEY `expenses_state_type_id_foreign` (`state_type_id`),
  CONSTRAINT `expenses_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `expenses_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `expenses_expense_reason_id_foreign` FOREIGN KEY (`expense_reason_id`) REFERENCES `expense_reasons` (`id`),
  CONSTRAINT `expenses_expense_type_id_foreign` FOREIGN KEY (`expense_type_id`) REFERENCES `expense_types` (`id`),
  CONSTRAINT `expenses_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `expenses_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `expenses_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `expenses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expenses`
--


--
-- Table structure for table `fixed_asset_items`
--

CREATE TABLE `fixed_asset_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `item_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `internal_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `purchase_unit_price` decimal(16,6) NOT NULL,
  `purchase_affectation_igv_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fixed_asset_items_item_type_id_foreign` (`item_type_id`),
  KEY `fixed_asset_items_unit_type_id_foreign` (`unit_type_id`),
  KEY `fixed_asset_items_currency_type_id_foreign` (`currency_type_id`),
  KEY `fixed_asset_items_purchase_affectation_igv_type_id_foreign` (`purchase_affectation_igv_type_id`),
  CONSTRAINT `fixed_asset_items_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `fixed_asset_items_item_type_id_foreign` FOREIGN KEY (`item_type_id`) REFERENCES `item_types` (`id`),
  CONSTRAINT `fixed_asset_items_purchase_affectation_igv_type_id_foreign` FOREIGN KEY (`purchase_affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `fixed_asset_items_unit_type_id_foreign` FOREIGN KEY (`unit_type_id`) REFERENCES `cat_unit_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fixed_asset_items`
--


--
-- Table structure for table `fixed_asset_purchase_items`
--

CREATE TABLE `fixed_asset_purchase_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fixed_asset_purchase_id` int(10) unsigned NOT NULL,
  `fixed_asset_item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `system_isc_type_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  PRIMARY KEY (`id`),
  KEY `fixed_asset_purchase_items_fixed_asset_purchase_id_foreign` (`fixed_asset_purchase_id`),
  KEY `fixed_asset_purchase_items_fixed_asset_item_id_foreign` (`fixed_asset_item_id`),
  KEY `fixed_asset_purchase_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `fixed_asset_purchase_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `fixed_asset_purchase_items_price_type_id_foreign` (`price_type_id`),
  CONSTRAINT `fixed_asset_purchase_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `fixed_asset_purchase_items_fixed_asset_item_id_foreign` FOREIGN KEY (`fixed_asset_item_id`) REFERENCES `fixed_asset_items` (`id`),
  CONSTRAINT `fixed_asset_purchase_items_fixed_asset_purchase_id_foreign` FOREIGN KEY (`fixed_asset_purchase_id`) REFERENCES `fixed_asset_purchases` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fixed_asset_purchase_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `fixed_asset_purchase_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fixed_asset_purchase_items`
--


--
-- Table structure for table `fixed_asset_purchases`
--

CREATE TABLE `fixed_asset_purchases` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `group_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `series` char(4) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` int(11) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_due` date DEFAULT NULL,
  `time_of_issue` time NOT NULL,
  `supplier_id` int(10) unsigned NOT NULL,
  `supplier` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`supplier`)),
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `customer_id` int(10) unsigned DEFAULT NULL,
  `perception_date` date DEFAULT NULL,
  `perception_number` int(11) DEFAULT NULL,
  `total_perception` decimal(12,2) DEFAULT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fixed_asset_purchases_user_id_foreign` (`user_id`),
  KEY `fixed_asset_purchases_establishment_id_foreign` (`establishment_id`),
  KEY `fixed_asset_purchases_supplier_id_foreign` (`supplier_id`),
  KEY `fixed_asset_purchases_customer_id_foreign` (`customer_id`),
  KEY `fixed_asset_purchases_soap_type_id_foreign` (`soap_type_id`),
  KEY `fixed_asset_purchases_state_type_id_foreign` (`state_type_id`),
  KEY `fixed_asset_purchases_group_id_foreign` (`group_id`),
  KEY `fixed_asset_purchases_document_type_id_foreign` (`document_type_id`),
  KEY `fixed_asset_purchases_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `fixed_asset_purchases_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fixed_asset_purchases_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `fixed_asset_purchases_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`),
  CONSTRAINT `fixed_asset_purchases_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `fixed_asset_purchases_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fixed_asset_purchases_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fixed_asset_purchases`
--


--
-- Table structure for table `format_templates`
--

CREATE TABLE `format_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `formats` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `urls` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`urls`)),
  `is_custom_ticket` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `format_templates`
--

INSERT INTO `format_templates` VALUES (1,'con_valor_unitario',NULL,0),(2,'default',NULL,0),(3,'default2',NULL,0),(4,'font_sm',NULL,0),(5,'font_sw2',NULL,0),(6,'legend_amazonia',NULL,0),(7,'model1',NULL,0),(8,'model2',NULL,0),(9,'model3',NULL,0),(10,'model4',NULL,0),(11,'modelw80',NULL,0),(12,'santiago',NULL,0),(13,'top_placa',NULL,0),(14,'unit_types_desc',NULL,0);

--
-- Table structure for table `full_suscription_user_data`
--

CREATE TABLE `full_suscription_user_data` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned DEFAULT 0,
  `discord_user` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slack_channel` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `discord_channel` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gitlab_user` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `full_suscription_user_data`
--


--
-- Table structure for table `general_payment_conditions`
--

CREATE TABLE `general_payment_conditions` (
  `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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 `general_payment_conditions`
--

INSERT INTO `general_payment_conditions` VALUES ('01','Contado'),('02','Crédito'),('03','Crédito con cuotas');

--
-- Table structure for table `global_payments`
--

CREATE TABLE `global_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `destination_id` int(11) DEFAULT NULL,
  `destination_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_id` int(11) NOT NULL,
  `payment_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `destination_index` (`destination_id`,`destination_type`),
  KEY `payment_index` (`payment_id`,`payment_type`),
  KEY `global_payments_soap_type_id_foreign` (`soap_type_id`),
  KEY `global_payments_user_id_foreign` (`user_id`),
  CONSTRAINT `global_payments_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `global_payments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=220 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `global_payments`
--

INSERT INTO `global_payments` VALUES (1,'02',1,'App\\Models\\Tenant\\Cash',1,'Modules\\Pos\\Models\\CashTransaction',1,'2022-06-23 20:13:24','2022-06-23 20:13:24'),(2,'02',1,'App\\Models\\Tenant\\Cash',1,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-06-23 20:17:14','2022-06-23 20:17:14'),(3,'02',1,'App\\Models\\Tenant\\Cash',2,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-06-26 17:18:05','2022-06-26 17:18:05'),(4,'02',2,'App\\Models\\Tenant\\Cash',2,'Modules\\Pos\\Models\\CashTransaction',2,'2022-06-26 17:33:31','2022-06-26 17:33:31'),(5,'02',2,'App\\Models\\Tenant\\Cash',3,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 17:39:37','2022-06-26 17:39:37'),(6,'02',2,'App\\Models\\Tenant\\Cash',4,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 17:55:18','2022-06-26 17:55:18'),(7,'02',2,'App\\Models\\Tenant\\Cash',5,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 18:04:20','2022-06-26 18:04:20'),(8,'02',2,'App\\Models\\Tenant\\Cash',6,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 18:40:01','2022-06-26 18:40:01'),(9,'02',2,'App\\Models\\Tenant\\Cash',7,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 18:48:14','2022-06-26 18:48:14'),(10,'02',2,'App\\Models\\Tenant\\Cash',8,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 18:50:26','2022-06-26 18:50:26'),(11,'02',2,'App\\Models\\Tenant\\Cash',9,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-26 19:04:02','2022-06-26 19:04:02'),(12,'02',2,'App\\Models\\Tenant\\Cash',1,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-26 19:10:09','2022-06-26 19:10:09'),(13,'02',2,'App\\Models\\Tenant\\Cash',2,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-26 19:14:00','2022-06-26 19:14:00'),(14,'02',2,'App\\Models\\Tenant\\Cash',10,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-27 14:04:18','2022-06-27 14:04:18'),(15,'02',2,'App\\Models\\Tenant\\Cash',11,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-06-27 14:23:50','2022-06-27 14:23:50'),(16,'02',2,'App\\Models\\Tenant\\Cash',3,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-27 14:28:48','2022-06-27 14:28:48'),(17,'02',2,'App\\Models\\Tenant\\Cash',4,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-28 12:58:53','2022-06-28 12:58:53'),(18,'02',2,'App\\Models\\Tenant\\Cash',5,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-28 18:25:19','2022-06-28 18:25:19'),(19,'02',2,'App\\Models\\Tenant\\Cash',6,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-30 18:07:05','2022-06-30 18:07:05'),(20,'02',2,'App\\Models\\Tenant\\Cash',7,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-30 18:23:16','2022-06-30 18:23:16'),(21,'02',2,'App\\Models\\Tenant\\Cash',8,'App\\Models\\Tenant\\DocumentPayment',2,'2022-06-30 20:09:53','2022-06-30 20:09:53'),(22,'02',2,'App\\Models\\Tenant\\Cash',9,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-01 11:25:29','2022-07-01 11:25:29'),(23,'02',2,'App\\Models\\Tenant\\Cash',10,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-05 15:15:28','2022-07-05 15:15:28'),(24,'02',2,'App\\Models\\Tenant\\Cash',11,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-06 09:43:56','2022-07-06 09:43:56'),(25,'02',2,'App\\Models\\Tenant\\Cash',12,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-08 10:45:24','2022-07-08 10:45:24'),(26,'02',2,'App\\Models\\Tenant\\Cash',13,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-08 19:12:33','2022-07-08 19:12:33'),(27,'02',2,'App\\Models\\Tenant\\Cash',12,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-09 12:10:07','2022-07-09 12:10:07'),(28,'02',2,'App\\Models\\Tenant\\Cash',13,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-11 20:26:44','2022-07-11 20:26:44'),(29,'02',2,'App\\Models\\Tenant\\Cash',14,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-12 18:48:50','2022-07-12 18:48:50'),(30,'02',2,'App\\Models\\Tenant\\Cash',15,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-16 17:33:27','2022-07-16 17:33:27'),(31,'02',2,'App\\Models\\Tenant\\Cash',16,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-16 19:32:51','2022-07-16 19:32:51'),(32,'02',2,'App\\Models\\Tenant\\Cash',14,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-18 10:20:51','2022-07-18 10:20:51'),(33,'02',2,'App\\Models\\Tenant\\Cash',17,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-18 19:08:55','2022-07-18 19:08:55'),(34,'02',2,'App\\Models\\Tenant\\Cash',18,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-18 19:30:24','2022-07-18 19:30:24'),(35,'02',2,'App\\Models\\Tenant\\Cash',15,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-19 16:34:42','2022-07-19 16:34:42'),(36,'02',2,'App\\Models\\Tenant\\Cash',19,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-19 20:09:44','2022-07-19 20:09:44'),(37,'02',2,'App\\Models\\Tenant\\Cash',20,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-20 13:52:39','2022-07-20 13:52:39'),(38,'02',2,'App\\Models\\Tenant\\Cash',16,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-22 18:28:17','2022-07-22 18:28:17'),(39,'02',2,'App\\Models\\Tenant\\Cash',21,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-25 09:18:33','2022-07-25 09:18:33'),(40,'02',2,'App\\Models\\Tenant\\Cash',17,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-25 12:10:50','2022-07-25 12:10:50'),(41,'02',2,'App\\Models\\Tenant\\Cash',22,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-25 17:55:31','2022-07-25 17:55:31'),(42,'02',2,'App\\Models\\Tenant\\Cash',18,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-26 15:49:58','2022-07-26 15:49:58'),(43,'02',2,'App\\Models\\Tenant\\Cash',19,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-26 18:50:34','2022-07-26 18:50:34'),(44,'02',2,'App\\Models\\Tenant\\Cash',23,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-27 15:22:53','2022-07-27 15:22:53'),(45,'02',2,'App\\Models\\Tenant\\Cash',24,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-28 11:28:58','2022-07-28 11:28:58'),(46,'02',2,'App\\Models\\Tenant\\Cash',25,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-28 12:32:14','2022-07-28 12:32:14'),(47,'02',2,'App\\Models\\Tenant\\Cash',26,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-28 12:39:04','2022-07-28 12:39:04'),(48,'02',2,'App\\Models\\Tenant\\Cash',27,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-28 17:48:41','2022-07-28 17:48:41'),(49,'02',2,'App\\Models\\Tenant\\Cash',28,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-29 14:26:30','2022-07-29 14:26:30'),(50,'02',2,'App\\Models\\Tenant\\Cash',29,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-30 16:20:39','2022-07-30 16:20:39'),(51,'02',2,'App\\Models\\Tenant\\Cash',30,'App\\Models\\Tenant\\DocumentPayment',2,'2022-07-30 16:27:57','2022-07-30 16:27:57'),(52,'02',2,'App\\Models\\Tenant\\Cash',20,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-07-30 19:16:03','2022-07-30 19:16:03'),(53,'02',2,'App\\Models\\Tenant\\Cash',31,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-01 12:46:47','2022-08-01 12:46:47'),(54,'02',2,'App\\Models\\Tenant\\Cash',32,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-01 17:34:25','2022-08-01 17:34:25'),(55,'02',2,'App\\Models\\Tenant\\Cash',33,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-02 09:41:52','2022-08-02 09:41:52'),(56,'02',2,'App\\Models\\Tenant\\Cash',34,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-03 12:43:24','2022-08-03 12:43:24'),(57,'02',2,'App\\Models\\Tenant\\Cash',35,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-03 20:37:10','2022-08-03 20:37:10'),(58,'02',2,'App\\Models\\Tenant\\Cash',36,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-04 17:35:46','2022-08-04 17:35:46'),(59,'02',2,'App\\Models\\Tenant\\Cash',37,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-08 16:41:20','2022-08-08 16:41:20'),(60,'02',2,'App\\Models\\Tenant\\Cash',38,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-09 10:58:43','2022-08-09 10:58:43'),(61,'02',2,'App\\Models\\Tenant\\Cash',39,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-10 19:39:30','2022-08-10 19:39:30'),(62,'02',2,'App\\Models\\Tenant\\Cash',40,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-12 20:31:41','2022-08-12 20:31:41'),(63,'02',2,'App\\Models\\Tenant\\Cash',41,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-13 19:43:17','2022-08-13 19:43:17'),(64,'02',2,'App\\Models\\Tenant\\Cash',42,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-17 18:11:05','2022-08-17 18:11:05'),(65,'02',2,'App\\Models\\Tenant\\Cash',43,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-17 18:46:09','2022-08-17 18:46:09'),(66,'02',2,'App\\Models\\Tenant\\Cash',21,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-19 10:54:44','2022-08-19 10:54:44'),(67,'02',2,'App\\Models\\Tenant\\Cash',22,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-19 10:57:41','2022-08-19 10:57:41'),(68,'02',2,'App\\Models\\Tenant\\Cash',44,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-19 17:17:06','2022-08-19 17:17:06'),(69,'02',2,'App\\Models\\Tenant\\Cash',23,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-20 12:06:50','2022-08-20 12:06:50'),(70,'02',2,'App\\Models\\Tenant\\Cash',24,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-20 14:28:03','2022-08-20 14:28:03'),(71,'02',2,'App\\Models\\Tenant\\Cash',45,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-23 19:09:49','2022-08-23 19:09:49'),(72,'02',2,'App\\Models\\Tenant\\Cash',46,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-26 09:41:35','2022-08-26 09:41:35'),(73,'02',2,'App\\Models\\Tenant\\Cash',47,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-27 14:28:05','2022-08-27 14:28:05'),(74,'02',2,'App\\Models\\Tenant\\Cash',25,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-29 11:31:42','2022-08-29 11:31:42'),(75,'02',2,'App\\Models\\Tenant\\Cash',48,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-29 19:07:59','2022-08-29 19:07:59'),(76,'02',2,'App\\Models\\Tenant\\Cash',49,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-30 10:20:40','2022-08-30 10:20:40'),(77,'02',2,'App\\Models\\Tenant\\Cash',26,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-30 11:01:36','2022-08-30 11:01:36'),(78,'02',2,'App\\Models\\Tenant\\Cash',27,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-08-31 10:15:07','2022-08-31 10:15:07'),(79,'02',2,'App\\Models\\Tenant\\Cash',50,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-31 16:42:11','2022-08-31 16:42:11'),(80,'02',2,'App\\Models\\Tenant\\Cash',51,'App\\Models\\Tenant\\DocumentPayment',2,'2022-08-31 17:39:24','2022-08-31 17:39:24'),(81,'02',2,'App\\Models\\Tenant\\Cash',52,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-01 16:52:25','2022-09-01 16:52:25'),(82,'02',2,'App\\Models\\Tenant\\Cash',53,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-01 16:54:02','2022-09-01 16:54:02'),(83,'02',2,'App\\Models\\Tenant\\Cash',54,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-02 18:06:40','2022-09-02 18:06:40'),(84,'02',2,'App\\Models\\Tenant\\Cash',55,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-03 16:49:55','2022-09-03 16:49:55'),(85,'02',2,'App\\Models\\Tenant\\Cash',56,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-03 18:32:26','2022-09-03 18:32:26'),(86,'02',2,'App\\Models\\Tenant\\Cash',57,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-05 14:25:23','2022-09-05 14:25:23'),(87,'02',2,'App\\Models\\Tenant\\Cash',58,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-07 11:18:02','2022-09-07 11:18:02'),(88,'02',2,'App\\Models\\Tenant\\Cash',28,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-08 14:49:10','2022-09-08 14:49:10'),(89,'02',2,'App\\Models\\Tenant\\Cash',59,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-12 19:26:18','2022-09-12 19:26:18'),(90,'02',2,'App\\Models\\Tenant\\Cash',60,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-13 17:11:13','2022-09-13 17:11:13'),(91,'02',2,'App\\Models\\Tenant\\Cash',29,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-14 10:39:58','2022-09-14 10:39:58'),(92,'02',2,'App\\Models\\Tenant\\Cash',61,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-14 14:35:04','2022-09-14 14:35:04'),(93,'02',2,'App\\Models\\Tenant\\Cash',30,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-15 09:43:34','2022-09-15 09:43:34'),(94,'02',2,'App\\Models\\Tenant\\Cash',31,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-15 14:57:03','2022-09-15 14:57:03'),(95,'02',2,'App\\Models\\Tenant\\Cash',62,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-16 10:43:14','2022-09-16 10:43:14'),(96,'02',2,'App\\Models\\Tenant\\Cash',63,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-16 10:44:42','2022-09-16 10:44:42'),(97,'02',2,'App\\Models\\Tenant\\Cash',64,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-16 10:56:36','2022-09-16 10:56:36'),(98,'02',2,'App\\Models\\Tenant\\Cash',32,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-16 19:03:29','2022-09-16 19:03:29'),(99,'02',2,'App\\Models\\Tenant\\Cash',33,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-21 15:03:27','2022-09-21 15:03:27'),(100,'02',2,'App\\Models\\Tenant\\Cash',34,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-21 15:09:07','2022-09-21 15:09:07'),(101,'02',2,'App\\Models\\Tenant\\Cash',65,'App\\Models\\Tenant\\DocumentPayment',2,'2022-09-23 11:44:20','2022-09-23 11:44:20'),(102,'02',2,'App\\Models\\Tenant\\Cash',35,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-26 20:04:16','2022-09-26 20:04:16'),(103,'02',2,'App\\Models\\Tenant\\Cash',36,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-27 16:49:48','2022-09-27 16:49:48'),(104,'02',2,'App\\Models\\Tenant\\Cash',37,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-09-30 20:00:38','2022-09-30 20:00:38'),(105,'02',2,'App\\Models\\Tenant\\Cash',38,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-01 10:55:54','2022-10-01 10:55:54'),(106,'02',2,'App\\Models\\Tenant\\Cash',39,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-01 10:59:19','2022-10-01 10:59:19'),(107,'02',2,'App\\Models\\Tenant\\Cash',40,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-01 17:29:01','2022-10-01 17:29:01'),(108,'02',2,'App\\Models\\Tenant\\Cash',41,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-01 18:04:23','2022-10-01 18:04:23'),(109,'02',2,'App\\Models\\Tenant\\Cash',66,'App\\Models\\Tenant\\DocumentPayment',2,'2022-10-05 17:50:53','2022-10-05 17:50:53'),(110,'02',2,'App\\Models\\Tenant\\Cash',67,'App\\Models\\Tenant\\DocumentPayment',2,'2022-10-06 15:30:43','2022-10-06 15:30:43'),(111,'02',2,'App\\Models\\Tenant\\Cash',42,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-11 18:03:27','2022-10-11 18:03:27'),(112,'02',2,'App\\Models\\Tenant\\Cash',43,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-11 18:24:52','2022-10-11 18:24:52'),(113,'02',2,'App\\Models\\Tenant\\Cash',44,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-14 17:05:14','2022-10-14 17:05:14'),(114,'02',2,'App\\Models\\Tenant\\Cash',45,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-15 20:48:06','2022-10-15 20:48:06'),(115,'02',2,'App\\Models\\Tenant\\Cash',68,'App\\Models\\Tenant\\DocumentPayment',2,'2022-10-17 16:01:43','2022-10-17 16:01:43'),(116,'02',2,'App\\Models\\Tenant\\Cash',46,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-28 17:40:06','2022-10-28 17:40:06'),(117,'02',2,'App\\Models\\Tenant\\Cash',47,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-31 15:08:40','2022-10-31 15:08:40'),(118,'02',2,'App\\Models\\Tenant\\Cash',48,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-31 15:12:07','2022-10-31 15:12:07'),(119,'02',2,'App\\Models\\Tenant\\Cash',49,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-10-31 18:11:37','2022-10-31 18:11:37'),(120,'02',2,'App\\Models\\Tenant\\Cash',50,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-02 19:46:22','2022-11-02 19:46:22'),(121,'02',2,'App\\Models\\Tenant\\Cash',51,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-04 18:18:19','2022-11-04 18:18:19'),(136,'02',1,'App\\Models\\Tenant\\Cash',81,'App\\Models\\Tenant\\DocumentPayment',1,'2022-11-10 16:09:14','2022-11-10 16:09:14'),(137,'02',2,'App\\Models\\Tenant\\Cash',82,'App\\Models\\Tenant\\DocumentPayment',2,'2022-11-10 16:16:32','2022-11-10 16:16:32'),(138,'02',2,'App\\Models\\Tenant\\Cash',54,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-12 17:33:51','2022-11-12 17:33:51'),(139,'02',2,'App\\Models\\Tenant\\Cash',55,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-12 19:17:15','2022-11-12 19:17:15'),(140,'02',2,'App\\Models\\Tenant\\Cash',56,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-14 09:32:06','2022-11-14 09:32:06'),(141,'02',2,'App\\Models\\Tenant\\Cash',57,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-21 20:09:18','2022-11-21 20:09:18'),(142,'02',2,'App\\Models\\Tenant\\Cash',58,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-22 17:28:25','2022-11-22 17:28:25'),(143,'02',2,'App\\Models\\Tenant\\Cash',59,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-23 11:46:53','2022-11-23 11:46:53'),(144,'02',2,'App\\Models\\Tenant\\Cash',83,'App\\Models\\Tenant\\DocumentPayment',2,'2022-11-25 12:20:22','2022-11-25 12:20:22'),(145,'02',2,'App\\Models\\Tenant\\Cash',60,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-11-30 09:58:17','2022-11-30 09:58:17'),(146,'02',2,'App\\Models\\Tenant\\Cash',61,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-12-01 14:51:22','2022-12-01 14:51:22'),(147,'02',2,'App\\Models\\Tenant\\Cash',62,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-12-01 14:52:36','2022-12-01 14:52:36'),(148,'02',2,'App\\Models\\Tenant\\Cash',84,'App\\Models\\Tenant\\DocumentPayment',2,'2022-12-05 11:32:30','2022-12-05 11:32:30'),(149,'02',2,'App\\Models\\Tenant\\Cash',85,'App\\Models\\Tenant\\DocumentPayment',2,'2022-12-05 13:06:41','2022-12-05 13:06:41'),(150,'02',2,'App\\Models\\Tenant\\Cash',63,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-12-05 16:47:23','2022-12-05 16:47:23'),(151,'02',2,'App\\Models\\Tenant\\Cash',64,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-12-07 16:56:26','2022-12-07 16:56:26'),(152,'02',2,'App\\Models\\Tenant\\Cash',65,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-12-14 17:15:43','2022-12-14 17:15:43'),(153,'02',2,'App\\Models\\Tenant\\Cash',66,'App\\Models\\Tenant\\SaleNotePayment',2,'2022-12-14 17:19:32','2022-12-14 17:19:32'),(154,'02',1,'App\\Models\\Tenant\\Cash',67,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-15 15:14:55','2022-12-15 15:14:55'),(155,'02',1,'App\\Models\\Tenant\\Cash',68,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-16 12:51:25','2022-12-16 12:51:25'),(156,'02',1,'App\\Models\\Tenant\\Cash',69,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-17 09:32:19','2022-12-17 09:32:19'),(157,'02',1,'App\\Models\\Tenant\\Cash',70,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-17 13:25:35','2022-12-17 13:25:35'),(158,'02',1,'App\\Models\\Tenant\\Cash',86,'App\\Models\\Tenant\\DocumentPayment',1,'2022-12-17 17:46:26','2022-12-17 17:46:26'),(159,'02',1,'App\\Models\\Tenant\\Cash',71,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-17 17:59:13','2022-12-17 17:59:13'),(160,'02',1,'App\\Models\\Tenant\\Cash',72,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-20 20:24:27','2022-12-20 20:24:27'),(161,'02',1,'App\\Models\\Tenant\\Cash',73,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-21 10:47:47','2022-12-21 10:47:47'),(162,'02',1,'App\\Models\\Tenant\\Cash',87,'App\\Models\\Tenant\\DocumentPayment',1,'2022-12-23 09:40:51','2022-12-23 09:40:51'),(163,'02',1,'App\\Models\\Tenant\\Cash',74,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-23 09:41:56','2022-12-23 09:41:56'),(164,'02',1,'App\\Models\\Tenant\\Cash',75,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-24 16:51:32','2022-12-24 16:51:32'),(165,'02',1,'App\\Models\\Tenant\\Cash',76,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-26 16:34:38','2022-12-26 16:34:38'),(166,'02',1,'App\\Models\\Tenant\\Cash',88,'App\\Models\\Tenant\\DocumentPayment',1,'2022-12-30 18:06:06','2022-12-30 18:06:06'),(167,'02',1,'App\\Models\\Tenant\\Cash',77,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-30 20:37:45','2022-12-30 20:37:45'),(168,'02',1,'App\\Models\\Tenant\\Cash',89,'App\\Models\\Tenant\\DocumentPayment',1,'2022-12-30 20:53:32','2022-12-30 20:53:32'),(169,'02',1,'App\\Models\\Tenant\\Cash',78,'App\\Models\\Tenant\\SaleNotePayment',1,'2022-12-31 17:24:22','2022-12-31 17:24:22'),(170,'02',1,'App\\Models\\Tenant\\Cash',90,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-02 13:05:03','2023-01-02 13:05:03'),(171,'02',1,'App\\Models\\Tenant\\Cash',79,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-05 11:29:57','2023-01-05 11:29:57'),(172,'02',1,'App\\Models\\Tenant\\Cash',80,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-05 16:54:12','2023-01-05 16:54:12'),(173,'02',1,'App\\Models\\Tenant\\Cash',91,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-09 10:29:58','2023-01-09 10:29:58'),(174,'02',1,'App\\Models\\Tenant\\Cash',81,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-09 18:03:24','2023-01-09 18:03:24'),(175,'02',1,'App\\Models\\Tenant\\Cash',82,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-10 10:39:36','2023-01-10 10:39:36'),(176,'02',1,'App\\Models\\Tenant\\Cash',83,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-11 10:24:29','2023-01-11 10:24:29'),(177,'02',1,'App\\Models\\Tenant\\Cash',84,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-13 15:13:08','2023-01-13 15:13:08'),(178,'02',1,'App\\Models\\Tenant\\Cash',85,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-14 11:55:20','2023-01-14 11:55:20'),(179,'02',1,'App\\Models\\Tenant\\Cash',92,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-14 17:26:48','2023-01-14 17:26:48'),(180,'02',1,'App\\Models\\Tenant\\Cash',86,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-17 10:13:24','2023-01-17 10:13:24'),(181,'02',1,'App\\Models\\Tenant\\Cash',87,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-17 17:27:51','2023-01-17 17:27:51'),(182,'02',1,'App\\Models\\Tenant\\Cash',88,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-18 17:08:51','2023-01-18 17:08:51'),(183,'02',1,'App\\Models\\Tenant\\Cash',93,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-20 15:12:30','2023-01-20 15:12:30'),(184,'02',1,'App\\Models\\Tenant\\Cash',94,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-20 15:34:37','2023-01-20 15:34:37'),(185,'02',1,'App\\Models\\Tenant\\Cash',89,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-20 19:37:04','2023-01-20 19:37:04'),(186,'02',1,'App\\Models\\Tenant\\Cash',95,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-23 14:17:21','2023-01-23 14:17:21'),(187,'02',1,'App\\Models\\Tenant\\Cash',96,'App\\Models\\Tenant\\DocumentPayment',1,'2023-01-27 17:58:17','2023-01-27 17:58:17'),(188,'02',1,'App\\Models\\Tenant\\Cash',90,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-30 15:35:16','2023-01-30 15:35:16'),(189,'02',1,'App\\Models\\Tenant\\Cash',91,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-30 15:49:09','2023-01-30 15:49:09'),(190,'02',1,'App\\Models\\Tenant\\Cash',92,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-30 16:05:10','2023-01-30 16:05:10'),(191,'02',1,'App\\Models\\Tenant\\Cash',93,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(192,'02',1,'App\\Models\\Tenant\\Cash',94,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-01-30 16:23:42','2023-01-30 16:23:42'),(193,'02',1,'App\\Models\\Tenant\\Cash',95,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-02 18:21:02','2023-02-02 18:21:02'),(194,'02',1,'App\\Models\\Tenant\\Cash',97,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-06 16:06:27','2023-02-06 16:06:27'),(195,'02',1,'App\\Models\\Tenant\\Cash',96,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-11 18:05:24','2023-02-11 18:05:24'),(196,'02',1,'App\\Models\\Tenant\\Cash',97,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-13 16:08:09','2023-02-13 16:08:09'),(197,'02',1,'App\\Models\\Tenant\\Cash',98,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-13 20:11:58','2023-02-13 20:11:58'),(198,'02',1,'App\\Models\\Tenant\\Cash',99,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-15 17:28:39','2023-02-15 17:28:39'),(199,'02',1,'App\\Models\\Tenant\\Cash',100,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-16 17:37:18','2023-02-16 17:37:18'),(200,'02',1,'App\\Models\\Tenant\\Cash',101,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-16 18:07:11','2023-02-16 18:07:11'),(201,'02',1,'App\\Models\\Tenant\\Cash',102,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-18 12:23:17','2023-02-18 12:23:17'),(202,'02',1,'App\\Models\\Tenant\\Cash',98,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-20 14:08:55','2023-02-20 14:08:55'),(203,'02',1,'App\\Models\\Tenant\\Cash',103,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-21 13:29:44','2023-02-21 13:29:44'),(204,'02',1,'App\\Models\\Tenant\\Cash',99,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-21 15:44:14','2023-02-21 15:44:14'),(205,'02',1,'App\\Models\\Tenant\\Cash',100,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-23 13:54:36','2023-02-23 13:54:36'),(206,'02',1,'App\\Models\\Tenant\\Cash',101,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-23 16:17:00','2023-02-23 16:17:00'),(207,'02',1,'App\\Models\\Tenant\\Cash',102,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-23 16:26:26','2023-02-23 16:26:26'),(208,'02',1,'App\\Models\\Tenant\\Cash',103,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-23 16:28:08','2023-02-23 16:28:08'),(209,'02',1,'App\\Models\\Tenant\\Cash',104,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-23 18:40:27','2023-02-23 18:40:27'),(210,'02',1,'App\\Models\\Tenant\\Cash',105,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-24 11:10:29','2023-02-24 11:10:29'),(211,'02',1,'App\\Models\\Tenant\\Cash',104,'App\\Models\\Tenant\\DocumentPayment',1,'2023-02-25 18:25:15','2023-02-25 18:25:15'),(212,'02',1,'App\\Models\\Tenant\\Cash',106,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-25 20:03:27','2023-02-25 20:03:27'),(213,'02',1,'App\\Models\\Tenant\\Cash',107,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-27 11:57:51','2023-02-27 11:57:51'),(214,'02',1,'App\\Models\\Tenant\\Cash',108,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-27 18:56:12','2023-02-27 18:56:12'),(215,'02',1,'App\\Models\\Tenant\\Cash',109,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-28 15:22:07','2023-02-28 15:22:07'),(216,'02',1,'App\\Models\\Tenant\\Cash',110,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-28 16:47:19','2023-02-28 16:47:19'),(217,'02',1,'App\\Models\\Tenant\\Cash',111,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-02-28 16:50:51','2023-02-28 16:50:51'),(218,'02',1,'App\\Models\\Tenant\\Cash',112,'App\\Models\\Tenant\\SaleNotePayment',1,'2023-03-01 10:59:02','2023-03-01 10:59:02'),(219,'02',1,'App\\Models\\Tenant\\Cash',105,'App\\Models\\Tenant\\DocumentPayment',1,'2023-03-01 15:38:16','2023-03-01 15:38:16');

--
-- Table structure for table `groups`
--

CREATE TABLE `groups` (
  `id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  KEY `groups_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `groups`
--

INSERT INTO `groups` VALUES ('01','Facturas'),('02','Boletas');

--
-- Table structure for table `guide_files`
--

CREATE TABLE `guide_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filename` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Nombre de archivo',
  `purchase_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con purchases',
  `document_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con documents',
  `order_note_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con order_notes',
  `quotation_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con quotations',
  `sale_note_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con sale_notes',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `guide_files`
--


--
-- Table structure for table `guide_items`
--

CREATE TABLE `guide_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `guide_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` decimal(20,8) NOT NULL,
  `unit_cost` decimal(20,8) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `guide_items_guide_id_foreign` (`guide_id`),
  KEY `guide_items_item_id_foreign` (`item_id`),
  CONSTRAINT `guide_items_guide_id_foreign` FOREIGN KEY (`guide_id`) REFERENCES `guides` (`id`) ON DELETE CASCADE,
  CONSTRAINT `guide_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `guide_items`
--


--
-- Table structure for table `guides`
--

CREATE TABLE `guides` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `series` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` int(11) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `inventory_transaction_id` char(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guideable_id` int(10) unsigned DEFAULT NULL,
  `guideable_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `observations` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `filename` 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 `guides_series_number_unique` (`soap_type_id`,`document_type_id`,`series`,`number`),
  KEY `guides_user_id_foreign` (`user_id`),
  KEY `guides_warehouse_id_foreign` (`warehouse_id`),
  KEY `guides_document_type_id_foreign` (`document_type_id`),
  KEY `guides_inventory_transaction_id_foreign` (`inventory_transaction_id`),
  CONSTRAINT `guides_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `guides_inventory_transaction_id_foreign` FOREIGN KEY (`inventory_transaction_id`) REFERENCES `inventory_transactions` (`id`),
  CONSTRAINT `guides_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `guides_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `guides_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `guides`
--


--
-- Table structure for table `hotel_categories`
--

CREATE TABLE `hotel_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_categories`
--


--
-- Table structure for table `hotel_floors`
--

CREATE TABLE `hotel_floors` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_floors`
--


--
-- Table structure for table `hotel_rates`
--

CREATE TABLE `hotel_rates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_rates`
--


--
-- Table structure for table `hotel_rent_items`
--

CREATE TABLE `hotel_rent_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL,
  `hotel_rent_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `hotel_rent_items_hotel_rent_id_foreign` (`hotel_rent_id`),
  KEY `hotel_rent_items_item_id_foreign` (`item_id`),
  CONSTRAINT `hotel_rent_items_hotel_rent_id_foreign` FOREIGN KEY (`hotel_rent_id`) REFERENCES `hotel_rents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `hotel_rent_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_rent_items`
--


--
-- Table structure for table `hotel_rents`
--

CREATE TABLE `hotel_rents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `towels` int(11) NOT NULL DEFAULT 1,
  `hotel_room_id` int(10) unsigned NOT NULL,
  `hotel_rate_id` int(10) unsigned DEFAULT NULL,
  `duration` int(11) NOT NULL DEFAULT 1,
  `quantity_persons` int(11) NOT NULL DEFAULT 1,
  `input_date` date DEFAULT NULL,
  `input_time` varchar(8) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_status` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `output_date` date NOT NULL,
  `output_time` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL,
  `arrears` int(11) NOT NULL DEFAULT 0,
  `status` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INICIADO',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `hotel_rents_hotel_rate_id_foreign` (`hotel_rate_id`),
  CONSTRAINT `hotel_rents_hotel_rate_id_foreign` FOREIGN KEY (`hotel_rate_id`) REFERENCES `hotel_rates` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_rents`
--


--
-- Table structure for table `hotel_room_rates`
--

CREATE TABLE `hotel_room_rates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `hotel_room_id` int(10) unsigned NOT NULL,
  `hotel_rate_id` int(10) unsigned NOT NULL,
  `price` double NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `hotel_room_rates_hotel_room_id_foreign` (`hotel_room_id`),
  KEY `hotel_room_rates_hotel_rate_id_foreign` (`hotel_rate_id`),
  CONSTRAINT `hotel_room_rates_hotel_rate_id_foreign` FOREIGN KEY (`hotel_rate_id`) REFERENCES `hotel_rates` (`id`) ON DELETE CASCADE,
  CONSTRAINT `hotel_room_rates_hotel_room_id_foreign` FOREIGN KEY (`hotel_room_id`) REFERENCES `hotel_rooms` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_room_rates`
--


--
-- Table structure for table `hotel_rooms`
--

CREATE TABLE `hotel_rooms` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT NULL,
  `hotel_category_id` int(10) unsigned NOT NULL,
  `hotel_floor_id` int(10) unsigned NOT NULL,
  `name` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DISPONIBLE',
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `hotel_rooms_hotel_category_id_foreign` (`hotel_category_id`),
  KEY `hotel_rooms_hotel_floor_id_foreign` (`hotel_floor_id`),
  KEY `hotel_rooms_item_id_foreign` (`item_id`),
  CONSTRAINT `hotel_rooms_hotel_category_id_foreign` FOREIGN KEY (`hotel_category_id`) REFERENCES `hotel_categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `hotel_rooms_hotel_floor_id_foreign` FOREIGN KEY (`hotel_floor_id`) REFERENCES `hotel_floors` (`id`) ON DELETE CASCADE,
  CONSTRAINT `hotel_rooms_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hotel_rooms`
--


--
-- Table structure for table `income`
--

CREATE TABLE `income` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `income_type_id` int(10) unsigned NOT NULL,
  `income_reason_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `customer` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` int(11) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `filename` 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 `income_filename_unique` (`filename`),
  KEY `income_user_id_foreign` (`user_id`),
  KEY `income_establishment_id_foreign` (`establishment_id`),
  KEY `income_income_type_id_foreign` (`income_type_id`),
  KEY `income_income_reason_id_foreign` (`income_reason_id`),
  KEY `income_state_type_id_foreign` (`state_type_id`),
  KEY `income_soap_type_id_foreign` (`soap_type_id`),
  KEY `income_currency_type_id_foreign` (`currency_type_id`),
  KEY `income_number_index` (`number`),
  KEY `income_date_of_issue_index` (`date_of_issue`),
  KEY `income_external_id_index` (`external_id`),
  CONSTRAINT `income_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `income_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `income_income_reason_id_foreign` FOREIGN KEY (`income_reason_id`) REFERENCES `income_reasons` (`id`),
  CONSTRAINT `income_income_type_id_foreign` FOREIGN KEY (`income_type_id`) REFERENCES `income_types` (`id`),
  CONSTRAINT `income_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `income_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `income_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `income`
--


--
-- Table structure for table `income_items`
--

CREATE TABLE `income_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `income_id` int(10) unsigned NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `income_items_income_id_foreign` (`income_id`),
  CONSTRAINT `income_items_income_id_foreign` FOREIGN KEY (`income_id`) REFERENCES `income` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `income_items`
--


--
-- Table structure for table `income_payments`
--

CREATE TABLE `income_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `income_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `income_payments_income_id_foreign` (`income_id`),
  KEY `income_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `income_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `income_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `income_payments_income_id_foreign` FOREIGN KEY (`income_id`) REFERENCES `income` (`id`) ON DELETE CASCADE,
  CONSTRAINT `income_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `income_payments`
--


--
-- Table structure for table `income_reasons`
--

CREATE TABLE `income_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `income_reasons`
--

INSERT INTO `income_reasons` VALUES (1,'Varios');

--
-- Table structure for table `income_types`
--

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

--
-- Dumping data for table `income_types`
--

INSERT INTO `income_types` VALUES (1,'INGRESOS FINANCIEROS','2022-06-21 22:28:20','2022-06-21 22:28:20'),(2,'PRESTAMOS','2022-06-21 22:28:20','2022-06-21 22:28:20'),(3,'OTROS','2022-06-21 22:28:20','2022-06-21 22:28:20');

--
-- Table structure for table `inventories`
--

CREATE TABLE `inventories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('1','2','3') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `detail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `warehouse_destination_id` int(10) unsigned DEFAULT NULL,
  `inventory_transaction_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `lot_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inventories_transfer_id` int(10) unsigned DEFAULT NULL,
  `comments` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_issue` date DEFAULT NULL,
  `guide_id` int(10) unsigned DEFAULT NULL,
  `system_stock` decimal(12,4) DEFAULT NULL,
  `real_stock` decimal(12,4) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inventories_item_id_foreign` (`item_id`),
  KEY `inventories_warehouse_id_foreign` (`warehouse_id`),
  KEY `inventories_inventory_transaction_id_foreign` (`inventory_transaction_id`),
  KEY `inventories_inventories_transfer_id_foreign` (`inventories_transfer_id`),
  CONSTRAINT `inventories_inventories_transfer_id_foreign` FOREIGN KEY (`inventories_transfer_id`) REFERENCES `inventories_transfer` (`id`),
  CONSTRAINT `inventories_inventory_transaction_id_foreign` FOREIGN KEY (`inventory_transaction_id`) REFERENCES `inventory_transactions` (`id`),
  CONSTRAINT `inventories_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inventories_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventories`
--

INSERT INTO `inventories` VALUES (1,'1','Stock inicial',NULL,1,1,NULL,NULL,90.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-23 20:15:16','2022-06-23 20:15:16'),(2,'1','Stock inicial',NULL,2,1,NULL,NULL,80.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 17:23:02','2022-06-26 17:23:02'),(3,'1','Stock inicial',NULL,3,1,NULL,NULL,1.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 17:29:53','2022-06-26 17:29:53'),(4,'1','Stock inicial',NULL,4,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 17:35:28','2022-06-26 17:35:28'),(5,'1','Stock inicial',NULL,5,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 17:48:02','2022-06-26 17:48:02'),(6,'1','Stock inicial',NULL,6,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 18:00:15','2022-06-26 18:00:15'),(7,'1','Stock inicial',NULL,7,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 18:17:49','2022-06-26 18:17:49'),(8,'1','Stock inicial',NULL,8,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 18:47:09','2022-06-26 18:47:09'),(9,'1','Stock inicial',NULL,9,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 19:00:56','2022-06-26 19:00:56'),(10,'1','Stock inicial',NULL,10,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-26 19:09:19','2022-06-26 19:09:19'),(11,'1','Stock inicial',NULL,11,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-27 12:36:27','2022-06-27 12:36:27'),(12,'1','Stock inicial',NULL,12,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-27 14:03:09','2022-06-27 14:03:09'),(13,'1','Stock inicial',NULL,13,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-27 14:22:09','2022-06-27 14:22:09'),(14,'1','Stock inicial',NULL,14,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-27 14:27:21','2022-06-27 14:27:21'),(15,'1','Stock inicial',NULL,15,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-28 12:50:44','2022-06-28 12:50:44'),(16,'1','Stock inicial',NULL,16,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-28 18:21:02','2022-06-28 18:21:02'),(17,'1','Stock inicial',NULL,17,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-30 18:01:46','2022-06-30 18:01:46'),(18,'1','Stock inicial',NULL,18,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-30 18:22:30','2022-06-30 18:22:30'),(19,'1','Stock inicial',NULL,19,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-06-30 20:08:13','2022-06-30 20:08:13'),(20,'1','Stock inicial',NULL,20,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-01 11:24:33','2022-07-01 11:24:33'),(21,'1','Stock inicial',NULL,21,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-05 15:14:12','2022-07-05 15:14:12'),(22,'1','Stock inicial',NULL,22,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-06 09:42:33','2022-07-06 09:42:33'),(23,'1','Stock inicial',NULL,23,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-08 10:43:55','2022-07-08 10:43:55'),(24,'1','Stock inicial',NULL,24,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-08 19:11:27','2022-07-08 19:11:27'),(25,'1','Stock inicial',NULL,25,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-09 12:09:21','2022-07-09 12:09:21'),(26,'1','Stock inicial',NULL,26,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-12 18:47:32','2022-07-12 18:47:32'),(27,'1','Stock inicial',NULL,27,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-16 17:32:33','2022-07-16 17:32:33'),(28,'1','Stock inicial',NULL,28,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-16 19:32:08','2022-07-16 19:32:08'),(29,'1','Stock inicial',NULL,29,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-18 10:19:25','2022-07-18 10:19:25'),(30,'1','Stock inicial',NULL,30,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-18 19:08:09','2022-07-18 19:08:09'),(31,'1','Stock inicial',NULL,31,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-18 19:29:22','2022-07-18 19:29:22'),(32,'1','Stock inicial',NULL,32,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-19 16:33:47','2022-07-19 16:33:47'),(33,'1','Stock inicial',NULL,33,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-19 20:08:58','2022-07-19 20:08:58'),(34,'1','Stock inicial',NULL,34,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-20 13:51:37','2022-07-20 13:51:37'),(35,'1','Stock inicial',NULL,35,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-22 18:27:33','2022-07-22 18:27:33'),(36,'1','Stock inicial',NULL,36,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-25 09:17:37','2022-07-25 09:17:37'),(37,'1','Stock inicial',NULL,37,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-25 12:08:33','2022-07-25 12:08:33'),(38,'1','Stock inicial',NULL,38,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-25 17:54:38','2022-07-25 17:54:38'),(39,'1','Stock inicial',NULL,39,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-26 15:48:56','2022-07-26 15:48:56'),(40,'1','Stock inicial',NULL,40,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-26 18:49:24','2022-07-26 18:49:24'),(41,'1','Stock inicial',NULL,41,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-27 15:21:01','2022-07-27 15:21:01'),(42,'1','Stock inicial',NULL,42,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-28 11:27:48','2022-07-28 11:27:48'),(43,'1','Stock inicial',NULL,43,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-28 12:31:21','2022-07-28 12:31:21'),(44,'1','Stock inicial',NULL,44,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-28 12:37:22','2022-07-28 12:37:22'),(45,'1','Stock inicial',NULL,45,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-28 17:46:28','2022-07-28 17:46:28'),(46,'1','Stock inicial',NULL,46,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-29 14:25:39','2022-07-29 14:25:39'),(47,'1','Stock inicial',NULL,47,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-30 16:19:28','2022-07-30 16:19:28'),(48,'1','Stock inicial',NULL,48,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-30 16:26:28','2022-07-30 16:26:28'),(49,'1','Stock inicial',NULL,49,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-07-30 19:15:14','2022-07-30 19:15:14'),(50,'1','Stock inicial',NULL,50,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-01 12:46:08','2022-08-01 12:46:08'),(51,'1','Stock inicial',NULL,51,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-01 17:31:51','2022-08-01 17:31:51'),(52,'1','Stock inicial',NULL,52,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-02 09:40:44','2022-08-02 09:40:44'),(53,'1','Stock inicial',NULL,53,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-03 12:42:31','2022-08-03 12:42:31'),(54,'1','Stock inicial',NULL,54,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-03 20:36:19','2022-08-03 20:36:19'),(55,'1','Stock inicial',NULL,55,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-04 17:34:54','2022-08-04 17:34:54'),(56,'1','Stock inicial',NULL,56,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-06 16:57:20','2022-08-06 16:57:20'),(57,'1','Stock inicial',NULL,57,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-08 16:40:18','2022-08-08 16:40:18'),(58,'1','Stock inicial',NULL,58,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-09 10:57:49','2022-08-09 10:57:49'),(59,'1','Stock inicial',NULL,59,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-12 20:31:09','2022-08-12 20:31:09'),(60,'1','Stock inicial',NULL,60,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-13 19:42:40','2022-08-13 19:42:40'),(61,'1','Stock inicial',NULL,61,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-16 19:47:56','2022-08-16 19:47:56'),(62,'1','Stock inicial',NULL,62,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-17 18:10:07','2022-08-17 18:10:07'),(63,'1','Stock inicial',NULL,63,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-17 18:45:25','2022-08-17 18:45:25'),(64,'1','Stock inicial',NULL,64,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-19 10:52:20','2022-08-19 10:52:20'),(65,'1','Stock inicial',NULL,65,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-19 17:16:07','2022-08-19 17:16:07'),(66,'1','Stock inicial',NULL,66,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-20 12:05:35','2022-08-20 12:05:35'),(67,'1','Stock inicial',NULL,67,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-20 14:26:46','2022-08-20 14:26:46'),(68,'1','Stock inicial',NULL,68,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-23 19:08:05','2022-08-23 19:08:05'),(69,'1','Stock inicial',NULL,69,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-27 14:27:07','2022-08-27 14:27:07'),(70,'1','Stock inicial',NULL,70,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-29 11:30:59','2022-08-29 11:30:59'),(71,'1','Stock inicial',NULL,71,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-29 19:07:02','2022-08-29 19:07:02'),(72,'1','Stock inicial',NULL,72,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-30 10:20:03','2022-08-30 10:20:03'),(73,'1','Stock inicial',NULL,73,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-30 11:00:44','2022-08-30 11:00:44'),(74,'1','Stock inicial',NULL,74,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-31 10:14:14','2022-08-31 10:14:14'),(75,'1','Stock inicial',NULL,75,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-31 16:41:26','2022-08-31 16:41:26'),(76,'1','Stock inicial',NULL,76,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-08-31 17:33:43','2022-08-31 17:33:43'),(77,'1','Stock inicial',NULL,77,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-01 16:51:25','2022-09-01 16:51:25'),(78,'1','Stock inicial',NULL,78,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-01 16:53:40','2022-09-01 16:53:40'),(79,'1','Stock inicial',NULL,79,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-02 18:05:53','2022-09-02 18:05:53'),(80,'1','Stock inicial',NULL,80,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-03 16:49:07','2022-09-03 16:49:07'),(81,'1','Stock inicial',NULL,81,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-07 11:16:36','2022-09-07 11:16:36'),(82,'1','Stock inicial',NULL,82,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-08 14:48:36','2022-09-08 14:48:36'),(83,'1','Stock inicial',NULL,83,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-12 19:24:43','2022-09-12 19:24:43'),(84,'1','Stock inicial',NULL,84,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-13 17:10:14','2022-09-13 17:10:14'),(85,'1','Stock inicial',NULL,85,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-14 10:35:35','2022-09-14 10:35:35'),(86,'1','Stock inicial',NULL,86,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-14 14:32:34','2022-09-14 14:32:34'),(87,'1','Stock inicial',NULL,87,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-15 09:41:32','2022-09-15 09:41:32'),(88,'1','Stock inicial',NULL,88,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-15 14:55:17','2022-09-15 14:55:17'),(89,'1','Stock inicial',NULL,89,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-16 10:37:48','2022-09-16 10:37:48'),(90,'1','Stock inicial',NULL,90,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-16 10:39:49','2022-09-16 10:39:49'),(91,'1','Stock inicial',NULL,91,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-16 10:42:21','2022-09-16 10:42:21'),(92,'1','Stock inicial',NULL,92,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-16 10:55:20','2022-09-16 10:55:20'),(93,'1','Stock inicial',NULL,93,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-16 19:02:33','2022-09-16 19:02:33'),(94,'1','Stock inicial',NULL,94,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-21 15:08:16','2022-09-21 15:08:16'),(95,'1','Stock inicial',NULL,95,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-23 11:37:56','2022-09-23 11:37:56'),(96,'1','Stock inicial',NULL,96,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-23 11:42:19','2022-09-23 11:42:19'),(97,'1','Stock inicial',NULL,97,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-26 20:03:29','2022-09-26 20:03:29'),(98,'1','Stock inicial',NULL,98,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-27 16:48:54','2022-09-27 16:48:54'),(99,'1','Stock inicial',NULL,99,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-29 18:23:29','2022-09-29 18:23:29'),(100,'1','Stock inicial',NULL,100,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-29 18:26:40','2022-09-29 18:26:40'),(101,'1','Stock inicial',NULL,101,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-09-30 19:59:41','2022-09-30 19:59:41'),(102,'1','Stock inicial',NULL,102,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-01 10:54:45','2022-10-01 10:54:45'),(103,'1','Stock inicial',NULL,103,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-01 17:27:52','2022-10-01 17:27:52'),(104,'1','Stock inicial',NULL,104,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-01 18:03:12','2022-10-01 18:03:12'),(105,'1','Stock inicial',NULL,105,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-05 17:49:52','2022-10-05 17:49:52'),(106,'1','Stock inicial',NULL,106,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-06 15:29:58','2022-10-06 15:29:58'),(107,'1','Stock inicial',NULL,107,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-11 17:59:38','2022-10-11 17:59:38'),(108,'1','Stock inicial',NULL,108,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-11 18:24:05','2022-10-11 18:24:05'),(109,'1','Stock inicial',NULL,109,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-14 17:04:02','2022-10-14 17:04:02'),(110,'1','Stock inicial',NULL,110,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-15 20:47:25','2022-10-15 20:47:25'),(111,'1','Stock inicial',NULL,111,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-17 16:00:13','2022-10-17 16:00:13'),(112,'1','Stock inicial',NULL,112,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-10-31 18:10:48','2022-10-31 18:10:48'),(113,'1','Stock inicial',NULL,113,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-02 19:45:38','2022-11-02 19:45:38'),(114,'1','Stock inicial',NULL,114,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-10 13:56:14','2022-11-10 13:56:14'),(115,'1','Stock inicial',NULL,115,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-12 17:32:55','2022-11-12 17:32:55'),(116,'1','Stock inicial',NULL,116,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-12 19:16:08','2022-11-12 19:16:08'),(117,'1','Stock inicial',NULL,117,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-14 09:30:52','2022-11-14 09:30:52'),(118,'1','Stock inicial',NULL,118,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-21 20:07:26','2022-11-21 20:07:26'),(119,'1','Stock inicial',NULL,119,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-23 11:45:50','2022-11-23 11:45:50'),(120,'1','Stock inicial',NULL,120,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-25 12:18:40','2022-11-25 12:18:40'),(121,'1','Stock inicial',NULL,121,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-11-30 09:54:34','2022-11-30 09:54:34'),(122,'1','Stock inicial',NULL,122,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-05 11:24:16','2022-12-05 11:24:16'),(123,'1','Stock inicial',NULL,123,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-05 13:04:40','2022-12-05 13:04:40'),(124,'1','Stock inicial',NULL,124,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-05 16:46:34','2022-12-05 16:46:34'),(125,'1','Stock inicial',NULL,125,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-07 16:55:15','2022-12-07 16:55:15'),(126,'1','Stock inicial',NULL,126,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-14 17:14:15','2022-12-14 17:14:15'),(127,'1','Stock inicial',NULL,127,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-15 15:13:47','2022-12-15 15:13:47'),(128,'1','Stock inicial',NULL,128,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-17 09:31:29','2022-12-17 09:31:29'),(129,'1','Stock inicial',NULL,129,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-17 13:24:42','2022-12-17 13:24:42'),(130,'1','Stock inicial',NULL,130,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-17 17:57:43','2022-12-17 17:57:43'),(131,'1','Stock inicial',NULL,131,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-26 16:33:48','2022-12-26 16:33:48'),(132,'1','Stock inicial',NULL,132,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-30 20:28:59','2022-12-30 20:28:59'),(133,'1','Stock inicial',NULL,133,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2022-12-31 17:23:50','2022-12-31 17:23:50'),(134,'1','Stock inicial',NULL,134,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-05 11:29:16','2023-01-05 11:29:16'),(135,'1','Stock inicial',NULL,135,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-09 10:28:31','2023-01-09 10:28:31'),(136,'1','Stock inicial',NULL,136,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-13 15:11:41','2023-01-13 15:11:41'),(137,'1','Stock inicial',NULL,137,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-14 17:26:20','2023-01-14 17:26:20'),(138,'1','Stock inicial',NULL,138,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-17 17:26:21','2023-01-17 17:26:21'),(139,'1','Stock inicial',NULL,139,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-18 17:07:55','2023-01-18 17:07:55'),(140,'1','Stock inicial',NULL,140,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 15:10:55','2023-01-20 15:10:55'),(141,'1','Stock inicial',NULL,141,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 15:11:23','2023-01-20 15:11:23'),(142,'1','Stock inicial',NULL,142,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 15:33:54','2023-01-20 15:33:54'),(143,'1','Stock inicial',NULL,143,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-23 14:16:27','2023-01-23 14:16:27'),(144,'1','Stock inicial',NULL,144,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-27 17:57:27','2023-01-27 17:57:27'),(145,'1','Stock inicial',NULL,145,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-30 15:33:27','2023-01-30 15:33:27'),(146,'1','Stock inicial',NULL,146,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-06 16:03:48','2023-02-06 16:03:48'),(147,'1','Stock inicial',NULL,147,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-11 18:03:32','2023-02-11 18:03:32'),(148,'1','Stock inicial',NULL,148,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-13 16:06:43','2023-02-13 16:06:43'),(149,'1','Stock inicial',NULL,149,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-15 17:27:39','2023-02-15 17:27:39'),(150,'1','Stock inicial',NULL,150,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-16 17:36:40','2023-02-16 17:36:40'),(151,'1','Stock inicial',NULL,151,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-23 16:24:34','2023-02-23 16:24:34'),(152,'1','Stock inicial',NULL,152,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-23 18:39:25','2023-02-23 18:39:25'),(153,'1','Stock inicial',NULL,153,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-24 11:06:03','2023-02-24 11:06:03'),(154,'1','Stock inicial',NULL,154,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-25 20:02:48','2023-02-25 20:02:48'),(155,'1','Stock inicial',NULL,155,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-28 16:46:14','2023-02-28 16:46:14'),(156,'1','Stock inicial',NULL,156,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-01 15:36:14','2023-03-01 15:36:14'),(157,'1','Stock inicial',NULL,157,1,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-01 15:37:06','2023-03-01 15:37:06');

--
-- Table structure for table `inventories_transfer`
--

CREATE TABLE `inventories_transfer` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `external_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `soap_type_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_type_id` char(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `series` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number` int(11) DEFAULT NULL,
  `filename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `warehouse_destination_id` int(10) unsigned NOT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'usuario que crea el registro',
  PRIMARY KEY (`id`),
  KEY `inventories_transfer_warehouse_id_foreign` (`warehouse_id`),
  KEY `inventories_transfer_warehouse_destination_id_foreign` (`warehouse_destination_id`),
  KEY `inventories_transfer_soap_type_id_foreign` (`soap_type_id`),
  KEY `inventories_transfer_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `inventories_transfer_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `inventories_transfer_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `inventories_transfer_warehouse_destination_id_foreign` FOREIGN KEY (`warehouse_destination_id`) REFERENCES `warehouses` (`id`),
  CONSTRAINT `inventories_transfer_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventories_transfer`
--


--
-- Table structure for table `inventory_configurations`
--

CREATE TABLE `inventory_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `stock_control` tinyint(1) NOT NULL DEFAULT 0,
  `validate_stock_add_item` tinyint(1) NOT NULL DEFAULT 0,
  `inventory_review` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `generate_internal_id` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_configurations`
--

INSERT INTO `inventory_configurations` VALUES (1,0,0,0,NULL,NULL,0);

--
-- Table structure for table `inventory_kardex`
--

CREATE TABLE `inventory_kardex` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_of_issue` date NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `inventory_kardexable_id` int(10) unsigned NOT NULL,
  `inventory_kardexable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inventory_kardex_item_id_foreign` (`item_id`),
  KEY `inventory_kardex_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `inventory_kardex_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inventory_kardex_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=377 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_kardex`
--

INSERT INTO `inventory_kardex` VALUES (1,'2022-06-23',1,1,'Modules\\Inventory\\Models\\Inventory',1,90.0000,'2022-06-23 20:15:16','2022-06-23 20:15:16'),(2,'2022-06-23',1,1,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-23 20:17:13','2022-06-23 20:17:13'),(3,'2022-06-26',1,2,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 17:18:05','2022-06-26 17:18:05'),(4,'2022-06-26',2,2,'Modules\\Inventory\\Models\\Inventory',1,80.0000,'2022-06-26 17:23:02','2022-06-26 17:23:02'),(5,'2022-06-26',3,3,'Modules\\Inventory\\Models\\Inventory',1,1.0000,'2022-06-26 17:29:53','2022-06-26 17:29:53'),(6,'2022-06-26',4,4,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 17:35:28','2022-06-26 17:35:28'),(7,'2022-06-26',1,3,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 17:39:37','2022-06-26 17:39:37'),(8,'2022-06-26',5,5,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 17:48:02','2022-06-26 17:48:02'),(9,'2022-06-26',5,4,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 17:55:18','2022-06-26 17:55:18'),(10,'2022-06-26',6,6,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 18:00:15','2022-06-26 18:00:15'),(11,'2022-06-26',6,5,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 18:04:20','2022-06-26 18:04:20'),(12,'2022-06-26',7,7,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 18:17:49','2022-06-26 18:17:49'),(13,'2022-06-26',7,6,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 18:40:01','2022-06-26 18:40:01'),(14,'2022-06-26',8,8,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 18:47:09','2022-06-26 18:47:09'),(15,'2022-06-26',8,7,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 18:48:14','2022-06-26 18:48:14'),(16,'2022-06-26',7,8,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 18:50:26','2022-06-26 18:50:26'),(17,'2022-06-26',9,9,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 19:00:56','2022-06-26 19:00:56'),(18,'2022-06-26',9,9,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-26 19:04:02','2022-06-26 19:04:02'),(19,'2022-06-26',10,10,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-26 19:09:19','2022-06-26 19:09:19'),(20,'2022-06-26',10,1,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-26 19:10:09','2022-06-26 19:10:09'),(21,'2022-06-26',7,2,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-26 19:14:00','2022-06-26 19:14:00'),(22,'2022-06-27',11,11,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-27 12:36:27','2022-06-27 12:36:27'),(23,'2022-06-27',12,12,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-27 14:03:09','2022-06-27 14:03:09'),(24,'2022-06-27',12,10,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-27 14:04:17','2022-06-27 14:04:17'),(25,'2022-06-27',13,13,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-27 14:22:09','2022-06-27 14:22:09'),(26,'2022-06-27',13,11,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-06-27 14:23:50','2022-06-27 14:23:50'),(27,'2022-06-27',14,14,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-27 14:27:21','2022-06-27 14:27:21'),(28,'2022-06-27',14,3,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-27 14:28:48','2022-06-27 14:28:48'),(29,'2022-06-28',15,15,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-28 12:50:44','2022-06-28 12:50:44'),(30,'2022-06-28',15,4,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-28 12:58:53','2022-06-28 12:58:53'),(31,'2022-06-28',16,16,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-28 18:21:02','2022-06-28 18:21:02'),(32,'2022-06-28',16,5,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-28 18:25:19','2022-06-28 18:25:19'),(33,'2022-06-30',17,17,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-30 18:01:46','2022-06-30 18:01:46'),(34,'2022-06-30',17,6,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-30 18:07:05','2022-06-30 18:07:05'),(35,'2022-06-30',18,18,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-30 18:22:30','2022-06-30 18:22:30'),(36,'2022-06-30',18,7,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-30 18:23:16','2022-06-30 18:23:16'),(37,'2022-06-30',19,19,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-06-30 20:08:13','2022-06-30 20:08:13'),(38,'2022-06-30',19,8,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-06-30 20:09:53','2022-06-30 20:09:53'),(39,'2022-07-01',20,20,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-01 11:24:33','2022-07-01 11:24:33'),(40,'2022-07-01',20,9,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-01 11:25:29','2022-07-01 11:25:29'),(41,'2022-07-05',21,21,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-05 15:14:12','2022-07-05 15:14:12'),(42,'2022-07-05',21,10,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-05 15:15:28','2022-07-05 15:15:28'),(43,'2022-07-06',22,22,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-06 09:42:33','2022-07-06 09:42:33'),(44,'2022-07-06',22,11,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-06 09:43:56','2022-07-06 09:43:56'),(45,'2022-07-08',23,23,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-08 10:43:55','2022-07-08 10:43:55'),(46,'2022-07-08',23,12,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-08 10:45:24','2022-07-08 10:45:24'),(47,'2022-07-08',24,24,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-08 19:11:27','2022-07-08 19:11:27'),(48,'2022-07-08',24,13,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-08 19:12:33','2022-07-08 19:12:33'),(49,'2022-07-09',25,25,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-09 12:09:21','2022-07-09 12:09:21'),(50,'2022-07-09',25,12,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-09 12:10:07','2022-07-09 12:10:07'),(51,'2022-07-11',20,13,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-11 20:26:44','2022-07-11 20:26:44'),(52,'2022-07-12',26,26,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-12 18:47:32','2022-07-12 18:47:32'),(53,'2022-07-12',26,14,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-12 18:48:50','2022-07-12 18:48:50'),(54,'2022-07-16',27,27,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-16 17:32:33','2022-07-16 17:32:33'),(55,'2022-07-16',27,15,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-16 17:33:27','2022-07-16 17:33:27'),(56,'2022-07-16',28,28,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-16 19:32:08','2022-07-16 19:32:08'),(57,'2022-07-16',28,16,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-16 19:32:51','2022-07-16 19:32:51'),(58,'2022-07-18',29,29,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-18 10:19:25','2022-07-18 10:19:25'),(59,'2022-07-18',29,14,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-18 10:20:51','2022-07-18 10:20:51'),(60,'2022-07-18',30,30,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-18 19:08:09','2022-07-18 19:08:09'),(61,'2022-07-18',30,17,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-18 19:08:55','2022-07-18 19:08:55'),(62,'2022-07-18',31,31,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-18 19:29:22','2022-07-18 19:29:22'),(63,'2022-07-18',31,18,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-18 19:30:24','2022-07-18 19:30:24'),(64,'2022-07-19',32,32,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-19 16:33:47','2022-07-19 16:33:47'),(65,'2022-07-19',32,15,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-19 16:34:41','2022-07-19 16:34:41'),(66,'2022-07-19',33,33,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-19 20:08:58','2022-07-19 20:08:58'),(67,'2022-07-19',33,19,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-19 20:09:44','2022-07-19 20:09:44'),(68,'2022-07-20',34,34,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-20 13:51:37','2022-07-20 13:51:37'),(69,'2022-07-20',34,20,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-20 13:52:39','2022-07-20 13:52:39'),(70,'2022-07-22',35,35,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-22 18:27:33','2022-07-22 18:27:33'),(71,'2022-07-22',35,16,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-22 18:28:17','2022-07-22 18:28:17'),(72,'2022-07-25',36,36,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-25 09:17:37','2022-07-25 09:17:37'),(73,'2022-07-25',20,21,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-25 09:18:33','2022-07-25 09:18:33'),(74,'2022-07-25',37,37,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-25 12:08:33','2022-07-25 12:08:33'),(75,'2022-07-25',37,17,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-25 12:10:50','2022-07-25 12:10:50'),(76,'2022-07-25',38,38,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-25 17:54:38','2022-07-25 17:54:38'),(77,'2022-07-25',38,22,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-25 17:55:31','2022-07-25 17:55:31'),(78,'2022-07-26',39,39,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-26 15:48:56','2022-07-26 15:48:56'),(79,'2022-07-26',39,18,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-26 15:49:57','2022-07-26 15:49:57'),(80,'2022-07-26',40,40,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-26 18:49:25','2022-07-26 18:49:25'),(81,'2022-07-26',40,19,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-26 18:50:34','2022-07-26 18:50:34'),(82,'2022-07-27',41,41,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-27 15:21:01','2022-07-27 15:21:01'),(83,'2022-07-27',41,23,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-27 15:22:53','2022-07-27 15:22:53'),(84,'2022-07-28',42,42,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-28 11:27:48','2022-07-28 11:27:48'),(85,'2022-07-28',42,24,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-28 11:28:58','2022-07-28 11:28:58'),(86,'2022-07-28',43,43,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-28 12:31:21','2022-07-28 12:31:21'),(87,'2022-07-28',20,25,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-28 12:32:14','2022-07-28 12:32:14'),(88,'2022-07-28',44,44,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-28 12:37:22','2022-07-28 12:37:22'),(89,'2022-07-28',44,26,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-28 12:39:04','2022-07-28 12:39:04'),(90,'2022-07-28',45,45,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-28 17:46:28','2022-07-28 17:46:28'),(91,'2022-07-28',45,27,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-28 17:48:41','2022-07-28 17:48:41'),(92,'2022-07-29',46,46,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-29 14:25:39','2022-07-29 14:25:39'),(93,'2022-07-29',46,28,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-29 14:26:30','2022-07-29 14:26:30'),(94,'2022-07-30',47,47,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-30 16:19:28','2022-07-30 16:19:28'),(95,'2022-07-30',47,29,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-30 16:20:39','2022-07-30 16:20:39'),(96,'2022-07-30',48,48,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-30 16:26:28','2022-07-30 16:26:28'),(97,'2022-07-30',48,30,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-07-30 16:27:57','2022-07-30 16:27:57'),(98,'2022-07-30',49,49,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-07-30 19:15:14','2022-07-30 19:15:14'),(99,'2022-07-30',49,20,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-07-30 19:16:03','2022-07-30 19:16:03'),(100,'2022-08-01',50,50,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-01 12:46:08','2022-08-01 12:46:08'),(101,'2022-08-01',50,31,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-01 12:46:48','2022-08-01 12:46:48'),(102,'2022-08-01',51,51,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-01 17:31:51','2022-08-01 17:31:51'),(103,'2022-08-01',51,32,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-01 17:34:25','2022-08-01 17:34:25'),(104,'2022-08-02',52,52,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-02 09:40:44','2022-08-02 09:40:44'),(105,'2022-08-02',52,33,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-02 09:41:52','2022-08-02 09:41:52'),(106,'2022-08-03',53,53,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-03 12:42:31','2022-08-03 12:42:31'),(107,'2022-08-03',53,34,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-03 12:43:24','2022-08-03 12:43:24'),(108,'2022-08-03',54,54,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-03 20:36:19','2022-08-03 20:36:19'),(109,'2022-08-03',7,35,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-03 20:37:10','2022-08-03 20:37:10'),(110,'2022-08-04',55,55,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-04 17:34:54','2022-08-04 17:34:54'),(111,'2022-08-04',55,36,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-04 17:35:46','2022-08-04 17:35:46'),(112,'2022-08-06',56,56,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-06 16:57:20','2022-08-06 16:57:20'),(113,'2022-08-08',57,57,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-08 16:40:18','2022-08-08 16:40:18'),(114,'2022-08-08',57,37,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-08 16:41:20','2022-08-08 16:41:20'),(115,'2022-08-09',58,58,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-09 10:57:49','2022-08-09 10:57:49'),(116,'2022-08-09',58,38,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-09 10:58:43','2022-08-09 10:58:43'),(117,'2022-08-10',36,39,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-10 19:39:30','2022-08-10 19:39:30'),(118,'2022-08-12',59,59,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-12 20:31:09','2022-08-12 20:31:09'),(119,'2022-08-12',7,40,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-12 20:31:41','2022-08-12 20:31:41'),(120,'2022-08-13',60,60,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-13 19:42:40','2022-08-13 19:42:40'),(121,'2022-08-13',60,41,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-13 19:43:18','2022-08-13 19:43:18'),(122,'2022-08-16',61,61,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-16 19:47:56','2022-08-16 19:47:56'),(123,'2022-08-17',62,62,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-17 18:10:07','2022-08-17 18:10:07'),(124,'2022-08-17',62,42,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-17 18:11:06','2022-08-17 18:11:06'),(125,'2022-08-17',63,63,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-17 18:45:25','2022-08-17 18:45:25'),(126,'2022-08-17',63,43,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-17 18:46:10','2022-08-17 18:46:10'),(127,'2022-08-19',64,64,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-19 10:52:20','2022-08-19 10:52:20'),(128,'2022-08-19',7,21,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-19 10:54:43','2022-08-19 10:54:43'),(129,'2022-08-19',36,22,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-19 10:57:41','2022-08-19 10:57:41'),(130,'2022-08-19',65,65,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-19 17:16:07','2022-08-19 17:16:07'),(131,'2022-08-19',65,44,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-19 17:17:06','2022-08-19 17:17:06'),(132,'2022-08-20',66,66,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-20 12:05:35','2022-08-20 12:05:35'),(133,'2022-08-20',66,23,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-20 12:06:50','2022-08-20 12:06:50'),(134,'2022-08-20',67,67,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-20 14:26:46','2022-08-20 14:26:46'),(135,'2022-08-20',57,24,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-20 14:28:03','2022-08-20 14:28:03'),(136,'2022-08-23',68,68,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-23 19:08:05','2022-08-23 19:08:05'),(137,'2022-08-23',68,45,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-23 19:09:49','2022-08-23 19:09:49'),(138,'2022-08-26',46,46,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-26 09:41:35','2022-08-26 09:41:35'),(139,'2022-08-27',69,69,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-27 14:27:07','2022-08-27 14:27:07'),(140,'2022-08-27',7,47,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-27 14:28:06','2022-08-27 14:28:06'),(141,'2022-08-29',70,70,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-29 11:30:59','2022-08-29 11:30:59'),(142,'2022-08-29',70,25,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-29 11:31:41','2022-08-29 11:31:41'),(143,'2022-08-29',71,71,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-29 19:07:02','2022-08-29 19:07:02'),(144,'2022-08-29',71,48,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-29 19:07:59','2022-08-29 19:07:59'),(145,'2022-08-30',72,72,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-30 10:20:03','2022-08-30 10:20:03'),(146,'2022-08-30',72,49,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-30 10:20:40','2022-08-30 10:20:40'),(147,'2022-08-30',73,73,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-30 11:00:44','2022-08-30 11:00:44'),(148,'2022-08-30',73,26,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-30 11:01:35','2022-08-30 11:01:35'),(149,'2022-08-31',74,74,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-31 10:14:14','2022-08-31 10:14:14'),(150,'2022-08-31',74,27,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-08-31 10:15:06','2022-08-31 10:15:06'),(151,'2022-08-31',75,75,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-31 16:41:26','2022-08-31 16:41:26'),(152,'2022-08-31',75,50,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-31 16:42:11','2022-08-31 16:42:11'),(153,'2022-08-31',76,76,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-08-31 17:33:43','2022-08-31 17:33:43'),(154,'2022-08-31',36,51,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-08-31 17:39:24','2022-08-31 17:39:24'),(155,'2022-09-01',77,77,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-01 16:51:25','2022-09-01 16:51:25'),(156,'2022-09-01',77,52,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-01 16:52:25','2022-09-01 16:52:25'),(157,'2022-09-01',78,78,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-01 16:53:40','2022-09-01 16:53:40'),(158,'2022-09-01',78,53,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-01 16:54:02','2022-09-01 16:54:02'),(159,'2022-09-02',79,79,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-02 18:05:53','2022-09-02 18:05:53'),(160,'2022-09-02',79,54,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-02 18:06:40','2022-09-02 18:06:40'),(161,'2022-09-03',80,80,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-03 16:49:07','2022-09-03 16:49:07'),(162,'2022-09-03',80,55,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-03 16:49:55','2022-09-03 16:49:55'),(163,'2022-09-03',42,56,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-03 18:32:26','2022-09-03 18:32:26'),(164,'2022-09-05',7,57,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-05 14:25:23','2022-09-05 14:25:23'),(165,'2022-09-07',81,81,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-07 11:16:36','2022-09-07 11:16:36'),(166,'2022-09-07',81,58,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-07 11:18:02','2022-09-07 11:18:02'),(167,'2022-09-08',82,82,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-08 14:48:36','2022-09-08 14:48:36'),(168,'2022-09-08',82,28,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-08 14:49:10','2022-09-08 14:49:10'),(169,'2022-09-12',83,83,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-12 19:24:43','2022-09-12 19:24:43'),(170,'2022-09-12',83,59,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-12 19:26:18','2022-09-12 19:26:18'),(171,'2022-09-13',84,84,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-13 17:10:14','2022-09-13 17:10:14'),(172,'2022-09-13',84,60,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-13 17:11:13','2022-09-13 17:11:13'),(173,'2022-09-14',85,85,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-14 10:35:35','2022-09-14 10:35:35'),(174,'2022-09-14',85,29,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-14 10:39:58','2022-09-14 10:39:58'),(175,'2022-09-14',86,86,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-14 14:32:34','2022-09-14 14:32:34'),(176,'2022-09-14',86,61,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-14 14:35:05','2022-09-14 14:35:05'),(177,'2022-09-15',87,87,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-15 09:41:32','2022-09-15 09:41:32'),(178,'2022-09-15',87,30,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-15 09:43:34','2022-09-15 09:43:34'),(179,'2022-09-15',88,88,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-15 14:55:17','2022-09-15 14:55:17'),(180,'2022-09-15',88,31,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-15 14:57:03','2022-09-15 14:57:03'),(181,'2022-09-16',89,89,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-16 10:37:48','2022-09-16 10:37:48'),(182,'2022-09-16',90,90,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-16 10:39:49','2022-09-16 10:39:49'),(183,'2022-09-16',91,91,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-16 10:42:21','2022-09-16 10:42:21'),(184,'2022-09-16',89,62,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-16 10:43:14','2022-09-16 10:43:14'),(185,'2022-09-16',89,63,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-16 10:44:42','2022-09-16 10:44:42'),(186,'2022-09-16',92,92,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-16 10:55:20','2022-09-16 10:55:20'),(187,'2022-09-16',92,64,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-16 10:56:36','2022-09-16 10:56:36'),(188,'2022-09-16',93,93,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-16 19:02:33','2022-09-16 19:02:33'),(189,'2022-09-16',93,32,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-16 19:03:29','2022-09-16 19:03:29'),(190,'2022-09-21',23,33,'App\\Models\\Tenant\\SaleNote',1,-2.0000,'2022-09-21 15:03:27','2022-09-21 15:03:27'),(191,'2022-09-21',94,94,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-21 15:08:16','2022-09-21 15:08:16'),(192,'2022-09-21',94,34,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-21 15:09:06','2022-09-21 15:09:06'),(193,'2022-09-23',95,95,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-23 11:37:56','2022-09-23 11:37:56'),(194,'2022-09-23',96,96,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-23 11:42:19','2022-09-23 11:42:19'),(195,'2022-09-23',96,65,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-09-23 11:44:20','2022-09-23 11:44:20'),(196,'2022-09-26',97,97,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-26 20:03:29','2022-09-26 20:03:29'),(197,'2022-09-26',97,35,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-26 20:04:16','2022-09-26 20:04:16'),(198,'2022-09-27',98,98,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-27 16:48:54','2022-09-27 16:48:54'),(199,'2022-09-27',98,36,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-27 16:49:48','2022-09-27 16:49:48'),(200,'2022-09-29',99,99,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-29 18:23:29','2022-09-29 18:23:29'),(201,'2022-09-29',100,100,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-29 18:26:40','2022-09-29 18:26:40'),(202,'2022-09-30',101,101,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-09-30 19:59:41','2022-09-30 19:59:41'),(203,'2022-09-30',101,37,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-09-30 20:00:37','2022-09-30 20:00:37'),(204,'2022-10-01',102,102,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-01 10:54:45','2022-10-01 10:54:45'),(205,'2022-10-01',102,38,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-01 10:55:54','2022-10-01 10:55:54'),(206,'2022-10-01',6,39,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-01 10:59:19','2022-10-01 10:59:19'),(207,'2022-10-01',103,103,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-01 17:27:52','2022-10-01 17:27:52'),(208,'2022-10-01',103,40,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-01 17:29:00','2022-10-01 17:29:00'),(209,'2022-10-01',104,104,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-01 18:03:12','2022-10-01 18:03:12'),(210,'2022-10-01',104,41,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-01 18:04:22','2022-10-01 18:04:22'),(211,'2022-10-05',105,105,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-05 17:49:52','2022-10-05 17:49:52'),(212,'2022-10-05',19,66,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-10-05 17:50:53','2022-10-05 17:50:53'),(213,'2022-10-06',106,106,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-06 15:29:58','2022-10-06 15:29:58'),(214,'2022-10-06',106,67,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-10-06 15:30:43','2022-10-06 15:30:43'),(215,'2022-10-11',107,107,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-11 17:59:38','2022-10-11 17:59:38'),(216,'2022-10-11',107,42,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-11 18:03:27','2022-10-11 18:03:27'),(217,'2022-10-11',108,108,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-11 18:24:05','2022-10-11 18:24:05'),(218,'2022-10-11',108,43,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-11 18:24:52','2022-10-11 18:24:52'),(219,'2022-10-14',109,109,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-14 17:04:02','2022-10-14 17:04:02'),(220,'2022-10-14',109,44,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-14 17:05:14','2022-10-14 17:05:14'),(221,'2022-10-15',110,110,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-15 20:47:25','2022-10-15 20:47:25'),(222,'2022-10-15',110,45,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-15 20:48:06','2022-10-15 20:48:06'),(223,'2022-10-17',111,111,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-17 16:00:13','2022-10-17 16:00:13'),(224,'2022-10-17',111,68,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-10-17 16:01:43','2022-10-17 16:01:43'),(225,'2022-10-28',10,46,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-28 17:40:06','2022-10-28 17:40:06'),(226,'2022-10-31',82,47,'App\\Models\\Tenant\\SaleNote',1,-2.0000,'2022-10-31 15:08:40','2022-10-31 15:08:40'),(227,'2022-10-31',82,48,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-31 15:12:07','2022-10-31 15:12:07'),(228,'2022-10-31',112,112,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-10-31 18:10:48','2022-10-31 18:10:48'),(229,'2022-10-31',112,49,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-10-31 18:11:37','2022-10-31 18:11:37'),(230,'2022-11-02',113,113,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-02 19:45:38','2022-11-02 19:45:38'),(231,'2022-11-02',113,50,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-02 19:46:22','2022-11-02 19:46:22'),(232,'2022-11-04',112,51,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-04 18:18:19','2022-11-04 18:18:19'),(233,'2022-11-10',114,114,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-10 13:56:14','2022-11-10 13:56:14'),(248,'2022-11-10',78,81,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-11-10 16:09:14','2022-11-10 16:09:14'),(249,'2022-11-10',114,82,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-11-10 16:16:32','2022-11-10 16:16:32'),(250,'2022-11-12',115,115,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-12 17:32:55','2022-11-12 17:32:55'),(251,'2022-11-12',115,54,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-12 17:33:51','2022-11-12 17:33:51'),(252,'2022-11-12',116,116,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-12 19:16:08','2022-11-12 19:16:08'),(253,'2022-11-12',116,55,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-12 19:17:15','2022-11-12 19:17:15'),(254,'2022-11-14',117,117,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-14 09:30:52','2022-11-14 09:30:52'),(255,'2022-11-14',117,56,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-14 09:32:06','2022-11-14 09:32:06'),(256,'2022-11-21',118,118,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-21 20:07:26','2022-11-21 20:07:26'),(257,'2022-11-21',118,57,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-21 20:09:18','2022-11-21 20:09:18'),(258,'2022-11-22',20,58,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-22 17:28:25','2022-11-22 17:28:25'),(259,'2022-11-23',119,119,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-23 11:45:50','2022-11-23 11:45:50'),(260,'2022-11-23',119,59,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-23 11:46:53','2022-11-23 11:46:53'),(261,'2022-11-25',120,120,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-25 12:18:40','2022-11-25 12:18:40'),(262,'2022-11-25',50,83,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-11-25 12:20:22','2022-11-25 12:20:22'),(263,'2022-11-30',121,121,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-11-30 09:54:34','2022-11-30 09:54:34'),(264,'2022-11-30',121,60,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-11-30 09:58:16','2022-11-30 09:58:16'),(265,'2022-12-01',112,61,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-01 14:51:22','2022-12-01 14:51:22'),(266,'2022-12-01',112,62,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-01 14:52:36','2022-12-01 14:52:36'),(267,'2022-12-05',122,122,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-05 11:24:16','2022-12-05 11:24:16'),(268,'2022-12-05',122,84,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-12-05 11:32:30','2022-12-05 11:32:30'),(269,'2022-12-05',123,123,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-05 13:04:40','2022-12-05 13:04:40'),(270,'2022-12-05',123,85,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-12-05 13:06:41','2022-12-05 13:06:41'),(271,'2022-12-05',124,124,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-05 16:46:34','2022-12-05 16:46:34'),(272,'2022-12-05',124,63,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-05 16:47:23','2022-12-05 16:47:23'),(273,'2022-12-07',125,125,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-07 16:55:15','2022-12-07 16:55:15'),(274,'2022-12-07',125,64,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-07 16:56:26','2022-12-07 16:56:26'),(275,'2022-12-14',126,126,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-14 17:14:15','2022-12-14 17:14:15'),(276,'2022-12-14',126,65,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-14 17:15:43','2022-12-14 17:15:43'),(277,'2022-12-14',57,66,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-14 17:19:32','2022-12-14 17:19:32'),(278,'2022-12-15',127,127,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-15 15:13:47','2022-12-15 15:13:47'),(279,'2022-12-15',127,67,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-15 15:14:55','2022-12-15 15:14:55'),(280,'2022-12-16',41,68,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-16 12:51:25','2022-12-16 12:51:25'),(281,'2022-12-17',128,128,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-17 09:31:29','2022-12-17 09:31:29'),(282,'2022-12-17',21,69,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-17 09:32:19','2022-12-17 09:32:19'),(283,'2022-12-17',129,129,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-17 13:24:42','2022-12-17 13:24:42'),(284,'2022-12-17',129,70,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-17 13:25:35','2022-12-17 13:25:35'),(285,'2022-12-17',36,86,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-12-17 17:46:26','2022-12-17 17:46:26'),(286,'2022-12-17',130,130,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-17 17:57:43','2022-12-17 17:57:43'),(287,'2022-12-17',130,71,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-17 17:59:13','2022-12-17 17:59:13'),(288,'2022-12-20',62,72,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-20 20:24:27','2022-12-20 20:24:27'),(289,'2022-12-21',67,73,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-21 10:47:47','2022-12-21 10:47:47'),(290,'2022-12-23',43,87,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-12-23 09:40:51','2022-12-23 09:40:51'),(291,'2022-12-23',43,74,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-23 09:41:56','2022-12-23 09:41:56'),(292,'2022-12-24',7,75,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-24 16:51:32','2022-12-24 16:51:32'),(293,'2022-12-26',131,131,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-26 16:33:48','2022-12-26 16:33:48'),(294,'2022-12-26',131,76,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-26 16:34:38','2022-12-26 16:34:38'),(295,'2022-12-30',7,88,'App\\Models\\Tenant\\Document',1,-1.0000,'2022-12-30 18:06:06','2022-12-30 18:06:06'),(296,'2022-12-30',132,132,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-30 20:28:59','2022-12-30 20:28:59'),(297,'2022-12-30',132,77,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-30 20:37:45','2022-12-30 20:37:45'),(298,'2022-12-30',132,89,'App\\Models\\Tenant\\Document',1,-2.0000,'2022-12-30 20:53:32','2022-12-30 20:53:32'),(299,'2022-12-31',133,133,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2022-12-31 17:23:50','2022-12-31 17:23:50'),(300,'2022-12-31',133,78,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2022-12-31 17:24:22','2022-12-31 17:24:22'),(301,'2023-01-02',80,90,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-02 13:05:04','2023-01-02 13:05:04'),(302,'2023-01-05',134,134,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-05 11:29:16','2023-01-05 11:29:16'),(303,'2023-01-05',134,79,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-05 11:29:57','2023-01-05 11:29:57'),(304,'2023-01-05',130,80,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-05 16:54:12','2023-01-05 16:54:12'),(305,'2023-01-09',135,135,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-09 10:28:31','2023-01-09 10:28:31'),(306,'2023-01-09',135,91,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-09 10:29:58','2023-01-09 10:29:58'),(307,'2023-01-09',6,81,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-09 18:03:24','2023-01-09 18:03:24'),(308,'2023-01-10',7,82,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-10 10:39:36','2023-01-10 10:39:36'),(309,'2023-01-11',7,83,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-11 10:24:29','2023-01-11 10:24:29'),(310,'2023-01-13',136,136,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-13 15:11:41','2023-01-13 15:11:41'),(311,'2023-01-13',136,84,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-13 15:13:08','2023-01-13 15:13:08'),(312,'2023-01-14',130,85,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-14 11:55:19','2023-01-14 11:55:19'),(313,'2023-01-14',137,137,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-14 17:26:20','2023-01-14 17:26:20'),(314,'2023-01-14',137,92,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-14 17:26:48','2023-01-14 17:26:48'),(315,'2023-01-17',130,86,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-17 10:13:24','2023-01-17 10:13:24'),(316,'2023-01-17',138,138,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-17 17:26:21','2023-01-17 17:26:21'),(317,'2023-01-17',138,87,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-17 17:27:51','2023-01-17 17:27:51'),(318,'2023-01-18',139,139,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-18 17:07:55','2023-01-18 17:07:55'),(319,'2023-01-18',139,88,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-18 17:08:51','2023-01-18 17:08:51'),(320,'2023-01-20',140,140,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-20 15:10:55','2023-01-20 15:10:55'),(321,'2023-01-20',141,141,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-20 15:11:23','2023-01-20 15:11:23'),(322,'2023-01-20',141,93,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-20 15:12:30','2023-01-20 15:12:30'),(323,'2023-01-20',11,93,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-20 15:12:30','2023-01-20 15:12:30'),(324,'2023-01-20',142,142,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-20 15:33:54','2023-01-20 15:33:54'),(325,'2023-01-20',142,94,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-20 15:34:37','2023-01-20 15:34:37'),(326,'2023-01-20',20,89,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-20 19:37:04','2023-01-20 19:37:04'),(327,'2023-01-23',143,143,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-23 14:16:27','2023-01-23 14:16:27'),(328,'2023-01-23',143,95,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-23 14:17:21','2023-01-23 14:17:21'),(329,'2023-01-27',144,144,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-27 17:57:27','2023-01-27 17:57:27'),(330,'2023-01-27',144,96,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-01-27 17:58:17','2023-01-27 17:58:17'),(331,'2023-01-30',145,145,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-01-30 15:33:27','2023-01-30 15:33:27'),(332,'2023-01-30',145,90,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-30 15:35:16','2023-01-30 15:35:16'),(333,'2023-01-30',145,91,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-30 15:49:09','2023-01-30 15:49:09'),(334,'2023-01-30',42,92,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-30 16:05:10','2023-01-30 16:05:10'),(335,'2023-01-30',2,93,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(336,'2023-01-30',4,93,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(337,'2023-01-30',145,94,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-01-30 16:23:42','2023-01-30 16:23:42'),(338,'2023-02-02',1,95,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-02 18:21:02','2023-02-02 18:21:02'),(339,'2023-02-06',146,146,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-06 16:03:48','2023-02-06 16:03:48'),(340,'2023-02-06',146,97,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-06 16:06:27','2023-02-06 16:06:27'),(341,'2023-02-11',147,147,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-11 18:03:32','2023-02-11 18:03:32'),(342,'2023-02-11',147,96,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-11 18:05:24','2023-02-11 18:05:24'),(343,'2023-02-13',148,148,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-13 16:06:43','2023-02-13 16:06:43'),(344,'2023-02-13',148,97,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-13 16:08:09','2023-02-13 16:08:09'),(345,'2023-02-13',44,98,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-13 20:11:58','2023-02-13 20:11:58'),(346,'2023-02-15',149,149,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-15 17:27:39','2023-02-15 17:27:39'),(347,'2023-02-15',149,99,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-15 17:28:39','2023-02-15 17:28:39'),(348,'2023-02-16',150,150,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-16 17:36:40','2023-02-16 17:36:40'),(349,'2023-02-16',150,100,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-16 17:37:18','2023-02-16 17:37:18'),(350,'2023-02-16',7,101,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-16 18:07:11','2023-02-16 18:07:11'),(351,'2023-02-18',147,102,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-18 12:23:17','2023-02-18 12:23:17'),(352,'2023-02-20',80,98,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-20 14:08:54','2023-02-20 14:08:54'),(353,'2023-02-21',128,103,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-21 13:29:44','2023-02-21 13:29:44'),(354,'2023-02-21',26,99,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-21 15:44:14','2023-02-21 15:44:14'),(355,'2023-02-23',7,100,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-23 13:54:36','2023-02-23 13:54:36'),(356,'2023-02-23',5,101,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-23 16:17:00','2023-02-23 16:17:00'),(357,'2023-02-23',151,151,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-23 16:24:34','2023-02-23 16:24:34'),(358,'2023-02-23',151,102,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-23 16:26:26','2023-02-23 16:26:26'),(359,'2023-02-23',151,103,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-23 16:28:08','2023-02-23 16:28:08'),(360,'2023-02-23',152,152,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-23 18:39:25','2023-02-23 18:39:25'),(361,'2023-02-23',152,104,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-23 18:40:27','2023-02-23 18:40:27'),(362,'2023-02-24',153,153,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-24 11:06:03','2023-02-24 11:06:03'),(363,'2023-02-24',153,105,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-24 11:10:28','2023-02-24 11:10:28'),(364,'2023-02-25',7,104,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-02-25 18:25:15','2023-02-25 18:25:15'),(365,'2023-02-25',154,154,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-25 20:02:48','2023-02-25 20:02:48'),(366,'2023-02-25',154,106,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-25 20:03:27','2023-02-25 20:03:27'),(367,'2023-02-27',50,107,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-27 11:57:51','2023-02-27 11:57:51'),(368,'2023-02-27',31,108,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-27 18:56:12','2023-02-27 18:56:12'),(369,'2023-02-28',130,109,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-28 15:22:06','2023-02-28 15:22:06'),(370,'2023-02-28',155,155,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-02-28 16:46:14','2023-02-28 16:46:14'),(371,'2023-02-28',155,110,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-28 16:47:19','2023-02-28 16:47:19'),(372,'2023-02-28',155,111,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-02-28 16:50:51','2023-02-28 16:50:51'),(373,'2023-03-01',46,112,'App\\Models\\Tenant\\SaleNote',1,-1.0000,'2023-03-01 10:59:02','2023-03-01 10:59:02'),(374,'2023-03-01',156,156,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-03-01 15:36:14','2023-03-01 15:36:14'),(375,'2023-03-01',157,157,'Modules\\Inventory\\Models\\Inventory',1,0.0000,'2023-03-01 15:37:06','2023-03-01 15:37:06'),(376,'2023-03-01',157,105,'App\\Models\\Tenant\\Document',1,-1.0000,'2023-03-01 15:38:16','2023-03-01 15:38:16');

--
-- Table structure for table `inventory_transactions`
--

CREATE TABLE `inventory_transactions` (
  `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('input','output') COLLATE utf8mb4_unicode_ci NOT NULL,
  KEY `inventory_transactions_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_transactions`
--

INSERT INTO `inventory_transactions` VALUES ('02','Compra nacional','input'),('03','Consignación recibida','input'),('05','Devolución recibida','input'),('16','Inventario inicial','input'),('18','Entrada de importación','input'),('19','Ingreso de producción','input'),('20','Entrada por devolución de producción','input'),('21','Entrada por transferencia entre almacenes','input'),('22','Entrada por identificación erronea','input'),('24','Entrada por devolución del cliente','input'),('26','Entrada para servicio de producción','input'),('29','Entrada de bienes en prestamo','input'),('31','Entrada de bienes en custodia','input'),('50','Ingreso temporal','input'),('52','Ingreso por transformación','input'),('54','Ingreso de producción','input'),('55','Entrada de importación','input'),('57','Entrada por conversión de medida','input'),('91','Ingreso por transformación','input'),('93','Ingreso temporal','input'),('96','Entrada por conversión de medida','input'),('99','Otros','input'),('01','Venta nacional','output'),('04','Consignación entregada','output'),('06','Devolución entregada','output'),('07','Bonificación','output'),('08','Premio','output'),('09','Donación','output'),('10','Salida a producción','output'),('11','Salida por transferencia entre almacenes','output'),('12','Retiro','output'),('13','Mermas','output'),('14','Desmedros','output'),('15','Destrucción','output'),('17','Exportación','output'),('23','Salida por identificación erronea','output'),('25','Salida por devolución al proveedor','output'),('27','Salida por servicio de producción','output'),('28','Ajuste por diferencia de inventario','output'),('30','Salida de bienes en prestamo','output'),('32','Salida de bienes en custodia','output'),('33','Muestras médicas','output'),('34','Publicidad','output'),('35','Gastos de representación','output'),('36','Retiro para entrega a trabajadores','output'),('37','Retiro por convenio colectivo','output'),('38','Retiro por sustitución de bien siniestrado','output'),('51','Salida temporal','output'),('53','Salida para servicios terceros','output'),('56','Salida por conversión de medida','output'),('100','Ingreso insumos por molino','input'),('101','Salida por insumo','output'),('102','Entrada por importacion masiva (xlsx)','input');

--
-- Table structure for table `inventory_transfer_items`
--

CREATE TABLE `inventory_transfer_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `inventory_transfer_id` int(10) unsigned NOT NULL,
  `item_lots_group_id` int(10) unsigned DEFAULT NULL,
  `item_lot_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inventory_transfer_items_inventory_transfer_id_foreign` (`inventory_transfer_id`),
  KEY `inventory_transfer_items_item_lots_group_id_foreign` (`item_lots_group_id`),
  KEY `inventory_transfer_items_item_lot_id_foreign` (`item_lot_id`),
  CONSTRAINT `inventory_transfer_items_inventory_transfer_id_foreign` FOREIGN KEY (`inventory_transfer_id`) REFERENCES `inventories_transfer` (`id`),
  CONSTRAINT `inventory_transfer_items_item_lot_id_foreign` FOREIGN KEY (`item_lot_id`) REFERENCES `item_lots` (`id`),
  CONSTRAINT `inventory_transfer_items_item_lots_group_id_foreign` FOREIGN KEY (`item_lots_group_id`) REFERENCES `item_lots_group` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventory_transfer_items`
--


--
-- Table structure for table `invoices`
--

CREATE TABLE `invoices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(10) unsigned NOT NULL,
  `operation_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_of_due` date NOT NULL,
  PRIMARY KEY (`id`),
  KEY `invoices_document_id_foreign` (`document_id`),
  KEY `invoices_operation_type_id_foreign` (`operation_type_id`),
  CONSTRAINT `invoices_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `invoices_operation_type_id_foreign` FOREIGN KEY (`operation_type_id`) REFERENCES `cat_operation_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invoices`
--

INSERT INTO `invoices` VALUES (1,1,'0101','2022-06-26'),(2,2,'0101','2022-06-26'),(3,3,'0101','2022-06-27'),(4,4,'0101','2022-06-28'),(5,5,'0101','2022-06-28'),(6,6,'0101','2022-06-30'),(7,7,'0101','2022-06-30'),(8,8,'0101','2022-06-30'),(9,9,'0101','2022-07-01'),(10,10,'0101','2022-07-05'),(11,11,'0101','2022-07-06'),(12,12,'0101','2022-07-09'),(13,13,'0101','2022-07-11'),(14,14,'0101','2022-07-12'),(15,15,'0101','2022-07-16'),(16,16,'0101','2022-07-16'),(17,17,'0101','2022-07-18'),(18,18,'0101','2022-07-18'),(19,19,'0101','2022-07-19'),(20,20,'0101','2022-07-20'),(21,21,'0101','2022-07-25'),(22,22,'0101','2022-07-25'),(23,23,'0101','2022-07-27'),(24,24,'0101','2022-07-28'),(25,25,'0101','2022-07-28'),(26,26,'0101','2022-07-28'),(27,27,'0101','2022-07-28'),(28,28,'0101','2022-07-29'),(29,29,'0101','2022-07-30'),(30,30,'0101','2022-07-30'),(31,31,'0101','2022-08-01'),(32,32,'0101','2022-08-01'),(33,33,'0101','2022-08-02'),(34,34,'0101','2022-08-03'),(35,35,'0101','2022-08-03'),(36,36,'0101','2022-08-04'),(37,37,'0101','2022-08-08'),(38,38,'0101','2022-08-09'),(39,39,'0101','2022-08-10'),(40,40,'0101','2022-08-12'),(41,41,'0101','2022-08-13'),(42,42,'0101','2022-08-17'),(43,43,'0101','2022-08-17'),(44,44,'0101','2022-08-19'),(45,45,'0101','2022-08-23'),(46,46,'0101','2022-08-26'),(47,47,'0101','2022-08-27'),(48,48,'0101','2022-08-29'),(49,49,'0101','2022-08-30'),(50,50,'0101','2022-08-31'),(51,51,'0101','2022-08-31'),(52,52,'0101','2022-09-01'),(53,53,'0101','2022-09-01'),(54,54,'0101','2022-09-02'),(55,55,'0101','2022-09-03'),(56,56,'0101','2022-09-03'),(57,57,'0101','2022-09-05'),(58,58,'0101','2022-09-07'),(59,59,'0101','2022-09-12'),(60,60,'0101','2022-09-13'),(61,61,'0101','2022-09-14'),(62,62,'0101','2022-09-16'),(63,63,'0101','2022-09-16'),(64,64,'0101','2022-09-16'),(65,65,'0101','2022-09-23'),(66,66,'0101','2022-10-05'),(67,67,'0101','2022-10-06'),(68,68,'0101','2022-10-17'),(81,81,'0101','2022-11-10'),(82,82,'0101','2022-11-10'),(83,83,'0101','2022-11-25'),(84,84,'0101','2022-12-05'),(85,85,'0101','2022-12-05'),(86,86,'0101','2022-12-17'),(87,87,'0101','2022-12-23'),(88,88,'0101','2022-12-30'),(89,89,'0101','2022-12-30'),(90,90,'0101','2023-01-02'),(91,91,'0101','2023-01-09'),(92,92,'0101','2023-01-14'),(93,93,'0101','2023-01-20'),(94,94,'0101','2023-01-20'),(95,95,'0101','2023-01-23'),(96,96,'0101','2023-01-27'),(97,97,'0101','2023-02-06'),(98,98,'0101','2023-02-13'),(99,99,'0101','2023-02-15'),(100,100,'0101','2023-02-16'),(101,101,'0101','2023-02-16'),(102,102,'0101','2023-02-18'),(103,103,'0101','2023-02-21'),(104,104,'0101','2023-02-25'),(105,105,'0101','2023-03-01');

--
-- Table structure for table `item_color`
--

CREATE TABLE `item_color` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_colors_item_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_color`
--


--
-- Table structure for table `item_images`
--

CREATE TABLE `item_images` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_images_item_id_foreign` (`item_id`),
  CONSTRAINT `item_images_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_images`
--


--
-- Table structure for table `item_lots`
--

CREATE TABLE `item_lots` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `series` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date` date NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `item_loteable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `item_loteable_id` int(10) unsigned NOT NULL,
  `has_sale` tinyint(1) NOT NULL DEFAULT 0,
  `state` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_lots_item_id_foreign` (`item_id`),
  KEY `item_lots_warehouse_id_foreign` (`warehouse_id`),
  KEY `item_lots_series_index` (`series`),
  KEY `item_lots_date_index` (`date`),
  KEY `item_lots_has_sale_index` (`has_sale`),
  KEY `item_lots_item_loteable_type_index` (`item_loteable_type`),
  KEY `item_lots_item_loteable_id_index` (`item_loteable_id`),
  CONSTRAINT `item_lots_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_lots_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_lots`
--


--
-- Table structure for table `item_lots_group`
--

CREATE TABLE `item_lots_group` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `old_quantity` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `date_of_due` date NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_lots_group_item_id_foreign` (`item_id`),
  CONSTRAINT `item_lots_group_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_lots_group`
--


--
-- Table structure for table `item_mold_cavities`
--

CREATE TABLE `item_mold_cavities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_mold_cavities_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_mold_cavities`
--


--
-- Table structure for table `item_mold_properties`
--

CREATE TABLE `item_mold_properties` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_mold_properties_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_mold_properties`
--


--
-- Table structure for table `item_movement`
--

CREATE TABLE `item_movement` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con item',
  `quantity` decimal(12,4) DEFAULT 0.0000 COMMENT 'Cantidad de venta del item',
  `date_of_movement` timestamp NULL DEFAULT NULL,
  `countable` tinyint(3) unsigned DEFAULT 0 COMMENT 'Define si se toma en cuenta para el conteo de inventario',
  `establishment_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `contract_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `devolution_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `dispatch_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `document_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `expense_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `fixed_asset_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `fixed_asset_purchase_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `order_form_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `order_note_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `purchase_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `purchase_order_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `purchase_quotation_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `quotation_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `sale_note_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `sale_opportunity_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `technical_service_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=333 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_movement`
--

INSERT INTO `item_movement` VALUES (1,1,-1.0000,'2022-06-23 20:17:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,'2022-06-23 20:17:14','2022-06-23 20:17:14'),(2,1,-1.0000,'2022-06-23 20:17:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,'2022-06-23 20:17:14','2022-06-23 20:17:14'),(3,1,-1.0000,'2022-06-26 17:18:05',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,'2022-06-26 17:18:05','2022-06-26 17:18:05'),(4,1,-1.0000,'2022-06-26 17:18:05',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,'2022-06-26 17:18:05','2022-06-26 17:18:05'),(5,1,-1.0000,'2022-06-26 17:39:37',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,'2022-06-26 17:39:37','2022-06-26 17:39:37'),(6,1,-1.0000,'2022-06-26 17:39:37',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,'2022-06-26 17:39:37','2022-06-26 17:39:37'),(7,5,-1.0000,'2022-06-26 17:55:18',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,'2022-06-26 17:55:18','2022-06-26 17:55:18'),(8,5,-1.0000,'2022-06-26 17:55:18',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,'2022-06-26 17:55:18','2022-06-26 17:55:18'),(9,6,-1.0000,'2022-06-26 18:04:20',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,'2022-06-26 18:04:20','2022-06-26 18:04:20'),(10,6,-1.0000,'2022-06-26 18:04:20',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,'2022-06-26 18:04:20','2022-06-26 18:04:20'),(11,7,-1.0000,'2022-06-26 18:40:01',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,'2022-06-26 18:40:01','2022-06-26 18:40:01'),(12,7,-1.0000,'2022-06-26 18:40:01',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,'2022-06-26 18:40:01','2022-06-26 18:40:01'),(13,8,-1.0000,'2022-06-26 18:48:14',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,'2022-06-26 18:48:14','2022-06-26 18:48:14'),(14,8,-1.0000,'2022-06-26 18:48:14',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,'2022-06-26 18:48:14','2022-06-26 18:48:14'),(15,7,-1.0000,'2022-06-26 18:50:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,'2022-06-26 18:50:26','2022-06-26 18:50:26'),(16,7,-1.0000,'2022-06-26 18:50:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,'2022-06-26 18:50:26','2022-06-26 18:50:26'),(17,9,-1.0000,'2022-06-26 19:04:02',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,'2022-06-26 19:04:02','2022-06-26 19:04:02'),(18,9,-1.0000,'2022-06-26 19:04:02',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,'2022-06-26 19:04:02','2022-06-26 19:04:02'),(19,10,-1.0000,'2022-06-26 19:10:08',1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-26 19:10:09','2022-06-26 19:10:09'),(20,7,-1.0000,'2022-06-26 19:14:00',1,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-26 19:14:00','2022-06-26 19:14:00'),(21,12,-1.0000,'2022-06-27 14:04:17',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,'2022-06-27 14:04:17','2022-06-27 14:04:17'),(22,12,-1.0000,'2022-06-27 14:04:17',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,'2022-06-27 14:04:17','2022-06-27 14:04:17'),(23,13,-1.0000,'2022-06-27 14:23:50',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,'2022-06-27 14:23:50','2022-06-27 14:23:50'),(24,13,-1.0000,'2022-06-27 14:23:50',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,'2022-06-27 14:23:50','2022-06-27 14:23:50'),(25,14,-1.0000,'2022-06-27 14:28:48',1,1,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-27 14:28:48','2022-06-27 14:28:48'),(26,15,-1.0000,'2022-06-28 12:58:53',1,1,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-28 12:58:53','2022-06-28 12:58:53'),(27,16,-1.0000,'2022-06-28 18:25:19',1,1,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-28 18:25:19','2022-06-28 18:25:19'),(28,17,-1.0000,'2022-06-30 18:07:05',1,1,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-30 18:07:05','2022-06-30 18:07:05'),(29,18,-1.0000,'2022-06-30 18:23:16',1,1,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-30 18:23:16','2022-06-30 18:23:16'),(30,19,-1.0000,'2022-06-30 20:09:53',1,1,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,'2022-06-30 20:09:53','2022-06-30 20:09:53'),(31,20,-1.0000,'2022-07-01 11:25:29',1,1,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-01 11:25:29','2022-07-01 11:25:29'),(32,21,-1.0000,'2022-07-05 15:15:28',1,1,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-05 15:15:28','2022-07-05 15:15:28'),(33,22,-1.0000,'2022-07-06 09:43:56',1,1,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-06 09:43:56','2022-07-06 09:43:56'),(34,23,-1.0000,'2022-07-08 10:45:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,'2022-07-08 10:45:24','2022-07-08 10:45:24'),(35,23,-1.0000,'2022-07-08 10:45:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,'2022-07-08 10:45:24','2022-07-08 10:45:24'),(36,24,-1.0000,'2022-07-08 19:12:33',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,'2022-07-08 19:12:33','2022-07-08 19:12:33'),(37,24,-1.0000,'2022-07-08 19:12:33',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,'2022-07-08 19:12:33','2022-07-08 19:12:33'),(38,25,-1.0000,'2022-07-09 12:10:07',1,1,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-09 12:10:07','2022-07-09 12:10:07'),(39,20,-1.0000,'2022-07-11 20:26:44',1,1,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-11 20:26:44','2022-07-11 20:26:44'),(40,26,-1.0000,'2022-07-12 18:48:50',1,1,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-12 18:48:51','2022-07-12 18:48:51'),(41,27,-1.0000,'2022-07-16 17:33:26',1,1,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-16 17:33:27','2022-07-16 17:33:27'),(42,28,-1.0000,'2022-07-16 19:32:51',1,1,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-16 19:32:51','2022-07-16 19:32:51'),(43,29,-1.0000,'2022-07-18 10:20:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,'2022-07-18 10:20:51','2022-07-18 10:20:51'),(44,29,-1.0000,'2022-07-18 10:20:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,'2022-07-18 10:20:51','2022-07-18 10:20:51'),(45,30,-1.0000,'2022-07-18 19:08:55',1,1,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-18 19:08:55','2022-07-18 19:08:55'),(46,31,-1.0000,'2022-07-18 19:30:24',1,1,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-18 19:30:24','2022-07-18 19:30:24'),(47,32,-1.0000,'2022-07-19 16:34:41',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,'2022-07-19 16:34:41','2022-07-19 16:34:41'),(48,32,-1.0000,'2022-07-19 16:34:41',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,'2022-07-19 16:34:41','2022-07-19 16:34:41'),(49,33,-1.0000,'2022-07-19 20:09:43',1,1,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-19 20:09:44','2022-07-19 20:09:44'),(50,34,-1.0000,'2022-07-20 13:52:39',1,1,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-20 13:52:39','2022-07-20 13:52:39'),(51,35,-1.0000,'2022-07-22 18:28:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,'2022-07-22 18:28:17','2022-07-22 18:28:17'),(52,35,-1.0000,'2022-07-22 18:28:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,'2022-07-22 18:28:17','2022-07-22 18:28:17'),(53,20,-1.0000,'2022-07-25 09:18:33',1,1,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-25 09:18:33','2022-07-25 09:18:33'),(54,37,-1.0000,'2022-07-25 12:10:50',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,'2022-07-25 12:10:50','2022-07-25 12:10:50'),(55,37,-1.0000,'2022-07-25 12:10:50',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,'2022-07-25 12:10:50','2022-07-25 12:10:50'),(56,38,-1.0000,'2022-07-25 17:55:31',1,1,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-25 17:55:31','2022-07-25 17:55:31'),(57,39,-1.0000,'2022-07-26 15:49:57',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,'2022-07-26 15:49:57','2022-07-26 15:49:57'),(58,39,-1.0000,'2022-07-26 15:49:57',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,'2022-07-26 15:49:57','2022-07-26 15:49:57'),(59,40,-1.0000,'2022-07-26 18:50:34',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0,0,'2022-07-26 18:50:34','2022-07-26 18:50:34'),(60,40,-1.0000,'2022-07-26 18:50:34',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0,0,'2022-07-26 18:50:34','2022-07-26 18:50:34'),(61,41,-1.0000,'2022-07-27 15:22:53',1,1,0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-27 15:22:54','2022-07-27 15:22:54'),(62,42,-1.0000,'2022-07-28 11:28:58',1,1,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-28 11:28:58','2022-07-28 11:28:58'),(63,20,-1.0000,'2022-07-28 12:32:14',1,1,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-28 12:32:14','2022-07-28 12:32:14'),(64,44,-1.0000,'2022-07-28 12:39:04',1,1,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-28 12:39:04','2022-07-28 12:39:04'),(65,45,-1.0000,'2022-07-28 17:48:41',1,1,0,0,0,27,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-28 17:48:41','2022-07-28 17:48:41'),(66,46,-1.0000,'2022-07-29 14:26:30',1,1,0,0,0,28,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-29 14:26:30','2022-07-29 14:26:30'),(67,47,-1.0000,'2022-07-30 16:20:39',1,1,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-30 16:20:39','2022-07-30 16:20:39'),(68,48,-1.0000,'2022-07-30 16:27:57',1,1,0,0,0,30,0,0,0,0,0,0,0,0,0,0,0,0,'2022-07-30 16:27:57','2022-07-30 16:27:57'),(69,49,-1.0000,'2022-07-30 19:16:03',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0,0,'2022-07-30 19:16:03','2022-07-30 19:16:03'),(70,49,-1.0000,'2022-07-30 19:16:03',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0,0,'2022-07-30 19:16:03','2022-07-30 19:16:03'),(71,50,-1.0000,'2022-08-01 12:46:47',1,1,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-01 12:46:48','2022-08-01 12:46:48'),(72,51,-1.0000,'2022-08-01 17:34:24',1,1,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-01 17:34:25','2022-08-01 17:34:25'),(73,52,-1.0000,'2022-08-02 09:41:52',1,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-02 09:41:52','2022-08-02 09:41:52'),(74,53,-1.0000,'2022-08-03 12:43:24',1,1,0,0,0,34,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-03 12:43:25','2022-08-03 12:43:25'),(75,7,-1.0000,'2022-08-03 20:37:10',1,1,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-03 20:37:10','2022-08-03 20:37:10'),(76,55,-1.0000,'2022-08-04 17:35:45',1,1,0,0,0,36,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-04 17:35:46','2022-08-04 17:35:46'),(77,57,-1.0000,'2022-08-08 16:41:19',1,1,0,0,0,37,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-08 16:41:20','2022-08-08 16:41:20'),(78,58,-1.0000,'2022-08-09 10:58:43',1,1,0,0,0,38,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-09 10:58:43','2022-08-09 10:58:43'),(79,36,-1.0000,'2022-08-10 19:39:30',1,1,0,0,0,39,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-10 19:39:30','2022-08-10 19:39:30'),(80,7,-1.0000,'2022-08-12 20:31:41',1,1,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-12 20:31:41','2022-08-12 20:31:41'),(81,60,-1.0000,'2022-08-13 19:43:17',1,1,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-13 19:43:18','2022-08-13 19:43:18'),(82,62,-1.0000,'2022-08-17 18:11:05',1,1,0,0,0,42,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-17 18:11:06','2022-08-17 18:11:06'),(83,63,-1.0000,'2022-08-17 18:46:09',1,1,0,0,0,43,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-17 18:46:10','2022-08-17 18:46:10'),(84,7,-1.0000,'2022-08-19 10:54:43',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,'2022-08-19 10:54:43','2022-08-19 10:54:43'),(85,7,-1.0000,'2022-08-19 10:54:43',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,'2022-08-19 10:54:43','2022-08-19 10:54:43'),(86,36,-1.0000,'2022-08-19 10:57:40',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,22,0,0,'2022-08-19 10:57:41','2022-08-19 10:57:41'),(87,36,-1.0000,'2022-08-19 10:57:40',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,22,0,0,'2022-08-19 10:57:41','2022-08-19 10:57:41'),(88,65,-1.0000,'2022-08-19 17:17:05',1,1,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-19 17:17:07','2022-08-19 17:17:07'),(89,66,-1.0000,'2022-08-20 12:06:49',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,23,0,0,'2022-08-20 12:06:50','2022-08-20 12:06:50'),(90,66,-1.0000,'2022-08-20 12:06:49',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,23,0,0,'2022-08-20 12:06:50','2022-08-20 12:06:50'),(91,57,-1.0000,'2022-08-20 14:28:03',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,0,'2022-08-20 14:28:03','2022-08-20 14:28:03'),(92,57,-1.0000,'2022-08-20 14:28:03',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,0,'2022-08-20 14:28:03','2022-08-20 14:28:03'),(93,68,-1.0000,'2022-08-23 19:09:49',1,1,0,0,0,45,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-23 19:09:49','2022-08-23 19:09:49'),(94,46,-1.0000,'2022-08-26 09:41:35',1,1,0,0,0,46,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-26 09:41:35','2022-08-26 09:41:35'),(95,7,-1.0000,'2022-08-27 14:28:05',1,1,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-27 14:28:06','2022-08-27 14:28:06'),(96,70,-1.0000,'2022-08-29 11:31:41',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,25,0,0,'2022-08-29 11:31:41','2022-08-29 11:31:41'),(97,70,-1.0000,'2022-08-29 11:31:41',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,25,0,0,'2022-08-29 11:31:42','2022-08-29 11:31:42'),(98,71,-1.0000,'2022-08-29 19:07:59',1,1,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-29 19:07:59','2022-08-29 19:07:59'),(99,72,-1.0000,'2022-08-30 10:20:40',1,1,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-30 10:20:40','2022-08-30 10:20:40'),(100,73,-1.0000,'2022-08-30 11:01:35',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,'2022-08-30 11:01:35','2022-08-30 11:01:35'),(101,73,-1.0000,'2022-08-30 11:01:35',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,'2022-08-30 11:01:35','2022-08-30 11:01:35'),(102,74,-1.0000,'2022-08-31 10:15:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,27,0,0,'2022-08-31 10:15:06','2022-08-31 10:15:06'),(103,74,-1.0000,'2022-08-31 10:15:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,27,0,0,'2022-08-31 10:15:06','2022-08-31 10:15:06'),(104,75,-1.0000,'2022-08-31 16:42:11',1,1,0,0,0,50,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-31 16:42:11','2022-08-31 16:42:11'),(105,36,-1.0000,'2022-08-31 17:39:24',1,1,0,0,0,51,0,0,0,0,0,0,0,0,0,0,0,0,'2022-08-31 17:39:24','2022-08-31 17:39:24'),(106,77,-1.0000,'2022-09-01 16:52:25',1,1,0,0,0,52,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-01 16:52:25','2022-09-01 16:52:25'),(107,78,-1.0000,'2022-09-01 16:54:02',1,1,0,0,0,53,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-01 16:54:02','2022-09-01 16:54:02'),(108,79,-1.0000,'2022-09-02 18:06:40',1,1,0,0,0,54,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-02 18:06:40','2022-09-02 18:06:40'),(109,80,-1.0000,'2022-09-03 16:49:55',1,1,0,0,0,55,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-03 16:49:55','2022-09-03 16:49:55'),(110,42,-1.0000,'2022-09-03 18:32:25',1,1,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-03 18:32:26','2022-09-03 18:32:26'),(111,7,-1.0000,'2022-09-05 14:25:23',1,1,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-05 14:25:23','2022-09-05 14:25:23'),(112,81,-1.0000,'2022-09-07 11:18:02',1,1,0,0,0,58,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-07 11:18:02','2022-09-07 11:18:02'),(113,82,-1.0000,'2022-09-08 14:49:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,'2022-09-08 14:49:10','2022-09-08 14:49:10'),(114,82,-1.0000,'2022-09-08 14:49:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,'2022-09-08 14:49:10','2022-09-08 14:49:10'),(115,83,-1.0000,'2022-09-12 19:26:18',1,1,0,0,0,59,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-12 19:26:18','2022-09-12 19:26:18'),(116,84,-1.0000,'2022-09-13 17:11:13',1,1,0,0,0,60,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-13 17:11:13','2022-09-13 17:11:13'),(117,85,-1.0000,'2022-09-14 10:39:58',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,29,0,0,'2022-09-14 10:39:58','2022-09-14 10:39:58'),(118,85,-1.0000,'2022-09-14 10:39:58',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,29,0,0,'2022-09-14 10:39:58','2022-09-14 10:39:58'),(119,86,-1.0000,'2022-09-14 14:35:03',1,1,0,0,0,61,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-14 14:35:05','2022-09-14 14:35:05'),(120,87,-1.0000,'2022-09-15 09:43:34',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,30,0,0,'2022-09-15 09:43:34','2022-09-15 09:43:34'),(121,87,-1.0000,'2022-09-15 09:43:34',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,30,0,0,'2022-09-15 09:43:34','2022-09-15 09:43:34'),(122,88,-1.0000,'2022-09-15 14:57:03',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,31,0,0,'2022-09-15 14:57:03','2022-09-15 14:57:03'),(123,88,-1.0000,'2022-09-15 14:57:03',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,31,0,0,'2022-09-15 14:57:03','2022-09-15 14:57:03'),(124,89,-1.0000,'2022-09-16 10:43:14',1,1,0,0,0,62,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-16 10:43:14','2022-09-16 10:43:14'),(125,89,-1.0000,'2022-09-16 10:44:42',1,1,0,0,0,63,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-16 10:44:42','2022-09-16 10:44:42'),(126,92,-1.0000,'2022-09-16 10:56:36',1,1,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-16 10:56:36','2022-09-16 10:56:36'),(127,93,-1.0000,'2022-09-16 19:03:28',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,'2022-09-16 19:03:29','2022-09-16 19:03:29'),(128,93,-1.0000,'2022-09-16 19:03:28',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,'2022-09-16 19:03:29','2022-09-16 19:03:29'),(129,23,-2.0000,'2022-09-21 15:03:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,33,0,0,'2022-09-21 15:03:27','2022-09-21 15:03:27'),(130,23,-2.0000,'2022-09-21 15:03:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,33,0,0,'2022-09-21 15:03:27','2022-09-21 15:03:27'),(131,94,-1.0000,'2022-09-21 15:09:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,34,0,0,'2022-09-21 15:09:06','2022-09-21 15:09:06'),(132,94,-1.0000,'2022-09-21 15:09:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,34,0,0,'2022-09-21 15:09:06','2022-09-21 15:09:06'),(133,96,-1.0000,'2022-09-23 11:44:20',1,1,0,0,0,65,0,0,0,0,0,0,0,0,0,0,0,0,'2022-09-23 11:44:20','2022-09-23 11:44:20'),(134,97,-1.0000,'2022-09-26 20:04:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,35,0,0,'2022-09-26 20:04:16','2022-09-26 20:04:16'),(135,97,-1.0000,'2022-09-26 20:04:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,35,0,0,'2022-09-26 20:04:16','2022-09-26 20:04:16'),(136,98,-1.0000,'2022-09-27 16:49:47',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,36,0,0,'2022-09-27 16:49:48','2022-09-27 16:49:48'),(137,98,-1.0000,'2022-09-27 16:49:47',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,36,0,0,'2022-09-27 16:49:48','2022-09-27 16:49:48'),(138,101,-1.0000,'2022-09-30 20:00:37',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,37,0,0,'2022-09-30 20:00:37','2022-09-30 20:00:37'),(139,101,-1.0000,'2022-09-30 20:00:37',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,37,0,0,'2022-09-30 20:00:38','2022-09-30 20:00:38'),(140,102,-1.0000,'2022-10-01 10:55:54',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,38,0,0,'2022-10-01 10:55:54','2022-10-01 10:55:54'),(141,102,-1.0000,'2022-10-01 10:55:54',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,38,0,0,'2022-10-01 10:55:54','2022-10-01 10:55:54'),(142,6,-1.0000,'2022-10-01 10:59:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,39,0,0,'2022-10-01 10:59:19','2022-10-01 10:59:19'),(143,6,-1.0000,'2022-10-01 10:59:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,39,0,0,'2022-10-01 10:59:19','2022-10-01 10:59:19'),(144,103,-1.0000,'2022-10-01 17:29:00',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0,'2022-10-01 17:29:00','2022-10-01 17:29:00'),(145,103,-1.0000,'2022-10-01 17:29:00',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0,'2022-10-01 17:29:00','2022-10-01 17:29:00'),(146,104,-1.0000,'2022-10-01 18:04:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,'2022-10-01 18:04:22','2022-10-01 18:04:22'),(147,104,-1.0000,'2022-10-01 18:04:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,'2022-10-01 18:04:22','2022-10-01 18:04:22'),(148,19,-1.0000,'2022-10-05 17:50:53',1,1,0,0,0,66,0,0,0,0,0,0,0,0,0,0,0,0,'2022-10-05 17:50:53','2022-10-05 17:50:53'),(149,106,-1.0000,'2022-10-06 15:30:43',1,1,0,0,0,67,0,0,0,0,0,0,0,0,0,0,0,0,'2022-10-06 15:30:44','2022-10-06 15:30:44'),(150,107,-1.0000,'2022-10-11 18:03:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,42,0,0,'2022-10-11 18:03:27','2022-10-11 18:03:27'),(151,107,-1.0000,'2022-10-11 18:03:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,42,0,0,'2022-10-11 18:03:27','2022-10-11 18:03:27'),(152,108,-1.0000,'2022-10-11 18:24:52',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,43,0,0,'2022-10-11 18:24:52','2022-10-11 18:24:52'),(153,108,-1.0000,'2022-10-11 18:24:52',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,43,0,0,'2022-10-11 18:24:52','2022-10-11 18:24:52'),(154,109,-1.0000,'2022-10-14 17:05:14',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,'2022-10-14 17:05:14','2022-10-14 17:05:14'),(155,109,-1.0000,'2022-10-14 17:05:14',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,'2022-10-14 17:05:14','2022-10-14 17:05:14'),(156,110,-1.0000,'2022-10-15 20:48:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,45,0,0,'2022-10-15 20:48:06','2022-10-15 20:48:06'),(157,110,-1.0000,'2022-10-15 20:48:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,45,0,0,'2022-10-15 20:48:06','2022-10-15 20:48:06'),(158,111,-1.0000,'2022-10-17 16:01:43',1,1,0,0,0,68,0,0,0,0,0,0,0,0,0,0,0,0,'2022-10-17 16:01:43','2022-10-17 16:01:43'),(159,10,-1.0000,'2022-10-28 17:40:05',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0,'2022-10-28 17:40:06','2022-10-28 17:40:06'),(160,10,-1.0000,'2022-10-28 17:40:05',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0,'2022-10-28 17:40:06','2022-10-28 17:40:06'),(161,82,-2.0000,'2022-10-31 15:08:40',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,47,0,0,'2022-10-31 15:08:40','2022-10-31 15:08:40'),(162,82,-2.0000,'2022-10-31 15:08:40',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,47,0,0,'2022-10-31 15:08:40','2022-10-31 15:08:40'),(163,82,-1.0000,'2022-10-31 15:12:07',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,48,0,0,'2022-10-31 15:12:07','2022-10-31 15:12:07'),(164,82,-1.0000,'2022-10-31 15:12:07',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,48,0,0,'2022-10-31 15:12:07','2022-10-31 15:12:07'),(165,112,-1.0000,'2022-10-31 18:11:37',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,49,0,0,'2022-10-31 18:11:37','2022-10-31 18:11:37'),(166,112,-1.0000,'2022-10-31 18:11:37',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,49,0,0,'2022-10-31 18:11:37','2022-10-31 18:11:37'),(167,113,-1.0000,'2022-11-02 19:46:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,0,'2022-11-02 19:46:22','2022-11-02 19:46:22'),(168,113,-1.0000,'2022-11-02 19:46:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,0,'2022-11-02 19:46:22','2022-11-02 19:46:22'),(169,112,-1.0000,'2022-11-04 18:18:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0,0,'2022-11-04 18:18:19','2022-11-04 18:18:19'),(170,112,-1.0000,'2022-11-04 18:18:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0,0,'2022-11-04 18:18:19','2022-11-04 18:18:19'),(187,78,-1.0000,'2022-11-10 16:09:14',1,1,0,0,0,81,0,0,0,0,0,0,0,0,0,0,0,0,'2022-11-10 16:09:14','2022-11-10 16:09:14'),(188,114,-1.0000,'2022-11-10 16:16:32',1,1,0,0,0,82,0,0,0,0,0,0,0,0,0,0,0,0,'2022-11-10 16:16:32','2022-11-10 16:16:32'),(189,115,-1.0000,'2022-11-12 17:33:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0,'2022-11-12 17:33:51','2022-11-12 17:33:51'),(190,115,-1.0000,'2022-11-12 17:33:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0,'2022-11-12 17:33:51','2022-11-12 17:33:51'),(191,116,-1.0000,'2022-11-12 19:17:15',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,55,0,0,'2022-11-12 19:17:15','2022-11-12 19:17:15'),(192,116,-1.0000,'2022-11-12 19:17:15',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,55,0,0,'2022-11-12 19:17:15','2022-11-12 19:17:15'),(193,117,-1.0000,'2022-11-14 09:32:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,0,'2022-11-14 09:32:06','2022-11-14 09:32:06'),(194,117,-1.0000,'2022-11-14 09:32:06',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,0,'2022-11-14 09:32:06','2022-11-14 09:32:06'),(195,118,-1.0000,'2022-11-21 20:09:18',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,57,0,0,'2022-11-21 20:09:18','2022-11-21 20:09:18'),(196,118,-1.0000,'2022-11-21 20:09:18',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,57,0,0,'2022-11-21 20:09:18','2022-11-21 20:09:18'),(197,20,-1.0000,'2022-11-22 17:28:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,58,0,0,'2022-11-22 17:28:25','2022-11-22 17:28:25'),(198,20,-1.0000,'2022-11-22 17:28:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,58,0,0,'2022-11-22 17:28:25','2022-11-22 17:28:25'),(199,119,-1.0000,'2022-11-23 11:46:53',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,59,0,0,'2022-11-23 11:46:53','2022-11-23 11:46:53'),(200,119,-1.0000,'2022-11-23 11:46:53',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,59,0,0,'2022-11-23 11:46:53','2022-11-23 11:46:53'),(201,50,-1.0000,'2022-11-25 12:20:22',1,1,0,0,0,83,0,0,0,0,0,0,0,0,0,0,0,0,'2022-11-25 12:20:22','2022-11-25 12:20:22'),(202,121,-1.0000,'2022-11-30 09:58:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,60,0,0,'2022-11-30 09:58:17','2022-11-30 09:58:17'),(203,121,-1.0000,'2022-11-30 09:58:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,60,0,0,'2022-11-30 09:58:17','2022-11-30 09:58:17'),(204,112,-1.0000,'2022-12-01 14:51:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,61,0,0,'2022-12-01 14:51:22','2022-12-01 14:51:22'),(205,112,-1.0000,'2022-12-01 14:51:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,61,0,0,'2022-12-01 14:51:22','2022-12-01 14:51:22'),(206,112,-1.0000,'2022-12-01 14:52:36',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,0,'2022-12-01 14:52:36','2022-12-01 14:52:36'),(207,112,-1.0000,'2022-12-01 14:52:36',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,0,'2022-12-01 14:52:36','2022-12-01 14:52:36'),(208,122,-1.0000,'2022-12-05 11:32:30',1,1,0,0,0,84,0,0,0,0,0,0,0,0,0,0,0,0,'2022-12-05 11:32:30','2022-12-05 11:32:30'),(209,123,-1.0000,'2022-12-05 13:06:41',1,1,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0,0,'2022-12-05 13:06:42','2022-12-05 13:06:42'),(210,124,-1.0000,'2022-12-05 16:47:23',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,0,'2022-12-05 16:47:23','2022-12-05 16:47:23'),(211,124,-1.0000,'2022-12-05 16:47:23',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,0,'2022-12-05 16:47:23','2022-12-05 16:47:23'),(212,125,-1.0000,'2022-12-07 16:56:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,'2022-12-07 16:56:26','2022-12-07 16:56:26'),(213,125,-1.0000,'2022-12-07 16:56:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,'2022-12-07 16:56:26','2022-12-07 16:56:26'),(214,126,-1.0000,'2022-12-14 17:15:42',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,65,0,0,'2022-12-14 17:15:43','2022-12-14 17:15:43'),(215,126,-1.0000,'2022-12-14 17:15:42',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,65,0,0,'2022-12-14 17:15:43','2022-12-14 17:15:43'),(216,57,-1.0000,'2022-12-14 17:19:32',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,66,0,0,'2022-12-14 17:19:32','2022-12-14 17:19:32'),(217,57,-1.0000,'2022-12-14 17:19:32',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,66,0,0,'2022-12-14 17:19:32','2022-12-14 17:19:32'),(218,127,-1.0000,'2022-12-15 15:14:55',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,67,0,0,'2022-12-15 15:14:55','2022-12-15 15:14:55'),(219,127,-1.0000,'2022-12-15 15:14:55',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,67,0,0,'2022-12-15 15:14:55','2022-12-15 15:14:55'),(220,41,-1.0000,'2022-12-16 12:51:25',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,68,0,0,'2022-12-16 12:51:25','2022-12-16 12:51:25'),(221,41,-1.0000,'2022-12-16 12:51:25',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,68,0,0,'2022-12-16 12:51:25','2022-12-16 12:51:25'),(222,21,-1.0000,'2022-12-17 09:32:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,'2022-12-17 09:32:19','2022-12-17 09:32:19'),(223,21,-1.0000,'2022-12-17 09:32:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,'2022-12-17 09:32:19','2022-12-17 09:32:19'),(224,129,-1.0000,'2022-12-17 13:25:34',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,70,0,0,'2022-12-17 13:25:35','2022-12-17 13:25:35'),(225,129,-1.0000,'2022-12-17 13:25:34',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,70,0,0,'2022-12-17 13:25:35','2022-12-17 13:25:35'),(226,36,-1.0000,'2022-12-17 17:46:26',1,1,0,0,0,86,0,0,0,0,0,0,0,0,0,0,0,0,'2022-12-17 17:46:26','2022-12-17 17:46:26'),(227,130,-1.0000,'2022-12-17 17:59:13',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,71,0,0,'2022-12-17 17:59:13','2022-12-17 17:59:13'),(228,130,-1.0000,'2022-12-17 17:59:13',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,71,0,0,'2022-12-17 17:59:13','2022-12-17 17:59:13'),(229,62,-1.0000,'2022-12-20 20:24:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,'2022-12-20 20:24:27','2022-12-20 20:24:27'),(230,62,-1.0000,'2022-12-20 20:24:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,'2022-12-20 20:24:27','2022-12-20 20:24:27'),(231,67,-1.0000,'2022-12-21 10:47:47',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,73,0,0,'2022-12-21 10:47:47','2022-12-21 10:47:47'),(232,67,-1.0000,'2022-12-21 10:47:47',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,73,0,0,'2022-12-21 10:47:47','2022-12-21 10:47:47'),(233,43,-1.0000,'2022-12-23 09:40:50',1,1,0,0,0,87,0,0,0,0,0,0,0,0,0,0,0,0,'2022-12-23 09:40:51','2022-12-23 09:40:51'),(234,43,-1.0000,'2022-12-23 09:41:56',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,74,0,0,'2022-12-23 09:41:56','2022-12-23 09:41:56'),(235,43,-1.0000,'2022-12-23 09:41:56',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,74,0,0,'2022-12-23 09:41:56','2022-12-23 09:41:56'),(236,7,-1.0000,'2022-12-24 16:51:32',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,75,0,0,'2022-12-24 16:51:32','2022-12-24 16:51:32'),(237,7,-1.0000,'2022-12-24 16:51:32',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,75,0,0,'2022-12-24 16:51:32','2022-12-24 16:51:32'),(238,131,-1.0000,'2022-12-26 16:34:38',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0,'2022-12-26 16:34:38','2022-12-26 16:34:38'),(239,131,-1.0000,'2022-12-26 16:34:38',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0,'2022-12-26 16:34:38','2022-12-26 16:34:38'),(240,7,-1.0000,'2022-12-30 18:06:06',1,1,0,0,0,88,0,0,0,0,0,0,0,0,0,0,0,0,'2022-12-30 18:06:06','2022-12-30 18:06:06'),(241,132,-1.0000,'2022-12-30 20:37:45',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,77,0,0,'2022-12-30 20:37:45','2022-12-30 20:37:45'),(242,132,-1.0000,'2022-12-30 20:37:45',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,77,0,0,'2022-12-30 20:37:45','2022-12-30 20:37:45'),(243,132,-2.0000,'2022-12-30 20:53:32',1,1,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,'2022-12-30 20:53:32','2022-12-30 20:53:32'),(244,133,-1.0000,'2022-12-31 17:24:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,78,0,0,'2022-12-31 17:24:22','2022-12-31 17:24:22'),(245,133,-1.0000,'2022-12-31 17:24:22',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,78,0,0,'2022-12-31 17:24:22','2022-12-31 17:24:22'),(246,80,-1.0000,'2023-01-02 13:05:03',1,1,0,0,0,90,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-02 13:05:04','2023-01-02 13:05:04'),(247,134,-1.0000,'2023-01-05 11:29:57',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0,0,'2023-01-05 11:29:57','2023-01-05 11:29:57'),(248,134,-1.0000,'2023-01-05 11:29:57',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0,0,'2023-01-05 11:29:57','2023-01-05 11:29:57'),(249,130,-1.0000,'2023-01-05 16:54:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,80,0,0,'2023-01-05 16:54:12','2023-01-05 16:54:12'),(250,130,-1.0000,'2023-01-05 16:54:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,80,0,0,'2023-01-05 16:54:12','2023-01-05 16:54:12'),(251,135,-1.0000,'2023-01-09 10:29:57',1,1,0,0,0,91,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-09 10:29:58','2023-01-09 10:29:58'),(252,6,-1.0000,'2023-01-09 18:03:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,81,0,0,'2023-01-09 18:03:24','2023-01-09 18:03:24'),(253,6,-1.0000,'2023-01-09 18:03:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,81,0,0,'2023-01-09 18:03:24','2023-01-09 18:03:24'),(254,7,-1.0000,'2023-01-10 10:39:36',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0,'2023-01-10 10:39:36','2023-01-10 10:39:36'),(255,7,-1.0000,'2023-01-10 10:39:36',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0,'2023-01-10 10:39:36','2023-01-10 10:39:36'),(256,7,-1.0000,'2023-01-11 10:24:29',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,83,0,0,'2023-01-11 10:24:29','2023-01-11 10:24:29'),(257,7,-1.0000,'2023-01-11 10:24:29',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,83,0,0,'2023-01-11 10:24:29','2023-01-11 10:24:29'),(258,136,-1.0000,'2023-01-13 15:13:08',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,84,0,0,'2023-01-13 15:13:08','2023-01-13 15:13:08'),(259,136,-1.0000,'2023-01-13 15:13:08',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,84,0,0,'2023-01-13 15:13:08','2023-01-13 15:13:08'),(260,130,-1.0000,'2023-01-14 11:55:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,85,0,0,'2023-01-14 11:55:19','2023-01-14 11:55:19'),(261,130,-1.0000,'2023-01-14 11:55:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,85,0,0,'2023-01-14 11:55:19','2023-01-14 11:55:19'),(262,137,-1.0000,'2023-01-14 17:26:48',1,1,0,0,0,92,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-14 17:26:48','2023-01-14 17:26:48'),(263,130,-1.0000,'2023-01-17 10:13:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,86,0,0,'2023-01-17 10:13:24','2023-01-17 10:13:24'),(264,130,-1.0000,'2023-01-17 10:13:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,86,0,0,'2023-01-17 10:13:24','2023-01-17 10:13:24'),(265,138,-1.0000,'2023-01-17 17:27:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,87,0,0,'2023-01-17 17:27:51','2023-01-17 17:27:51'),(266,138,-1.0000,'2023-01-17 17:27:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,87,0,0,'2023-01-17 17:27:51','2023-01-17 17:27:51'),(267,139,-1.0000,'2023-01-18 17:08:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,88,0,0,'2023-01-18 17:08:51','2023-01-18 17:08:51'),(268,139,-1.0000,'2023-01-18 17:08:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,88,0,0,'2023-01-18 17:08:51','2023-01-18 17:08:51'),(269,141,-1.0000,'2023-01-20 15:12:30',1,1,0,0,0,93,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-20 15:12:30','2023-01-20 15:12:30'),(270,11,-1.0000,'2023-01-20 15:12:30',1,1,0,0,0,94,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-20 15:12:30','2023-01-20 15:12:30'),(271,142,-1.0000,'2023-01-20 15:34:37',1,1,0,0,0,95,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-20 15:34:37','2023-01-20 15:34:37'),(272,20,-1.0000,'2023-01-20 19:37:04',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,'2023-01-20 19:37:04','2023-01-20 19:37:04'),(273,20,-1.0000,'2023-01-20 19:37:04',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,'2023-01-20 19:37:04','2023-01-20 19:37:04'),(274,143,-1.0000,'2023-01-23 14:17:21',1,1,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-23 14:17:21','2023-01-23 14:17:21'),(275,144,-1.0000,'2023-01-27 17:58:17',1,1,0,0,0,97,0,0,0,0,0,0,0,0,0,0,0,0,'2023-01-27 17:58:17','2023-01-27 17:58:17'),(276,145,-1.0000,'2023-01-30 15:35:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,90,0,0,'2023-01-30 15:35:16','2023-01-30 15:35:16'),(277,145,-1.0000,'2023-01-30 15:35:16',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,90,0,0,'2023-01-30 15:35:16','2023-01-30 15:35:16'),(278,145,-1.0000,'2023-01-30 15:49:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,'2023-01-30 15:49:09','2023-01-30 15:49:09'),(279,145,-1.0000,'2023-01-30 15:49:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,91,0,0,'2023-01-30 15:49:09','2023-01-30 15:49:09'),(280,42,-1.0000,'2023-01-30 16:05:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,92,0,0,'2023-01-30 16:05:10','2023-01-30 16:05:10'),(281,42,-1.0000,'2023-01-30 16:05:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,92,0,0,'2023-01-30 16:05:10','2023-01-30 16:05:10'),(282,2,-1.0000,'2023-01-30 16:07:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,93,0,0,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(283,2,-1.0000,'2023-01-30 16:07:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,93,0,0,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(284,4,-1.0000,'2023-01-30 16:07:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,94,0,0,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(285,4,-1.0000,'2023-01-30 16:07:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,94,0,0,'2023-01-30 16:07:12','2023-01-30 16:07:12'),(286,145,-1.0000,'2023-01-30 16:23:42',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,95,0,0,'2023-01-30 16:23:42','2023-01-30 16:23:42'),(287,145,-1.0000,'2023-01-30 16:23:42',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,95,0,0,'2023-01-30 16:23:42','2023-01-30 16:23:42'),(288,1,-1.0000,'2023-02-02 18:21:02',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,'2023-02-02 18:21:02','2023-02-02 18:21:02'),(289,1,-1.0000,'2023-02-02 18:21:02',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,'2023-02-02 18:21:02','2023-02-02 18:21:02'),(290,146,-1.0000,'2023-02-06 16:06:27',1,1,0,0,0,98,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-06 16:06:27','2023-02-06 16:06:27'),(291,147,-1.0000,'2023-02-11 18:05:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0,'2023-02-11 18:05:24','2023-02-11 18:05:24'),(292,147,-1.0000,'2023-02-11 18:05:24',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0,'2023-02-11 18:05:24','2023-02-11 18:05:24'),(293,148,-1.0000,'2023-02-13 16:08:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,98,0,0,'2023-02-13 16:08:09','2023-02-13 16:08:09'),(294,148,-1.0000,'2023-02-13 16:08:09',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,98,0,0,'2023-02-13 16:08:09','2023-02-13 16:08:09'),(295,44,-1.0000,'2023-02-13 20:11:58',1,1,0,0,0,99,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-13 20:11:58','2023-02-13 20:11:58'),(296,149,-1.0000,'2023-02-15 17:28:39',1,1,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-15 17:28:39','2023-02-15 17:28:39'),(297,150,-1.0000,'2023-02-16 17:37:17',1,1,0,0,0,101,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-16 17:37:18','2023-02-16 17:37:18'),(298,7,-1.0000,'2023-02-16 18:07:11',1,1,0,0,0,102,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-16 18:07:11','2023-02-16 18:07:11'),(299,147,-1.0000,'2023-02-18 12:23:17',1,1,0,0,0,103,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-18 12:23:17','2023-02-18 12:23:17'),(300,80,-1.0000,'2023-02-20 14:08:54',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,99,0,0,'2023-02-20 14:08:55','2023-02-20 14:08:55'),(301,80,-1.0000,'2023-02-20 14:08:54',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,99,0,0,'2023-02-20 14:08:55','2023-02-20 14:08:55'),(302,128,-1.0000,'2023-02-21 13:29:44',1,1,0,0,0,104,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-21 13:29:44','2023-02-21 13:29:44'),(303,26,-1.0000,'2023-02-21 15:44:14',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,100,0,0,'2023-02-21 15:44:14','2023-02-21 15:44:14'),(304,26,-1.0000,'2023-02-21 15:44:14',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,100,0,0,'2023-02-21 15:44:14','2023-02-21 15:44:14'),(305,7,-1.0000,'2023-02-23 13:54:36',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,101,0,0,'2023-02-23 13:54:36','2023-02-23 13:54:36'),(306,7,-1.0000,'2023-02-23 13:54:36',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,101,0,0,'2023-02-23 13:54:36','2023-02-23 13:54:36'),(307,5,-1.0000,'2023-02-23 16:17:00',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,102,0,0,'2023-02-23 16:17:00','2023-02-23 16:17:00'),(308,5,-1.0000,'2023-02-23 16:17:00',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,102,0,0,'2023-02-23 16:17:00','2023-02-23 16:17:00'),(309,151,-1.0000,'2023-02-23 16:26:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0,'2023-02-23 16:26:26','2023-02-23 16:26:26'),(310,151,-1.0000,'2023-02-23 16:26:26',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0,'2023-02-23 16:26:26','2023-02-23 16:26:26'),(311,151,-1.0000,'2023-02-23 16:28:08',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,104,0,0,'2023-02-23 16:28:08','2023-02-23 16:28:08'),(312,151,-1.0000,'2023-02-23 16:28:08',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,104,0,0,'2023-02-23 16:28:08','2023-02-23 16:28:08'),(313,152,-1.0000,'2023-02-23 18:40:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,105,0,0,'2023-02-23 18:40:27','2023-02-23 18:40:27'),(314,152,-1.0000,'2023-02-23 18:40:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,105,0,0,'2023-02-23 18:40:27','2023-02-23 18:40:27'),(315,153,-1.0000,'2023-02-24 11:10:28',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,106,0,0,'2023-02-24 11:10:28','2023-02-24 11:10:28'),(316,153,-1.0000,'2023-02-24 11:10:28',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,106,0,0,'2023-02-24 11:10:29','2023-02-24 11:10:29'),(317,7,-1.0000,'2023-02-25 18:25:15',1,1,0,0,0,105,0,0,0,0,0,0,0,0,0,0,0,0,'2023-02-25 18:25:15','2023-02-25 18:25:15'),(318,154,-1.0000,'2023-02-25 20:03:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,107,0,0,'2023-02-25 20:03:27','2023-02-25 20:03:27'),(319,154,-1.0000,'2023-02-25 20:03:27',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,107,0,0,'2023-02-25 20:03:27','2023-02-25 20:03:27'),(320,50,-1.0000,'2023-02-27 11:57:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,108,0,0,'2023-02-27 11:57:51','2023-02-27 11:57:51'),(321,50,-1.0000,'2023-02-27 11:57:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,108,0,0,'2023-02-27 11:57:51','2023-02-27 11:57:51'),(322,31,-1.0000,'2023-02-27 18:56:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,109,0,0,'2023-02-27 18:56:12','2023-02-27 18:56:12'),(323,31,-1.0000,'2023-02-27 18:56:12',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,109,0,0,'2023-02-27 18:56:12','2023-02-27 18:56:12'),(324,130,-1.0000,'2023-02-28 15:22:04',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,110,0,0,'2023-02-28 15:22:07','2023-02-28 15:22:07'),(325,130,-1.0000,'2023-02-28 15:22:04',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,110,0,0,'2023-02-28 15:22:07','2023-02-28 15:22:07'),(326,155,-1.0000,'2023-02-28 16:47:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,111,0,0,'2023-02-28 16:47:19','2023-02-28 16:47:19'),(327,155,-1.0000,'2023-02-28 16:47:19',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,111,0,0,'2023-02-28 16:47:19','2023-02-28 16:47:19'),(328,155,-1.0000,'2023-02-28 16:50:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,'2023-02-28 16:50:51','2023-02-28 16:50:51'),(329,155,-1.0000,'2023-02-28 16:50:51',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,'2023-02-28 16:50:51','2023-02-28 16:50:51'),(330,46,-1.0000,'2023-03-01 10:59:02',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,113,0,0,'2023-03-01 10:59:02','2023-03-01 10:59:02'),(331,46,-1.0000,'2023-03-01 10:59:02',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,113,0,0,'2023-03-01 10:59:02','2023-03-01 10:59:02'),(332,157,-1.0000,'2023-03-01 15:38:16',1,1,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0,0,'2023-03-01 15:38:16','2023-03-01 15:38:16');

--
-- Table structure for table `item_movement_rel_extra`
--

CREATE TABLE `item_movement_rel_extra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0,
  `item_movement_id` int(10) unsigned DEFAULT 0,
  `item_color_id` int(10) unsigned DEFAULT 0,
  `item_status_id` int(10) unsigned DEFAULT 0,
  `item_unit_business_id` int(10) unsigned DEFAULT 0,
  `item_mold_cavities_id` int(10) unsigned DEFAULT 0,
  `item_package_measurements_id` int(10) unsigned DEFAULT 0,
  `item_units_per_package_id` int(10) unsigned DEFAULT 0,
  `item_mold_properties_id` int(10) unsigned DEFAULT 0,
  `item_product_family_id` int(10) unsigned DEFAULT 0,
  `item_size_id` int(10) unsigned DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_movement_rel_extra_item_movement_id_foreign` (`item_movement_id`),
  KEY `index_item_status_id` (`item_status_id`),
  KEY `index_item_unit_business_id` (`item_unit_business_id`),
  KEY `index_item_mold_cavities_id` (`item_mold_cavities_id`),
  KEY `index_item_package_measurements_id` (`item_package_measurements_id`),
  KEY `index_item_units_per_package_id` (`item_units_per_package_id`),
  KEY `index_item_mold_properties_id` (`item_mold_properties_id`),
  KEY `index_item_product_family_id` (`item_product_family_id`),
  KEY `index_item_size_id` (`item_size_id`),
  CONSTRAINT `item_movement_rel_extra_item_movement_id_foreign` FOREIGN KEY (`item_movement_id`) REFERENCES `item_movement` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_movement_rel_extra`
--

INSERT INTO `item_movement_rel_extra` VALUES (1,145,278,0,0,0,0,0,0,0,0,0,'2023-01-30 15:49:09','2023-01-30 15:49:09'),(2,145,279,0,0,0,0,0,0,0,0,0,'2023-01-30 15:49:09','2023-01-30 15:49:09'),(3,145,286,0,0,0,0,0,0,0,0,0,'2023-01-30 16:23:42','2023-01-30 16:23:42'),(4,145,287,0,0,0,0,0,0,0,0,0,'2023-01-30 16:23:42','2023-01-30 16:23:42');

--
-- Table structure for table `item_package_measurements`
--

CREATE TABLE `item_package_measurements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_package_measurements_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_package_measurements`
--


--
-- Table structure for table `item_product_family`
--

CREATE TABLE `item_product_family` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_product_family_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_product_family`
--


--
-- Table structure for table `item_rel_suscription_plans`
--

CREATE TABLE `item_rel_suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con items',
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`item`)),
  `suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con planes de suscripcion',
  `quantity` decimal(12,2) DEFAULT 0.00,
  `unit_value` decimal(16,2) DEFAULT 0.00,
  `affectation_igv_type_id` char(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_base_igv` decimal(12,2) DEFAULT 0.00,
  `percentage_igv` decimal(12,2) DEFAULT 0.00,
  `total_igv` decimal(12,2) DEFAULT 0.00,
  `system_isc_type_id` char(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_base_isc` decimal(12,2) DEFAULT 0.00,
  `percentage_isc` decimal(12,2) DEFAULT 0.00,
  `total_isc` decimal(12,2) DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_taxes` decimal(12,2) DEFAULT 0.00,
  `price_type_id` char(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit_price` decimal(16,6) DEFAULT 0.000000,
  `total_value` decimal(12,2) DEFAULT 0.00,
  `total_charge` decimal(12,2) DEFAULT 0.00,
  `total_discount` decimal(12,2) DEFAULT 0.00,
  `total` decimal(12,2) DEFAULT 0.00,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `additional_information` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `warehouse_id` int(10) unsigned DEFAULT 0,
  `name_product_pdf` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_rel_suscription_plans`
--


--
-- Table structure for table `item_sets`
--

CREATE TABLE `item_sets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `individual_item_id` int(10) unsigned NOT NULL,
  `quantity` decimal(12,4) NOT NULL DEFAULT 1.0000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_sets_item_id_foreign` (`item_id`),
  KEY `item_sets_individual_item_id_foreign` (`individual_item_id`),
  CONSTRAINT `item_sets_individual_item_id_foreign` FOREIGN KEY (`individual_item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_sets_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_sets`
--


--
-- Table structure for table `item_size`
--

CREATE TABLE `item_size` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_size_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_size`
--


--
-- Table structure for table `item_status`
--

CREATE TABLE `item_status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_status_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_status`
--


--
-- Table structure for table `item_supplies`
--

CREATE TABLE `item_supplies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `individual_item_id` int(10) unsigned NOT NULL,
  `quantity` decimal(13,3) DEFAULT 0.000,
  `unit_price` decimal(12,2) DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_supplies_item_id_foreign` (`item_id`),
  KEY `item_supplies_individual_item_id_foreign` (`individual_item_id`),
  CONSTRAINT `item_supplies_individual_item_id_foreign` FOREIGN KEY (`individual_item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_supplies_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_supplies`
--


--
-- Table structure for table `item_tags`
--

CREATE TABLE `item_tags` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `tag_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_tags_item_id_foreign` (`item_id`),
  KEY `item_tags_tag_id_foreign` (`tag_id`),
  CONSTRAINT `item_tags_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `item_tags_tag_id_foreign` FOREIGN KEY (`tag_id`) REFERENCES `tags` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_tags`
--


--
-- Table structure for table `item_types`
--

CREATE TABLE `item_types` (
  `id` char(2) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  KEY `item_types_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_types`
--

INSERT INTO `item_types` VALUES ('01','Producto'),('02','Servicio');

--
-- Table structure for table `item_unit_business`
--

CREATE TABLE `item_unit_business` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_unit_business_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_unit_business`
--


--
-- Table structure for table `item_unit_types`
--

CREATE TABLE `item_unit_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `unit_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity_unit` decimal(12,4) NOT NULL,
  `price1` decimal(12,4) NOT NULL,
  `price2` decimal(12,4) NOT NULL,
  `price3` decimal(12,4) NOT NULL,
  `price_default` tinyint(1) NOT NULL DEFAULT 2,
  `barcode` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_unit_types_unit_type_id_foreign` (`unit_type_id`),
  KEY `item_unit_types_item_id_foreign` (`item_id`),
  KEY `item_unit_types_barcode_index` (`barcode`),
  CONSTRAINT `item_unit_types_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_unit_types_unit_type_id_foreign` FOREIGN KEY (`unit_type_id`) REFERENCES `cat_unit_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_unit_types`
--


--
-- Table structure for table `item_units_per_package`
--

CREATE TABLE `item_units_per_package` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_units_per_package_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_units_per_package`
--


--
-- Table structure for table `item_warehouse`
--

CREATE TABLE `item_warehouse` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `stock` decimal(12,4) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_warehouse_item_id_foreign` (`item_id`),
  KEY `item_warehouse_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `item_warehouse_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `item_warehouse_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_warehouse`
--

INSERT INTO `item_warehouse` VALUES (1,1,1,86.0000,'2022-06-23 20:15:16','2023-02-02 18:21:02'),(2,2,1,79.0000,'2022-06-26 17:23:02','2023-01-30 16:07:12'),(3,3,1,1.0000,'2022-06-26 17:29:53','2022-06-26 17:29:53'),(4,4,1,-1.0000,'2022-06-26 17:35:28','2023-01-30 16:07:12'),(5,5,1,-2.0000,'2022-06-26 17:48:03','2023-02-23 16:17:00'),(6,6,1,-3.0000,'2022-06-26 18:00:15','2023-01-09 18:03:24'),(7,7,1,-15.0000,'2022-06-26 18:17:49','2023-02-25 18:25:15'),(8,8,1,-1.0000,'2022-06-26 18:47:09','2022-06-26 18:48:14'),(9,9,1,-1.0000,'2022-06-26 19:00:56','2022-06-26 19:04:02'),(10,10,1,-2.0000,'2022-06-26 19:09:19','2022-10-28 17:40:06'),(11,11,1,-1.0000,'2022-06-27 12:36:27','2023-01-20 15:12:30'),(12,12,1,-1.0000,'2022-06-27 14:03:09','2022-06-27 14:04:17'),(13,13,1,-1.0000,'2022-06-27 14:22:09','2022-06-27 14:23:50'),(14,14,1,-1.0000,'2022-06-27 14:27:22','2022-06-27 14:28:48'),(15,15,1,-1.0000,'2022-06-28 12:50:44','2022-06-28 12:58:53'),(16,16,1,-1.0000,'2022-06-28 18:21:02','2022-06-28 18:25:19'),(17,17,1,-1.0000,'2022-06-30 18:01:46','2022-06-30 18:07:05'),(18,18,1,-1.0000,'2022-06-30 18:22:30','2022-06-30 18:23:16'),(19,19,1,-2.0000,'2022-06-30 20:08:13','2022-10-05 17:50:53'),(20,20,1,-6.0000,'2022-07-01 11:24:33','2023-01-20 19:37:04'),(21,21,1,-2.0000,'2022-07-05 15:14:12','2022-12-17 09:32:19'),(22,22,1,-1.0000,'2022-07-06 09:42:33','2022-07-06 09:43:56'),(23,23,1,-3.0000,'2022-07-08 10:43:56','2022-09-21 15:03:27'),(24,24,1,-1.0000,'2022-07-08 19:11:27','2022-07-08 19:12:33'),(25,25,1,-1.0000,'2022-07-09 12:09:21','2022-07-09 12:10:07'),(26,26,1,-2.0000,'2022-07-12 18:47:32','2023-02-21 15:44:14'),(27,27,1,-1.0000,'2022-07-16 17:32:33','2022-07-16 17:33:27'),(28,28,1,-1.0000,'2022-07-16 19:32:08','2022-07-16 19:32:51'),(29,29,1,-1.0000,'2022-07-18 10:19:25','2022-07-18 10:20:51'),(30,30,1,-1.0000,'2022-07-18 19:08:09','2022-07-18 19:08:55'),(31,31,1,-2.0000,'2022-07-18 19:29:22','2023-02-27 18:56:12'),(32,32,1,-1.0000,'2022-07-19 16:33:48','2022-07-19 16:34:41'),(33,33,1,-1.0000,'2022-07-19 20:08:58','2022-07-19 20:09:44'),(34,34,1,-1.0000,'2022-07-20 13:51:37','2022-07-20 13:52:39'),(35,35,1,-1.0000,'2022-07-22 18:27:33','2022-07-22 18:28:17'),(36,36,1,-4.0000,'2022-07-25 09:17:37','2022-12-17 17:46:26'),(37,37,1,-1.0000,'2022-07-25 12:08:33','2022-07-25 12:10:50'),(38,38,1,-1.0000,'2022-07-25 17:54:38','2022-07-25 17:55:31'),(39,39,1,-1.0000,'2022-07-26 15:48:56','2022-07-26 15:49:57'),(40,40,1,-1.0000,'2022-07-26 18:49:25','2022-07-26 18:50:34'),(41,41,1,-2.0000,'2022-07-27 15:21:01','2022-12-16 12:51:25'),(42,42,1,-3.0000,'2022-07-28 11:27:48','2023-01-30 16:05:10'),(43,43,1,-2.0000,'2022-07-28 12:31:21','2022-12-23 09:41:56'),(44,44,1,-2.0000,'2022-07-28 12:37:22','2023-02-13 20:11:58'),(45,45,1,-1.0000,'2022-07-28 17:46:28','2022-07-28 17:48:41'),(46,46,1,-3.0000,'2022-07-29 14:25:39','2023-03-01 10:59:02'),(47,47,1,-1.0000,'2022-07-30 16:19:28','2022-07-30 16:20:39'),(48,48,1,-1.0000,'2022-07-30 16:26:28','2022-07-30 16:27:57'),(49,49,1,-1.0000,'2022-07-30 19:15:14','2022-07-30 19:16:03'),(50,50,1,-3.0000,'2022-08-01 12:46:09','2023-02-27 11:57:51'),(51,51,1,-1.0000,'2022-08-01 17:31:51','2022-08-01 17:34:25'),(52,52,1,-1.0000,'2022-08-02 09:40:44','2022-08-02 09:41:52'),(53,53,1,-1.0000,'2022-08-03 12:42:31','2022-08-03 12:43:24'),(54,54,1,0.0000,'2022-08-03 20:36:19','2022-08-03 20:36:19'),(55,55,1,-1.0000,'2022-08-04 17:34:54','2022-08-04 17:35:46'),(56,56,1,0.0000,'2022-08-06 16:57:20','2022-08-06 16:57:20'),(57,57,1,-3.0000,'2022-08-08 16:40:18','2022-12-14 17:19:32'),(58,58,1,-1.0000,'2022-08-09 10:57:49','2022-08-09 10:58:43'),(59,59,1,0.0000,'2022-08-12 20:31:09','2022-08-12 20:31:09'),(60,60,1,-1.0000,'2022-08-13 19:42:40','2022-08-13 19:43:18'),(61,61,1,0.0000,'2022-08-16 19:47:56','2022-08-16 19:47:56'),(62,62,1,-2.0000,'2022-08-17 18:10:07','2022-12-20 20:24:27'),(63,63,1,-1.0000,'2022-08-17 18:45:25','2022-08-17 18:46:10'),(64,64,1,0.0000,'2022-08-19 10:52:20','2022-08-19 10:52:20'),(65,65,1,-1.0000,'2022-08-19 17:16:07','2022-08-19 17:17:06'),(66,66,1,-1.0000,'2022-08-20 12:05:35','2022-08-20 12:06:50'),(67,67,1,-1.0000,'2022-08-20 14:26:46','2022-12-21 10:47:47'),(68,68,1,-1.0000,'2022-08-23 19:08:05','2022-08-23 19:09:49'),(69,69,1,0.0000,'2022-08-27 14:27:07','2022-08-27 14:27:07'),(70,70,1,-1.0000,'2022-08-29 11:30:59','2022-08-29 11:31:41'),(71,71,1,-1.0000,'2022-08-29 19:07:02','2022-08-29 19:07:59'),(72,72,1,-1.0000,'2022-08-30 10:20:03','2022-08-30 10:20:40'),(73,73,1,-1.0000,'2022-08-30 11:00:44','2022-08-30 11:01:35'),(74,74,1,-1.0000,'2022-08-31 10:14:14','2022-08-31 10:15:06'),(75,75,1,-1.0000,'2022-08-31 16:41:26','2022-08-31 16:42:11'),(76,76,1,0.0000,'2022-08-31 17:33:43','2022-08-31 17:33:43'),(77,77,1,-1.0000,'2022-09-01 16:51:25','2022-09-01 16:52:25'),(78,78,1,-2.0000,'2022-09-01 16:53:40','2022-11-10 16:09:14'),(79,79,1,-1.0000,'2022-09-02 18:05:53','2022-09-02 18:06:40'),(80,80,1,-3.0000,'2022-09-03 16:49:07','2023-02-20 14:08:55'),(81,81,1,-1.0000,'2022-09-07 11:16:36','2022-09-07 11:18:02'),(82,82,1,-4.0000,'2022-09-08 14:48:36','2022-10-31 15:12:07'),(83,83,1,-1.0000,'2022-09-12 19:24:43','2022-09-12 19:26:18'),(84,84,1,-1.0000,'2022-09-13 17:10:14','2022-09-13 17:11:13'),(85,85,1,-1.0000,'2022-09-14 10:35:35','2022-09-14 10:39:58'),(86,86,1,-1.0000,'2022-09-14 14:32:34','2022-09-14 14:35:05'),(87,87,1,-1.0000,'2022-09-15 09:41:32','2022-09-15 09:43:34'),(88,88,1,-1.0000,'2022-09-15 14:55:17','2022-09-15 14:57:03'),(89,89,1,-2.0000,'2022-09-16 10:37:48','2022-09-16 10:44:42'),(90,90,1,0.0000,'2022-09-16 10:39:49','2022-09-16 10:39:49'),(91,91,1,0.0000,'2022-09-16 10:42:21','2022-09-16 10:42:21'),(92,92,1,-1.0000,'2022-09-16 10:55:20','2022-09-16 10:56:36'),(93,93,1,-1.0000,'2022-09-16 19:02:33','2022-09-16 19:03:29'),(94,94,1,-1.0000,'2022-09-21 15:08:16','2022-09-21 15:09:06'),(95,95,1,0.0000,'2022-09-23 11:37:56','2022-09-23 11:37:56'),(96,96,1,-1.0000,'2022-09-23 11:42:19','2022-09-23 11:44:20'),(97,97,1,-1.0000,'2022-09-26 20:03:29','2022-09-26 20:04:16'),(98,98,1,-1.0000,'2022-09-27 16:48:54','2022-09-27 16:49:48'),(99,99,1,0.0000,'2022-09-29 18:23:29','2022-09-29 18:23:29'),(100,100,1,0.0000,'2022-09-29 18:26:40','2022-09-29 18:26:40'),(101,101,1,-1.0000,'2022-09-30 19:59:41','2022-09-30 20:00:37'),(102,102,1,-1.0000,'2022-10-01 10:54:45','2022-10-01 10:55:54'),(103,103,1,-1.0000,'2022-10-01 17:27:52','2022-10-01 17:29:00'),(104,104,1,-1.0000,'2022-10-01 18:03:12','2022-10-01 18:04:22'),(105,105,1,0.0000,'2022-10-05 17:49:52','2022-10-05 17:49:52'),(106,106,1,-1.0000,'2022-10-06 15:29:58','2022-10-06 15:30:43'),(107,107,1,-1.0000,'2022-10-11 17:59:38','2022-10-11 18:03:27'),(108,108,1,-1.0000,'2022-10-11 18:24:05','2022-10-11 18:24:52'),(109,109,1,-1.0000,'2022-10-14 17:04:02','2022-10-14 17:05:14'),(110,110,1,-1.0000,'2022-10-15 20:47:25','2022-10-15 20:48:06'),(111,111,1,-1.0000,'2022-10-17 16:00:13','2022-10-17 16:01:43'),(112,112,1,-4.0000,'2022-10-31 18:10:48','2022-12-01 14:52:36'),(113,113,1,-1.0000,'2022-11-02 19:45:38','2022-11-02 19:46:22'),(114,114,1,-1.0000,'2022-11-10 13:56:14','2022-11-10 16:16:32'),(115,115,1,-1.0000,'2022-11-12 17:32:55','2022-11-12 17:33:51'),(116,116,1,-1.0000,'2022-11-12 19:16:08','2022-11-12 19:17:15'),(117,117,1,-1.0000,'2022-11-14 09:30:52','2022-11-14 09:32:06'),(118,118,1,-1.0000,'2022-11-21 20:07:26','2022-11-21 20:09:18'),(119,119,1,-1.0000,'2022-11-23 11:45:50','2022-11-23 11:46:53'),(120,120,1,0.0000,'2022-11-25 12:18:40','2022-11-25 12:18:40'),(121,121,1,-1.0000,'2022-11-30 09:54:34','2022-11-30 09:58:17'),(122,122,1,-1.0000,'2022-12-05 11:24:16','2022-12-05 11:32:30'),(123,123,1,-1.0000,'2022-12-05 13:04:40','2022-12-05 13:06:41'),(124,124,1,-1.0000,'2022-12-05 16:46:34','2022-12-05 16:47:23'),(125,125,1,-1.0000,'2022-12-07 16:55:15','2022-12-07 16:56:26'),(126,126,1,-1.0000,'2022-12-14 17:14:15','2022-12-14 17:15:43'),(127,127,1,-1.0000,'2022-12-15 15:13:47','2022-12-15 15:14:55'),(128,128,1,-1.0000,'2022-12-17 09:31:29','2023-02-21 13:29:44'),(129,129,1,-1.0000,'2022-12-17 13:24:42','2022-12-17 13:25:35'),(130,130,1,-5.0000,'2022-12-17 17:57:43','2023-02-28 15:22:07'),(131,131,1,-1.0000,'2022-12-26 16:33:48','2022-12-26 16:34:38'),(132,132,1,-3.0000,'2022-12-30 20:28:59','2022-12-30 20:53:32'),(133,133,1,-1.0000,'2022-12-31 17:23:50','2022-12-31 17:24:22'),(134,134,1,-1.0000,'2023-01-05 11:29:16','2023-01-05 11:29:57'),(135,135,1,-1.0000,'2023-01-09 10:28:31','2023-01-09 10:29:58'),(136,136,1,-1.0000,'2023-01-13 15:11:41','2023-01-13 15:13:08'),(137,137,1,-1.0000,'2023-01-14 17:26:20','2023-01-14 17:26:48'),(138,138,1,-1.0000,'2023-01-17 17:26:21','2023-01-17 17:27:51'),(139,139,1,-1.0000,'2023-01-18 17:07:55','2023-01-18 17:08:51'),(140,140,1,0.0000,'2023-01-20 15:10:55','2023-01-20 15:10:55'),(141,141,1,-1.0000,'2023-01-20 15:11:23','2023-01-20 15:12:30'),(142,142,1,-1.0000,'2023-01-20 15:33:54','2023-01-20 15:34:37'),(143,143,1,-1.0000,'2023-01-23 14:16:27','2023-01-23 14:17:21'),(144,144,1,-1.0000,'2023-01-27 17:57:27','2023-01-27 17:58:17'),(145,145,1,-3.0000,'2023-01-30 15:33:27','2023-01-30 16:23:42'),(146,146,1,-1.0000,'2023-02-06 16:03:48','2023-02-06 16:06:27'),(147,147,1,-2.0000,'2023-02-11 18:03:32','2023-02-18 12:23:17'),(148,148,1,-1.0000,'2023-02-13 16:06:43','2023-02-13 16:08:09'),(149,149,1,-1.0000,'2023-02-15 17:27:39','2023-02-15 17:28:39'),(150,150,1,-1.0000,'2023-02-16 17:36:40','2023-02-16 17:37:18'),(151,151,1,-2.0000,'2023-02-23 16:24:34','2023-02-23 16:28:08'),(152,152,1,-1.0000,'2023-02-23 18:39:25','2023-02-23 18:40:27'),(153,153,1,-1.0000,'2023-02-24 11:06:03','2023-02-24 11:10:28'),(154,154,1,-1.0000,'2023-02-25 20:02:48','2023-02-25 20:03:27'),(155,155,1,-2.0000,'2023-02-28 16:46:14','2023-02-28 16:50:51'),(156,156,1,0.0000,'2023-03-01 15:36:14','2023-03-01 15:36:14'),(157,157,1,-1.0000,'2023-03-01 15:37:06','2023-03-01 15:38:16');

--
