Upgrade to v26 (#172)
* A bunch of new updates from icehrm pro * Push changes to frontend
This commit is contained in:
312
core/data/payroll/Ghana-Payroll.txt
Normal file
312
core/data/payroll/Ghana-Payroll.txt
Normal file
@@ -0,0 +1,312 @@
|
||||
{
|
||||
"name": "Ghana Payroll Calculation",
|
||||
"description": "",
|
||||
"deductions": [
|
||||
{
|
||||
"id": "101",
|
||||
"name": "Housing Allowance (10%)",
|
||||
"componentType": "[]",
|
||||
"component": "[\"1\"]",
|
||||
"payrollColumn": null,
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X*0.1\",\"id\":\"rangeAmounts_1\"}]"
|
||||
},
|
||||
{
|
||||
"id": "102",
|
||||
"name": "Overtime Allowance (10%)",
|
||||
"componentType": "[]",
|
||||
"component": "[\"1\"]",
|
||||
"payrollColumn": null,
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X*0.1\",\"id\":\"rangeAmounts_1\"}]"
|
||||
},
|
||||
{
|
||||
"id": "103",
|
||||
"name": "SSNIT",
|
||||
"componentType": "[]",
|
||||
"component": "[\"1\"]",
|
||||
"payrollColumn": null,
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X*0.055\",\"id\":\"rangeAmounts_1\"}]"
|
||||
},
|
||||
{
|
||||
"id": "104",
|
||||
"name": "Tax - Ghana",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": null,
|
||||
"rangeAmounts": ""
|
||||
},
|
||||
{
|
||||
"id": "106",
|
||||
"name": "Next 108 GHC",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "112",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"216\",\"upperCondition\":\"lt\",\"upperLimit\":\"324\",\"amount\":\"X*0.05\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gte\",\"lowerLimit\":\"324\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"5.4\",\"id\":\"rangeAmounts_2\"}]"
|
||||
},
|
||||
{
|
||||
"id": "107",
|
||||
"name": "Next 151 GHC",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "112",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"324\",\"upperCondition\":\"lt\",\"upperLimit\":\"475\",\"amount\":\"(X-324) * 0.1\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gte\",\"lowerLimit\":\"259\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"15.10\",\"id\":\"rangeAmounts_2\"}]"
|
||||
},
|
||||
{
|
||||
"id": "108",
|
||||
"name": "Next 2765 GHC",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "112",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"475\",\"upperCondition\":\"lt\",\"upperLimit\":\"3240\",\"amount\":\"(X - 475) * 0.175\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gte\",\"lowerLimit\":\"3240\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"483.88\",\"id\":\"rangeAmounts_2\"}]"
|
||||
},
|
||||
{
|
||||
"id": "111",
|
||||
"name": "Remaining after 3240 GHC",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "112",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"3240\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"(X-3240)*0.25\",\"id\":\"rangeAmounts_1\"}]"
|
||||
}
|
||||
],
|
||||
"columns": [
|
||||
{
|
||||
"id": "105",
|
||||
"name": "GH - Salary (Basic)",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[\"1\"]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "1",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "106",
|
||||
"name": "GH - Housing Allowance",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"101\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "2",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "107",
|
||||
"name": "GH - Overtime Allowance",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"102\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "3",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "108",
|
||||
"name": "GH - Total",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"106\",\"107\",\"105\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "4",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "109",
|
||||
"name": "GH - SSNIT",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"103\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "5",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "112",
|
||||
"name": "GH - Taxable Income",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"106\",\"105\"]",
|
||||
"sub_columns": "[\"109\"]",
|
||||
"colorder": "7",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "113",
|
||||
"name": "GH - Next 108 GHC",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"106\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "9",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "114",
|
||||
"name": "GH - Next 151 GHC",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"107\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "10",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "115",
|
||||
"name": "GH - Next 2765 GHC",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"108\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "11",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "120",
|
||||
"name": "GH - Remaining after 3240 GHC",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"111\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "12",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "121",
|
||||
"name": "GH - Overtime Allow. Tax",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "13",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "[{\"name\":\"O\",\"column\":\"107\",\"id\":\"calculation_columns_1\"}]",
|
||||
"calculation_function": "O*0.05"
|
||||
},
|
||||
{
|
||||
"id": "122",
|
||||
"name": "GH - Total (PAYE Tax)",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"113\",\"114\",\"115\",\"121\",\"120\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "14",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "123",
|
||||
"name": "GH - Deductions - Sub Total",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"109\",\"122\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "15",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "125",
|
||||
"name": "GH - Final Total",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"108\"]",
|
||||
"sub_columns": "[\"123\"]",
|
||||
"colorder": "16",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
}
|
||||
],
|
||||
"salaryComponents": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Basic Salary",
|
||||
"componentType": "1",
|
||||
"details": null
|
||||
}
|
||||
],
|
||||
"salaryComponentTypes": [
|
||||
{
|
||||
"id": "1",
|
||||
"code": "B001",
|
||||
"name": "Basic"
|
||||
}
|
||||
],
|
||||
"samplePayroll": {
|
||||
"name": "Germany Payroll Calculation",
|
||||
"pay_period": "4",
|
||||
"columns": "[\"126\",\"127\",\"131\",\"129\",\"128\",\"133\",\"130\",\"132\"]",
|
||||
"date_start": "2017-08-01",
|
||||
"date_end": "2017-08-31",
|
||||
"status": "Draft"
|
||||
},
|
||||
"payslipTemplate": {
|
||||
"name": "Sample Payslip Template",
|
||||
"data": "[{\"type\":\"Company Logo\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_1\"},{\"type\":\"Company Name\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_2\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_5\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"126\",\"label\":\"Basic Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_3\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"127\",\"label\":\"Car Allowance\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_4\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"130\",\"label\":\"Payment for Hours Worked\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_6\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_7\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"131\",\"label\":\"Gross Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_8\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"132\",\"label\":\"Tax 19%\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_9\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_10\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"133\",\"label\":\"Net Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_11\"}]",
|
||||
"status": null,
|
||||
"created": "2017-09-08 21:12:40",
|
||||
"updated": "2017-09-08 21:12:40"
|
||||
}
|
||||
}
|
||||
188
core/data/payroll/Sample-Country-Payroll.txt
Normal file
188
core/data/payroll/Sample-Country-Payroll.txt
Normal file
@@ -0,0 +1,188 @@
|
||||
{
|
||||
"name": "Sample Country Payroll",
|
||||
"description": "",
|
||||
"deductions": [
|
||||
{
|
||||
"id": "112",
|
||||
"name": "DE - Tax",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "131",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X * 0.19\",\"id\":\"rangeAmounts_1\"}]"
|
||||
}
|
||||
],
|
||||
"columns": [
|
||||
{
|
||||
"id": "126",
|
||||
"name": "DE - Basic Salary",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[\"1\"]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "1",
|
||||
"editable": "Yes",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "127",
|
||||
"name": "DE - Car Allowance",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[\"3\"]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "2",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "128",
|
||||
"name": "DE - Hours Worked per Month",
|
||||
"calculation_hook": "AttendanceUtil_getTimeWorkedHours",
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "3",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "129",
|
||||
"name": "DE - Hourly Pay",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[\"5\"]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "4",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "130",
|
||||
"name": "DE - Payment for Hours Worked",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "5",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "[{\"name\":\"X\",\"column\":\"128\",\"id\":\"calculation_columns_1\"},{\"name\":\"Y\",\"column\":\"129\",\"id\":\"calculation_columns_2\"}]",
|
||||
"calculation_function": "X * Y"
|
||||
},
|
||||
{
|
||||
"id": "131",
|
||||
"name": "DE - Gross Salary",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"126\",\"127\",\"130\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "6",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "132",
|
||||
"name": "DE - Tax",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"112\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "7",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "133",
|
||||
"name": "DE - Net Salary",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"131\"]",
|
||||
"sub_columns": "[\"132\"]",
|
||||
"colorder": "8",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
}
|
||||
],
|
||||
"salaryComponents": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Basic Salary",
|
||||
"componentType": "1",
|
||||
"details": null
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"name": "Car Allowance",
|
||||
"componentType": "2",
|
||||
"details": null
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"name": "Regular Hourly Pay",
|
||||
"componentType": "3",
|
||||
"details": null
|
||||
}
|
||||
],
|
||||
"salaryComponentTypes": [
|
||||
{
|
||||
"id": "1",
|
||||
"code": "B001",
|
||||
"name": "Basic"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"code": "B002",
|
||||
"name": "Allowance"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"code": "B003",
|
||||
"name": "Hourly"
|
||||
}
|
||||
],
|
||||
"samplePayroll": {
|
||||
"name": "Sample Country Payroll",
|
||||
"pay_period": "4",
|
||||
"columns": "[\"126\",\"127\",\"131\",\"129\",\"128\",\"133\",\"130\",\"132\"]",
|
||||
"date_start": "2017-08-01",
|
||||
"date_end": "2017-08-31",
|
||||
"status": "Draft"
|
||||
},
|
||||
"payslipTemplate": {
|
||||
"name": "Sample Payslip Template",
|
||||
"data": "[{\"type\":\"Company Logo\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_1\"},{\"type\":\"Company Name\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_2\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_5\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"126\",\"label\":\"Basic Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_3\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"127\",\"label\":\"Car Allowance\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_4\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"130\",\"label\":\"Payment for Hours Worked\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_6\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_7\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"131\",\"label\":\"Gross Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_8\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"132\",\"label\":\"Tax 19%\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_9\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_10\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"133\",\"label\":\"Net Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_11\"}]",
|
||||
"status": null,
|
||||
"created": "2017-09-08 21:12:40",
|
||||
"updated": "2017-09-08 21:12:40"
|
||||
}
|
||||
}
|
||||
264
core/data/payroll/SriLanka-Payroll.txt
Normal file
264
core/data/payroll/SriLanka-Payroll.txt
Normal file
@@ -0,0 +1,264 @@
|
||||
{
|
||||
"name": "Sri Lanka Payroll Calculation",
|
||||
"description": "",
|
||||
"deductions": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "EPF Employee Contribution",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "7",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.08\",\"id\":\"rangeAmounts_1\"}]"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"name": "EPF Employer Contribution",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "7",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.12\",\"id\":\"rangeAmounts_1\"}]"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"name": "ETF Employer Contribution",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "7",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.03\",\"id\":\"rangeAmounts_1\"}]"
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"name": "PAYE Tax",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "12",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"lte\",\"upperLimit\":\"62500\",\"amount\":\"0\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"62500\",\"upperCondition\":\"lte\",\"upperLimit\":\"104167\",\"amount\":\"X*0.04 - 2500\",\"id\":\"rangeAmounts_2\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"104167\",\"upperCondition\":\"lte\",\"upperLimit\":\"145833\",\"amount\":\"X*0.08 - 6667\",\"id\":\"rangeAmounts_3\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"145833\",\"upperCondition\":\"lte\",\"upperLimit\":\"187500\",\"amount\":\"X*0.12-12500\",\"id\":\"rangeAmounts_4\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"187500\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.16 - 20000\",\"id\":\"rangeAmounts_5\"}]"
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"name": "Stamp Duty",
|
||||
"componentType": "[]",
|
||||
"component": "[]",
|
||||
"payrollColumn": "12",
|
||||
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"lte\",\"upperLimit\":\"25000\",\"amount\":\"0\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"25000\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"25\",\"id\":\"rangeAmounts_2\"}]"
|
||||
}
|
||||
],
|
||||
"columns": [
|
||||
{
|
||||
"id": "5",
|
||||
"name": "LK - Basic Salary",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[\"1\"]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "5",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "6",
|
||||
"name": "LK - Fixed Allowance",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[\"2\"]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "6",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "7",
|
||||
"name": "LK - Gross Pay",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"5\",\"6\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "7",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "8",
|
||||
"name": "LK - EPF Employee Contribution",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"1\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "8",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
"name": "LK - EPF Employer Contribution",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"2\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "9",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"name": "LK - ETF Employer Contribution",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"3\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "10",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "11",
|
||||
"name": "LK - Total EPF 20%",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"8\",\"9\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "11",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "12",
|
||||
"name": "LK - Total for PAYE",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"7\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "12",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "13",
|
||||
"name": "LK - PAYE Tax",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"4\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "13",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "14",
|
||||
"name": "LK - Stamp Duty",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[\"5\"]",
|
||||
"add_columns": "[]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "14",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "15",
|
||||
"name": "LK - Total Deductions",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"8\",\"13\",\"14\"]",
|
||||
"sub_columns": "[]",
|
||||
"colorder": "15",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
},
|
||||
{
|
||||
"id": "16",
|
||||
"name": "LK - Salary to Bank",
|
||||
"calculation_hook": null,
|
||||
"salary_components": "[]",
|
||||
"deductions": "[]",
|
||||
"add_columns": "[\"7\"]",
|
||||
"sub_columns": "[\"15\"]",
|
||||
"colorder": "16",
|
||||
"editable": "No",
|
||||
"enabled": "Yes",
|
||||
"default_value": "0.00",
|
||||
"calculation_columns": "",
|
||||
"calculation_function": ""
|
||||
}
|
||||
],
|
||||
"salaryComponents": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Basic Salary",
|
||||
"componentType": "1",
|
||||
"details": null
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"name": "Fixed Allowance",
|
||||
"componentType": "1",
|
||||
"details": null
|
||||
}
|
||||
],
|
||||
"salaryComponentTypes": [
|
||||
{
|
||||
"id": "1",
|
||||
"code": "B001",
|
||||
"name": "Basic"
|
||||
}
|
||||
],
|
||||
"samplePayroll": {
|
||||
"name": "Sri Lanka Payroll Sample",
|
||||
"pay_period": "4",
|
||||
"columns": "[\"5\",\"8\",\"9\",\"10\",\"6\",\"7\",\"13\",\"16\",\"14\",\"15\",\"11\",\"12\"]",
|
||||
"date_start": "2016-03-01",
|
||||
"date_end": "2016-03-31",
|
||||
"status": "Draft"
|
||||
},
|
||||
"payslipTemplate": {
|
||||
"name": "Sri Lanka - Default Payslip",
|
||||
"data": "[{\"type\":\"Company Logo\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"#000000\",\"status\":\"Show\",\"id\":\"data_1\"},{\"type\":\"Company Name\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"\",\"status\":\"Show\",\"id\":\"data_2\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"\",\"status\":\"Show\",\"id\":\"data_8\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"5\",\"label\":\"Basic Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_3\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"6\",\"label\":\"Fixed Allowance\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_4\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"7\",\"label\":\"Gross Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_11\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"\",\"status\":\"Show\",\"id\":\"data_9\"},{\"type\":\"Text\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"Deductions\",\"status\":\"Show\",\"id\":\"data_13\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"8\",\"label\":\"EPF Employee Contribution\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_6\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"13\",\"label\":\"PAYE Tax\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_14\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"14\",\"label\":\"Stamp Duty\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_15\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"15\",\"label\":\"Total Deductions\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_16\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_17\"},{\"type\":\"Text\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"Employer Contributions\",\"status\":\"Show\",\"id\":\"data_18\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"9\",\"label\":\"EPF Employer Contribution\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_19\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"7\",\"label\":\"ETF Employer Contribution\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_20\"},{\"type\":\"Separators\",\"payrollColumn\":\"7\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_21\"},{\"type\":\"Text\",\"payrollColumn\":\"7\",\"label\":\"\",\"text\":\"Totals\",\"status\":\"Show\",\"id\":\"data_22\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"11\",\"label\":\"Total EPF 20%\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_23\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"12\",\"label\":\"Total for PAYE\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_24\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"16\",\"label\":\"Net Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_25\"}]",
|
||||
"status": null,
|
||||
"created": "2016-06-29 22:07:12",
|
||||
"updated": "2016-06-29 22:07:12"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user