date filter will work based on company format and the selection of date range is added

This commit is contained in:
Sevan Nerse
2021-02-23 18:29:31 +03:00
parent 7363287ab5
commit f8253a5b30
3 changed files with 54 additions and 15 deletions

View File

@ -5,13 +5,13 @@
operator-is-not-text="{{ trans('general.isnot') }}"
no-data-text="{{ trans('general.no_data') }}"
no-matching-data-text="{{ trans('general.no_matching_data') }}"
value="{{ rtrim(ltrim(request()->get('search', null), '"'), '"') }}"
value="{{ request()->get('search', null) }}"
:filters="{{ json_encode($filters) }}"
:date-config="{
allowInput: true,
altInput: true,
altFormat: 'Y-m-d',
dateFormat: 'Y-m-d',
altFormat: '{{ $date_format }}',
dateFormat: '{{ $date_format }}',
@if (!empty($attributes['min-date']))
minDate: {{ $attributes['min-date'] }}
@endif