payroll-rules-india 2.12.1 → 2.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,10 +5,10 @@ export const otherAllowanceRule = {
5
5
  category: "Earning",
6
6
  type: "Custom",
7
7
  version: "FY2024-2025",
8
- description: "Other Allowances = IF((Basic Wage+Daily wage)>20,2000,ROUND((2000/26)*(Basic Wage+Daily wage),0))",
9
- condition: "basic > 0 || dailyWages > 0",
10
- monthlyFormula: "round((basic + dailyWages) > 20 ? 2000 : ((2000 / 26) * (basic + dailyWages)), 0)",
11
- annualFormula: "round(((basic + dailyWages) > 20 ? 2000 : ((2000 / 26) * (basic + dailyWages))) * 12, 0)",
8
+ description: "Other Allowance = IF(payableDays > 20, 2000, ROUND((2000/26) * payableDays, 0))",
9
+ condition: "payableDays > 0",
10
+ monthlyFormula: "round(payableDays > 20 ? 2000 : ((2000 / 26) * payableDays), 0)",
11
+ annualFormula: "round((payableDays > 20 ? 2000 : ((2000 / 26) * payableDays)) * 12, 0)",
12
12
  };
13
13
  export const otherDailyAllowanceRule = {
14
14
  ruleCode: "OTHER_DAILY_ALLOWANCE",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.12.1",
3
+ "version": "2.12.3",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",