@extends('layouts/contentLayoutMaster')
@section('title', 'Categories List')
@section('vendor-style')
{{-- Page Css files --}}
@endsection
@section('page-style')
{{-- Page Css files --}}
@endsection
@section('content')
@foreach($categories as $c)
ID
Name
Local Name
Type
Include In Query
Actions
@endforeach
{{ $c->id }}
{{ $c->name }}
{{ $c->local_name }}
@if(json_decode($c->type))
@if(in_array('1',json_decode($c->type))) Breakfast @endif
@if(in_array('2',json_decode($c->type))) Lunch @endif
@if(in_array('3',json_decode($c->type))) Dinner @endif
@endif
@if($c->include_in_query_filter)
True
@else
False
@endif