{
 "actions": [],
 "creation": "2020-06-04 15:13:33.589685",
 "doctype": "DocType",
 "document_type": "Other",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "payroll_based_on",
  "consider_unmarked_attendance_as",
  "max_working_hours_against_timesheet",
  "include_holidays_in_total_working_days",
  "disable_rounded_total",
  "column_break_11",
  "daily_wages_fraction_for_half_day",
  "email_salary_slip_to_employee",
  "encrypt_salary_slips_in_emails",
  "show_leave_balances_in_salary_slip",
  "password_policy"
 ],
 "fields": [
  {
   "default": "Leave",
   "fieldname": "payroll_based_on",
   "fieldtype": "Select",
   "label": "Calculate Payroll Working Days Based On",
   "options": "Leave\nAttendance"
  },
  {
   "fieldname": "max_working_hours_against_timesheet",
   "fieldtype": "Float",
   "label": "Max working hours against Timesheet"
  },
  {
   "default": "0",
   "description": "If checked, Total no. of Working Days will include holidays, and this will reduce the value of Salary Per Day",
   "fieldname": "include_holidays_in_total_working_days",
   "fieldtype": "Check",
   "label": "Include holidays in Total no. of Working Days"
  },
  {
   "default": "0",
   "description": "If checked, hides and disables Rounded Total field in Salary Slips",
   "fieldname": "disable_rounded_total",
   "fieldtype": "Check",
   "label": "Disable Rounded Total"
  },
  {
   "fieldname": "column_break_11",
   "fieldtype": "Column Break"
  },
  {
   "default": "0.5",
   "description": "The fraction of daily wages to be paid for half-day attendance",
   "fieldname": "daily_wages_fraction_for_half_day",
   "fieldtype": "Float",
   "label": "Fraction of Daily Salary for Half Day"
  },
  {
   "default": "1",
   "description": "Emails salary slip to employee based on preferred email selected in Employee",
   "fieldname": "email_salary_slip_to_employee",
   "fieldtype": "Check",
   "label": "Email Salary Slip to Employee"
  },
  {
   "default": "0",
   "depends_on": "eval: doc.email_salary_slip_to_employee == 1;",
   "description": "The salary slip emailed to the employee will be password protected, the password will be generated based on the password policy.",
   "fieldname": "encrypt_salary_slips_in_emails",
   "fieldtype": "Check",
   "label": "Encrypt Salary Slips in Emails"
  },
  {
   "depends_on": "eval: doc.encrypt_salary_slips_in_emails == 1",
   "description": "<b>Example:</b> SAL-{first_name}-{date_of_birth.year} <br>This will generate a password like SAL-Jane-1972",
   "fieldname": "password_policy",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Password Policy"
  },
  {
   "depends_on": "eval:doc.payroll_based_on == 'Attendance'",
   "fieldname": "consider_unmarked_attendance_as",
   "fieldtype": "Select",
   "label": "Consider Unmarked Attendance As",
   "options": "Present\nAbsent"
  },
  {
   "default": "0",
   "fieldname": "show_leave_balances_in_salary_slip",
   "fieldtype": "Check",
   "label": "Show Leave Balances in Salary Slip"
  }
 ],
 "icon": "fa fa-cog",
 "index_web_pages_for_search": 1,
 "issingle": 1,
 "links": [],
 "modified": "2021-03-03 17:49:59.579723",
 "modified_by": "Administrator",
 "module": "Payroll",
 "name": "Payroll Settings",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "ASC",
 "track_changes": 1
}