@php $appbuilder_array = explode(',', $current_user_role_info->appbuilder_permissions); if (in_array('4-view', $appbuilder_array)) { $index_val = '4-view'; } else { if (in_array('4-serialize', $appbuilder_array)) { $index_val = '4-serialize'; } else { if (in_array('4-create', $appbuilder_array)) { $index_val = '4-create'; } else { $index_val = '4-module-category-manager'; } } } @endphp
@if (in_array('4-view', $appbuilder_array))
@if (count($coremodules) > 0)
Active Modules

@foreach ($coremodules as $key => $coremodule) @if ($coremodule->status != 2) @if ($coremodule->status == 1)
{{ $coremodule->module_title }} @if ($coremodule->predef != 1) @if (in_array('4-delete', $appbuilder_array)) @endif @endif @if (in_array('4-active_deactive_manager', $appbuilder_array))
@endif
{{--

{{ $coremodule->about }}

--}}
@endif @endif @endforeach
Non Active Modules

@foreach ($coremodules as $key => $coremodule) @if ($coremodule->status != 2) @if ($coremodule->status != 1)
{{ $coremodule->module_title }} @if ($coremodule->predef != 1) @if (in_array('4-delete', $appbuilder_array)) @endif @endif @if (in_array('4-active_deactive_manager', $appbuilder_array))
@endif
{{--

{{ $coremodule->about }}

--}}
@endif @endif @endforeach
@else

You haven't any module yet

@endif
@endif @if (in_array('4-serialize', $appbuilder_array))
@if (count($coremodules) > 0) @foreach ($coremodules as $module) @if ($module->parent_id == 0) @php $checkmodule_category = \App\Models\CoreModule::where( 'parent_id', $module->id, ) ->where('status', 1) ->count(); @endphp @if ($checkmodule_category > 0) @endif @endif @endforeach
# Module Title Serialize Sub-Module
{{ $module->module_title }} @if ($module->status != 2) - @else @php $get_submodule = \App\Models\CoreModule::where( 'parent_id', $module->id, ) ->orderBy('serial', 'asc') ->where('status', 1) ->get(); @endphp @if (count($get_submodule) > 0) @foreach ($get_submodule as $sub_module) @endforeach
{{ $sub_module->module_title }}
@endif @endif
@else

You haven't any module yet

@endif
@endif @if (in_array('4-create', $appbuilder_array))
@csrf

------ Module Attributes ------
{{-- ONE TO ONE RELATION DYNAMIC OPTIONS START --}} {{-- ONE TO ONE RELATION DYNAMIC OPTIONS END --}} {{-- DYNAMIC OPTIONS START --}} {{-- DYNAMIC OPTIONS END --}}
{{-- ======== For Static Values ============ --}} {{-- ======================= --}} {{-- ======================= --}}
@endif @if (in_array('4-module-category-manager', $appbuilder_array))
@csrf

All Module Categories

@if (count($module_categories) > 0) @foreach ($module_categories as $key => $module_cat) @endforeach @else @endif
# Title Action
{{ $key + 1 }} {{ $module_cat->module_title }} @if ($module_cat->predef != 1) @endif

Nothing found

@endif