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.
73 lines
3.3 KiB
73 lines
3.3 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!--Dealer based report pdf template-->
|
|
<template id="dealer_based_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>FRANCHISE LIST</b>
|
|
</h1>
|
|
</div>
|
|
<div class="text-center">
|
|
<t t-if="form_data.get('dealer_id')">
|
|
<h2 style="font-size:25px">
|
|
<b><t t-esc="form_data['dealer_id'][1]"/></b>
|
|
</h2>
|
|
</t>
|
|
</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>Reference</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Signed On</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Franchise Agreement</strong>
|
|
</th>
|
|
|
|
<th width="10px">
|
|
<strong>City Interested</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Investment From</strong>
|
|
</th>
|
|
<th width="10px">
|
|
<strong>Investment To</strong>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<t t-foreach="fetch_dealer_details" t-as="line">
|
|
<tr>
|
|
<td><span t-esc="line_index+1"/></td>
|
|
<td><span t-esc="line['serial_no']"/></td>
|
|
<td><span t-esc="line['signed_on']"/></td>
|
|
<td><span t-esc="line['agreement_type']"/></td>
|
|
<td><span t-esc="line['business_city']"/></td>
|
|
<td><span t-esc="line['investment_from']"/></td>
|
|
<td><span t-esc="line['investment_to']"/></td>
|
|
</tr>
|
|
</t>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</odoo>
|
|
|