payroll-rules-india 2.2.0 → 2.4.0
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.
- package/dist/rules/fy2024_2025/esiRules.d.ts +1 -0
- package/dist/rules/fy2024_2025/esiRules.js +11 -0
- package/dist/rules/fy2024_2025/geyserAllowance.js +1 -0
- package/dist/rules/fy2024_2025/otherAllowanceRules.d.ts +1 -0
- package/dist/rules/fy2024_2025/otherAllowanceRules.js +11 -0
- package/dist/rules/fy2024_2025/otherDeductionsRule.d.ts +2 -0
- package/dist/rules/fy2024_2025/otherDeductionsRule.js +11 -0
- package/package.json +1 -1
|
@@ -41,3 +41,14 @@ export const ESI_Employee_On_BasicPlusDA = {
|
|
|
41
41
|
monthlyFormula: "round(basicPlusDA * 0.0075, 2)",
|
|
42
42
|
annualFormula: "round(basicPlusDA * 0.0075 * 12, 2)",
|
|
43
43
|
};
|
|
44
|
+
export const leaveAllowanceBasicPlusDARule = {
|
|
45
|
+
ruleCode: "LEAVE_ALLOWANCE",
|
|
46
|
+
name: "Leave Allowance - 5% of Basic + DA",
|
|
47
|
+
category: "Earning",
|
|
48
|
+
type: "Custom",
|
|
49
|
+
version: "FY2024-2025",
|
|
50
|
+
description: "Leave Allowance = 5% of (Basic + DA)",
|
|
51
|
+
condition: "basicPlusDA > 0",
|
|
52
|
+
monthlyFormula: "round(basicPlusDA * 0.05, 0)",
|
|
53
|
+
annualFormula: "round(basicPlusDA * 0.05 * 12, 0)",
|
|
54
|
+
};
|
|
@@ -22,3 +22,14 @@ export const otherDailyAllowanceRule = {
|
|
|
22
22
|
// Annual value should be derived by aggregating monthly payroll
|
|
23
23
|
annualFormula: "round(payableDays * 300, 2)",
|
|
24
24
|
};
|
|
25
|
+
export const otherEarningsRule = {
|
|
26
|
+
ruleCode: "OTHER_EARNINGS",
|
|
27
|
+
name: "Other Earnings",
|
|
28
|
+
category: "Earning",
|
|
29
|
+
type: "Custom",
|
|
30
|
+
version: "FY2024-2025",
|
|
31
|
+
description: "Other Earnings (manual or fixed amount)",
|
|
32
|
+
condition: "true",
|
|
33
|
+
monthlyFormula: "0",
|
|
34
|
+
annualFormula: "0",
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const otherDeductionsRule = {
|
|
2
|
+
ruleCode: "OTHER_DEDUCTIONS",
|
|
3
|
+
name: "Other Deductions",
|
|
4
|
+
category: "Deduction",
|
|
5
|
+
type: "Custom",
|
|
6
|
+
version: "FY2024-2025",
|
|
7
|
+
description: "Other Deductions (manual or fixed amount)",
|
|
8
|
+
condition: "true",
|
|
9
|
+
monthlyFormula: "0",
|
|
10
|
+
annualFormula: "0",
|
|
11
|
+
};
|