<div class="datatable-export-buttons float-left mr-3">

    @if (!isset($with_print) || $with_print)
        @include('components.datatables.buttons.print')
    @endif

    @if (isset($with_exports) && $with_exports)
        @include('components.datatables.buttons.excel')
    @endif

    @if (isset($with_mailing) && $with_mailing)
        @include('components.datatables.buttons.mail')
    @endif

    @if (isset($with_buttons))
        @foreach ($with_buttons as $button)
            @include($button)
        @endforeach
    @endif

    @if (isset($left_buttons))
        @foreach ($left_buttons as $button)
            @include('components.form.button', [
                'class' => $button['class'] ?? null,
                'icon' => $button['icon'] ?? null,
                'txt' => $button['txt'] ?? null,
                'id' => $button['id'] ?? null,
            ])
        @endforeach
    @endif

</div>
