export const monthMap = {
  january: 1,
  february: 2,
  march: 3,
  april: 4,
  may: 5,
  june: 6,
  july: 7,
  august: 8,
  september: 9,
  october: 10,
  november: 11,
  december: 12,
}

export const defaultLeaveTypes = [
  {
    name: "Privilege Leave",
    code: "PL",
    annual_entitlement: 18,
    carry_forward: 1,
    is_paid: 1,
  },
  {
    name: "Casual Leave",
    code: "CL",
    annual_entitlement: 6,
    carry_forward: 0,
    is_paid: 1,
  },
  {
    name: "Sick Leave",
    code: "SL",
    annual_entitlement: 6,
    carry_forward: 0,
    is_paid: 1,
  },
  {
    name: "Maternity Leave",
    code: "ML",
    annual_entitlement: 180,
    carry_forward: 0,
    is_paid: 1,
  },
]

export const defaultSalarySettings = [
  {
    code: "HRA",
    name: "House Rent Allowance (HRA)",
    type: "earning",
    type_value: "percentage",
    value: "40",
    is_taxable: 1,
  },
  {
    code: "SPECIAL_ALLOWANCE",
    name: "Special Allowance",
    type: "earning",
    type_value: "fixed",
    value: "0",
    is_taxable: 1,
  },
  {
    code: "LTA",
    name: "Leave Travel Allowance (LTA)",
    type: "earning",
    type_value: "fixed",
    value: "0",
    is_taxable: 1,
  },
  {
    code: "EMPLOYER_PF",
    name: "Employer PF Contribution",
    type: "earning",
    type_value: "percentage",
    value: "12",
    is_taxable: 0,
  },
  {
    code: "GRATUITY",
    name: "Gratuity",
    type: "earning",
    type_value: "percentage",
    value: "4.81",
    is_taxable: 0,
  },
  {
    code: "EMPLOYER_NPS",
    name: "Employer NPS Contribution",
    type: "earning",
    type_value: "percentage",
    value: "10",
    is_taxable: 0,
  },
  {
    code: "EMPLOYEE_PF",
    name: "Employee PF Contribution",
    type: "deduction",
    type_value: "percentage",
    value: "12",
    is_taxable: 0,
  },
  {
    code: "PROFESSIONAL_TAX",
    name: "Professional Tax",
    type: "deduction",
    type_value: "fixed",
    value: "200",
    is_taxable: 0,
  },
  {
    code: "LWF",
    name: "Labour Welfare Fund",
    type: "deduction",
    type_value: "fixed",
    value: "200",
    is_taxable: 0,
  },
]
