update fonts in transaction reports and translation
This commit is contained in:
parent
786393e954
commit
96e7e0f15e
|
|
@ -81,9 +81,9 @@
|
|||
|
||||
<t t-if="o.internal_transaction_id">
|
||||
<div class="header droidkufi-font">
|
||||
<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">
|
||||
|
|
@ -91,36 +91,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>
|
||||
<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)"
|
||||
|
|
@ -129,17 +135,15 @@
|
|||
</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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue