Update receiver_transaction_report_template.xml
This commit is contained in:
parent
84653bde36
commit
e07e800c49
|
|
@ -217,6 +217,66 @@
|
|||
</t>
|
||||
</t>
|
||||
</template>
|
||||
<report
|
||||
id="action_report_out_transaction"
|
||||
model="outgoing.transaction"
|
||||
string="Print Transaction"
|
||||
report_type="qweb-pdf"
|
||||
name="exp_transaction_documents.report_out_transaction"
|
||||
file="exp_transaction_documents.report_out_transaction"
|
||||
paperformat="paperformat_card"
|
||||
menu="True"/>
|
||||
|
||||
<template id="report_out_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&value=%s&width=%s&height=%s' % ('Code128', doc.name, 600, 100)"
|
||||
style="width:250px;height:40px;margin-top:5px;"/>
|
||||
</p>
|
||||
<!-- Add more details as needed -->
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
<report
|
||||
id="action_report_income_transaction"
|
||||
model="incoming.transaction"
|
||||
string="Print Transaction"
|
||||
report_type="qweb-pdf"
|
||||
name="exp_transaction_documents.report_income_transaction"
|
||||
file="exp_transaction_documents.report_income_transaction"
|
||||
paperformat="paperformat_card"
|
||||
menu="True"/>
|
||||
|
||||
<template id="report_income_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&value=%s&width=%s&height=%s' % ('Code128', doc.name, 600, 100)"
|
||||
style="width:250px;height:40px;margin-top:5px;"/>
|
||||
</p>
|
||||
<!-- Add more details as needed -->
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- end -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue