@extends('layouts.app', ['pageSlug' => 'TodoBoard']) @section('content')
All Boards

@if (isset($boards)) @foreach($boards as $key => $list) @endforeach @endif
# Title Owner Assigned To Tasks Completed Checked Status Action
{{$key+1}} {{ucfirst($list->title)}} @if($list->is_public == 1) Public @endif {{ucfirst($list->user->name)}} {{$list->assigned_to != null ? ucfirst($list->assignedto->name) : ''}} {{$list->todos->count()}} {{$list->todos->where('is_complete','1')->count()}} {{$list->todos->where('is_checked','1')->count()}} @if($list->is_active == 1) Active @else Inactive @endif
@endsection @push('js') @endpush