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.
91 lines
4.3 KiB
91 lines
4.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="report_event_management">
|
|
<t t-call="web.html_container">
|
|
<t t-call="web.external_layout">
|
|
<div class="page">
|
|
<div class="oe_structure"/>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h2>
|
|
<span>Event Report</span>
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<div>
|
|
<span>Date:</span>
|
|
<span t-esc="today_date"/>
|
|
</div>
|
|
<br/>
|
|
<div>
|
|
<span t-if="docs2['date_from']">
|
|
<b>From:</b>
|
|
<span style="margin-left:3px;margin-right:17px;margin-bottom:3px" t-esc="docs2['date_from']"/>
|
|
</span>
|
|
<span t-if="docs2['date_to']">
|
|
<b>To:</b>
|
|
<span style="margin-left:3px;margin-right:17px;margin-bottom:3px" t-esc="docs2['date_to']"/>
|
|
</span>
|
|
<span t-if="docs2['partner_id']">
|
|
<b>Customer:</b>
|
|
<span style="margin-left:3px;margin-bottom:3px" t-esc="docs2['partner_id'][1]"/>
|
|
</span>
|
|
</div>
|
|
<br/>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<table class="table table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>Sl.no</th>
|
|
<th>Name</th>
|
|
<th>Type</th>
|
|
<th>Customer</th>
|
|
<th>Date</th>
|
|
<th>Start Date</th>
|
|
<th>End Date</th>
|
|
<th>State</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<t t-foreach="docs" t-as="l">
|
|
<tr>
|
|
<td>
|
|
<t t-esc="l_index + 1"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="l['event']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="l['type']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="l['partner']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="l['date']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="l['start_date']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="l['end_date']"/>
|
|
</td>
|
|
<td>
|
|
<span t-esc="{'draft': 'Draft', 'confirm': 'Confirmed', 'cancel': 'Cancelled', 'invoice': 'Invoiced', 'close': 'Closed'}
|
|
[l['state']]"/>
|
|
</td>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="oe_structure"/>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</odoo>
|