odoo_17.0.1/odoo/addons/base/report/mako_header.html

62 lines
1.3 KiB
HTML

<header>
<link type="text/css" rel="stylesheet" href="${css_path}/mako_template.css" media="print,screen"></link>
% if company.logo:
<img src ="data:image/gif;base64,${company.logo}" border="0"/>
%endif
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
% if company['partner_id']['name']:
<small>${company.partner_id.name}</small></br>
%endif
</td>
</tr>
<tr>
<td>
% if company['partner_id']['street']:
<small>${company.partner_id.street}</small></br>
%endif
</td>
</tr>
<tr>
<td>
% if company['partner_id']['zip']:
<small>${company.partner_id.zip}
${company.partner_id.city}-${company.partner_id.country_id and company.partner_id.country_id.name}</small></br>
%endif
</td>
</tr>
<tr>
<td>
% if company['partner_id']['phone']:
<small><b>Phone:</b>${company.partner_id.phone}</small></br>
%endif
</td>
</tr>
<tr>
<td>
% if company['partner_id']['email']:
<small><b>Mail:</b>${company.partner_id.email}</small></br></<address>
%endif
</td>
</tr>
<tr>
<td>
% if company['rml_header1']:
<small><p align="right"><small>${company.rml_header1}</small></br></p></small>
%endif
</td>
</tr>
<tr>
<td>
<small><hr width="100%" height="27.7"></small>
</td>
</tr>
</table>
</header>