payroll-rules-india 2.0.4 → 2.1.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.
@@ -0,0 +1,2 @@
1
+ import { Rule } from "../../utils/types";
2
+ export declare const dailyDARule: Rule;
@@ -0,0 +1,11 @@
1
+ export const dailyDARule = {
2
+ ruleCode: "DA",
3
+ name: "Dearness Allowance",
4
+ category: "Earning",
5
+ type: "Custom",
6
+ version: "FY2024-2025",
7
+ description: "Dearness Allowance calculated at a fixed rate of Rs.266 per payable day.",
8
+ condition: "payableDays > 0",
9
+ monthlyFormula: "round(payableDays * 266, 0)",
10
+ annualFormula: "round(payableDays * 266 * 12, 0)",
11
+ };
@@ -13,6 +13,7 @@ export * from "./nationalHolidayRules";
13
13
  export * from "./optionalHolidayRules";
14
14
  export * from "./elRules";
15
15
  export * from "./bonusRules";
16
+ export * from "./localAllowanceRules";
16
17
  export * from "./leaveAllowanceRules";
17
18
  export * from "./retentionBonusRules";
18
19
  export * from "./fuelAllowanceRules";
@@ -31,4 +32,4 @@ export * from "./acChargesRule";
31
32
  export * from "./geyserAllowance";
32
33
  export * from "./quarterRentRules";
33
34
  export * from "./extraBasicRule";
34
- export * from "./localAllowanceRules";
35
+ export * from "./dearnessAllowanceRules";
@@ -13,6 +13,7 @@ export * from "./nationalHolidayRules";
13
13
  export * from "./optionalHolidayRules";
14
14
  export * from "./elRules";
15
15
  export * from "./bonusRules";
16
+ export * from "./localAllowanceRules";
16
17
  export * from "./leaveAllowanceRules";
17
18
  export * from "./retentionBonusRules";
18
19
  export * from "./fuelAllowanceRules";
@@ -31,4 +32,4 @@ export * from "./acChargesRule";
31
32
  export * from "./geyserAllowance";
32
33
  export * from "./quarterRentRules";
33
34
  export * from "./extraBasicRule";
34
- export * from "./localAllowanceRules";
35
+ export * from "./dearnessAllowanceRules";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.0.4",
3
+ "version": "2.1.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",