@extends('layouts/contentNavbarLayout') @section('title', 'Communtity - Members') @section('page-script') @endsection @section('content')

Member / Manage Members

@if (isset($userGroupPermissions['community_member'])) @if ($userGroupPermissions['community_member']['edits'] == 0) @endif @if ($userGroupPermissions['community_member']['deletes'] == 0) @endif @endif @if (session('success') || session('error'))
{{ session('success') ? session('success') : session('error') }}
@endif
ADD MEMBERSHIP TYPE ADD MEMBER ROLE ADD MEMBER SKILL

Manage Member
@foreach ($columns as $column) @if ( $column !== 'id' && $column !== 'address' && $column !== 'number_of_teachers' && $column !== 'city' && $column !== 'state' && $column !== 'street' && $column !== 'updated_at' && $column !== 'skill' && $column !== 'date_of_birth' && $column !== 'linked_in_profile' && $column !== 'instagram_profile' && $column !== 'short_bio' && $column !== 'land_line' && $column !== 'message' && $column !== 'email' && $column !== 'pincode'&& $column !== 'password'&& $column !== 'created_at') {{-- Skip the 'id' column --}} @if ($column === 'profile_picture') @else @endif @endif @endforeach @foreach ($paginationdata as $item) @foreach ($columns as $column) @if ( $column !== 'id' && $column !== 'address' && $column !== 'number_of_teachers' && $column !== 'email' && $column !== 'city' && $column !== 'state' && $column !== 'street' && $column !== 'updated_at' && $column !== 'skill' && $column !== 'date_of_birth' && $column !== 'linked_in_profile' && $column !== 'instagram_profile' && $column !== 'short_bio' && $column !== 'land_line' && $column !== 'message' && $column !== 'pincode' && $column !== 'password'&& $column !== 'created_at') {{-- Skip the 'id' column --}} @endif @endforeach @endforeach
Profile Image{{ ucfirst($column) }}Actions
@if ($column === 'profile_picture' && !empty($item->{$column})) Profile Picture @elseif ($column === 'status') {!! $item->{$column} == 1 ? 'Active' : 'Inactive' !!} @elseif ($column === 'skill') @if ($item->skillModel) {{ $item->skillModel->title }} @endif @elseif ($column === 'type_of_support') @if ($item->memberroleModel) {{ $item->memberroleModel->title }} @endif @elseif ($column === 'type_of_membership') @if ($item->membertypeModel) {{ $item->membertypeModel->title }} @endif @elseif ($column === 'chapter') @if ($item->chapterModel) {{ $item->chapterModel->chapter_name }} @endif @else {{ $item->{$column} }} @endif


@endsection