You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
3.5 KiB
83 lines
3.5 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!--All dealer sales report-->
|
|
<template id="all_dealer_sale_report_pdf">
|
|
<t t-call="web.html_container">
|
|
<t t-call="web.external_layout">
|
|
<div class="page">
|
|
<div class="text-center">
|
|
<h1 style="font-size:35px"><b>Dealer Sale List</b></h1>
|
|
</div>
|
|
<br/><br/>
|
|
<t t-if="form_data.get('from_date')">
|
|
From Date :
|
|
<t t-esc="form_data['from_date']"/>
|
|
</t>
|
|
<br/><br/>
|
|
<t t-if="form_data.get('to_date')">
|
|
To Date :
|
|
<t t-esc="form_data['to_date']"/>
|
|
</t>
|
|
<br/><br/>
|
|
<div class="row">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th width="10px">
|
|
<strong>Sl.no</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Dealer Name</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Agreement</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Total Sale Qty</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Total Sale Amount</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Scrap Qty</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Target Amount</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Target Gained</strong>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<t t-foreach="fetch_all_details" t-as="line">
|
|
<tr>
|
|
<td>
|
|
<span t-esc="line_index+1"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="line['dealer_name']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="line['sale_quantity']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="line['total_sale_amount']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="line['scrap_quantity']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="line['monthly_target_amount']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="line['monthly_target_gained']"/>
|
|
</td>
|
|
</tr>
|
|
</t>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</odoo>
|
|
|