@extends('layouts.admin.layout') @section('title') {{ $website_lang->where('lang_key','blog_category')->first()->custom_lang }} @endsection @section('admin-content')

{{ $website_lang->where('lang_key','create')->first()->custom_lang }}

{{ $website_lang->where('lang_key','blog_category_table')->first()->custom_lang }}
@foreach ($categories as $index => $item) @endforeach
{{ $website_lang->where('lang_key','serial')->first()->custom_lang }} {{ $website_lang->where('lang_key','name')->first()->custom_lang }} {{ $website_lang->where('lang_key','slug')->first()->custom_lang }} {{ $website_lang->where('lang_key','status')->first()->custom_lang }} {{ $website_lang->where('lang_key','action')->first()->custom_lang }}
{{ ++$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