payroll-rules-india 1.1.1 → 1.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.
@@ -0,0 +1,2 @@
1
+ import { Rule } from "../../utils/types";
2
+ export declare const emergencyAllowanceRule: Rule;
@@ -0,0 +1,12 @@
1
+ // Emergency Allowance - Rs. 27.46/- per payable day
2
+ export const emergencyAllowanceRule = {
3
+ ruleCode: "EMERGENCY_ALLOWANCE",
4
+ name: "Emergency Allowance",
5
+ category: "Earning",
6
+ type: "Custom",
7
+ version: "FY2024-2025",
8
+ description: "Emergency Allowance = Rs. 27.46/- × payable days (worked days)",
9
+ condition: "payableDays > 0",
10
+ monthlyFormula: "round(27.46 * payableDays, 2)",
11
+ annualFormula: "round(27.46 * payableDays * 12, 2)",
12
+ };
@@ -27,3 +27,5 @@ export * from "./shiftAllowanceRules";
27
27
  export * from "./washingAllowanceRules";
28
28
  export * from "./uniformAllowanceRules";
29
29
  export * from "./safetyAllowanceRules";
30
+ export * from "./emergencyAllowance";
31
+ export * from "./emergencyAllowance";
@@ -27,3 +27,5 @@ export * from "./shiftAllowanceRules";
27
27
  export * from "./washingAllowanceRules";
28
28
  export * from "./uniformAllowanceRules";
29
29
  export * from "./safetyAllowanceRules";
30
+ export * from "./emergencyAllowance";
31
+ export * from "./emergencyAllowance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "1.1.1",
3
+ "version": "1.3.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",