payroll-rules-india 1.0.3 → 1.0.4

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.
@@ -1,2 +1,3 @@
1
1
  import { Rule } from "../../utils/types";
2
2
  export declare const shiftAllowanceRule: Rule;
3
+ export declare const shiftAllowanceRuleNew: Rule;
@@ -10,3 +10,15 @@ export const shiftAllowanceRule = {
10
10
  monthlyFormula: "round(payableDays * 17.16, 2)",
11
11
  annualFormula: "round(payableDays * 17.16 * 12, 2)",
12
12
  };
13
+ // Shift Allowance: payable days * 11.50 rupee per day
14
+ export const shiftAllowanceRuleNew = {
15
+ ruleCode: "SHIFT_ALLOWANCE",
16
+ name: "Shift Allowance",
17
+ category: "Earning",
18
+ type: "Custom",
19
+ version: "FY2024-2025",
20
+ description: "Shift Allowance = payable days * 11.50 rupee per day",
21
+ condition: "payableDays > 0",
22
+ monthlyFormula: "round(payableDays * 11.50, 2)",
23
+ annualFormula: "round(payableDays * 11.50 * 12, 2)",
24
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",