/* 22:30:29 gmspider gmspider */ INSERT INTO `menu`(`id`, `menu_id`, `nazov`, `page`, `poradie`, `level`, `visibility_type`) VALUES 	(36000, NULL, 'Majetok', 'majetok', 20, 1, 1), 	(36001, 36000, 'Výpis majetku', 'majetok_vypis', 10, 2, 1), 	(36002, 36000, 'Pridanie majetku', 'majetok_pridaj', 20, 2, 1), 	(36003, 36001, 'Detail majetku', 'majetok_view', 10, 3, 1), 	(36004, 36001, 'Editovanie majetku', 'majetok_edituj', 20, 3, 1), 	(36005, 36001, 'Zmazanie majetku', 'majetok_zmaz', 30, 3, 0);
/* 22:30:43 gmspider gmspider */ UPDATE `menu` SET `poradie` = '40' WHERE `id` = '36000';
/* 22:57:51 gmspider gmspider */ INSERT INTO `menu` (`id`, `menu_id`, `nazov`, `page`, `poradie`, `level`, `visibility_type`) VALUES ('36006', '36001', 'Dokumenty majetku', 'majetok_subor', '40', '3', '1');
/* 23:02:41 gmspider gmspider */ INSERT INTO `menu` (`id`, `menu_id`, `nazov`, `page`, `poradie`, `level`, `visibility_type`) VALUES ('36007', '36001', 'Vlastnosti majetku', 'majetok_vlastnost', '50', '3', '1');
/* 23:04:02 gmspider gmspider */ INSERT INTO `form_group` (`id`, `form_id`, `nazov`, `code`, `position`, `poznamka`, `group_type`) VALUES ('36000', '360', 'Základné informácie', 'majetok_zakladne_informacie', '10', NULL, '1');
/* 23:05:27 gmspider gmspider */ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `db_multivalue_table`, `column_title`, `position`, `attribute`, `width`, `height`, `help`, `example`, `direct_to_db`, `required`, `number`, `float_number`, `email`, `css_style`, `css_class`, `javascript`, `direct_multi_label`, `direct_multi_data`, `default_val`, `vdaemon`, `add_empty_option`, `html`, `lang_code`, `read_only`) VALUES ('36000', '36000', '5', 'majetok', 'obchodny_partner_id', 'obchodny_partner', NULL, 'Obchodný partner', '10', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, NULL, NULL, 'select2', NULL, '1', NULL, NULL, NULL, '1', NULL, NULL, NULL);
/* 23:05:50 gmspider gmspider */ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `db_multivalue_table`, `column_title`, `position`, `attribute`, `width`, `height`, `help`, `example`, `direct_to_db`, `required`, `number`, `float_number`, `email`, `css_style`, `css_class`, `javascript`, `direct_multi_label`, `direct_multi_data`, `default_val`, `vdaemon`, `add_empty_option`, `html`, `lang_code`, `read_only`) VALUES ('36001', '36000', '1', 'majetok', 'nazov', NULL, NULL, 'Názov', '20', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
/* 23:06:32 gmspider gmspider */ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `db_multivalue_table`, `column_title`, `position`, `attribute`, `width`, `height`, `help`, `example`, `direct_to_db`, `required`, `number`, `float_number`, `email`, `css_style`, `css_class`, `javascript`, `direct_multi_label`, `direct_multi_data`, `default_val`, `vdaemon`, `add_empty_option`, `html`, `lang_code`, `read_only`) VALUES ('36002', '36000', '5', 'majetok', 'typ_majetku_id', 'typ_majetku', NULL, 'Typ majetku', '30', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, NULL, NULL, 'select2', NULL, '1', NULL, NULL, NULL, '1', NULL, NULL, NULL);
/* 23:08:05 gmspider gmspider */ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `db_multivalue_table`, `column_title`, `position`, `attribute`, `width`, `height`, `help`, `example`, `direct_to_db`, `required`, `number`, `float_number`, `email`, `css_style`, `css_class`, `javascript`, `direct_multi_label`, `direct_multi_data`, `default_val`, `vdaemon`, `add_empty_option`, `html`, `lang_code`, `read_only`) VALUES ('36003', '36000', '5', 'majetok', 'nadradeny_majetok_id', 'majetok', NULL, 'Nadradený majetok', '40', NULL, NULL, NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, 'select2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
/* 23:08:09 gmspider gmspider */ UPDATE `form_element` SET `add_empty_option` = '1' WHERE `id` = '36003';
/* 23:08:33 gmspider gmspider */ UPDATE `form_element` SET `direct_multi_label` = '1' WHERE `id` = '36003';
/* 23:09:05 gmspider gmspider */ UPDATE `form_element` SET `position` = '20' WHERE `id` = '36002';
/* 23:09:06 gmspider gmspider */ UPDATE `form_element` SET `position` = '30' WHERE `id` = '36001';
/* 23:39:25 gmspider gmspider */ INSERT INTO `priradenie_suboru` (`id`, `nazov`, `code`) VALUES ('36000', 'Majetok', 'majetok');

INSERT INTO `log_type` (`id`, `nazov`, `code`, `primary_table`)
VALUES
	(36000, 'Pridanie majetku', 'majetok_pridaj', 'majetok'),
	(36001, 'Editovanie majetku', 'majetok_edituj', 'majetok'),
	(36002, 'Zmazanie majetku', 'majetok_zmaz', 'majetok');
