@extends('admin.layouts.master') @section('title', 'Fact - Admin') @section('maincontent') @component('components.breadcumb',['fourthactive' => 'active']) @slot('heading') {{ __('Fact') }} @endslot @slot('menu1') {{ __('Fact') }} @endslot @slot('button')
@can('front-settings.factsetting.create') {{ __("Add Fact")}}
@endcan
@endslot @endcomponent
@if ($errors->any()) @endif
{{ __('Fact')}}
@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}}
@endif
@endsection