@extends('layouts/gnr_layout') @section('title', '| Route Operation') @section('content') @include('successMsg') @php $pageNo = isset($_GET['page']) ? $_GET['page'] : 1; $moduleSelected = isset($_GET['filModule']) ? $_GET['filModule'] : null; $funSelected = isset($_GET['filFunction']) ? $_GET['filFunction'] : null; $subFunSelected = isset($_GET['filSubFunction']) ? $_GET['filSubFunction'] : null; @endphp

ROUTE OPERATION LIST

{!! Form::open(array('url' => 'viewRouteOperation', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'filterFormId', 'method'=>'get')) !!}
{!! Form::label('', 'Module:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filModule', $moduleList, $moduleSelected ,['id'=>'filModule','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', 'Function:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filFunction', $functionList, $funSelected ,['id'=>'filFunction','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', 'Sub Fun.:', ['class' => 'control-label pull-left']) !!}
{!! Form::select('filSubFunction', $subFunctionList, $subFunSelected ,['id'=>'filSubFunction','class'=>'form-control input-sm','autocomplete'=>'off']) !!}
{!! Form::label('', '', ['class' => 'control-label col-md-12']) !!}
{!! Form::submit('Search', ['id' => 'searchButton', 'class' => 'btn btn-primary btn-xs']); !!}
{{--
--}} @foreach($routeOperations as $routeOperation) @php $moduleName = DB::table('gnr_module')->where('id',$routeOperation->moduleIdFK)->value('name'); $functionName = DB::table('gnr_function')->where('id',$routeOperation->functionIdFK)->value('name'); $subfunctionName = DB::table('gnr_sub_function')->where('id',$routeOperation->subFunctionIdFK)->value('subFunctionName'); @endphp @endforeach
SL# Route Name Module Name Function Name Sub Function Name Description Action
{{ ($pageNo-1)*50 + $no++ }} {{$routeOperation->routeName}} {{$moduleName}} {{$functionName}} {{$subfunctionName}} {{$routeOperation->description}}  
{{ $routeOperations->appends(request()->input())->links() }}
{!! Form::close() !!}
{{-- Edit Modal --}}