{{--@if (!empty($links))--}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{--@foreach($links as $type => $link)--}} {{----}} {{--@php--}} {{--$swal = "";--}} {{--if (!empty($link['swal_title']))--}} {{--$swal .= ('swal-title='.str_replace(' ', ' ', $link['swal_title']));--}} {{--if (!empty($link['swal_desc']))--}} {{--$swal .= (' swal-description='.str_replace(' ', ' ', $link['swal_desc']));--}} {{--if (!empty($link['swal_confirm']))--}} {{--$swal .= (' swal-confirm='.str_replace(' ', ' ', $link['swal_confirm']));--}} {{--if (!empty($link['swal_cancel']))--}} {{--$swal .= (' swal-cancel='.str_replace(' ', ' ', $link['swal_cancel']));--}} {{--@endphp--}} {{----}} {{----}} {{--{{ $link['label'] ?? trans(config('actions')[$type]['label']) }}--}} {{----}} {{----}} {{--@endforeach--}} {{--{{ $slot }}--}} {{----}} {{----}} {{----}} {{----}} {{--@else--}} {{----}} {{--@endif--}} @if (!empty($links)) {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} @foreach($links as $type => $link) {{----}} @php $swal = ""; if (!empty($link['swal_title'])) $swal .= ('swal-title='.str_replace(' ', ' ', $link['swal_title'])); if (!empty($link['swal_desc'])) $swal .= (' swal-description='.str_replace(' ', ' ', $link['swal_desc'])); if (!empty($link['swal_confirm'])) $swal .= (' swal-confirm='.str_replace(' ', ' ', $link['swal_confirm'])); if (!empty($link['swal_cancel'])) $swal .= (' swal-cancel='.str_replace(' ', ' ', $link['swal_cancel'])); @endphp {{-- --}} {{-- {{ $link['label'] ?? trans(config('actions')[$type]['label']) }}--}} {{----}} @endforeach {{--{{ $slot }}--}} {{----}} {{----}} {{----}} {{----}} @else @endif