{
 "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",
  "password_policy"
 ],
 "fields": [
  {
   "default": "Leave",
   "fieldname": "payroll_based_on",
   "fieldtype": "Select",
   "label": "Calculate Payroll Working Days Based On",
   "options": "Leave\nAttendance",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "fieldname": "max_working_hours_against_timesheet",
   "fieldtype": "Float",
   "label": "Max working hours against Timesheet",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "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",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "default": "0",
   "description": "If checked, hides and disables Rounded Total field in Salary Slips",
   "fieldname": "disable_rounded_total",
   "fieldtype": "Check",
   "label": "Disable Rounded Total",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "fieldname": "column_break_11",
   "fieldtype": "Column Break",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "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",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "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",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "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",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "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",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "depends_on": "eval:doc.payroll_based_on == 'Attendance'",
   "fieldname": "consider_unmarked_attendance_as",
   "fieldtype": "Select",
   "label": "Consider Unmarked Attendance As",
   "options": "Present\nAbsent",
   "show_days": 1,
   "show_seconds": 1
  }
 ],
 "icon": "fa fa-cog",
 "issingle": 1,
 "links": [],
 "modified": "2020-06-22 17:00:58.408030",
 "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"
}