#928 [fuardayim] Store page

This commit is contained in:
Diatrex 2020-02-24 18:01:31 +03:00
parent 345863aef0
commit 02a6ba615a
3 changed files with 2 additions and 4 deletions

View File

@ -9,8 +9,6 @@
{% include "visiosoft.module.advs::list/partials/breadcrumb" %}
<!-- breadcrumb -->
{{ addBlock('ads-list/user-section', {'store': store})|raw }}
<div class="row my-3">
<div class="col-md-3">
{% include "visiosoft.module.advs::list/partials/list-filter" %}

View File

@ -19,7 +19,7 @@
<small>{{ trans('visiosoft.module.advs::field.show_table_view.name') }}</small>
</a>
</div>
<div class="col-3">
<div class="col-3 pr-0">
<a href="{{ url_route('visiosoft.module.advs::view_type',['gallery']) }}" class="text-dark">
<i class="fas fa-boxes"></i>
<small> {{ trans('visiosoft.module.advs::field.gallery') }}</small>

View File

@ -156,7 +156,7 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
$categories = array();
$z = 1;
for ($i = 1; $i <= $z; $i++) {
$main = $this->find($id);
$main = $this->newQuery()->where('id', $id)->first();
$new = array();
$new['id'] = $main->id;
$new['val'] = $main->name;