-- Auto-generated SQL script #202211291030
INSERT INTO public.core_settings (setting_type,setting_name,value,properties,ord)
	VALUES ('count_settings','invoice_template','{
  "body": "<p>test</p>\n<p><strong>test</strong></p>\n<p><em>dfdfgdfs</em></p>\n<p><strong>gggg kjh kjh</strong></p>\n<p></p>",
  "queries": [
  	"SELECT * FROM count_invoices WHERE id=:id",
  	"SELECT * FROM count_invoices_rows WHERE invoice_id=:id"
  ]
}'::jsonb,'{
  "section_desc": "Count Module Settings",
  "section_icon": "fa-solid fa-calculator",
  "setting_desc": "Invoice template",
  "setting_icon": "fa-solid fa-file-invoice",
  "section_button": "Change template",
  "setting_button": "Edit"
}'::jsonb,110);

INSERT INTO core_permissions (code,permission_name,parent,permission_function,default_child,permission_namespace,"module",permission_description,permission_type,icon,ord,hidden,guest,meta) VALUES
	 ('XHDCCR','herald_document_create','SMBKEND','createDocument','','herald/message','herald','Permission to create new document','EXE','',1,false,false,NULL);
