@extends('layouts.admin') @section('title', tr('categories')) @section('content-header', tr('categories')) @section('breadcrumb')
  • {{ tr('home') }}
  • {{ tr('categories') }}
  • @endsection @section('content') @include('notification.notify')
    {{ tr('categories') }} {{ tr('add_category') }}
    @if(count($categories) > 0)
    @foreach($categories as $i => $category_details) @endforeach
    {{ tr('id') }} {{ tr('category') }} {{ tr('description') }} {{ tr('sub_categories') }} {{ tr('subscriptions') }} {{ tr('picture') }} {{ tr('status') }} {{ tr('action') }}
    {{ showEntries($_GET,$i+1) }} {{ $category_details->name }} {{ $category_details->description }} {{ count($category_details->subCategory) }} {{ $category_details->providerSubscription->count() }} @if($category_details->status == COMMON_APPROVED) {{ tr('approved') }} @else {{ tr('pending') }} @endif
    {{ $categories->links() }}
    @else

    {{ tr('no_result_found') }}

    @endif
    @endsection