@extends('header.header') @section('content')
{{__('Categories')}}
{{__('Dashboard')}}
{{__('Category table')}}
{{__('create new category')}} +
{{-- @if(isset($_GET['store_id']) && !empty($_GET['store_id']))--}}
@csrf
{{__('English Main Category Name')}}
{{__('Arabic Main Category Name')}}
{{__('Image')}}
{{__('Add categories')}}
{{-- @endif--}}
{{__('Category table')}}
@foreach($categories as $category) @csrf @endforeach
{{__('English Main Category Name')}}
{{__('Arabic Main Category Name')}}
{{__('Image')}}
{{__('Status')}}
{{__('Action')}}
@if($category->status == 0)
{{__('InActive')}}
{{__('Active')}}
@elseif($category->status == 1)
{{__('Active')}}
{{__('InActive')}}
@endif
{{__('Items')}}
id)}}" method="post" id="delete{{$category->id}}" style="display: none" data-swal-title="{{__("Delete Category")}}" data-swal-text="{{__("Are You Sure To DeleteCategory?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the Category has been deleted successfully")}}">@csrf @method("delete")
@endsection