UPDATE `form_element` SET `html`='<a class="btn btn-primary get-ajax-form" href="obchodny_partner_pridaj_modal.php" title="Pridanie obchodného partnera" data-parent="obchodny_partner_id"><i class="fa fa-plus"></i></a>' WHERE  `id`=40010;
UPDATE `form_element` SET `html`='<a class="btn btn-primary get-ajax-form" href="osoba_pridaj_modal.php" title="Pridanie osoby" data-before-load="osoba.beforeLoad" data-parent="osoba_id"> <i class="fa fa-plus"></i></a>' WHERE  `id`=40003;
ALTER TABLE `objednavka`
    ADD COLUMN `verzia` INT NULL DEFAULT NULL AFTER `cislo`;

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 (40024, 40000, 1, 'objednavka', 'verzia', NULL, NULL, 'Verzia', 15, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL);
ALTER TABLE `polozka_objednavky`
    ADD COLUMN `skupina` VARCHAR(255) NULL DEFAULT NULL AFTER `uloha_id`;
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 (40113, 40100, 1, 'polozka_objednavky', 'skupina', NULL, NULL, 'Skupina', 130, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
