@extends('admin.layouts.master') @section('title', 'Fact - Admin') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('Fact')}}
@can('front-settings.factsetting.create') {{ __("Add Fact")}}
@endcan
@if(Auth::User()->role == "admin") @foreach($facts as $key => $fact) @endforeach
{{ __('Id') }} {{ __('Image') }} {{ __('Name') }} {{ __('Detail') }} {{ __('Number') }} {{ __('Status') }} {{ __('Action') }}
{{ filter_var($key+1) }} {{$fact->title}} {{$fact->description}} {{$fact->number}} @if( $fact->status == 1) @else @endif
@endif
@endsection