Update extend_transaction_detail_report.xml

This commit is contained in:
zainab2097 2024-09-30 15:32:14 +03:00 committed by GitHub
parent 71a00357dd
commit d2d1f9e38c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 46 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<div class="row">
<br/>
<div class="col-2" style="color:white;">zainB</div>
<div class="col-10">
<div t-if="user.lang!='en_US'" class="col-10">
<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">
@ -51,6 +51,51 @@
</tr>
</table>
</div>
<div t-if="user.lang=='en_US'" class="col-10" style="position:relative;right:50px;>
<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">
<td style="font-weight: bold;border:0px;padding-right:30px !important;">Number:
<t t-esc="o.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>
<t t-set="date_hijri" t-value="o.transaction_date_hijri"/>
<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>
<tr>
<td colspan="2" style="border:0px;padding-right:30px !important;">
<span style="font-weight:bold;">Reference:</span>
<span t-field="o.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.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.name, 600, 100)"
style="width:250px;height:40px;margin-top:5px;"/>
</td>
</tr>
</table>
</div>
</div>
</div>
<br></br>