@extends('layouts.admin.e-commerce.app') @section('title', 'Settings') @push('css') @endpush @section('content') Setting Home My Profile Application Settings Setting @csrf @method('PUT') Mega Category Hide @foreach (\App\Models\Category::where('status',true)->get() as $category) value)) @foreach(json_decode($mega_cat->value) as $c) @if($category->id==$c)Selected @endif @endforeach @endif>{{$category->name}} @endforeach Sub Category Hide @foreach (\App\Models\SubCategory::where('status',true)->get() as $category) value)) @foreach(json_decode($sub_cat->value) as $c) @if($category->id==$c)Selected @endif @endforeach @endif>{{$category->name}} @endforeach Mini Category Hide @foreach (\App\Models\miniCategory::where('status',true)->get() as $category) value)) @foreach(json_decode($mini_cat->value) as $c) @if($category->id==$c)Selected @endif @endforeach @endif>{{$category->name}} @endforeach Extra Mini Category Hide @foreach (\App\Models\ExtraMiniCategory::where('status',true)->get() as $category) value)) @foreach(json_decode($extra_cat->value) as $c) @if($category->id==$c)Selected @endif @endforeach @endif>{{$category->name}} @endforeach @endsection @push('js') @endpush