Правка для скрытия переключателя статусов при отсутствии таблицы с данными

parent eabbb6a2
......@@ -541,7 +541,7 @@ input[type="checkbox"]
.b-filter__switch.category-orders
{
margin-bottom: -15px;
margin-top: -15px;
}
.b-filter__switch.category-orders .b-filter__switch-item
......
......@@ -173,6 +173,8 @@ if (!$error) {
<?php endif ?>
<?php /* Таблица */ ?>
<div id="table-stat" class="b-table_wrapp report">
<div class="b-content__loading"></div>
<?php if ($current_report == 'transactions'): ?>
<?php /* Переключатель статусов заказов */ ?>
......@@ -186,8 +188,6 @@ if (!$error) {
</div>
<?php endif ?>
<div id="table-stat" class="b-table_wrapp report">
<div class="b-content__loading"></div>
<table id="table-line" class="table table-striped admin <?= $current_report ?> all" data-link="<?=$data_request_link ?>">
<thead class="metric sortable">
<tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment