Merge pull request #463 from expsa/dev_odex25_transactions

Dev odex25 transactions
This commit is contained in:
zainab2097 2024-08-01 11:27:24 +03:00 committed by GitHub
commit 742fd202c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 18 deletions

View File

@ -198,25 +198,26 @@
paperformat="paperformat_card"
menu="True"/>
<template id="report_internal_transaction">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="web.basic_layout">
<div dir="rtl" style="border: 2px solid black; padding: 20px; margin-bottom: 50px; height: 90%;"
<h2>تفاصيل المعاملة</h2>
<p> رقم المعاملة: <t t-esc="doc.name"/></p>
<p>الموضوع: <t t-esc="doc.subject"/></p>
<p>التاريخ: <t t-esc="doc.transaction_date"/></p>
<p>
<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;"/>
</p>
<!-- Add more details as needed -->
</div>
</t>
</t>
<template id="report_internal_transaction">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="web.basic_layout">
<div dir="rtl" style="border: 2px solid black; padding: 20px; margin-bottom: 50px; height: 90%;">
<h2>تفاصيل المعاملة</h2>
<p>رقم المعاملة: <t t-esc="doc.name"/></p>
<p>الموضوع: <t t-esc="doc.subject"/></p>
<p>التاريخ: <t t-esc="doc.transaction_date"/></p>
<p>
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', doc.name, 600, 100)"
style="width:250px;height:40px;margin-top:5px;"/>
</p>
<!-- Add more details as needed -->
</div>
</t>
</template>
</t>
</t>
</template>
<!-- end -->
</data>