add datatbles for invoices, add pdf icon, refactor icons components, add autocomplete on search, adapt searching to meilisearch

This commit is contained in:
ludo
2024-02-04 02:51:38 +01:00
parent 5c20e6d5d0
commit 6c88e43b74
39 changed files with 503 additions and 211 deletions

View File

@@ -1,10 +1,13 @@
<button type="{{ $type ?? 'button' }}" class="btn {{ $class ?? ''}}"
@if ($url ?? false)
<a href="{{ $url }}">
@endif
<button type="{{ $type ?? 'button' }}" class="btn {{ $class ?? '' }}"
@isset($style) style="{{ $style }}" @endisset
@isset($id) id="{{ $id }}" @endisset
@isset($data_id) data-id="{{ $data_id }}" @endisset
@isset($data_id) data-id="{{ $data_id }}" @endisset
@isset($dataId) data-id="{{ $dataId }}" @endisset
@isset($title) title="{{ $title }}" data-toggle="tooltip" @endisset
@isset($loading_text) data-loading-text="{{ $loading_text }}" @endisset
@isset($title) title="{{ $title }}" data-toggle="tooltip" @endisset
@isset($loading_text) data-loading-text="{{ $loading_text }}" @endisset
@isset($loadingText) data-loading-text="{{ $loadingText }}" @endisset
@isset($tooltip) data-toggle="tooltip" data-tooltip="{{ $tooltip }}" @endisset
@isset($popover) data-toggle="popover" data-content="{{ $popover }}" @endisset
@@ -12,8 +15,10 @@
@isset($trigger) data-trigger="{{ $trigger }}" @endisset
@isset($container) data-container="{{ $container }}" @endisset
@isset($html) data-html="true" @endisset
@isset($metadata) {{ $metadata }} @endisset
>
<i class="fa fa-fw {{ $icon ?? '' }}"></i>
{{ $txt ?? '' }}
@isset($metadata) {{ $metadata }} @endisset>
<i class="fa fa-fw {{ $icon ?? '' }}"></i>
{{ $txt ?? '' }}
</button>
@if ($url ?? false)
</a>
@endif