@extends('layout.index') @section('title', 'Module List') @section('content')
@if ($message = Session::get('success'))
@elseif ($message = Session::get('error'))
@endif
@if ($aModules) @php $i = 0; $orders = config('custom.module_sort_order'); $data = array(); @endphp @foreach ($aModules as $val) @php $data[] = $val->sort_order @endphp @endforeach @foreach ($aModules as $val) @php $i++; @endphp @endforeach @endif
Sr.No Module Name Module Caption Module Link Module Icon Status Sort Order Action
{{ $i }} {{ $val->module_name }} {{ $val->module_caption }} {{ $val->module_link }}
active ? 'checked' : '' }} onclick="change_status(event.target, {{ $val->id }});" />
@php @endphp