Skip to content

openimis/openimis-be-calcrule_contribution_income_percentage_py

Repository files navigation

openimis-be-calculation-rule-fs_salary_procentage_py

This repository holds the files of the openIMIS Backend calculation rule fs income percentage reference module. It is dedicated to be deployed as a module of openimis-be_py. It is an extended part of calculation module openimis-be-calculation_py and therefore that module is dependent on this core calculation module. This module contains additional calculation rules.

Models

  • None (using no database approach for CalculationRule) - Calculation Rule is saved by defining class extending the ABSCalculationClass from core module.

Listened Django Signals

  • signal_get_rule_name
  • signal_get_rule_details
  • signal_get_param
  • signal_get_linked_class
  • signal_calculate_event

GraphQl Queries

None

Services

None

Configuration options (can be changed via core.ModuleConfiguration)

loading implemented rules from "calculation_rule.py" into global variable "CALCULATION_RULE"