update fonts in transaction reports and translation
This commit is contained in:
parent
dd976cd588
commit
90711221c8
|
|
@ -33,7 +33,7 @@
|
|||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold;">Reference:</span>
|
||||
<span t-field="o.incoming_transaction_id.transaction_date"
|
||||
t-field-options='{"format": "yyyy/MM/dd"}'/>
|
||||
t-field-options="{"format": "yyyy/MM/dd"}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -58,21 +58,19 @@
|
|||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)"
|
||||
t-att-alt="'%s' % company.name"
|
||||
style="width:80px;height:80px;"/>
|
||||
t-att-alt="'%s' % company.name" style="width:80px;height:80px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
<t t-if="o.internal_transaction_id">
|
||||
<div class="header">
|
||||
<div class="row">
|
||||
<div class="row" style="direction: ltr; margin-top: 0px; margin-left: -50px">
|
||||
<br/>
|
||||
<div class="col-6 text-right">
|
||||
<div class="col-6 text-right" style="direction: rtl;">
|
||||
<table align="left"
|
||||
style="border:1px solid white;width:50;margin-left:60px;margin-top:0px;margin-right:5px;margin-bottom:40px;text-align: justify;">
|
||||
<tr style="border:0px">
|
||||
|
|
@ -80,36 +78,42 @@
|
|||
<t t-esc="o.internal_transaction_id.name"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr style="border:0px">-->
|
||||
<!-- <td colspan="2" style="border:0px;padding-right:30px !important;">-->
|
||||
<!-- <span style="font-weight:bold;font-stretch: expanded;">-->
|
||||
<!-- Date:-->
|
||||
<!-- </span>-->
|
||||
<!--<tr style="border:0px">-->
|
||||
<!-- <td colspan="2" style="border:0px;padding-right:30px !important;">-->
|
||||
<!-- <span style="font-weight:bold;font-stretch: expanded;">-->
|
||||
<!-- Date:-->
|
||||
<!-- </span>-->
|
||||
|
||||
<!-- <t t-set="date_hijri"-->
|
||||
<!-- t-value="o.internal_transaction_id.transaction_date_hijri"/>-->
|
||||
<!-- <t t-set="date_hijri" t-value="o.internal_transaction_id.transaction_date_hijri"/>-->
|
||||
|
||||
<!-- <t t-set="date_hijri2" t-value="date_hijri.split('-')"/>-->
|
||||
<!-- <t t-set="date_hijri2" t-value="date_hijri.split('-')"/>-->
|
||||
|
||||
<!-- <t t-esc="date_hijri2[0]"/>/<t t-esc="date_hijri2[1]"/>/-->
|
||||
<!-- <t t-esc="date_hijri2[2]"/>-->
|
||||
<!-- </td>-->
|
||||
<!-- </tr>-->
|
||||
<!-- <t t-esc="date_hijri2[0]"/>/<t t-esc="date_hijri2[1]"/>/-->
|
||||
<!-- <t t-esc="date_hijri2[2]"/>-->
|
||||
<!-- </td>-->
|
||||
<!--</tr>-->
|
||||
<tr>
|
||||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold;">Reference:</span>
|
||||
<span t-field="o.internal_transaction_id.transaction_date"
|
||||
t-field-options='{"format": "yyyy/MM/dd"}'/>
|
||||
<span t-field="o.internal_transaction_id.subject"
|
||||
t-field-options="{"format": "yyyy/MM/dd"}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr>-->
|
||||
<!-- <td colspan="2" style="border:0px;padding-right:30px !important;">-->
|
||||
<!-- <span style="font-weight:bold">Attachment:</span>-->
|
||||
<!-- <span style="direction: ltr !important;">-->
|
||||
<!-- <t t-esc="o.internal_transaction_id.attachment_num"/>-->
|
||||
<!-- </span>-->
|
||||
<!-- </td>-->
|
||||
<!-- </tr>-->
|
||||
<tr>
|
||||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold;"></span>
|
||||
<span t-field="o.internal_transaction_id.transaction_date"
|
||||
t-field-options="{"format": "yyyy/MM/dd"}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!--<tr>-->
|
||||
<!-- <td colspan="2" style="border:0px;padding-right:30px !important;">-->
|
||||
<!-- <span style="font-weight:bold">Attachment:</span>-->
|
||||
<!-- <span style="direction: ltr !important;">-->
|
||||
<!-- <t t-esc="o.internal_transaction_id.attachment_num"/>-->
|
||||
<!-- </span>-->
|
||||
<!-- </td>-->
|
||||
<!--</tr>-->
|
||||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.internal_transaction_id.name, 600, 100)"
|
||||
|
|
@ -118,21 +122,20 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- <div class="col-6 text-left">-->
|
||||
<!-- <table align="left">-->
|
||||
<!-- <tr style="border:0px">-->
|
||||
<!-- <td>-->
|
||||
<!-- <img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)"-->
|
||||
<!-- t-att-alt="'%s' % company.name"-->
|
||||
<!-- style="width:80px;height:80px;"/>-->
|
||||
<!-- </td>-->
|
||||
<!-- </tr>-->
|
||||
<!-- </table>-->
|
||||
<!-- </div>-->
|
||||
<!--<div class="col-6 text-left">-->
|
||||
<!-- <table align="left">-->
|
||||
<!-- <tr style="border:0px">-->
|
||||
<!-- <td>-->
|
||||
<!-- <img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)" t-att-alt="'%s' % company.name" style="width:80px;height:80px;"/>-->
|
||||
<!-- </td>-->
|
||||
<!-- </tr>-->
|
||||
<!-- </table>-->
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
|
||||
<t t-if="o.outgoing_transaction_id">
|
||||
<div class="header">
|
||||
<div class="row" style="direction: ltr; margin-top: 0px; margin-left: -50px">
|
||||
|
|
@ -201,7 +204,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-if="o.outgoing_transaction_id =='' and o.internal_transaction_id=='' and o.incoming_transaction_id ==''">
|
||||
<div class="header">
|
||||
<div class="row">
|
||||
|
|
@ -213,8 +215,7 @@
|
|||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)"
|
||||
t-att-alt="'%s' % company.name"
|
||||
style="width:80px;height:80px;"/>
|
||||
t-att-alt="'%s' % company.name" style="width:80px;height:80px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -226,16 +227,16 @@
|
|||
<div class="article o_report_layout_standard">
|
||||
<t t-raw="0"/>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="text-center">
|
||||
<div class="text-muted">
|
||||
Page:
|
||||
<span class="page"/>
|
||||
/
|
||||
<span class="topage"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="footer">-->
|
||||
<!-- <div class="text-center">-->
|
||||
<!-- <div class="text-muted">-->
|
||||
<!-- Page:-->
|
||||
<!-- <span class="page"/>-->
|
||||
<!-- /-->
|
||||
<!-- <span class="topage"/>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
</template>
|
||||
|
||||
<template id="letter_external_layout">
|
||||
|
|
@ -286,8 +287,8 @@
|
|||
<!-- <h4 style="text-align:center;margin-top:20px;font-weight:bold;font-size:20pt">Letter <t t-esc="o.name"/>-->
|
||||
<!-- </h4>-->
|
||||
<!-- <strong style="margin: 10px;margin-left:30px"> Date </strong>: <span t-esc="o.date" />-->
|
||||
<!-- <br/>-->
|
||||
<!-- <br/>-->
|
||||
<!-- <br/>-->
|
||||
<!-- <br/>-->
|
||||
<div style="margin-bottom: 0px">
|
||||
<p style="line-height: 16 !important" t-raw="o.content">
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue