update fonts in transaction reports and translation

This commit is contained in:
esraa 2024-11-14 13:37:12 +02:00
parent bdbaefce59
commit dd976cd588
1 changed files with 31 additions and 31 deletions

View File

@ -80,21 +80,21 @@
<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>
@ -102,14 +102,14 @@
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">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&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', o.internal_transaction_id.name, 600, 100)"
@ -118,17 +118,17 @@
</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>