@extends('admin.template.master') @section('title')

@if(isset($category)) Category @endif Home Page Section all home page section information

@endsection @section('main-content')
@if(Session::has('message'))

Alert!

{{Session('message')}}
@endif
@if(isset($category)) @endif @if(count($homePageSections) < 1) @else @foreach($homePageSections as $homePageSection) section_is_exist == 0 ? "class='inactive'" : "" !!} > @if(isset($category)) @endif @endforeach @endif
Section NameCategory NameVisible Type Position Status Updated By Updated At Action
No home page section found
{!! $homePageSection->section_name !!}{{$homePageSection->category->category_name}}{!! ($homePageSection->name_show == 1) ? 'Yes' : 'No' !!} {!! $homePageSection->section_type !!} {!! $homePageSection->section_position !!} {!! $homePageSection->section_is_exist == 1 ? "Active" : "Inactive" !!} {!! $homePageSection->updatedByUser->name !!} {!! \Carbon\Carbon::parse($homePageSection->updated_at)->format('d-m-Y g:i a') !!} @if(isset($category)) Edit @else Edit @endif
@endsection