payroll-rules-india 2.2.0 → 2.3.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.
@@ -3,3 +3,4 @@ export declare const esiRule: Rule;
3
3
  export declare const ESI_Employee_On_Basic: Rule;
4
4
  export declare const ESIRuleOnBasic: Rule;
5
5
  export declare const ESI_Employee_On_BasicPlusDA: Rule;
6
+ export declare const leaveAllowanceBasicPlusDARule: Rule;
@@ -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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",