Commit b1d7d2b6 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Renamed from calculPaySheetTransaction.py to PaySheetTransaction_calculate.py.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1592 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71b40cf8
## Script (Python) "calculPaySheetTransaction" ## Script (Python) "PaySheetTransaction_calculate"
##bind container=container ##bind container=container
##bind context=context ##bind context=context
##bind namespace= ##bind namespace=
...@@ -222,9 +222,9 @@ addPaySheetItem(title = 'Assurance maladie', ...@@ -222,9 +222,9 @@ addPaySheetItem(title = 'Assurance maladie',
# this contribution is special because salary and employer shares are calculated from 2 base # this contribution is special because salary and employer shares are calculated from 2 base
# salary_share_value = (6.55 / 100) * ceiling_salary # salary_share_value = (6.55 / 100) * ceiling_salary
# salary_share_total += float(salary_share_value) # salary_share_total += float(salary_share_value)
# ps_description = "= 6.55% * " + str(ceiling_salary) + " (=salaire plafonn)" # ps_description = "= 6.55% * " + str(ceiling_salary) + " (=salaire plafonné)"
# employer_share_value = gross_salary * (1.60 / 100) + ceiling_salary * (8.20 / 100) # employer_share_value = gross_salary * (1.60 / 100) + ceiling_salary * (8.20 / 100)
# pp_description = "= 1.60% * " + str(gross_salary) + " + 8.20% * " + str(ceiling_salary) + " = 1.60% * salaire brut + 8.20% * salaire plafonn" # pp_description = "= 1.60% * " + str(gross_salary) + " + 8.20% * " + str(ceiling_salary) + " = 1.60% * salaire brut + 8.20% * salaire plafonné"
# createPaySheetLine( new_title = 'Assurance vieillesse', # createPaySheetLine( new_title = 'Assurance vieillesse',
# share = 'cs', # share = 'cs',
# src_deb = float(employer_share_value) + float(salary_share_value), # src_deb = float(employer_share_value) + float(salary_share_value),
...@@ -246,7 +246,7 @@ addPaySheetItem(title = 'Assurance vieillesse 1', ...@@ -246,7 +246,7 @@ addPaySheetItem(title = 'Assurance vieillesse 1',
oldage_insurance2 = { 'salary_share_rate' : 6.55 oldage_insurance2 = { 'salary_share_rate' : 6.55
, 'employer_share_rate' : 8.20 , 'employer_share_rate' : 8.20
, 'base_value' : ceiling_salary , 'base_value' : ceiling_salary
, 'base_description' : "salaire plafonn" , 'base_description' : "salaire plafonné"
} }
addPaySheetItem(title = 'Assurance vieillesse 2', addPaySheetItem(title = 'Assurance vieillesse 2',
values = oldage_insurance2, values = oldage_insurance2,
...@@ -290,7 +290,7 @@ if company_size > 9: ...@@ -290,7 +290,7 @@ if company_size > 9:
lodging_helps['base_value'] = gross_salary lodging_helps['base_value'] = gross_salary
else: else:
lodging_helps['employer_share_rate'] = 0.10 lodging_helps['employer_share_rate'] = 0.10
lodging_helps['base_description'] = "salaire plafonn" lodging_helps['base_description'] = "salaire plafonné"
lodging_helps['base_value'] = ceiling_salary lodging_helps['base_value'] = ceiling_salary
addPaySheetItem(title = 'Aide au logement', addPaySheetItem(title = 'Aide au logement',
values = lodging_helps, values = lodging_helps,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment