@php $menuItems = [ [ 'show' => auth()->user()->can('provider.update'), 'text' => __('lang.edit'), 'icon' => 'mdi:pencil', 'attributes' => 'wire:click="edit(\'' . $row->uuid . '\')"' ], [ 'show' => auth()->user()->can('provider.delete'), 'text' => __('lang.delete'), 'icon' => 'mdi:trash', 'attributes' => 'wire:click="delete(\'' . $row->uuid . '\')"' ], ]; @endphp