@foreach($companies as $key=> $row)
{{ $row->name }} {{ $row->org_google_key }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if(auth()->user()->role == 'admin') @if($row->deleted_at) {{ __('dashboard.restore') }} {{ __('dashboard.delete') }} @else {{ __('dashboard.edit') }} {{ __('dashboard.trash') }} @endif @else @if(!$row->deleted_at) {{ __('dashboard.edit') }} @endif @endif @endforeach @if( count( $companies ) ) {{ $companies->links() }} @endif