@if(userCan('setting-list')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'Section List'; @endphp @section('title',$pageTitle) @section('PageHead') @if ( session('massage') ) × Success! {{session('massage')}} @endif @if ( session('error') ) × Not Success! {{session('error')}} @endif @if (Session::has('errors')) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {{$pageTitle}} Dashboard @if(userCan('setting-list')>0) Settings @endif @if(userCan('setting-list')>0) {{$pageTitle}} @endif @if(userCan('setting-create')>0) Add New @endif @stop @section('content') {{ csrf_field() }} Per Page 10 25 50 100 Search - All Active In-Active Parent Section Name Status Action @foreach($datas as $key=>$data) {{@$data->section->sections_name}} {{@$data->sections_name}} {{$data->name2}} @if($data->status==1) Active @else Deactive @endif @if(userCan('setting-edit')>0) @endif @endforeach @stop