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.
 
 
 
 
 

150 lines
7.1 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<templates id="template" xml:space="preserve">
<t t-name="SubDashboard">
<section class="dashboard_sub_section" id="dashboard_sub_section" style="display: none;">
<div class="crm_sub_dash_breadcrumb">
<ol role="navigation" class="breadcrumb" style="background: none;font-size: 16px;margin-top: 10px;">
<li class="breadcrumb-item">
<a id="breadcrumb_button_sub" href="#" onclick="BreadcrumbSubDash(); return false;">
Dashboard
</a>
</li>
<li class="breadcrumb-item active">Lost Reason Analysis</li>
</ol>
<hr/>
</div>
<div class="row mt-5">
<div class="col-12 col-sm-12 col-md-3">
<div class="top_lost_reason_count_div half_chart chart-container card-shadow">
<h3 class="h5">Top Lost Reason and Count</h3>
<hr/>
<table class="table table-hover">
<thead>
<tr>
<th>Lost reason</th>
<th>Count</th>
</tr>
</thead>
<tbody>
<t t-foreach="widget.top_reason_count" t-as="activity">
<tr>
<td><t t-esc="activity[0]"/></td>
<td><t t-esc="activity[1]"/></td>
</tr>
</t>
</tbody>
</table>
</div>
<div class="top_ratio_country_div half_chart chart-container card-shadow">
<h3 class="h5">Top Won vs Lost Ratio based on Country</h3>
<hr/>
<table class="table table-hover">
<thead>
<tr>
<th>Country</th>
<th>Ratio</th>
</tr>
</thead>
<tbody>
<t t-foreach="widget.top_country_wise_ratio" t-as="activity">
<tr>
<td><t t-esc="activity[0]"/></td>
<td><t t-esc="activity[3]"/></td>
</tr>
</t>
</tbody>
</table>
</div>
</div>
<div class="top_ratio_sp_div col-12 col-sm-12 col-md-3">
<div class="top_ratio_sp_div half_chart chart-container card-shadow">
<h3 class="h5">Top Won vs Lost Ratio based on Sales Person</h3>
<hr/>
<table class="table table-hover">
<thead>
<tr>
<th>Sales Person</th>
<th>Ratio</th>
</tr>
</thead>
<tbody>
<t t-foreach="widget.top_salesperson_wise_ratio" t-as="activity">
<tr>
<td><t t-esc="activity[0]"/></td>
<td><t t-esc="activity[3]"/></td>
</tr>
</t>
</tbody>
</table>
</div>
<div class="top_ratio_team_div half_chart chart-container card-shadow">
<h3 class="h5">Top Won vs Lost Ratio based on Sales Team</h3>
<hr/>
<table class="table table-hover">
<thead>
<tr>
<th>Sales Team</th>
<th>Ratio</th>
</tr>
</thead>
<tbody>
<t t-foreach="widget.top_sales_team_wise_ratio" t-as="activity">
<tr>
<td><t t-esc="activity[0]"/></td>
<td><t t-esc="activity[3]"/></td>
</tr>
</t>
</tbody>
</table>
</div>
</div>
<div class="col-12 col-sm-12 col-md-6">
<div class="lost_reason_pie_div chart-container card-shadow">
<h3 class="h5">Lost Leads by Lost Reason</h3>
<hr/>
<div class="graph_canvas">
<canvas class="lost_leads_graph" width="200" height="120"/>
</div>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-12 col-sm-12 col-md-6">
<div class="lost_stage_pie_div chart-container card-shadow">
<h3 class="h5">Lost Leads by Stage</h3>
<hr/>
<div class="graph_canvas">
<canvas class="lost_leads_by_stage_graph" width="200" height="120"/>
</div>
</div>
</div>
<div class="lost_lead_opp_graph_div col-12 col-sm-12 col-md-6">
<div class="chart-container card-shadow">
<h3 class="h5">Lost Opportunity/Lead Graph</h3>
<hr/>
<div class="row">
<div class="col-8"/>
<form class="form-group col-4">
<select id="total_loosed_crm_sub" class="form-control">
<option id="sub_lost_last_12months" value="sub_lost_last_12months">Last 12 Months</option>
<option id="sub_lost_last_6months" value="sub_lost_last_6months">Last 6 Months</option>
<option id="sub_lost_last_month" value="sub_lost_last_month">Last Month</option>
</select>
</form>
</div>
<div class="chart">
<canvas id="canvas_graph" width="400" height="400"/>
</div>
</div>
</div>
</div>
</section>
</t>
</templates>