
INSERT INTO tbloptions_static VALUES (null, 'estimate_show_business_name','1',1);
INSERT INTO tbloptions (`tenant_id`, `name`, `value`, `autoload`) (SELECT id,'estimate_show_business_name',1,1 FROM tbltenants);

INSERT INTO `tblplan_features` (`id`, `name`, `codename`, `description`, `type`, `is_highlight`, `order`, `added_on`) VALUES (NULL, 'Show business name in estimate', 'estimate_show_business_name', 'Option for display of business name in estimate settings', 'restrict', '0', '999', NOW());
SET @new_estimate_plans_features_id = LAST_INSERT_ID();
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('9', @new_estimate_plans_features_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('10', @new_estimate_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('11', @new_estimate_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('12', @new_estimate_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('13', @new_estimate_plans_features_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('14', @new_estimate_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('15', @new_estimate_plans_features_id, '1', UTC_TIMESTAMP());


INSERT INTO tbloptions_static VALUES (null, 'invoice_show_business_name','1',1);
INSERT INTO tbloptions (`tenant_id`, `name`, `value`, `autoload`) (SELECT id,'invoice_show_business_name',1,1 FROM tbltenants);

INSERT INTO `tblplan_features` (`id`, `name`, `codename`, `description`, `type`, `is_highlight`, `order`, `added_on`) VALUES (NULL, 'Show business name in invoice', 'invoice_show_business_name', 'Option for display of business name in invoice settings', 'restrict', '0', '999', NOW());
SET @new_invoice_plans_features_id = LAST_INSERT_ID();
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('9', @new_invoice_plans_features_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('10', @new_invoice_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('11', @new_invoice_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('12', @new_invoice_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('13', @new_invoice_plans_features_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('14', @new_invoice_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('15', @new_invoice_plans_features_id, '1', UTC_TIMESTAMP());


INSERT INTO tbloptions_static VALUES (null, 'pi_show_business_name','1',1);
INSERT INTO tbloptions (`tenant_id`, `name`, `value`, `autoload`) (SELECT id,'pi_show_business_name',1,1 FROM tbltenants);

INSERT INTO `tblplan_features` (`id`, `name`, `codename`, `description`, `type`, `is_highlight`, `order`, `added_on`) VALUES (NULL, 'Show business name in post inspection', 'pi_show_business_name', 'Option for display of business name in inspection settings', 'restrict', '0', '999', NOW()); 
SET @new_pi_plans_features_id = LAST_INSERT_ID();

INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('9', @new_pi_plans_features_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('10', @new_pi_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('11', @new_pi_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('12', @new_pi_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('13', @new_pi_plans_features_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('14', @new_pi_plans_features_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('15', @new_pi_plans_features_id, '1', UTC_TIMESTAMP());


