mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
work on reports
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<data>
|
||||
<!-- QWeb Reports -->
|
||||
|
||||
<record id="paperformat_payment_receipt-report" model="report.paperformat">
|
||||
<!-- <record id="paperformat_payment_receipt" model="report.paperformat">
|
||||
<field name="name">A4 Payment Receipt</field>
|
||||
<field name="default" eval="True" />
|
||||
<field name="format">A4</field>
|
||||
@@ -15,9 +15,9 @@
|
||||
<field name="margin_left">3</field>
|
||||
<field name="margin_right">0</field>
|
||||
<field name="header_line" eval="False" />
|
||||
<field name="header_spacing">5</field>
|
||||
<field name="header_spacing">30</field>
|
||||
<field name="dpi">90</field>
|
||||
</record>
|
||||
</record> -->
|
||||
|
||||
|
||||
<report
|
||||
@@ -28,8 +28,8 @@
|
||||
name="reports.report_payment_receipt_views"
|
||||
file="reports.report_payment_receipt_views"
|
||||
/>
|
||||
<record id="action_report_payment_receipt_reports" model="ir.actions.report.xml">
|
||||
<!-- <record id="action_report_payment_receipt_reports" model="ir.actions.report.xml">
|
||||
<field name="paperformat_id" ref="reports.paperformat_payment_receipt"/>
|
||||
</record>
|
||||
</record> -->
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<t t-call="web.external_layout">
|
||||
<t t-set="o" t-value="o.with_context(lang=lang)"/>
|
||||
<div class="page">
|
||||
<h2 style=" background-color: #3498DB;"><font color="#fff">Cash/Check Payment Voucher<span t-field="o.name"/></font></h2>
|
||||
<table class="table table-sm">
|
||||
<tr>
|
||||
<th style="border:1px solid;width:50%;top:2px">
|
||||
@@ -72,10 +73,10 @@
|
||||
<table class="table table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center" style="border:1px solid;"><span>Particulars</span></th>
|
||||
<th class="text-center" style="border:1px solid;"><span>Account</span></th>
|
||||
<th class="text-center" style="border:1px solid;"><span>Amount</span></th>
|
||||
<th class="text-center" style="border:1px solid;"><span>Cheque book Amount</span></th>
|
||||
<th class="text-center" style="background-color:#3498DB !important;color:#FFF !important;border:1px solid;"><span>Particulars</span></th>
|
||||
<th class="text-center" style="background-color:#3498DB !important;color:#FFF !important;border:1px solid;"><span>Account</span></th>
|
||||
<th class="text-center" style="background-color:#3498DB !important;color:#FFF !important;border:1px solid;"><span>Amount</span></th>
|
||||
<th class="text-center" style="background-color:#3498DB !important;color:#FFF !important;border:1px solid;"><span>Cheque book Amount</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -99,7 +100,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<strong>Total in Words:</strong>
|
||||
<strong style="background-color:#3498DB !important;color:#FFF !important;">Total in Words:</strong>
|
||||
<table class="table table-sm" style="border:1px solid;">
|
||||
<tr>
|
||||
<th style="width:100%;border:1px solid;">
|
||||
|
||||
Reference in New Issue
Block a user