@extends('layouts.admin.layout') @section('title') {{ $websiteLang->where('lang_key','blog_cat')->first()->custom_text }} @endsection @section('title','Blog Category') @section('admin-content')

{{ $websiteLang->where('lang_key','create')->first()->custom_text }}

{{ $websiteLang->where('lang_key','cat_table')->first()->custom_text }}
@foreach ($categories as $index => $item) @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_text }} {{ $websiteLang->where('lang_key','name')->first()->custom_text }} {{ $websiteLang->where('lang_key','slug')->first()->custom_text }} {{ $websiteLang->where('lang_key','status')->first()->custom_text }} {{ $websiteLang->where('lang_key','action')->first()->custom_text }}
{{ ++$index }} {{ $item->name }} {{ $item->slug }} @if ($item->status==1) @else @endif @php $count=$blogs->where('blog_category_id',$item->id)->count(); @endphp @if ($count==0) @endif
@foreach ($categories as $item) @endforeach @endsection