// Removed currently unused table in the dashboard
This commit is contained in:
@@ -58,7 +58,7 @@ class Dashproducts extends Module
|
|||||||
$table_best_sellers = $this->getTableBestSellers($params['date_from'], $params['date_to']);
|
$table_best_sellers = $this->getTableBestSellers($params['date_from'], $params['date_to']);
|
||||||
$table_most_viewed = $this->getTableMostViewed($params['date_from'], $params['date_to']);
|
$table_most_viewed = $this->getTableMostViewed($params['date_from'], $params['date_to']);
|
||||||
$table_top_10_most_search = $this->getTableTop10MostSearch($params['date_from'], $params['date_to']);
|
$table_top_10_most_search = $this->getTableTop10MostSearch($params['date_from'], $params['date_to']);
|
||||||
$table_top_5_search = $this->getTableTop5Search();
|
//$table_top_5_search = $this->getTableTop5Search();
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'data_table' => array(
|
'data_table' => array(
|
||||||
@@ -66,7 +66,7 @@ class Dashproducts extends Module
|
|||||||
'table_best_sellers' => $table_best_sellers,
|
'table_best_sellers' => $table_best_sellers,
|
||||||
'table_most_viewed' => $table_most_viewed,
|
'table_most_viewed' => $table_most_viewed,
|
||||||
'table_top_10_most_search' => $table_top_10_most_search,
|
'table_top_10_most_search' => $table_top_10_most_search,
|
||||||
'table_top_5_search' => $table_top_5_search
|
//'table_top_5_search' => $table_top_5_search
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -125,7 +125,6 @@ class Dashproducts extends Module
|
|||||||
|
|
||||||
public function getTableBestSellers($date_from, $date_to)
|
public function getTableBestSellers($date_from, $date_to)
|
||||||
{
|
{
|
||||||
|
|
||||||
$header = array(
|
$header = array(
|
||||||
array(
|
array(
|
||||||
'id' => 'image',
|
'id' => 'image',
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="dash_top_search">
|
<div class="tab-pane" id="dash_top_search">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-7">
|
<div class="col-lg-12">
|
||||||
<h3>{l s="Top 10 most search terms"}</h3>
|
<h3>{l s="Top 10 most search terms"}</h3>
|
||||||
<table class="table data_table" id="table_top_10_most_search">
|
<table class="table data_table" id="table_top_10_most_search">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -100,6 +100,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
{*
|
||||||
<div class="col-lg-5">
|
<div class="col-lg-5">
|
||||||
<h3>{l s="Coming soon"}</h3>
|
<h3>{l s="Coming soon"}</h3>
|
||||||
<table class="table data_table" id="table_top_5_search">
|
<table class="table data_table" id="table_top_5_search">
|
||||||
@@ -109,6 +110,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
*}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user