@extends('layouts.admin.master') @section('title','Community Manager') @section('content') @include('layouts.admin.flash.alert')

Manage Community Here you can manage Community

{{ Breadcrumbs::render('common',['append' => [['label'=> $getController,'route'=> \Request::route()->getName()]]]) }}

{{ __('List Community') }}

{{ Form::open(['url' => route('admin.community'),'method' => 'get']) }}
{{ Form::select('status', ['' => 'All',1 => 'Active', 0 => 'Inactive'], app('request')->query('status'), ['class' => 'form-control']) }}
{{ Form::text('keyword', app('request')->query('keyword'), ['class' => 'form-control','placeholder' => 'Keyword e.g: name, email']) }}
Reset
{{ Form::close() }} @if($communities->count() > 0) @php $i = (($communities->currentPage() - 1) * ($communities->perPage()) + 1) @endphp @foreach($communities as $community) @php $i++; @endphp @endforeach @else @endif
# @php $sorting['sort'] = "title"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Community @php $sorting['sort'] = "description"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Description @php $sorting['sort'] = "color_code"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Color Code @php $sorting['sort'] = "status"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Status @php $sorting['sort'] = "created_at"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Created @php $sorting['sort'] = "updated_at"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Updated Action
{{$i}}. {{$community->title}} {{$community->description}} {{$community->color_code}} {{ $community->status == 1 ? "Active" : "In-Active" }} {{ $community->created_at->format(config('get.ADMIN_DATE_TIME_FORMAT')) }} {{ $community->updated_at->format(config('get.ADMIN_DATE_TIME_FORMAT')) }}
Record Not Available
@stop