[UPD] exp_transation_letters: update styling in letter reports

This commit is contained in:
Samir Ladoui 2025-02-12 13:06:29 +01:00
parent ff9db1adfd
commit 887fe8e267
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@
<t t-set="transaction_id" t-value="o.incoming_transaction_id or o.internal_transaction_id or o.outgoing_transaction_id"/> <t t-set="transaction_id" t-value="o.incoming_transaction_id or o.internal_transaction_id or o.outgoing_transaction_id"/>
<div class="row" style="direction:ltr;"> <div class="row" style="direction:ltr;">
<div class="col-6"> <div class="col-6">
<div class="w-100 font-weight-bold" style="padding-right:85px;font-family:'Al-Mohanad' !important"> <div class="w-100 font-weight-bold" style="padding-right:90px;font-family:'Al-Mohanad' !important">
<div> <div>
<span>Transaction Number:</span> <span t-esc="transaction_id.name" /> <span>Transaction Number:</span> <span t-esc="transaction_id.name" />
</div> </div>
@ -45,10 +45,10 @@
t-field="transaction_id.transaction_date" t-field="transaction_id.transaction_date"
t-field-options="{&quot;format&quot;: &quot;yyyy/MM/dd&quot;}"/> t-field-options="{&quot;format&quot;: &quot;yyyy/MM/dd&quot;}"/>
</div> </div>
<div> <div style="margin-right:-25px">
<img <img
t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', transaction_id.name, 600, 100)" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', transaction_id.name, 600, 100)"
style="width:250px;height:40px;margin-top:5px;margin-left:-40px;"/> style="width:250px;height:40px;margin-top:5px;"/>
</div> </div>
</div> </div>
</div> </div>

View File

@ -6,7 +6,7 @@
<t t-set="transaction_id" t-value="o.incoming_transaction_id or o.internal_transaction_id or o.outgoing_transaction_id"/> <t t-set="transaction_id" t-value="o.incoming_transaction_id or o.internal_transaction_id or o.outgoing_transaction_id"/>
<div class="row" style="direction:ltr;"> <div class="row" style="direction:ltr;">
<div class="col-6"> <div class="col-6">
<div class="w-100 font-weight-bold" style="padding-right:85px;font-family:'Al-Mohanad' !important"> <div class="w-100 font-weight-bold" style="padding-right:90px;font-family:'Al-Mohanad' !important">
<div> <div>
<span>Transaction Number:</span> <span t-esc="transaction_id.name" /> <span>Transaction Number:</span> <span t-esc="transaction_id.name" />
</div> </div>
@ -26,10 +26,10 @@
t-field="transaction_id.transaction_date" t-field="transaction_id.transaction_date"
t-field-options="{&quot;format&quot;: &quot;yyyy/MM/dd&quot;}"/> t-field-options="{&quot;format&quot;: &quot;yyyy/MM/dd&quot;}"/>
</div> </div>
<div> <div style="margin-right:-25px">
<img <img
t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', transaction_id.name, 600, 100)" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', transaction_id.name, 600, 100)"
style="width:250px;height:40px;margin-top:5px;margin-left:-40px;"/> style="width:250px;height:40px;margin-top:5px;"/>
</div> </div>
</div> </div>
</div> </div>