[IMP] payslip report template

This commit is contained in:
Lukas Ziegler 2022-01-18 15:28:54 +01:00
parent d7e84da29d
commit 9bc333cf4d

View File

@ -8,8 +8,8 @@
<h2 position="before">
<div class="oe_structure row">
<div class="col-xs-8"/>
<div class="col-xs-4">
<div class="col-8"/>
<div class="col-4">
<div t-field="o.employee_id.address_home_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": True, "phone_icons": True}'/>
</div>
@ -20,7 +20,7 @@
<br/>
<br/>
<h2>Pay Slip <span t-field="o.date_from" t-field-options='{"format": "MMMM Y"}'/></h2>
<div>Today date: <span t-esc="context_timestamp(datetime.datetime.now()).strftime('%d. %m. %Y')"/></div>
<div>Today date: <span t-esc="context_timestamp(datetime.datetime.now()).strftime('%d.%m.%Y')"/></div>
<br/>
<br/>
</h2>
@ -79,8 +79,8 @@
<td class="text-right"
style="padding-top: 20px; padding-bottom: 20px; border: 0px;">
<b>
<span t-esc="line.total"
t-esc-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
<span t-field="line.total"
t-field-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
</b>
</td>
</tr>
@ -107,8 +107,8 @@
</td>
<td style="border: 0px;"
class="text-right">
<span t-esc="line.total"
t-esc-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
<span t-field="line.total"
t-field-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
</td>
</tr>