INSERT INTO public.core_permissions (code,permission_name,parent,permission_function,default_child,permission_namespace,"module",permission_description,permission_type,icon,ord,hidden,guest,meta) VALUES
	 ('PSUPORT','support_list_view','MSUPORT','initSupport','','support','support','Permission to view support page','PAG','fa-solid fa-envelope-open-text',1,false,false,NULL),
	 ('BSPTSND','support_list_view_send','PSUPORT','','','suppoert','support','Permission to send question button','BUT','fa-solid fa-share-from-square',1,false,false,NULL),
	 ('XSPTSND','support_send','PSUPORT','sendSupportRequest','','support','support','Permission to send message','EXE','',1,false,false,NULL);
INSERT INTO public.core_assets (asset_type,asset_name,description,custom,asset_innerhtml,asset_parameters,asset_code,before_trigger,after_trigger,failure_rollback,exec_order,meta,role_id) VALUES
	 ('form','support_view_form','Form for support ',false,NULL,'{"form": [[{"id": "subject", "cols": 6, "name": "subject", "type": "text", "label": "form_support_subject", "mandatory": false}, {"id": "phoneNum", "cols": 3, "name": "phoneNum", "type": "int", "label": "form_support_phoneNum", "mandatory": false}], [{"id": "message", "cols": 12, "name": "message", "type": "textarea", "label": "form_support_message", "mandatory": false}]]}',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
