2020-11-06 01:48:49 +03:00
|
|
|
<akaunting-search
|
2020-11-06 22:34:53 +03:00
|
|
|
placeholder="{{ (!empty($filters)) ? trans('general.placeholder.search_and_filter') : trans('general.search_placeholder')}}"
|
|
|
|
search-text="{{ trans('general.search_text') }}"
|
|
|
|
operator-is-text="{{ trans('general.is') }}"
|
|
|
|
operator-is-not-text="{{ trans('general.isnot') }}"
|
|
|
|
no-data-text="{{ trans('general.no_data') }}"
|
|
|
|
no-matching-data-text="{{ trans('general.no_matching_data') }}"
|
2021-02-23 18:29:31 +03:00
|
|
|
value="{{ request()->get('search', null) }}"
|
2020-11-06 01:48:49 +03:00
|
|
|
:filters="{{ json_encode($filters) }}"
|
2020-11-11 14:33:49 +03:00
|
|
|
:date-config="{
|
|
|
|
allowInput: true,
|
|
|
|
altInput: true,
|
2021-01-31 17:51:06 +01:00
|
|
|
altFormat: '{{ company_date_format() }}',
|
|
|
|
dateFormat: '{{ company_date_format() }}',
|
2020-11-11 14:33:49 +03:00
|
|
|
@if (!empty($attributes['min-date']))
|
|
|
|
minDate: {{ $attributes['min-date'] }}
|
|
|
|
@endif
|
|
|
|
@if (!empty($attributes['max-date']))
|
|
|
|
maxDate: {{ $attributes['max-date'] }}
|
|
|
|
@endif
|
|
|
|
}"
|
2020-11-06 01:48:49 +03:00
|
|
|
></akaunting-search>
|