App Store category filter fixed.
This commit is contained in:
@ -4,7 +4,16 @@
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-9">
|
||||
{!! Form::select('category', $categories, request('category'), ['class' => 'form-control form-control-sm table-header-search mt-0']) !!}
|
||||
<akaunting-select
|
||||
class="form-control-sm table-header-search mt-0"
|
||||
:placeholder="'{{ trans('general.form.select.field', ['field' => trans_choice('general.categories', 1)]) }}'"
|
||||
:name="'category'"
|
||||
:icon="'folder'"
|
||||
:options="{{ json_encode($categories) }}"
|
||||
:value="'{{ request('category') }}'"
|
||||
@change="onChangeCategory($event)"
|
||||
></akaunting-select>
|
||||
{{ Form::hidden('category_page', url("apps/categories"), ['id' => 'category_page']) }}
|
||||
|
||||
<a href="{{ route('apps.paid') }}" class="btn btn-sm btn-white card-buttons filter-button ml-2">{{ trans('modules.top_paid') }}</a>
|
||||
<a href="{{ route('apps.new') }}" class="btn btn-sm btn-white card-buttons filter-button">{{ trans('modules.new') }}</a>
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
var url = '{{ url("/") }}';
|
||||
var app_home = '{{ url("apps/categories") }}';
|
||||
var app_url = '{{ env("APP_URL") }}';
|
||||
//--></script>
|
||||
|
||||
|
Reference in New Issue
Block a user