Commit bc540b09 authored by Fabien Morin's avatar Fabien Morin

multiplied tax amount by -1 to display positive results on the payslip

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26237 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent df00b175
...@@ -127,7 +127,7 @@ def getTotalEmployeeTaxId(total_employee_tax):\n ...@@ -127,7 +127,7 @@ def getTotalEmployeeTaxId(total_employee_tax):\n
s = \'\'\n s = \'\'\n
if total_employee_tax:\n if total_employee_tax:\n
s += \'%s: %s\' % (translateString(\'Total Employee Tax\'),\n s += \'%s: %s\' % (translateString(\'Total Employee Tax\'),\n
quantity_renderer(total_employee_tax))\n quantity_renderer(total_employee_tax*-1))\n
return s\n return s\n
\n \n
total_employer_tax = context.PaySheetTransaction_getMovementTotalPriceFromCategory(\\\n total_employer_tax = context.PaySheetTransaction_getMovementTotalPriceFromCategory(\\\n
...@@ -137,7 +137,7 @@ def getTotalEmployerTaxId(total_employer_tax):\n ...@@ -137,7 +137,7 @@ def getTotalEmployerTaxId(total_employer_tax):\n
s = \'\'\n s = \'\'\n
if total_employer_tax:\n if total_employer_tax:\n
s += \'%s: %s\' % (translateString(\'Total Employer Tax\'),\n s += \'%s: %s\' % (translateString(\'Total Employer Tax\'),\n
quantity_renderer(total_employer_tax))\n quantity_renderer(total_employer_tax*-1))\n
return s\n return s\n
\n \n
\n \n
......
99 100
\ 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