@extends('Layouts.erp_master')
@section('content')
@php
$menuName = DB::table("gnl_sys_menus")->where('id', $mid)->pluck('menu_name')->first();
$operationsForMenu = DB::table('gnl_dynamic_form_value')
->where([['is_delete', 0], ['is_active', 1], ['type_id', 2], ['form_id', 'GCONF.5']])
->selectRaw('value_field, name')
->pluck('name', 'value_field')
->toArray();
@endphp
Parent Menu: {{ $menuName }}
SL |
Action Name |
Action Code |
Route Link |
Method Name |
Page Title |
Order By |
Action |
@php $i = 0; @endphp
@foreach($menuActions as $row)
{{ ++$i }} |
{{ $row->name }} |
@if(isset($operationsForMenu[$row->set_status]))
{{ $operationsForMenu[$row->set_status] }} [{{ $row->set_status }}]
@else
{{ $row->set_status }}
@endif
|
{{ $row->route_link }} |
{{ $row->method_name }} |
{{ $row->page_title }} |
{{ $row->order_by }} |
@if($row->is_active == 1)
@else
@endif
|
@endforeach
@endsection