@extends('admin.layout.layout') @section('content')

Filters

View Filters Add Filter Value {{-- Displaying The Validation Errors: https://laravel.com/docs/9.x/validation#quick-displaying-the-validation-errors AND https://laravel.com/docs/9.x/blade#validation-errors --}} {{-- Determining If An Item Exists In The Session (using has() method): https://laravel.com/docs/9.x/session#determining-if-an-item-exists-in-the-session --}} {{-- Our Bootstrap success message in case of updating admin password is successful: --}} @if (Session::has('success_message')) @endif
{{-- DataTable --}} {{-- using the id here for the DataTable --}} @foreach ($filters_values as $filter) @endforeach
ID Filter ID Filter Name Filter Value Status
{{ $filter['id'] }} {{ $filter['filter_id'] }} @php echo $getFilterName = \App\Models\ProductsFilter::getFilterName($filter['filter_id']); @endphp {{ $filter['filter_value'] }} @if ($filter['status'] == 1) {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @else {{-- if the admin status is inactive --}} {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @endif
@endsection