{
 "actions": [],
 "allow_import": 1,
 "autoname": "HR-BEN-CLM-.YY.-.MM.-.#####",
 "creation": "2018-04-13 16:43:10.386409",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "employee",
  "employee_name",
  "department",
  "column_break_3",
  "claim_date",
  "currency",
  "company",
  "benefit_type_and_amount",
  "earning_component",
  "max_amount_eligible",
  "pay_against_benefit_claim",
  "claimed_amount",
  "salary_slip",
  "amended_from",
  "section_break_9",
  "attachments"
 ],
 "fields": [
  {
   "fieldname": "employee",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Employee",
   "options": "Employee",
   "reqd": 1
  },
  {
   "fetch_from": "employee.employee_name",
   "fieldname": "employee_name",
   "fieldtype": "Data",
   "label": "Employee Name",
   "read_only": 1
  },
  {
   "fetch_from": "employee.department",
   "fieldname": "department",
   "fieldtype": "Link",
   "label": "Department",
   "options": "Department",
   "read_only": 1
  },
  {
   "fieldname": "column_break_3",
   "fieldtype": "Column Break"
  },
  {
   "default": "Today",
   "fieldname": "claim_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "Claim Date",
   "reqd": 1
  },
  {
   "fieldname": "benefit_type_and_amount",
   "fieldtype": "Section Break",
   "label": "Benefit Type and Amount"
  },
  {
   "fieldname": "earning_component",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Claim Benefit For",
   "options": "Salary Component",
   "reqd": 1
  },
  {
   "fetch_from": "earning_component.max_benefit_amount",
   "fieldname": "max_amount_eligible",
   "fieldtype": "Currency",
   "label": "Max Amount Eligible",
   "options": "currency",
   "read_only": 1
  },
  {
   "default": "0",
   "fetch_from": "earning_component.pay_against_benefit_claim",
   "fieldname": "pay_against_benefit_claim",
   "fieldtype": "Check",
   "hidden": 1,
   "label": "Pay Against Benefit Claim",
   "read_only": 1
  },
  {
   "fieldname": "claimed_amount",
   "fieldtype": "Currency",
   "in_list_view": 1,
   "label": "Claimed Amount",
   "options": "currency",
   "reqd": 1
  },
  {
   "fieldname": "salary_slip",
   "fieldtype": "Link",
   "label": "Salary Slip",
   "options": "Salary Slip",
   "read_only": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Employee Benefit Claim",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "section_break_9",
   "fieldtype": "Section Break",
   "label": "Expense Proof"
  },
  {
   "fieldname": "attachments",
   "fieldtype": "Attach",
   "label": "Attachments"
  },
  {
   "depends_on": "eval: doc.employee",
   "fieldname": "currency",
   "fieldtype": "Link",
   "label": "Currency",
   "options": "Currency",
   "read_only": 1,
   "reqd": 1
  },
  {
   "fetch_from": "employee.company",
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company",
   "reqd": 1
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2021-03-31 22:37:21.024625",
 "modified_by": "Administrator",
 "module": "Payroll",
 "name": "Employee Benefit Claim",
 "owner": "Administrator",
 "permissions": [
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR User",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Employee",
   "share": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "employee_name",
 "track_changes": 1
}