@extends('admin.layouts.master') @section('title') {{ translate('Blogs - List') }} @endsection @section('content')
{{ translate('List View') }}}
{{ translate('Blogs List') }}
{{-- --}} @if($permissionForBlogs !== null && $permissionForBlogs->can_create == '1') {{ translate('Add Blog') }} @endif
{{--
--}}
@php $a=1; @endphp @foreach ($blogs as $blog) @php $a++; @endphp @endforeach
{{ translate('ID') }} {{ translate('Name') }} {{ translate('Category') }} {{ translate('Date Place') }} {{ translate('Status') }} {{ translate('Action') }}
{{$a}} {{$blog->title}} {{$blog->category->category_name}} {{ formatDate($blog->created_at) }} {{ $blog->status == 1 ? 'Active' : 'Inactive' }} @if($permissionForBlogs !== null && $permissionForBlogs->can_edit == '1') @endif @if($permissionForBlogs !== null && $permissionForBlogs->can_delete == '1') @endif
{{--
Title Action
#TW1500001
--}} {{-- --}}
{{--

Showing 10 of 57 Results

--}}

{!! sprintf(translate('Showing %d of %d Results'), $blogs->count(), $blogs->total()) !!}

    @foreach($blogs->links()->elements[0] as $page => $link)
  • {{ $page }}
  • @endforeach
@endsection @section('scripts') @endsection