{
 "actions": [],
 "allow_import": 1,
 "autoname": "naming_series:",
 "creation": "2018-05-10 12:04:08.396461",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "naming_series",
  "employee",
  "employee_name",
  "salary_component",
  "overwrite_salary_structure_amount",
  "deduct_full_tax_on_selected_payroll_date",
  "ref_doctype",
  "ref_docname",
  "column_break_5",
  "company",
  "is_recurring",
  "from_date",
  "to_date",
  "payroll_date",
  "type",
  "department",
  "amount",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Series",
   "options": "HR-ADS-.YY.-.MM.-",
   "reqd": 1
  },
  {
   "fieldname": "employee",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Employee",
   "options": "Employee",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "salary_component",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Salary Component",
   "options": "Salary Component",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "amount",
   "fieldtype": "Currency",
   "in_list_view": 1,
   "label": "Amount",
   "reqd": 1
  },
  {
   "default": "1",
   "fieldname": "overwrite_salary_structure_amount",
   "fieldtype": "Check",
   "label": "Overwrite Salary Structure Amount"
  },
  {
   "default": "0",
   "fieldname": "deduct_full_tax_on_selected_payroll_date",
   "fieldtype": "Check",
   "label": "Deduct Full Tax on Selected Payroll Date"
  },
  {
   "fieldname": "column_break_5",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "eval:(doc.is_recurring==0)",
   "description": "Date on which this component is applied",
   "fieldname": "payroll_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "Payroll Date",
   "mandatory_depends_on": "eval:(doc.is_recurring==0)",
   "search_index": 1
  },
  {
   "fetch_from": "employee.employee_name",
   "fieldname": "employee_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Employee Name",
   "read_only": 1
  },
  {
   "fetch_from": "employee.department",
   "fieldname": "department",
   "fieldtype": "Link",
   "label": "Department",
   "options": "Department",
   "read_only": 1
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fetch_from": "salary_component.type",
   "fieldname": "type",
   "fieldtype": "Data",
   "label": "Salary Component Type",
   "read_only": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Additional Salary",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "is_recurring",
   "fieldtype": "Check",
   "label": "Is Recurring"
  },
  {
   "depends_on": "eval:(doc.is_recurring==1)",
   "fieldname": "from_date",
   "fieldtype": "Date",
   "label": "From Date",
   "mandatory_depends_on": "eval:(doc.is_recurring==1)"
  },
  {
   "depends_on": "eval:(doc.is_recurring==1)",
   "fieldname": "to_date",
   "fieldtype": "Date",
   "label": "To Date",
   "mandatory_depends_on": "eval:(doc.is_recurring==1)"
  },
  {
   "fieldname": "ref_doctype",
   "fieldtype": "Link",
   "label": "Reference Document Type",
   "options": "DocType",
   "read_only": 1
  },
  {
   "fieldname": "ref_docname",
   "fieldtype": "Dynamic Link",
   "label": "Reference Document",
   "options": "ref_doctype",
   "read_only": 1
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2020-06-22 21:10:50.374063",
 "modified_by": "Administrator",
 "module": "Payroll",
 "name": "Additional Salary",
 "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
  },
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR User",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "employee",
 "track_changes": 1
}