work on payment report

This commit is contained in:
sonal arora
2020-09-15 05:48:32 +00:00
parent b46066a9e3
commit dbcaa16527
3 changed files with 20 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -2,6 +2,12 @@
<odoo>
<template id="report_payment_receipt_view_documents">
<div class="header">
<t t-if="o and 'company_id' in o">
<t t-set="company" t-value="o.company_id"></t>
</t>
<t t-if="not o or not 'company_id' in o">
<t t-set="company" t-value="res_company"></t>
</t>
<div class="row mt32 mb32">
<div class="col-12">
<font color="#fff"><img t-att-src="'data:image/png;base64,%s' % to_text(company.logo)" style="max-height: 250px;"/></font>
@@ -15,15 +21,16 @@
<table class="table table-sm">
<tr>
<th style="border:1px solid;width:50%;top:2px">
<strong>Code:</strong></br>
<strong>Address:</strong></br>
<strong>Telephone Number:</strong></br>
<strong>Account Payee:</strong></br>
<strong>Code:</strong><br/>
<strong>Address:</strong><br/>
<strong>Telephone Number:</strong><br/>
<strong>Account Payee:</strong><br/>
</th>
<th style="width:5%;"></th>
<th style="border:1px solid;width:45%">
<strong>Receipt Number: </strong>:<span t-field="o.name"/><br/>
<strong>Date: </strong>:<span t-field="o.payment_date"/><br/>
<strong>Date: </strong><span t-field="o.payment_date"/><br/>
</th>
</tr>
<tr>
@@ -43,13 +50,13 @@
<table class="table table-sm">
<tr>
<th style="border:1px solid;width:50%">
<strong>Bank Account</strong></br>
<strong>Bank Account Number: </strong></br>>:
<strong>Bank Account</strong><br/>
<strong>Bank Account Number:</strong><br/>
</th>
<th style="width:5%;"></th>
<th style="border:1px solid;width:45%">
<strong>Currency</strong><span t-field="o.currency_id.name"/></br>
<strong>Exchange Rate</strong></br>
<strong>Currency</strong><span t-field="o.currency_id.name"/><br/>
<strong>Exchange Rate</strong><br/>
</th>
</tr>
<!-- <div class="row mt64">
@@ -73,7 +80,7 @@
<table class="table table-sm">
<tr>
<th style="border:1px solid;width:100%;">
<strong>Description: </strong><br/><br/>
<strong>Description:</strong><br/><br/>
</th>
</tr>
</table>