{
 "actions": [],
 "allow_import": 1,
 "allow_rename": 1,
 "autoname": "field:holiday_list_name",
 "creation": "2013-01-10 16:34:14",
 "doctype": "DocType",
 "document_type": "Setup",
 "engine": "InnoDB",
 "field_order": [
  "holiday_list_name",
  "from_date",
  "to_date",
  "column_break_4",
  "total_holidays",
  "add_weekly_holidays",
  "weekly_off",
  "get_weekly_off_dates",
  "add_local_holidays",
  "country",
  "subdivision",
  "get_local_holidays",
  "holidays_section",
  "holidays",
  "clear_table",
  "section_break_9",
  "color"
 ],
 "fields": [
  {
   "fieldname": "holiday_list_name",
   "fieldtype": "Data",
   "label": "Holiday List Name",
   "oldfieldname": "holiday_list_name",
   "oldfieldtype": "Data",
   "reqd": 1,
   "unique": 1
  },
  {
   "fieldname": "from_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "From Date",
   "reqd": 1
  },
  {
   "fieldname": "to_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "To Date",
   "reqd": 1
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "total_holidays",
   "fieldtype": "Int",
   "in_list_view": 1,
   "label": "Total Holidays",
   "read_only": 1
  },
  {
   "collapsible": 1,
   "depends_on": "eval: doc.from_date && doc.to_date",
   "fieldname": "add_weekly_holidays",
   "fieldtype": "Section Break",
   "label": "Add Weekly Holidays"
  },
  {
   "fieldname": "weekly_off",
   "fieldtype": "Select",
   "in_standard_filter": 1,
   "label": "Weekly Off",
   "no_copy": 1,
   "options": "\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday",
   "print_hide": 1,
   "report_hide": 1
  },
  {
   "fieldname": "get_weekly_off_dates",
   "fieldtype": "Button",
   "label": "Add to Holidays",
   "options": "get_weekly_off_dates"
  },
  {
   "fieldname": "holidays_section",
   "fieldtype": "Section Break",
   "label": "Holidays"
  },
  {
   "fieldname": "holidays",
   "fieldtype": "Table",
   "label": "Holidays",
   "oldfieldname": "holiday_list_details",
   "oldfieldtype": "Table",
   "options": "Holiday"
  },
  {
   "fieldname": "clear_table",
   "fieldtype": "Button",
   "label": "Clear Table",
   "options": "clear_table"
  },
  {
   "fieldname": "section_break_9",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "color",
   "fieldtype": "Color",
   "label": "Color",
   "print_hide": 1
  },
  {
   "fieldname": "country",
   "fieldtype": "Autocomplete",
   "label": "Country"
  },
  {
   "depends_on": "country",
   "fieldname": "subdivision",
   "fieldtype": "Autocomplete",
   "label": "Subdivision"
  },
  {
   "collapsible": 1,
   "depends_on": "eval: doc.from_date && doc.to_date",
   "fieldname": "add_local_holidays",
   "fieldtype": "Section Break",
   "label": "Add Local Holidays"
  },
  {
   "fieldname": "get_local_holidays",
   "fieldtype": "Button",
   "label": "Add to Holidays",
   "options": "get_local_holidays"
  }
 ],
 "icon": "fa fa-calendar",
 "idx": 1,
 "links": [],
 "modified": "2023-07-14 13:28:53.156421",
 "modified_by": "Administrator",
 "module": "Setup",
 "name": "Holiday List",
 "naming_rule": "By fieldname",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR Manager",
   "share": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": []
}