{
 "actions": [],
 "allow_import": 1,
 "autoname": "field:leave_block_list_name",
 "creation": "2013-02-18 17:43:12",
 "description": "Block Holidays on important days.",
 "doctype": "DocType",
 "document_type": "Setup",
 "engine": "InnoDB",
 "field_order": [
  "leave_block_list_name",
  "company",
  "applies_to_all_departments",
  "column_break_4",
  "leave_type",
  "block_days",
  "add_day_wise_dates",
  "leave_block_list_dates",
  "allow_list",
  "leave_block_list_allowed"
 ],
 "fields": [
  {
   "fieldname": "leave_block_list_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Leave Block List Name",
   "reqd": 1,
   "unique": 1
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Company",
   "options": "Company",
   "remember_last_selected_value": 1,
   "reqd": 1
  },
  {
   "default": "0",
   "description": "If not checked, the list will have to be added to each Department where it has to be applied.",
   "fieldname": "applies_to_all_departments",
   "fieldtype": "Check",
   "in_list_view": 1,
   "label": "Applies to Company"
  },
  {
   "description": "Stop users from making Leave Applications on following days.",
   "fieldname": "block_days",
   "fieldtype": "Section Break",
   "label": "Block Days"
  },
  {
   "fieldname": "leave_block_list_dates",
   "fieldtype": "Table",
   "label": "Leave Block List Dates",
   "options": "Leave Block List Date",
   "reqd": 1
  },
  {
   "description": "Allow the following users to approve Leave Applications for block days.",
   "fieldname": "allow_list",
   "fieldtype": "Section Break",
   "label": "Allow Users"
  },
  {
   "fieldname": "leave_block_list_allowed",
   "fieldtype": "Table",
   "label": "Leave Block List Allowed",
   "options": "Leave Block List Allow"
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "leave_type",
   "fieldtype": "Link",
   "label": "Leave Type",
   "options": "Leave Type"
  },
  {
   "fieldname": "add_day_wise_dates",
   "fieldtype": "Button",
   "label": "Add Day-wise Dates"
  }
 ],
 "icon": "fa fa-calendar",
 "idx": 1,
 "links": [],
 "modified": "2022-11-04 14:18:25.192917",
 "modified_by": "Administrator",
 "module": "HR",
 "name": "Leave Block List",
 "naming_rule": "By fieldname",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "role": "HR User",
   "share": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "ASC",
 "states": []
}