@extends('layouts.admin.master') @section('content')
{{ __('content.categories') }}
@if (count($categories) > 0)
@if ($demo_mode == "on") @include('admin.demo_mode.demo-mode') @else
@method('DELETE') @csrf @endif
@php $desc = count($categories); $asc=0; @endphp @foreach ($categories as $category) @endforeach
# {{ __('content.category_name') }} {{ __('content.order') }} {{ __('content.status') }} {{ __('content.action') }}
{{ $asc++ }}{{ $desc-- }} {{ $category->category_name }} {{ $category->order }} @if($category->status == 0) {{ __('content.disable') }} @else {{ __('content.enable') }} @endif
@else {{ __('content.not_yet_created') }} @endif
@endsection