payroll-rules-india 1.2.0 → 1.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/acChargesRule.d.ts +2 -0
- package/dist/rules/fy2024_2025/acChargesRule.js +10 -0
- package/dist/rules/fy2024_2025/geyserAllowance.d.ts +2 -0
- package/dist/rules/fy2024_2025/geyserAllowance.js +10 -0
- package/dist/rules/fy2024_2025/index.d.ts +4 -0
- package/dist/rules/fy2024_2025/index.js +4 -0
- package/dist/rules/fy2024_2025/quarterRentRules.d.ts +2 -0
- package/dist/rules/fy2024_2025/quarterRentRules.js +10 -0
- package/dist/rules/fy2024_2025/shiftAllowanceRules.d.ts +1 -0
- package/dist/rules/fy2024_2025/shiftAllowanceRules.js +10 -0
- package/dist/rules/fy2024_2025/washingAllowanceRules.d.ts +1 -0
- package/dist/rules/fy2024_2025/washingAllowanceRules.js +10 -0
- package/dist/utils/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const acChargesRule = {
|
|
2
|
+
ruleCode: "AC_CHARGES",
|
|
3
|
+
name: "AC Charges",
|
|
4
|
+
category: "Deduction",
|
|
5
|
+
type: "Fixed",
|
|
6
|
+
version: "FY2024-2025",
|
|
7
|
+
description: "Fixed monthly AC charges deduction of Rs.1625.",
|
|
8
|
+
condition: "true",
|
|
9
|
+
monthlyFormula: "1625",
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const geyserChargeRuleTierA = {
|
|
2
|
+
ruleCode: "GEYSER_CHARGE",
|
|
3
|
+
name: "Geyser Charge",
|
|
4
|
+
category: "Deduction",
|
|
5
|
+
type: "Fixed",
|
|
6
|
+
version: "FY2024-2025",
|
|
7
|
+
description: "Fixed monthly geyser charge deduction of Rs.91.",
|
|
8
|
+
condition: "true",
|
|
9
|
+
monthlyFormula: "91",
|
|
10
|
+
};
|
|
@@ -28,3 +28,7 @@ export * from "./washingAllowanceRules";
|
|
|
28
28
|
export * from "./uniformAllowanceRules";
|
|
29
29
|
export * from "./safetyAllowanceRules";
|
|
30
30
|
export * from "./emergencyAllowance";
|
|
31
|
+
export * from "./emergencyAllowance";
|
|
32
|
+
export * from "./acChargesRule";
|
|
33
|
+
export * from "./geyserAllowance";
|
|
34
|
+
export * from "./quarterRentRules";
|
|
@@ -28,3 +28,7 @@ export * from "./washingAllowanceRules";
|
|
|
28
28
|
export * from "./uniformAllowanceRules";
|
|
29
29
|
export * from "./safetyAllowanceRules";
|
|
30
30
|
export * from "./emergencyAllowance";
|
|
31
|
+
export * from "./emergencyAllowance";
|
|
32
|
+
export * from "./acChargesRule";
|
|
33
|
+
export * from "./geyserAllowance";
|
|
34
|
+
export * from "./quarterRentRules";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const quarterRentHSWRuleTierA = {
|
|
2
|
+
ruleCode: "QUARTER_RENT_HSW",
|
|
3
|
+
name: "Quarter Rent (HSW)",
|
|
4
|
+
category: "Deduction",
|
|
5
|
+
type: "Fixed",
|
|
6
|
+
version: "FY2024-2025",
|
|
7
|
+
description: "Quarter rent deduction for HSW category at Rs.498.",
|
|
8
|
+
condition: "skillCategory == 'HSW'",
|
|
9
|
+
monthlyFormula: "498",
|
|
10
|
+
};
|
|
@@ -22,3 +22,13 @@ export const shiftAllowanceRuleNew = {
|
|
|
22
22
|
monthlyFormula: "round(payableDays * 11.50, 2)",
|
|
23
23
|
annualFormula: "round(payableDays * 11.50 * 12, 2)",
|
|
24
24
|
};
|
|
25
|
+
export const shiftAllowanceRuleTierA = {
|
|
26
|
+
ruleCode: "SHIFT_ALLOWANCE",
|
|
27
|
+
name: "Shift Allowance",
|
|
28
|
+
category: "Earning",
|
|
29
|
+
type: "Custom",
|
|
30
|
+
version: "FY2024-2025",
|
|
31
|
+
description: "Shift Allowance calculated as 7.5% of wage rate multiplied by shift days.",
|
|
32
|
+
condition: "shiftDays > 0",
|
|
33
|
+
monthlyFormula: "round((dailyWages * 0.075) * shiftDays, 0)",
|
|
34
|
+
};
|
|
@@ -42,3 +42,13 @@ export const washingAllowanceTierCRevised = {
|
|
|
42
42
|
monthlyFormula: "round(11.50 * payableDays, 2)",
|
|
43
43
|
annualFormula: "round(11.50 * payableDays * 12, 2)",
|
|
44
44
|
};
|
|
45
|
+
export const washingAllowanceUSWRuleTierD = {
|
|
46
|
+
ruleCode: "WASHING_ALLOWANCE_USW",
|
|
47
|
+
name: "Washing Allowance (USW)",
|
|
48
|
+
category: "Earning",
|
|
49
|
+
type: "Custom",
|
|
50
|
+
version: "FY2024-2025",
|
|
51
|
+
description: "Washing allowance for USW category at Rs.25 per present day.",
|
|
52
|
+
condition: "payableDays > 0",
|
|
53
|
+
monthlyFormula: "round(payableDays * 25, 2)",
|
|
54
|
+
};
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type Rule = {
|
|
2
2
|
ruleCode: string;
|
|
3
3
|
name: string;
|
|
4
|
-
category: "Earning" | "Deduction";
|
|
5
|
-
type?: "Statutory" | "Custom";
|
|
4
|
+
category: "Earning" | "Deduction" | "Adjustment";
|
|
5
|
+
type?: "Statutory" | "Custom" | "Fixed";
|
|
6
6
|
description?: string;
|
|
7
7
|
version?: string;
|
|
8
8
|
condition?: string;
|