@foreach($domains as $key=> $row) @if (auth()->user()->role == 'super_admin')
@endif {{ $row->domain_name }} {{ $row->domain_url }} {{ $row->store ? $row->store->name : '' }} {{ $row->marketer ? $row->marketer->name : '' }} {{ $row->order ? $row->order->title : '' }} {{ $row->username ?? '' }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} {{-- {{ __('domains.home') }} --}} {{-- {{ __('domains.admin') }} --}} @if (auth()->user()->role == 'super_admin') @if($row->deleted_at) {{-- {{ __('dashboard.restore') }} --}} {{-- {{ __('dashboard.delete') }} --}} @else {{-- {{ __('dashboard.edit') }} --}} {{-- {{ __('dashboard.trash') }} --}} @endif @else {{-- {{ __('dashboard.edit') }} --}} @endif @endforeach @if( count( $domains ) && $domains->hasPages() ) {{ $domains->links() }} @endif