Commit 13b4deaa authored by Kevin Deldycke's avatar Kevin Deldycke

Fix french taxes calculation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10988 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0e67eab7
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
<string>tax_category/social/employer_share</string> <string>tax_category/social/employer_share</string>
<string>quantity_unit/time/month</string> <string>quantity_unit/time/month</string>
<string>product_line/social_service/state_insurance</string> <string>product_line/social_service/state_insurance</string>
<string>source/organisation_module/urssaf</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -411,16 +411,17 @@ if executive:\n ...@@ -411,16 +411,17 @@ if executive:\n
# }\n # }\n
\n \n
# APEC forfaitaire\n # APEC forfaitaire\n
# This contribution is due for March only\n if executive:\n
comp_date = DateTime(start_date.year(), 3, 31)\n # This contribution is due for March only\n
while comp_date < comp_date:\n comp_date = DateTime(start_date.year(), 3, 31)\n
comp_date = DateTime(comp_date.year() + 1, 3, 31)\n while comp_date < comp_date:\n
if executive and start_date <= comp_date <= stop_date:\n comp_date = DateTime(comp_date.year() + 1, 3, 31)\n
kw[\'apec/forfait\'] = \\\n if start_date <= comp_date <= stop_date:\n
{ \'employer_share\': 3.72\n kw[\'apec/forfait\'] = \\\n
, \'employee_share\': 2.49\n { \'employer_share\': 3.72\n
, \'base\' : 1.0\n , \'employee_share\': 2.49\n
}\n , \'base\' : 1.0\n
}\n
if salary_slices.has_key(\'B\'):\n if salary_slices.has_key(\'B\'):\n
kw[\'apec/tranche_b\'] = \\\n kw[\'apec/tranche_b\'] = \\\n
{ \'employer_share\': 0.036\n { \'employer_share\': 0.036\n
......
130 131
\ No newline at end of file \ No newline at end of file
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