@foreach($members as $key=> $row)
{{ str_replace(',', ' ', $row->name) }} {{$row->email}} @if(!$row->subscription_start && !$row->subscription_end) {{__('members.non_active')}} @endif @if($row->subscription_start && $row->subscription_end && $row->subscription_end < date('Y-m-d')) {{__('members.expire')}} @endif @if($row->subscription_start && $row->subscription_end && $row->subscription_end >= date('Y-m-d')) {{__('members.active')}} @endif {{ $row->receipt ? __('members.bank') : __('members.online') }} {{__('users.'.$row->role)}} @if(request()->course) {{__('members.subscribe')}} @endif {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->deleted_at) {{ __('dashboard.restore') }} {{ __('dashboard.delete') }} @else @if($row->subscription_start && $row->subscription_end && $row->subscription_end < date('Y-m-d')) @endif @if($row->subscription_start && $row->subscription_end && $row->subscription_end >= date('Y-m-d')) @endif @if(!$row->subscription_start && !$row->subscription_end) @endif {{ __('dashboard.edit') }} {{ __('dashboard.trash') }} @endif @endforeach @if( count( $members ) ) {{ $members->links() }} @endif