Переключатель режимов таблицы транзакций

parent 6cf4c223
...@@ -488,6 +488,19 @@ input[type="checkbox"] ...@@ -488,6 +488,19 @@ input[type="checkbox"]
text-decoration: none; text-decoration: none;
} }
.b-filter__switch.category-orders
{
margin-bottom: -15px;
}
.b-filter__switch.category-orders .b-filter__switch-item
{
display: inline-block;
padding: 0 5px;
}
.click-history-info .click-history-info
{ {
height: 400px; height: 400px;
......
...@@ -175,6 +175,16 @@ if (!$error) { ...@@ -175,6 +175,16 @@ if (!$error) {
<?php endif ?> <?php endif ?>
<?php /* Таблица */ ?> <?php /* Таблица */ ?>
<?php if ($current_report == 'transactions'): ?>
<div class="b-filter__switch display category-orders">
<span class="b-filter__switch-item text m-filter__switch-item_active" data-orders-category="all"><?= _t('Все')?></span>
<span class="b-filter__switch-item text" data-orders-category="approved"><?= _t('Согласованны')?></span>
<span class="b-filter__switch-item text" data-orders-category="confirmed"><?= _t('Приняты')?></span>
<span class="b-filter__switch-item text" data-orders-category="not-confirmed"><?= _t('Отклонены')?></span>
</div>
<?php endif ?>
<div id="table-stat" class="b-table_wrapp report"> <div id="table-stat" class="b-table_wrapp report">
<div class="b-content__loading"></div> <div class="b-content__loading"></div>
<table id="table-line" class="table table-striped admin <?= $current_report ?>" data-link="<?=$data_request_link ?>"> <table id="table-line" class="table table-striped admin <?= $current_report ?>" data-link="<?=$data_request_link ?>">
......
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