Commit 02663994 authored by Kevin Deldycke's avatar Kevin Deldycke

Add working duration property on pay sheets.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11503 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb2b8c9b
......@@ -137,11 +137,11 @@
\n
<pagetemplate startframe=\'content\' id=\'FirstPage\'>\n
<static>\n
<!-- ATTENTION : L\'image ne doit pas etre en format png -->\n
<!-- WARNING: the logo should be a PNG file -->\n
<fixedimage filename=\'zodb:logo.jpg\' y=\'27.275cm\' x=\'1.016cm\'/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'center\' y=\'27.5160804cm\' x=\'14.208cm\' font=\'Helvetica\' size=\'20\'>FEUILLE DE SALAIRE</infostring>\n
\n
<!-- Cadre employeur -->\n
<!-- Employer Box -->\n
<tal:block tal:condition="python: employer not in (None, \'\') and employer.getPortalType() == \'Organisation\'">\n
<tal:block tal:define="employer_group python: employer.getGroup()">\n
<rectangle z=\'\' height=\'5.239cm\' width=\'7.038cm\' stroke=\'(0.4,0.4,0.4)\' y=\'21.074cm\' x=\'1.016cm\' linewidth=\'1\'/>\n
......@@ -186,12 +186,11 @@
</tal:block>\n
</tal:block>\n
\n
\n
<!-- Cadre employ\xc3\xa9 -->\n
<!-- Employee Box -->\n
<tal:block tal:condition="python: employee not in (None, \'\') and employee.getPortalType() == \'Person\'">\n
<rectangle z=\'\' height=\'5.239cm\' width=\'7.038cm\' stroke=\'(0.4,0.4,0.4)\' y=\'21.074cm\' x=\'12.065cm\' linewidth=\'1\'/>\n
<line y2=\'23.994cm\' linewidth=\'1\' z=\'\' x2=\'19.099cm\' stroke=\'(0.6,0.6,0.6)\' y1=\'23.994cm\' x1=\'12.073cm\'/>\n
<line y2=\'22.165cm\' linewidth=\'1\' z=\'\' x2=\'19.099cm\' stroke=\'(0.6,0.6,0.6)\' y1=\'22.165cm\' x1=\'12.073cm\'/>\n
<line y2=\'22.446cm\' linewidth=\'1\' z=\'\' x2=\'19.099cm\' stroke=\'(0.6,0.6,0.6)\' y1=\'22.446cm\' x1=\'12.073cm\'/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'left\' y=\'25.91383216cm\' x=\'12.327cm\' font=\'Helvetica-Bold\' size=\'8\'\n
tal:content="python: employee.getTitle()"\n
tal:on-error="string:"/>\n
......@@ -216,12 +215,19 @@
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'left\' y=\'22.74232864cm\' x=\'12.327cm\' font=\'Helvetica\' size=\'8\'\n
tal:content="python: \'Coefficient : %s\' % employee.getDefaultCareerSalaryCoefficient()"\n
tal:on-error="string:"/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'left\' y=\'22.03799999cm\' x=\'12.327cm\' font=\'Helvetica\' size=\'8\'\n
tal:content="python: \'P\xc3\xa9riode de travail : du %s au %s\' % (start_date, here.getStopDate())"\n
tal:on-error="string:"/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'left\' y=\'21.75683216cm\' x=\'12.327cm\' font=\'Helvetica\' size=\'8\'\n
tal:content="python: \'P\xc3\xa9riode : du %s au %s\' % (start_date, here.getStopDate())"\n
tal:content="python: \'Temps de travail : %s %s\' % (here.getWorkDuration(), here.getQuantityUnitTitle())"\n
tal:on-error="string:"/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'left\' y=\'21.47566432cm\' x=\'12.327cm\' font=\'Helvetica\' size=\'8\'\n
tal:content="python: \'Date de paiement : %s\' % here.getPaymentConditionPaymentDate()"\n
tal:on-error="string:"/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'left\' y=\'21.19449648cm\' x=\'12.327cm\' font=\'Helvetica\' size=\'8\'\n
tal:content="python: \'\'"\n
tal:on-error="string:"/>\n
\n
</tal:block>\n
<line y2=\'1.506cm\' linewidth=\'1\' z=\'\' x2=\'19.075cm\' stroke=\'(0.6,0.6,0.6)\' y1=\'1.506cm\' x1=\'1.905cm\'/>\n
<infostring z=\'\' color=\'(0.0,0.0,0.0)\' align=\'center\' y=\'1.00183216cm\' x=\'10.4855cm\' font=\'Helvetica\' size=\'8\'>Dans votre int\xc3\xa9r\xc3\xaat et pour vous aider \xc3\xa0 faire valoir vos droits, conservez ce bulletin de paie sans limitation de dur\xc3\xa9e.</infostring>\n
......
......@@ -110,9 +110,11 @@
<list>
<string>my_start_date</string>
<string>my_stop_date</string>
<string>my_payment_condition_payment_date</string>
<string>my_work_duration</string>
<string>my_quantity_unit</string>
<string>my_gross_salary</string>
<string>my_resource</string>
<string>my_payment_condition_payment_date</string>
<string>my_translated_simulation_state_title</string>
</list>
</value>
......
......@@ -187,7 +187,7 @@
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
<value> <int>15</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>ListField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_quantity_unit</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>unknown_selection</string> </key>
<value> <string>You selected an item that was not in the list.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Work Duration Unit</string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_categories/quantity_unit/getCategoryChildTitleItemList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -249,7 +249,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Section Transaction Reference</string> </value>
<value> <string>Transaction Reference</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......
......@@ -283,6 +283,14 @@
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hidden_day_is_last_day</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hide_day</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_order</string> </key>
<value> <string>ymd</string> </value>
......@@ -307,7 +315,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Begin</string> </value>
<value> <string>Work Period Start</string> </value>
</item>
</dictionary>
</value>
......
......@@ -283,6 +283,14 @@
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hidden_day_is_last_day</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hide_day</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_order</string> </key>
<value> <string>ymd</string> </value>
......@@ -307,7 +315,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>End</string> </value>
<value> <string>Work Period End</string> </value>
</item>
</dictionary>
</value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>FloatField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_work_duration</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>not_float</string> </key>
<value> <string>You did not enter a floating point number.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string>figure</string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>15</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>editable_expression</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable_permission</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>editable_role</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>not_viewable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>read_only</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Work Duration</string> </value>
</item>
<item>
<key> <string>viewable_expression</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>viewable_permission</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>viewable_role</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -100,10 +100,22 @@
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>PaySheetTransaction_viewAnnualReportAsHTML</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -72,16 +72,11 @@
<tr stylecmd="(\'LEFTPADDING\',8)">\n
<td><tal:block content="python: (\' \' * 3) + line[\'service_title\']"/> </td>\n
<td><tal:block content="python: line[\'salary_range_title\']"/> </td>\n
<td><tal:block content="python: line[\'base\']"\n
condition="python: line[\'base\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employer_rate\']"\n
condition="python: line[\'employer_rate\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employer_share\']"\n
condition="python: line[\'employer_share\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employee_rate\']"\n
condition="python: line[\'employee_rate\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employee_share\']"\n
condition="python: line[\'employee_share\'] != None"/> </td>\n
<td><tal:block content="python: line[\'base\']" condition="python: line[\'base\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employer_rate\']" condition="python: line[\'employer_rate\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employer_share\']" condition="python: line[\'employer_share\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employee_rate\']" condition="python: line[\'employee_rate\'] != None"/> </td>\n
<td><tal:block content="python: line[\'employee_share\']" condition="python: line[\'employee_share\'] != None"/> </td>\n
</tr>\n
<tr tal:condition="python: line[\'description\'] != None" stylecmd="(\'LEFTPADDING\',8)">\n
<td><tal:block content="python: (\' \' * 6) + line[\'description\']"/> </td>\n
......
2006-11-27 Kevin
* Make "prevoyance" payroll service accountable.
* Add working duration property on pay sheets.
2006-11-24 Kevin
* Add "prevoyance" payroll service and related organisation.
......
138
\ No newline at end of file
141
\ No newline at end of file
0.2.13
\ No newline at end of file
0.2.14
\ 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